Collard - Smets - Boissay

Hi every body.
I’m trying to write code of the model proposed by Collard, Smets and Boissay with a little modification done by me, witha deepen flop.
The problem is that for some reason some values of the variables at the steady state are zero ore Nan, and i’m couldn’t understand the reasons
I upload my starting code and the link where find the text with my modification.
dl.dropboxusercontent.com/u/51586480/Ch3.pdf
There are someone that could help me, please?
ThankUUU
BaseUnifNT.mod (2.72 KB)

dl.dropboxusercontent.com/u/515 … -23-46.pdf
look at this for the text

Several equations of your model are clearly not linear. Your second equation for example has a k raised to the power of something.