Marine systems simulation
Signal list

Piecewise constant signal list with transition times.

+ Collaboration diagram for Signal list:

A picewise constant signal is emitted from the output port. The signal value and transition times are defined by the parameters

Example configuration excerpt

<Lib
LibName = "fhsim_base"
SimObject = "Src/SignalList"
Name = "const"
Values = "1,0,2"
Times = "0,20,30"
/>

Input Ports

This function has no inputs.

Output Ports

Name Width Description
Out <PortWidth> The output signal

Configuration parameters

Name Width Description
Values <N> The output signal values
Times <N> The output signal time points

Initial conditions

There are no initial conditions for this function.

Full example file

<Contents>
<OBJECTS>
<Lib
LibName = "base"
SimObject = "Src/SignalList"
Name = "SL"
Values = "1,2,3,4"
Times = "0,5,10,15"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
/>
</INITIALIZATION>
<INTEGRATION>
<Engine
IntegratorMethod = "2"
NumCores = "1"
TOutput = "0, 0:1:20, 30"
LogStates = "1"
stepsize = "0"
HMax = "0.002"
HMin = "0.00000001"
AbsTol = "1e-3"
RelTol = "1e-3"
UseRSSNormInsteadOfInfNorm = "0"
FileOutput = "objects:all"
/>
</INTEGRATION>
</Contents>

This SimObject is referred to as Src/SignalList