Is it possible to see/generate/export time history results for each loop of a looping container?
-
Marie,
Yes. The way I do this is to insert an Interrupt element that triggers after all the elements within the looping container update. It is important that you follow these steps to ensure that the Interrupt is the last element to update in the sequence of calculations so that you see the updated values of outputs of interest.
- Insert an Interrupt element inside the looping container.
- Trigger the Interrupt to fire at the time (and loop) you wish to evaluate output(s).
- Select the Interrupt with a mouse click and then click on the Causality Sequence command from the Model menu (or type F10 key).
- You will see a list of the elements and the order of calculations. You want the Interrupt to be last so look for the element that is last and remember that name.
- Right-click on the interrupt element and click on the command "Specify Precedent"
- Browse to the last element of the sequence and click on that.
This will enable the Interrupt to pause the model at the exact moment you need it to pause. Because you ensured that the Interrupt updates last of all the elements, any element you mouse over will show in the tooltip the current value.
Please let me know if this works for you.
-Jason
Please sign in to leave a comment.
Comments
1 comment