I was trying to specify a initial value and got the message refered in the subject as one of the errors in simultaneous equation. The simultaneous equation error I understand and can easily correct, but I would like to understand what that specific error means. There is no LV1 in the model.
Thank you
Error: #Initial variable>delay1>LV1#
Not entirely sure, but generally the #...# notation indicates a variable that's internal to a macro equation. A few of the built in functions are treated like macros, so it's possible that you're encountering one of those.
You could try setting Tools>Options>Settings>Macro variables to "show". That might make the error easier to trace.
Tom
You could try setting Tools>Options>Settings>Macro variables to "show". That might make the error easier to trace.
Tom
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Can you post the full message? (Do View>As Text then Model>Check Model).
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
There it is.
USE FLAG: -Maize residue C to N ratio- is not used in the model.
USE FLAG: -N uptake analysis- is not used in the model.
ERROR: Simultaneous initial value equations involving: #Initial Active SOM>DELAY1>LV1#.
: #Initial Active SOM>DELAY1#.
: Initial Active SOM.
: Initial Active SOM N.
: ASOM N.
: Maize Plant Yield.
: Maize Residue yield.
: Maize residue.
: Residue application.
: #Residues OM added>DELAY1>LV1#.
: #Residues OM added>DELAY1#.
: Residues OM added.
: #Initial Active SOM>DELAY1>LV1#.
USE FLAG: -Maize residue C to N ratio- is not used in the model.
USE FLAG: -N uptake analysis- is not used in the model.
ERROR: Simultaneous initial value equations involving: #Initial Active SOM>DELAY1>LV1#.
: #Initial Active SOM>DELAY1#.
: Initial Active SOM.
: Initial Active SOM N.
: ASOM N.
: Maize Plant Yield.
: Maize Residue yield.
: Maize residue.
: Residue application.
: #Residues OM added>DELAY1>LV1#.
: #Residues OM added>DELAY1#.
: Residues OM added.
: #Initial Active SOM>DELAY1>LV1#.
DELAY1 is indeed treated like a macro. Internally, it looks like:
DELAY1=LV/delay time
LV=INTEG(input-DELAY1,input*delay time)
If you switch to DELAY1i and supply an initial value that's outside the simultaneous loop, your structure should work as is.
DELAY1=LV/delay time
LV=INTEG(input-DELAY1,input*delay time)
If you switch to DELAY1i and supply an initial value that's outside the simultaneous loop, your structure should work as is.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/