Marine systems simulation
Passthrough

Simply pass input to output port.

+ Collaboration diagram for Passthrough:

An object to simply pass the input port to the output port. Useful for constructing system abstraction of model collections

Example configuration excerpt

<Lib
LibName = "fhsim_base"
SimObject = "System/Passthrough"
Name = "A"
PortWidth = "2"
/>
...
<Connection
A.In = "2,1"
/>

Input Ports

Name Width Description
In <PortWidth> The input port.

Output Ports

Name Width Description
Out <PortWidth> The width of the signal (input and output ports)

Configuration parameters

Name Width Description
PortWidth 1 The width of the signal (input and output ports)

Initial conditions

There are no initial conditions for this function.

Full example file

<Contents>
<OBJECTS>
<Lib
LibName="base"
SimObject="System/Passthrough"
Name="A"
PortWidth="1"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
A.In="20"
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
/>
</INITIALIZATION>
<INTEGRATION>
<Engine
IntegratorMethod="2"
NumCores="1"
TOutput="0, 1, 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 System/Passthrough