mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 04:44:18 +01:00
Add src/physics/ship_dynamics.py with hull/propeller data in data/loadouts/ownship_hull.json, calibrated at load time against the 1.0.0 references (top speed, 92 s to 90 % of FULL, 92 s stop, 1.2 deg/s at FULL, cavitation at 15 kn, cubic fuel law): - Surge from propeller thrust (linear K_T(J)) against quadratic resistance and added resistance in waves; three exactly integrable regimes (load-up programme, governed, reverse-pitch braking) keep the result independent of the step size. - Cavitation from the cavitation number at the screw depth (earlier when pitching lifts the stern); physical shaft rpm; fuel from shaft power. - First-order Nomoto steering (turn circle ~0.4 NM at all speeds). - 1-DOF roll/pitch driven by a Pierson-Moskowitz wave slope, turn heel, list and speed-dependent fin stabilizers. - Displacement from fuel and floodwater; hydrostatic draft plus Barrass squat feed swept grounding. - Jammed rudder when the aft steering-gear room is destroyed, stabilizers lost with a destroyed hull compartment. - Saved wake ring with bubble decay for later sensor/weapon phases. Deviations (rpm display values, HALF turn rate) are recorded in tests/calibration/deviations.json. Manual EN/DE updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
1.3 KiB
JSON
23 lines
1.3 KiB
JSON
{
|
|
"ship.rpm_eq.FLANK": {
|
|
"phase": 2,
|
|
"reason": "Phase 2: shaft revolutions now follow a fixed-pitch propeller with a linear K_T(J) curve (steady rpm proportional to speed, 146 rpm at 25 kn). The 1.0.0 values were a cosmetic 20 + 2.4*v display line that is not physically consistent with a 4.2 m propeller.",
|
|
"value": 145.8176
|
|
},
|
|
"ship.rpm_eq.FULL": {
|
|
"phase": 2,
|
|
"reason": "Phase 2: shaft revolutions now follow a fixed-pitch propeller with a linear K_T(J) curve (steady rpm proportional to speed, 146 rpm at 25 kn). The 1.0.0 values were a cosmetic 20 + 2.4*v display line that is not physically consistent with a 4.2 m propeller.",
|
|
"value": 93.3233
|
|
},
|
|
"ship.rpm_eq.HALF": {
|
|
"phase": 2,
|
|
"reason": "Phase 2: shaft revolutions now follow a fixed-pitch propeller with a linear K_T(J) curve (steady rpm proportional to speed, 146 rpm at 25 kn). The 1.0.0 values were a cosmetic 20 + 2.4*v display line that is not physically consistent with a 4.2 m propeller.",
|
|
"value": 58.327
|
|
},
|
|
"ship.yaw_steady_deg_s.HALF": {
|
|
"phase": 2,
|
|
"reason": "Phase 2: first-order Nomoto steering, r = K (V/L) delta, makes the steady turn rate linear in speed, so the turning circle is nearly constant; calibrated at FULL (1.2 deg/s), HALF becomes 0.75 deg/s.",
|
|
"value": 0.75
|
|
}
|
|
}
|