Hi,
Perhaps this is a silly question but I want to project a variable Named Energy Intensity using an initial energy intensity value and a constant rate. The aim is to obtain for Time 1 the energy intensity as follows:
Initial energy intensity*(1+rate)
So for Time 2 I want the energy intensity to be Energy Intensity in Time 1*(1+rate).
How can I do this In Vensim?
Use initial value for a function
Re: Use initial value for a function
1. Use an exponential:
Intensity = InitIntensity*EXP( time*rate )
2. Use a stock:
Intensity = INTEG( change in intensity , initIntensity )
Change in intensity = intensity*rate
2 is better if the rate is time-varying.
Intensity = InitIntensity*EXP( time*rate )
2. Use a stock:
Intensity = INTEG( change in intensity , initIntensity )
Change in intensity = intensity*rate
2 is better if the rate is time-varying.
/*
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
*/
Re: Use initial value for a function
Thanks a lot!