modelSSVTest

SSV file read test

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example model reads the gain parameter from the corresponding node of the SSV file test_v2.ssv. For gain1 the gain parameter is read as Real value using the function ExternData.SSVFile.getReal. For timeTable the table parameter is read as Real array of dimension 3x2 by function ExternData.SSVFile.getRealArray2D. The read parameters are assigned by parameter bindings to the appropriate model parameters.

Parameters

TypeNameDefaultDescription
ExternData.SSVFiledataSourceSSV file
IntegermdataSource.getArrayRows2D("table1")Number of rows in 2D array

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Sources.ContinuousClockclock
Modelica.Blocks.Sources.TimeTabletimeTable