The Zero Lower Bound Constraint on Nominal Int. Rate

I wonder anyone has a sample code for the global method with the ZLB? How should we interpret “max{0, i*}” as a spline or Chebyshev?

Thanks in advance!