SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-08-13, 12:14 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

So here's the graph of the functions you have just described:



As you can see, their curves are pretty similar, and they resemble a "flattened" sigmoid. I have some doubts about the last diesel constant you have stated though:

Quote:
(for diesels this was 30.99133)
as it would be identical to the corresponding electric constant, and for a bell ratio of 0.20 (AheadSlow), it gives an XMM0 value of 6.94 instead of 11.26; on the contrary, the electric XMM0 value returned by your constant is 7.56, as espected.

Something to note about the other constants:

(3,913995+1)*7432,328*(3,913995)^2/559500≈(8,857989+1)*3086,243*(8,857989)^2/2387200≈1

Constants apart, what is weird about those routines is the absence of max_speed sim file setting as a parameter, and the big difference between the XMM0 values returned by them and actual speeds attained
gap is offline   Reply With Quote
Old 07-08-13, 01:41 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
as it would be identical to the corresponding electric constant, and for a bell ratio of 0.20 (AheadSlow), it gives an XMM0 value of 6.94 instead of 11.26; on the contrary, the electric XMM0 value returned by your constant is 7.56, as espected.
I double checked that last constant for electric and diesels and it's the same.

You have to remember that I gave the function that does this calculation it's name. I have no clue whether the name I gave it corresponds to it's true meaning or is just a wild guess. I do know that it works with the engine ratio selected and the final value is used in the engines to determine speed of the sub. I haven't traced down where the actual max speed of the unit (as defined in .dat file) is used yet. When I do it will probably unlock the remaining mysteries about how speed is calculated.
TheDarkWraith is offline   Reply With Quote
Old 07-08-13, 05:50 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I double checked that last constant for electric and diesels and it's the same.
Okay, I will check the formula for errors on my part

Quote:
Originally Posted by TheDarkWraith View Post
I haven't traced down where the actual max speed of the unit (as defined in .dat file) is used yet. When I do it will probably unlock the remaining mysteries about how speed is calculated.
I see. Let us know if you stumble upon any juicy piece of information re. this subject
gap is offline   Reply With Quote
Reply

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 10:04 AM.


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.