|
FhSim
3.1.0
Marine systems simulation
|
The <INTERCONNECTIONS> section defines how SimObjects are connected. Connections link input ports to output ports or to constant values.
Connections are specified as attributes of <Connection> tags:
Each attribute has the form:
or, to connect to a constant value:
<Connection> tags are allowed. You can group connections into separate tags for readability:When an input port is set to a literal value rather than an output port, the value is parsed as a comma-separated list of numbers. The list must contain exactly as many numbers as the input port declares, or the run stops with *"Constant value for input port <object,port> is incorrectly defined"*:
9810 cannot be interpreted without knowing the unit system of the library that provides mass: FhSim defines no units and converts nothing. - on the third component means "downward" only by the Z-up visualisation convention, which the integrator itself does not know about. See Units and coordinate conventions.Connection values can use $Variable references defined in the VARIABLES section, and are then passed through the arithmetic evaluator, so cable.PosB="0,0,-$Depth/2" is valid. See Arithmetic in attribute values for exactly when a value is treated as an expression:
The first connection links the cable endpoints to the positions of two mass objects. The second connects the cable reaction forces back to the masses.