modelWriteRealVariables
Write real variable to file
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | offset | 0 | Offset |
| Real | height | 1 | Height |
| Modelica.Units.SI.Time | startTime | 0.5 | Starting time of step |
| String | outputFileName | Modelica.Utilities.Files.loadResource("modelica://KeyWordIO/../output.txt") |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y_start | Start value of step.y | |
| Real | y_end | End value of step.y right after switching | |
| Modelica.Blocks.Sources.Step | step |