I have a model with a duration of 2000 to 2030. The baseline scenario is made under the assumption that the energy price
is introduced directly from data series from 2000 to 2009 and will keep at the level of 2009’s until 2030. After 2009, a
RAMP function is used. A sensitivity test on the slope of ramp function is needed to analyse future behaviour of
energy price growth. Assuming a random uniform distribution of the slope varying between 0.1 and 0.7, and simulated for
200 times.
How is this done, since energy price is not listed as a control parameter in the sensitivity simulation setup?
Sensitivity on RAMP slope
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
There are many ways to do this, depending on whether you want the ramp to override, or just modify the baseline energy price in your data. Two simple possibilities would be:
Energy Price Adj = ENERGY PRICE + RAMP(...)
&
Energy Price Adj = IF THEN ELSE( Time < energy price test time, ENERGY PRICE, energy price test )
energy price test = base energy price + RAMP(...)
energy price test time = 2009
...
The key is to make the parameters of your RAMP function and other inputs variables, rather than numbers, which permits sensitivity analysis and is also good practice for dimensional consistency.
Energy Price Adj = ENERGY PRICE + RAMP(...)
&
Energy Price Adj = IF THEN ELSE( Time < energy price test time, ENERGY PRICE, energy price test )
energy price test = base energy price + RAMP(...)
energy price test time = 2009
...
The key is to make the parameters of your RAMP function and other inputs variables, rather than numbers, which permits sensitivity analysis and is also good practice for dimensional consistency.
/*
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
*/
Thanks very much Tom,
I think the first option is better for me. Do l need to enter this equation
Energy Price Adj = ENERGY PRICE + RAMP(...)
using "Add Eqn" in the equation editor for "ENERGY PRICE"?
This doesn't seem to work;
ENERGY PRICE=GET XLS DATA('ENERGYPRICES.xls', 'Sheet1', '1', 'A2') + Ramp(0.1,2010,2030)
How do l create the variable "Energy Price Adj"?
I think the first option is better for me. Do l need to enter this equation
Energy Price Adj = ENERGY PRICE + RAMP(...)
using "Add Eqn" in the equation editor for "ENERGY PRICE"?
This doesn't seem to work;
ENERGY PRICE=GET XLS DATA('ENERGYPRICES.xls', 'Sheet1', '1', 'A2') + Ramp(0.1,2010,2030)
How do l create the variable "Energy Price Adj"?
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
The "Add Eqn" option creates additional equations for subscripted variables - not what you need. - 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
*/