@rrremedio Usually Dynare can handle this. e.g.
and
But as a user, you need to know what you are doing.