Hello!
Newbie question perhaps: How can I set specific values in a variable for each time step?
So let's say 10 specific values, for an initial time of 1, final time of 10, and time step of 1.
Thank you in advance!
Specific Variables for Each Time Step
-
- Member
- Posts: 37
- Joined: Fri Dec 07, 2018 9:20 am
- Vensim version: DSS
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Specific Variables for Each Time Step
You could use a lookup table.
What are these values? Where do they come from?
What are these values? Where do they come from?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Member
- Posts: 37
- Joined: Fri Dec 07, 2018 9:20 am
- Vensim version: DSS
Re: Specific Variables for Each Time Step
Thanks for the reply!
They are not saved in a file. I would just like to add them manually.
They are not saved in a file. I would just like to add them manually.
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Specific Variables for Each Time Step
A lookup could be used.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Member
- Posts: 37
- Joined: Fri Dec 07, 2018 9:20 am
- Vensim version: DSS
Re: Specific Variables for Each Time Step
I am trying a lookup, but then I receive an error for the variables that it points to: "... is a special type and cannot be used as a normal variable".
So what I need is to output one value from the lookup for each time iteration as far as I understand.
So what I need is to output one value from the lookup for each time iteration as far as I understand.
-
- Member
- Posts: 37
- Joined: Fri Dec 07, 2018 9:20 am
- Vensim version: DSS
Re: Specific Variables for Each Time Step
To be more specific,
in the NETWORKE.mdl model of Chapter 10 that can be found in the VENSIMMO.zip here:
http://www.mhhe.com/business/opsci/sterman/models.mhtml
the Total Demand variable is a constant number.
I would like to give specific values for each time step as described. I change the Type of the variable to Lookup, as suggested, and give the values that I want, but then I receive the error that I mention above.
in the NETWORKE.mdl model of Chapter 10 that can be found in the VENSIMMO.zip here:
http://www.mhhe.com/business/opsci/sterman/models.mhtml
the Total Demand variable is a constant number.
I would like to give specific values for each time step as described. I change the Type of the variable to Lookup, as suggested, and give the values that I want, but then I receive the error that I mention above.
Re: Specific Variables for Each Time Step
/*
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
*/