model check - variable not defined
Posted: Fri Aug 09, 2013 8:34 am
Hi all,
I am a novice modeller in Vensim, and are rebuilding models I find in articles and books to learn how to model. I have Vensim 6.1C Professional, and run it on Windows 7 Professional and Windows 7 Home.
I used the Text Editor to enter a model developed by Nicole Zimmerman in her book Dynamics of Drivers of Organisational Change ( I found it a great exposition on organisational inertia and change wrought by external factors. She uses System Dynamics to develop a model of the dynamics of organisational change).
This is my second attempt at using the Text Editor to enter a model. I ran Model Check after each variable to ensure there are no syntax errors (the only way that I could learn how Vensim interpretes text and commands!)
After completing model entry, Model Check threw out the following errors:
NOT DEFINED: -change in cust.orient.- not defined - assumed exogenous.
NOT DEFINED: -NYSE Fraction of Floor Trade'- not defined - assumed exogenous.
NOT DEFINED: -REF.LIQUIDITY ALGORITHMS- not defined - assumed exogenous.
I deleted the variables, and re-entered them ,yet it had no effect. Changing the view to As Sketch, and running Model Check again had the same effect (obviously). What is interesting is that is clear from the Equation Editor that Vensim did not pick up the linked variables I entered as an equation when defining the variable in Text Editor.
I know from searching the topics in this forum that checking the Supplementary box in the Equation Editor apparently solves the problem. However, I dislike using an override to fix a problem, and would rather learn how not to make the same mistake again.
I've attached the model, and would really appreciate it if someone could tell me what I am doing wrong.
Thanks a lot
Schalk
I am a novice modeller in Vensim, and are rebuilding models I find in articles and books to learn how to model. I have Vensim 6.1C Professional, and run it on Windows 7 Professional and Windows 7 Home.
I used the Text Editor to enter a model developed by Nicole Zimmerman in her book Dynamics of Drivers of Organisational Change ( I found it a great exposition on organisational inertia and change wrought by external factors. She uses System Dynamics to develop a model of the dynamics of organisational change).
This is my second attempt at using the Text Editor to enter a model. I ran Model Check after each variable to ensure there are no syntax errors (the only way that I could learn how Vensim interpretes text and commands!)
After completing model entry, Model Check threw out the following errors:
NOT DEFINED: -change in cust.orient.- not defined - assumed exogenous.
NOT DEFINED: -NYSE Fraction of Floor Trade'- not defined - assumed exogenous.
NOT DEFINED: -REF.LIQUIDITY ALGORITHMS- not defined - assumed exogenous.
I deleted the variables, and re-entered them ,yet it had no effect. Changing the view to As Sketch, and running Model Check again had the same effect (obviously). What is interesting is that is clear from the Equation Editor that Vensim did not pick up the linked variables I entered as an equation when defining the variable in Text Editor.
I know from searching the topics in this forum that checking the Supplementary box in the Equation Editor apparently solves the problem. However, I dislike using an override to fix a problem, and would rather learn how not to make the same mistake again.
I've attached the model, and would really appreciate it if someone could tell me what I am doing wrong.
Thanks a lot
Schalk