Import Initial Steady State Values from Result
You can create the initial state of a scenario by importing the results from another scenario.
-
Select this command and import the initial steady state by one
of the following methods:
Note: The selected entity must be the result of a simulation where the variable names coincide with the parameter or state variable names of the current model. Otherwise, a warning appears indicating that the set of initial conditions could be inconsistent.
- Select a node in the
Variable Browser.
The data to import is taken from the result file associated
with this
Variable Browser when importing.
Tip: You can select the node in the Variable Browser and then this command. - Select a Modelica Complete Result node in the tree.
- Select a Steady State Result node.
- Click
Select a file
and
browse for a
.mat
file. - Click
Select a document
and in the
Content Chooser dialog box, search for a
simulation result using
top bar.
The result is displayed in the text box of the Import Initial Steady State from Result dialog box. The data to be imported is taken from that result.
The selection appears in the Import Initial Steady State from Result dialog box. The selected entity is immediately analyzed to determine the range of the timeline. When the minimum and maximum time values are known, they are used as boundaries for the range of the authorized time point, and the range widget is updated according to these boundaries. - Select a node in the
Variable Browser.
The data to import is taken from the result file associated
with this
Variable Browser when importing.
-
Click
OK to start the import.
The imported values are set as initial values in the current execution setup. When the import is finished, the excitation is visible in the tree, as an Initial Steady State node, in the following locations:
- In the Scenario category.
- In the Excitations category, to allow you to share the initial steady state values excitation with other scenarios.
Double-click the Initial Steady State to open the Scenario window. It is updated as follows: The column Initial Steady State is displayed, with the imported initial values. The initial values are not editable from this panel.