Non-differentiable equation in model block?

Hello,

I am trying to implement a non-differentiable equation in the model block. Is this possible?
More specifically: I’d like to give the Taylor rule an absolute minimum such that nominal interest rate cannot fall below a certain point. For that purpose this equation would need to have a kink at some point. Is this somehow possible in DYNARE?

Thanks in advance!

This only works in a perfect foresight context, i.e. not with perturbation techniques. See github.com/JohannesPfeifer/DSGE_mod/blob/master/Gali_2015/Gali_2015_chapter_5_discretion_ZLB.mod for an example. You need to use the unstable version for this