What are the ways to solve zero all the Residual of the ststic equations?
My model gives this error: Residual of the ststic equations NaN
I gave a numeric value to all the parameters and steady-state variables, but I also removed the parameters and steady-state variables from other people’s articles.
Is this something that can fixed with my code or is there an issue with the way the model is set up?
which I also don’t really understand). Any advice/explanation is very much appreciated
I also uploaded the model file
Where is the problem?[Document393939.txt|attachment]
(upload://1dnt0tnncPiKMik6mGrWs4uwmiS.txt) (14.3 KB)
Hi, if the residuals of the static equations are NaN, you certainly have forgotten to assign a value to some parameters. But I would need to see the code to tell you what is wrong with your model (you haven’t correctly uploaded your code).
Before and after command the check, I use command the resid but it did not show anything.
Does the fact that the equations have a constant term mean that they are not linearized correctly?
Can all equations not be linearized correctly and have a constant term?
hanks a lot
Thank you very much. I appreciate the time and effort that went into your inpu
Excuse me, you can highlight deleted the constant terms in the original code file and Email me them to let me know where they were deleted when the NaN error was fixed.
Now that the NaN error has been fixed, why does it not show the Blanchard-Kahn condition and other results? Doc2.pdf (197.3 KB)