FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
0468 — NetStructure offers no port Jacobians with MassFactor > 1, MaxVelocity or cable spheres/disks: BDF trawl runs stay dense
ID 0468
Class KNOWN-LIMITATION
Severity 2
Status blocked

Models: NetStructure

Found: 2026-11-25, plan MF task 4c (refers to MARE-0467 and FISH-0143)

Decision needed: how the net gets port Jacobians in these configurations: analytical terms for the mass factor and the sphere drag, a local finite-difference port Jacobian, or a change of the deck.

Evidence

src/net/NetStructure.cpp HasJacobianConfiguration (about lines 436-450) returns false when massFactor > 1, maxVelocity > 0 or any cable has spheres or disks. Then HasPortJacobians is false.

fhsim/src/engine/model/ModelAssemblyWiring.cpp (about line 466) marks a port link analytical only if both ends have port Jacobians.

The fishery deck fhsim_fishery/data/trawl/movies/trawl/morenot520/Morenot520Simple.xml has MassFactor 2 (line 19) and NumSpheres 2 (lines 572, 594, 616, 638). This gives 18 couplings that are not analytical: Net wing Pos and Vel to the PBridle and SBridle Pos2-4 and Vel2-4, and the bridle Force2-4 to the Net wing forces.

The BDF run of TrawlMovie.xml (600-610 s, 2026-11-25) therefore assembles the whole 3107x3107 system as dense. Log: out/me-fish-open-issues/d6/d6_run.log in the workspace, warning "No analytical Jacobian sparsity for this model ... 18 port coupling(s)".

Effect

The run converges (1 min 57 s, against 2 min 12 s before MARE-0467 and FISH-0143), but the sparse linear solvers stay unavailable. The cables, vessel and doors are already analytical, so the net is the only blocker.

Possible fix

  1. Analytical terms for the mass factor and the sphere drag in the net Jacobian.
  2. A local finite-difference port Jacobian for these configurations, as FISH-0143 does for the door ports.
  3. A change of the deck (no mass factor, no spheres). This changes the physics of the deck.

Each choice needs an owner ruling.

Test that would prove it

A port Jacobian check (as CableBranchedPortJacobians.*) of a net with MassFactor 2 and cable spheres, and a BDF run of the deck above that logs no dense warning.

Risk

Wrong port Jacobians give slow or failed BDF convergence, not wrong physics in explicit runs. Result files of explicit-method tests do not change.