I cannot understand then the meaning of this block. I actually, it is the first time I use it, after I checked one of your codes.
To the extend I understood, I shall put the model ordered, starting with a guess ? Or shall I use an actual value ? In fact I know the values of the steady state of my model for given parameters. But the purpose is to calculate the steady state model if some of the parameters change.
UPDATE
I am receiving this error message now: The steadystate file did not compute the steady state
Ok, so you got rid of the incorrect recursive steady state definition in your steady state file.
The message you obtain now tells you that your provided steady state does not solve your entered model. That means that either your analytical steady state is wrong or some of your model equations. Check the residuals using
to see from which equation the problem stems from.
Thank you. But I am unfamiliar with what you suggest about the residuals. How I can understand if something is wrong with an equation by looking at the residuals ? they should be close to zero I guess correct ?
My original model is in non-linear form, where to get a closed form solution for a particular variable that I am interested I used a second order approximation and the rest of the model left as it is. In the steady state of the model, this is not necessary as I could get a closed form solution for the particular variable. You believe that there something wrong with this approach ?
If an equations shows a residual, there is either a mistake in that equation or the steady state of a variable used in the equation is wrong.
There is nothing wrong with your approach as any Taylor approximation is perfectly accurate in the approximation point. I am rather afraid that your analytical steady state is incorrect.
According to the output for the residuals (please check below), I should essentially focus on equations 1, 7,8. Is that correct ?
Equation number 1 : -4945005947.5595
Equation number 2 : 0
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : -0.28309
Equation number 6 : 0
Equation number 7 : NaN
Equation number 8 : NaN
Equation number 9 : -0.035236
Equation number 10 : 0
Equation number 11 : 0.48107
Equation number 12 : 2.7306e-06
Equation number 13 : -0.48106
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0
Equation number 19 : -0.33138
Equation number 20 : -1.0049
Equation number 21 : -0.44283
Equation number 22 : -1.8158e-06
Equation number 23 : 0
Equation number 24 : 0
Equation number 25 : 0.53328
Equation number 26 : -0.53328