Steady State contains Nan or Inf - GK09

Hello everyone, I’ve been trying to replicate the model for Gertler Karadi 2009 using the code from Peter Karadi himself, and including equations from the paper so that financial Intermediaries exist in this model. Equations are also the same used in the MacroModelBase NK_GK11 model, However, I just cannot run the simulation because my Steady State contains Nan or Inf (mod file attached).

Can you please help me on that?Thanks in advance,

GK11_KaradiBanks.mod (6.4 KB)

Just found out 2 parameters were not defined: lambda and omega. Once I defined them, the code worked just fine!

Thanks everyone,

Diogo