ZLB constraint and forward guidance

Hi
I would like to somehow implement the ZLC constraint with forward guidance somehow but not sure how to tackle it due to the non-linearity. I think I should somehow make an algorithm (or maybe I can use Holden's? I cannot figure out whether it is suitable for this) which keeps the short-term interest rate at 0 or 0.25 for a pre-specified period and then simulate/solve. It is only for a standard Benchmark New Keynesian model - I don't know if there is any code example out there?
Thx for help in advance
I would like to somehow implement the ZLC constraint with forward guidance somehow but not sure how to tackle it due to the non-linearity. I think I should somehow make an algorithm (or maybe I can use Holden's? I cannot figure out whether it is suitable for this) which keeps the short-term interest rate at 0 or 0.25 for a pre-specified period and then simulate/solve. It is only for a standard Benchmark New Keynesian model - I don't know if there is any code example out there?
Thx for help in advance