Wsimio Posted February 21, 2020 Posted February 21, 2020 I have a question regarding the use of a model state value at a specific timestep. I used a Tallystatistic and processes to calculate the output of a server for a specified interval, based on the Simbit Hourly Statistics. This works, however I dont want the value of the same timestep, but I want to use it two timesteps later. So for example if a server A output variable equals 10 at timestep t=1, I want to save this value as part of the input for server B for timestep t=3. So the value should be 'memorised' for two timesteps. I was wondering whether there are any suggestions on how to model this?
Wsimio Posted February 23, 2020 Author Posted February 23, 2020 Maybe my formulation was not clear enough: I am asking whether it is possible to memorise a state value for each minute (in a table or array) and read the values of this on a later timestep?
GFurtado Posted February 24, 2020 Posted February 24, 2020 Try using a similar logic to the model I attached. I created a chain of states where one updates the next one, and you can easily access their values. Change to the state you want to memorize and when/where you want to trigger it. Passing TimeStamps.spfx
Recommended Posts