A seine connector of some kind.
- Author
- Karl-Johan Reite
- Date
- 06.03.2009 KJR: Initial version.
A two-source position/velocity switch for a warp end. While Connected is above 0.5 the vessel holds the warp end, and Pos and Vel forward source 2 (Pos2, Vel2, the vessel); otherwise they forward source 1 (Pos1, Vel1, the buoy-held end). The buoy mesh is rendered only while the flag is low.
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"
TensionFilterConstant = "0.001"
AttractorNameNet = "NetBin"
AttractorNameWarps = "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>
<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/Buoy