Setup a Single run Experiment🔗
The easiest way to run an Experiment is Single run. A Single run performs just one simulation and delivers one result (trajectory) per variable.
- Go to Experiment layer -> Diagram View -> Right sidebar.
- In the EXPERIMENT browser, - Click "+ New experiment" button to add a new Experiment, or - Select another Experiment from the list
Via Diagram View:
- Select a component on the canvas by clicking on it.
- Got to the right sidebar -> PROPERTIES
- Change the parameter you want to change for the selected Experiment
Via Experiment Setup View:
- Select "Single run", if not selected as per default
- Click "+ Add modifier" to select a parameter you want to change.
(Use autosuggestion to help you to find the right path.) - Click
- "Checkmark" button to confirm/submit, or
- "Crossmark" button to discard.
- By default, Impact adds the value from the model to the parameter.
Click into the field to switch to "edit mode" - Enter a value
- By hovering over the parameter name on the left, a tooltip shows the datatype of the parameter.
- Make sure that the entered value returns the required datatype:
Real
: any number with or without a decimal operator, like12
or3.14
or-6e2
Integer
: any number without a decimal operator, like12
or-6e2
String
: any value/text in quotation marks, like"foo"
Boolean
: a Boolean value, means eithertrue
orfalse
Enum
(enumeration): a value that returns the Modelica path of an alternative like.Modelica.Blocks.Types.SimpleController.PI
- Note: Modelica expressions, as they are used in the modeling layer, are not yet supported! The modifications must be constant values.
- Click
- "Checkmark" button to confirm/submit, or
- "Crossmark" button to discard.
Related articles🔗
Dynamic Simulation | Steady State | Cancelled Simulation | MultiExecution | Experiment Types