Page 1 of 1
syntax error in semantic system dynamics
Posted: September 8th, 2017, 4:56 pm
by vikas_2017
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
Re: syntax error in semantic system dynamics
Posted: September 11th, 2017, 8:16 am
by Tuomas Miettinen
There seems to be no attachment, maybe the forum has blocked it for some reason.
Re: syntax error in semantic system dynamics
Posted: September 11th, 2017, 11:26 am
by vikas_2017
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
Re: syntax error in semantic system dynamics
Posted: September 11th, 2017, 2:11 pm
by Tuomas Miettinen
I'm still unable to access the screenshot.
Re: syntax error in semantic system dynamics
Posted: September 11th, 2017, 4:04 pm
by vikas_2017
Please click on this given link
file:///C:/Users/Tard/Downloads/Syntax%20error%20in%20semantic%20system%20dynamics.png
Re: syntax error in semantic system dynamics
Posted: September 11th, 2017, 4:40 pm
by vikas_2017
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
Re: syntax error in semantic system dynamics
Posted: September 12th, 2017, 4:28 pm
by Tuomas Miettinen
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.