I’ve got the following problem: the non-linear steady state values of my model enter the log-linear equilibrium equations. To compute the non-linear steady state values I use an external fsolve function. I call this function in the parameter section to set the non-linear SS values as parameters. However, in this way when I loop over parameters I get wrong results, because the non-linear SS does not get updated.
How can I fix this?