Save results

Revision as of 23:21, 15 November 2023 by Max (talk | contribs) (Created page with "Normally Analytica must recompute any result when you change an input or when you restart a model. When it takes a long time to compute a result it is useful to save the res...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Normally Analytica must recompute any result when you change an input or when you restart a model. When it takes a long time to compute a result it is useful to save the result in the model, so that

  • you won't lose the result when you change an input it depends on
  • you can see it when you restart the model without having to wait to recompute it, and
  • you can compare it with a new version of the result based on changed inputs

Here's how to save a result, say Objective X, in the model:

  1. Create a place to store the result, say Objective Saved_X.
  2. Create a button called "Save X" and set its OnClick Attribute to:
     Saved_X := X

Whenever you want to, just click button "Save X". It will compute X if needed and save a copy into Saved_X.

If you want to save the prob value (not the mid value), set the OnClick Attribute of "Save X" to:

     Saved_X := Sample(X)
Comments


You are not allowed to post comments.