What command should I use to make sure that Kalman.prm file is used when running a Kalman optimization?
These are the commands I have that I run using terminal without opening Vensim:
SPECIAL>NOINTERACTION
SPECIAL>LOADMODEL|model.mdl
SIMULATE>DATA|Data.vdfx
SIMULATE>RUNNAME|Kalman_Powell
SIMULATE>OPTPARM|Kalman_Powell_Settings.voc
SIMULATE>PAYOFF|kalman.vpd
MENU>RUN_OPTIMIZE|o
MENU>EXIT
a shortcut I've been using is to set the .prm file inside the kalman setting and save the model, but I'm not sure if that's the correct way.
Kalman and command script
-
- Senior Member
- Posts: 210
- Joined: Sun Oct 21, 2018 7:09 am
- Vensim version: DSS
-
- Super Administrator
- Posts: 4844
- Joined: Wed Mar 05, 2003 3:10 am
Re: Kalman and command script
The commands you need are
SIMULATE>KALMANPAYOFF
SIMULATE>KALMANPARAMETER
SIMULATE>KALMANPAYOFF
SIMULATE>KALMANPARAMETER
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
-
- Senior Member
- Posts: 210
- Joined: Sun Oct 21, 2018 7:09 am
- Vensim version: DSS
Re: Kalman and command script
I meant setting these two options highlighted. What I'm currently doing is to save the model with these settings, but when I run the script I shared I iterate over different Data.vdfx. I was just wondering if I'm doing it correctly or if there's a better way to handle this.