Clarification about Simulate>SetVal

Use this forum to post Vensim related questions.
Post Reply
gyucel
Junior Member
Posts: 19
Joined: Fri Apr 02, 2004 1:47 pm

Clarification about Simulate>SetVal

Post by gyucel »

Hello to all,
I am planning to integrate a Vensim model with an external code, and I want to change the model parameters of the Vensim model during a simulation run.

Is it possible to do so by using SetVal command in the standard simulation mode? Or should I start the Vensim model in the game mode in order to modify values during a run?

Thanks in advance for the response,
Gonenc
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

You need to run it in game mode. SETVAL only sets the values of constants prior to simulation starting.

Hope this helps.

Tony.
gyucel
Junior Member
Posts: 19
Joined: Fri Apr 02, 2004 1:47 pm

Post by gyucel »

Thanks for clarification Tony.
Post Reply