Can Dynare simulate/solve dynamic sector choice model

Hi all,
I am now modeling individual's dynamic sector choice -- i.e. if the continuation utility (at time t) of choosing manufacturing is larger than that of choosing serive, the agent will choose manufacturing at time t; and vice versa.
Can Dynare do such modeling which is not smooth? Are there any tricks to make it possible?
Thanks a lot!
Best,
Laura
I am now modeling individual's dynamic sector choice -- i.e. if the continuation utility (at time t) of choosing manufacturing is larger than that of choosing serive, the agent will choose manufacturing at time t; and vice versa.
Can Dynare do such modeling which is not smooth? Are there any tricks to make it possible?
Thanks a lot!
Best,
Laura