FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Vessel with deployment

Class modelling a fishing vessel with deployment functionality.

+ Collaboration diagram for Vessel with deployment:
Author
Karl-Johan Reite

Simulation of a fishing vessel with deployment functionality. It takes the Trawl/Vessel parameters (see Simple trawl vessel), including MeshName and the render scales.

The vessel steers to the Heading input and holds the Vel input as its speed (a scalar, m/s), as Trawl/Vessel does. In addition it owns the two attractors of the seine operation, the net attractor and the warp attractor, and registers them under the names AttractorNameNet and AttractorNameWarp. Both attractors sit 2 m above the surface over the vessel reference point and move with the vessel's commanded velocity. Seine/Operation and Seine/Cable look the attractors up by name, so their AttractorNameNet and AttractorNameWarp (in Seine/Cable: AttractorName) must equal the ones given here. Note the spelling: AttractorNameWarp, with no final s.

Configuration parameters

The parameters of Trawl/Vessel (see Simple trawl vessel) apply too. The attractor parameters are listed here.

Name Width Description
AttractorNameNet 1 Name the net attractor is registered under. No default.
AttractorNameWarp 1 Name the warp attractor is registered under. No default.
AttractorRadiusNet 1 Radius within which the net attractor pulls [m] (Default: 5; above zero).
AttractorStiffnessNet 1 Stiffness of the net attractor [N/m] (Default: 50; not negative).
AttractorDampingNet 1 Damping of the net attractor [N s/m] (Default: 5e4; not negative).
AttractorRadiusWarp 1 Radius within which the warp attractor pulls [m] (Default: 5; above zero).
AttractorStiffnessWarp 1 Stiffness of the warp attractor [N/m] (Default: 50; not negative).
AttractorDampingWarp 1 Damping of the warp attractor [N s/m] (Default: 5e4; not negative).

Input ports

Name Width Description
Heading 1 The commanded heading of the vessel [rad].
Vel 1 The commanded speed of the vessel [m/s], a scalar.

Output ports

The output ports of Trawl/Vessel (see Simple trawl vessel). This simobject adds none.

Initial conditions

The initial conditions of Trawl/Vessel.

Date
09.04.2010 KJR: Initial version.

Full example file

The example is a copy of the regression input tests/in/SeineOperation/SeineOperation_in.xml, so the two cannot drift apart silently. Seine/Cable is wired to these objects in SeineCable.xml (FISH-0017, resolved).

<Contents>
<OBJECTS>
<Lib
LibName = "fishery"
SimObject = "Seine/Vessel"
Name = "V"
Length = "70"
Breadth = "14"
Draught = "7"
NumWarps = "2"
ApSpeed = "0.1"
InitialSpeed = "2"
InitialHeading = "0"
AttractorNameNet = "NetBin"
AttractorNameWarp = "WarpAttr"
/>
<Lib
LibName = "fishery"
SimObject = "Seine/Operation"
Name = "Op"
WarpLength = "100"
MinWarpLength = "60"
WinchHaulSpeed = "0.5"
SetSpeed = "4.0"
InitialSpeed = "4.0"
TowSpeed = "2.0"
HaulSpeed = "0.5"
FinishedSpeed = "0.5"
SpreadAngle = "60"
InitialHeading = "0"
TowHeading = "0"
AddedTrackLength = "50"
TensionFilterTimeConstant = "10"
AttractorNameNet = "NetBin"
AttractorNameWarp = "WarpAttr"
/>
<Lib
LibName = "fishery"
SimObject = "Seine/Buoy"
Name = "B"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
B.Pos1 = "10, 0, 0"
B.Vel1 = "1, 0, 0"
B.Pos2 = "-10, 0, 0"
B.Vel2 = "-1, 0, 0"
B.Connected = "Op.WarpConnectedVessel"
Op.NetPWingPos = "-50, -25, -10"
Op.NetSWingPos = "-50, 25, -10"
Op.NetVel = "1, 0, 0"
Op.PBridlePos = "-30, -15, -10"
Op.SBridlePos = "-30, 15, -10"
Op.PBridleTension = "20000"
Op.SBridleTension = "20000"
Op.VesselPos = "V.Pos"
V.Heading = "Op.VesselHeading"
V.Vel = "Op.VesselSpeed"
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
V.Pos = "0,0"
V.Heading = "0"
/>
</INITIALIZATION>
<SIMULATION>
<Timing TStart="0" TEnd="260"/>
<Integrator Method="RK45_i" NumCores="1">
<StepControl StepMax="0.05" StepMin="1e-8" AbsTol="1e-3" RelTol="1e-3"/>
</Integrator>
</SIMULATION>
<OBSERVERS>
<!-- The first output time is 1, where the baseline starts. A t=0 sample would be
reproducible: Op.BuoyPos is zero until the first step in Phase_NotSet latches
VesselPos (FISH-0024, FISH-0104). -->
<FileOutput
TOutput = "1, 5, 9.9, 10.1, 20, 30.8, 30.9, 40, 51.6, 51.8, 60, 72.4, 72.6, 100, 130, 155:5:170, 172.4, 172.6, 175:5:200, 210:10:250, 252.4, 252.6, 255, 260"
Select = "objects:all"/>
</OBSERVERS>
</Contents>

This SimObject is referred to as Seine/Vessel