Dear All,
i am getting "Syntax Error" in my model, can you please help me resolve this issue
I have attached Screenshot of my model for exact issue and more details about same.
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
Thanks
syntax error in semantic system dynamics
-
- Posts: 4
- Joined: September 8th, 2017, 4:48 pm
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: syntax error in semantic system dynamics
There seems to be no attachment, maybe the forum has blocked it for some reason.
-
- Posts: 4
- Joined: September 8th, 2017, 4:48 pm
Re: syntax error in semantic system dynamics
Not able to attach screenshot so I upload on this given link, please click on this link for Screenshot of my model for exact issue
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: syntax error in semantic system dynamics
I'm still unable to access the screenshot.
-
- Posts: 4
- Joined: September 8th, 2017, 4:48 pm
Re: syntax error in semantic system dynamics
Please click on this given link
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
-
- Posts: 4
- Joined: September 8th, 2017, 4:48 pm
Re: syntax error in semantic system dynamics
Dear Tuomas,
I have resolved the syntax error but now getting error in simulation, it's showing as this
"Simulation failed
Did not find initial state for model:
-Increasing_Gold_Price: null"
Please click on this link for screenshot
https://lh3.googleusercontent.com/-r-Sg ... Failed.png
I have resolved the syntax error but now getting error in simulation, it's showing as this
"Simulation failed
Did not find initial state for model:
-Increasing_Gold_Price: null"
Please click on this link for screenshot
https://lh3.googleusercontent.com/-r-Sg ... Failed.png
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: syntax error in semantic system dynamics
Your model configuration is such that the initial condition cannot be solved. As an example, if you create two Auxiliaries: a=b and b=a+1, you cannot solve initial condition since there are no a and b for which the equations hold at time=0. I don't know exactly what kind of a situation causes the very error message you're receiving though (I'm not too familiar with the solver), but that is the problem anyway.