Simulated one by one
Simulated one by one
I have 30 models so how can I simulated one by one, isolated from the other, to can test it ?
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Here are two examples. The first makes parameter changes directly with SETVAL, and the second loads changes in .cin files.
If you have 30 models in separate files, you can load them with repeated calls to LOADMODEL.
SPECIAL>LOADMODEL|?
SIMULATE>DATA|base.vdf,alldata4.vdf,factproddata.vdf,f8xlsdata.vdf
SIMULATE>SETVAL|constant tax=100
SIMULATE>RUNNAME|opttest
MENU>RUN|o
-----------------------------------
{best taxes for various scenarios}
SPECIAL>NOINTERACTION
{constant tax}
SIMULATE>RUNNAME|F8JconstTax.vdf
SIMULATE>OPTPARM|consttax.prm
SIMULATE>READCIN|j.cin
SIMULATE>ADDCIN|fullDeplRent.cin
SIMULATE>ADDCIN|retrofit05.cin
SIMULATE>ADDCIN|tax2002.cin
SIMULATE>ADDCIN|noZeroBase.cin
MENU>RUN_OPTIMIZE|o
{constant permit}
SIMULATE>RUNNAME|F8JconstPerm.vdf
SIMULATE>OPTPARM|permit.voc
SIMULATE>READCIN|j.cin
SIMULATE>ADDCIN|fullDeplRent.cin
SIMULATE>ADDCIN|retrofit05.cin
SIMULATE>ADDCIN|perm2002.cin
SIMULATE>ADDCIN|noZeroBase.cin
MENU>RUN_OPTIMIZE|o
If you have 30 models in separate files, you can load them with repeated calls to LOADMODEL.
SPECIAL>LOADMODEL|?
SIMULATE>DATA|base.vdf,alldata4.vdf,factproddata.vdf,f8xlsdata.vdf
SIMULATE>SETVAL|constant tax=100
SIMULATE>RUNNAME|opttest
MENU>RUN|o
-----------------------------------
{best taxes for various scenarios}
SPECIAL>NOINTERACTION
{constant tax}
SIMULATE>RUNNAME|F8JconstTax.vdf
SIMULATE>OPTPARM|consttax.prm
SIMULATE>READCIN|j.cin
SIMULATE>ADDCIN|fullDeplRent.cin
SIMULATE>ADDCIN|retrofit05.cin
SIMULATE>ADDCIN|tax2002.cin
SIMULATE>ADDCIN|noZeroBase.cin
MENU>RUN_OPTIMIZE|o
{constant permit}
SIMULATE>RUNNAME|F8JconstPerm.vdf
SIMULATE>OPTPARM|permit.voc
SIMULATE>READCIN|j.cin
SIMULATE>ADDCIN|fullDeplRent.cin
SIMULATE>ADDCIN|retrofit05.cin
SIMULATE>ADDCIN|perm2002.cin
SIMULATE>ADDCIN|noZeroBase.cin
MENU>RUN_OPTIMIZE|o
/*
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
*/