Hi,
i’m trying to replay a run, and in doing so, changing a game variable to influence the outcome.
As i understand, you can only change a game variable, at the current step. So, i want to start from the beginning, and loop through the steps, while setting the game variable from an input array.
The variable is flagged GAME in the vensim model, and in retrospective flagged as ALLWAYS. The problem i believe, is that the run does not start from Step 1.
i do a : https://api.forio.com/v2/run/dn/test3/000001718dd7ac830e889f82167467bc68db/operations/startGame
but when i ask for the current step right after this with:
https://api.forio.com/v2/run/dn/test3/000001718dd7ac830e889f82167467bc68db/variables/Step
result: 99
(time is from 0 to 99)
whatever i do, i do not seem able to get the current step to 0 or 1, to start the loop for setting the game variables…
do you have any clues?
much appreciated,
grtz
Wim