SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Sub/Naval & General Games Discussion
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-02-26, 08:45 PM   #15
magicstix
Commander
 
Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 469
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by blackcan View Post
Yes i know but what thorp enables me from open world aspect is to precaculate each cell of my spatial quad tree with their attenuations in respect to speed, so i can skip any calculations when the ambient / distance / sound strength etc. would be too big anyways

for the USML Raytracer i will need to check on performance and thread safety for several emitter + several receiver.
"...attenuations in respect to speed..."

Not quite sure I follow. Attenuation isn't speed related; it's entirely based on distance and reflection losses.

Is your plan somehow to use the quad tree to add up all cells between source and receiver and calculate the attenuation from that? That would be less accurate than just doing simple geometric spreading.

The sonar equation is very simple:

RL = SL - TL;

PD = (RL - LE + DI) * RD;

Where:

RL = receive level
SL = source level
TL = transmission loss

PD = probability of detect
LE = noise level (Ambient + self)
DI = directivity index (Ability of beamformer and processing to increase gain)
RD = recognition differential (50% chance of a SONAR operator "seeing" a trace bright enough to call contact. Personally I wouldn't use this metric as it's very arbitrary)

LE = Ns + Nw + Self
Ns = shipping noise
Nw = wind noise
Self = Self noise

For a simulation you'd want to cast it in terms of SNR, which is just
SNR = (SL - TL + DI) - LE, but you can simply say "if RL > LE we have a chance at contact" or, more accurately, if RL > some threshold above LE we hold contact.

LE would be the average brightness of your background "salt and pepper" on the waterfall, and RL is the individual contact trace. If a trace is bright enough to exceed that LE, then a player can see it, otherwise it's lost in the background noise.

USML is how you calculate the TL term, but it also gives you other useful information like the ray arrival angles and will create real effects like CZs and shadow zones.
magicstix is offline   Reply With Quote
 

Tags
cold, pixelart, subsim, war

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.