Commit Graph
3 Commits
Author SHA1 Message Date
Claude 13266b41cb Baffles: hull sonars deaf astern, baffle clearing, AI boats trail there (save v35)
The frigate's hull array and every submarine's hull sonar no longer hear
within 30 degrees of their own stern; the towed array and the VDS still
do. Bridge and crewed boat clear their baffles with Ctrl+B (or the web
button): 60 degrees to starboard for two minutes, then back. An AI boat
close in the frigate's baffles after a ping trails her instead of
running. Tests that fired an AI boat at once now start with flooded tubes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
2026-09-29 18:27:11 +00:00
db9979andClaude Opus 5.5 4cd903a58a Phase 3: passive and active sonar equations
Add src/sonar/equation.py and route own-ship, dipping and NPC sonars
through it, calibrated so the 1.0.0 detection ranges hold:
- Passive SE = SL - TL - NL + DI - DT per band: source level from target
  quietness, spherical spreading plus path excess and Francois-Garrison
  absorption, Wenz/Knudsen wind, shipping (nearby merchants) and rain
  noise power-summed with a hull self-noise floor and the speed/cavitation
  self noise; own wake astern masks the hull array.
- Active SE with aspect/length target strength, bottom (sediment Lambert),
  surface and volume reverberation, CW Doppler rejection growing with
  radial speed, LFM processing gain, Cramer-Rao range accuracy.
- Selectable CW/LFM pulse (W, saved); charted wrecks return unassociated
  echoes (saved pending clutter).
- NPC passive sonars hear louder targets farther and use their catalog
  receiver sensitivity.
Sea-state deviations at cavitating own speed are recorded with reasons.
Manual EN/DE and help updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 14:56:57 +02:00
db9979 3b3753cf4e Initial Release v1.0.0 2026-09-23 12:10:58 +02:00