Marine systems simulation
Progress

Simulation progress to output file.

+ Collaboration diagram for Progress:

Writes the current time progression of fhsim to a file. The time progression is given as percent. If the end time is infinity, the output progression will always be zero.

Example configuration excerpt

<Lib
LibName = "fhsim_base"
SimObject = "Sink/Progress"
Name = "p"
/>

Input Ports

This SimObject does not contain any inputs.

Output Ports

This SimObject does not contain any outputs.

Configuration parameters

Name Width Description
OutputFile 1

The file where the output will be written. Default: fhsim_progress

Initial conditions

This SimObject does not contain any initial conditions.

Full example file

<Contents>
<OBJECTS>
<Lib
LibName="base"
SimObject="Sink/Progress"
Name="P"
/>
</OBJECTS>
<INTERCONNECTIONS>
</INTERCONNECTIONS>
<INITIALIZATION>
</INITIALIZATION>
<INTEGRATION>
<Engine
IntegratorMethod="2"
NumCores="1"
TOutput="0,100"
LogStates ="1"
stepsize ="0.1"
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 Sink/Progress