Hi, gentleman.
I’m learning a lot by reading your posts. I’m always grateful.
May I know why my code is not working? I keep trying to fix it, but kam_lee.mod (8.3 KB) Model.pdf (179.4 KB) it doesn’t work. I’d appreciate it if you could fix it.
Best
Each command needs to end with a semicolon. You have various lines where it is missing.
Thanks, professor!!
I know you are very busy, so I really thank you for your comment.
After revising code according to the your comment,
but my model can’t find the steady-state value.
If you don’t mind, please let me know what I should correct.
kam_lee2.mod (8.5 KB)
See
Also, you need to provide explicit initial values for steady state finding.