UBOAT
Propulsion (WIP preview)
62 Comments
reallydedpoet 22 Jun @ 5:23pm 
Thanks
Nymbat The Eternal 22 Jun @ 2:16pm 
@DECAFBAD Understood.
DECAFBAD  [author] 22 Jun @ 1:44pm 
@Nymbat The Eternal
In UBOAT, drag is around 1000 times greater than in real life. There's a reason for this that I won't go into.
I tried for weeks to modify the way drag was calculated and every method failed. As I found out, this is because it isn't even exposed to the scripting engine, and instead it is calculated in the native memory space of UBOAT.
Even though this is only part of the whole equation, even this residual drag is greater than what the actual value should be. So in the end, I don't believe that it is practical to have a dynamic model of the propulsion system in a mod, there are just too many obstacles.

Reducing the thrust force makes the boat slower, but the speed becomes very unstable due to the immense drag. This crippled gameplay too much, so I've opted to remove it to make this mod have the other beneficial effects.
Nymbat The Eternal 22 Jun @ 12:37pm 
Not to be a dumb dumb here, but does "Historical surface and submerged speeds for the Type VII" being crossed out mean that this mod no longer add's this feature, or that it's broken in the current release?
DECAFBAD  [author] 5 Dec, 2024 @ 9:58am 
Thanks for testing!
Shadowvale 5 Dec, 2024 @ 9:57am 
Also I did test it and it is not compatible with the device energy mod. It basically makes all of the battery values appear as 0 and the game tells you the batteries are fully depleted
Shadowvale 5 Dec, 2024 @ 9:19am 
Many of the upcoming features you describe sound awesome and I would love to see things like that incorporated. Awesome ideas and good work so far. Look forward to playing with them
DECAFBAD  [author] 4 Dec, 2024 @ 2:58pm 
Haven't checked it out.

Got to get back to this from another angle. Acceleration will not be fixed because of the way UBOAT breaks when I try to alter drag.
Shadowvale 4 Dec, 2024 @ 11:59am 
Will this mod work with a different mod that changes the batteries? Such as the Device Management mod? I really like some of the features of that one, but I am interested in the idea of historical propulsion values
Thinkflight 28 Oct, 2024 @ 5:36pm 
Any updates?
Fox 12 Oct, 2024 @ 3:17am 
Any news?
DECAFBAD  [author] 24 Sep, 2024 @ 11:55pm 
Instead of drag + lift, both functions of attack angle relative to the flow, UBOAT only has drag relative to heading + perpendicular, more severe drag. No lift.
A profound effect can be observed: while drifting North with engines turned off and applying rudder to turn, the boat will only ever go North and not change the course. A real ship would change the course once the heading angle started to drift due to forces applied by the uneven pressures on her flanks.
The result is that for the simulation to remain consistent, UBOAT needs to apply a greater thrust and resistance force: greater by a factor of 30. The Type VII outputs 60MW instead of 2MW. This way propulsion takes care of the course change, but this also means that everything will always stop on a dime once propulsion is lost.
DECAFBAD  [author] 24 Sep, 2024 @ 11:03pm 
Upcoming features are progressing slowly. Currently trying to make the boat behave like a boat in the water. Meaning: adding lifting surfaces as well as a more efficient turning force due to drift to the physics engine.
It has shown to be difficult, tryng to interact with physics. Some native parts do not get altered when I poke them, or just shut down when I poke them harder.
DECAFBAD  [author] 24 Sep, 2024 @ 10:55pm 
The gyrocompass is the only consumer in UBOAT. It "encompasses" all auxiliary loads, so lights, galley, radio, rudder etc all fall under it. That's.just how it is, I didn't invent this. A truer hotel load is planned way down the line.
I'll take a look at what happens at full stop, thank you very much for the report!
Nick 24 Sep, 2024 @ 9:13pm 
I noticed at full stop I have about 5 hrs less battery life than I do at forward speed 1. Might check to make sure forward 1 is setup as a drain and not a charge. All other speed settings forward and reverse show a reduction on battery life.

Also, when I turn off lights in the different sections it makes no difference om battery life. This is true without your mod too, so lights may not be coded into the game.
Thinkflight 24 Sep, 2024 @ 6:38pm 
Any word on how the upcoming features are progressing? I've been following the progress of this with crossed fingers :-)
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 10:29am 
I sent a screenshot of the surface and positional position in a private message.
DECAFBAD  [author] 5 Sep, 2024 @ 10:15am 
And Dreimal Ausserste Kraft which will dran the battery at 2500A for an extra half knot of speed.
DECAFBAD  [author] 5 Sep, 2024 @ 10:13am 
In the scope of this mod, the battery is the greatest challenge.
Then the telegraph. Hopefully I will be able to fix the annoying buzzing. Add the intermediate speeds Zwomal Halbe Fahrt and so on.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 10:05am 
What else do you want to fix and check?
DECAFBAD  [author] 5 Sep, 2024 @ 9:17am 
Battery model is WIP. For the ammeter, check the battery charge level tooltip.
DECAFBAD  [author] 5 Sep, 2024 @ 9:17am 
I think it will work, but I haven't tried.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 9:16am 
What is this new battery model and new ammeter?
DECAFBAD  [author] 5 Sep, 2024 @ 8:45am 
1) You got an upgraded battery. Just charge it.
2) I'll copy the decimal mod file into this, if they don't clash I'll include it in the next update.
3) Not going to do that. But I will expand on charging, and it will be a lot more elaborate.
4) Electric range is not perfect but it will be once the new battery model is in. But it should already be in the right ballpark.
5) Calculate the charging time based on the new ammeter.
6) Which mod is that?
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 8:20am 
1) why does the boat start a trip with empty batteries?
2) do you plan to add tenths to the speed readings on the telegraph?
3) when charging batteries on diesels, limit the speed of diesels to the middle forward
4) does the cruising range on diesel and electric correspond to speeds of 10 knots and 4 knots
5) what is the battery charging time and is there a dependence on the inclusion of devices?
6) is it possible to combine this mod with the speed and rpm mod?
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 8:19am 
Time acceleration in the game:

140------------------48------------------12

7.9-8.0-------------8.0-8.1------------8.0
9.6-----------------9.7-9.9------------9.6-9.7
12.2-12.3--------- 12.4-12.6---------12.5-12.7
15.1-15.2----------15.7-15.8---------15.5-15.7
15,9-16,2----------17,1-17,2---------17,2-17,3

140------------------48------------------12

1,6------------------1,6------------------1,6-1,7
2,9-3,0-------------2,9-3,0-------------3.0
4,4-4,5-------------4,4-4,5-------------4,4
6,8------------------6,8-6,9-------------6,9-7,0
7,7-7,9--------------7,7-7,8-------------7,9-8,0
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 8:15am 
Here are my data:
180 - 7.0
255 - 10.2
340 - 12.4
435 - 16.1
480 - 18

60 - 1.7
110 - 3.0
160 - 4.5
250 - 6.5
300 - 7.7
DECAFBAD  [author] 5 Sep, 2024 @ 7:25am 
Please re-translate or describe: positional position. This does not make sense in English.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 7:02am 
First of all, I would like to clarify what performance characteristics of the boat in terms of speed did you take as a basis?
Here are my data, they may differ from examples in life, depending on the model of the engine and the year of production of the boat by 0.1-0.2 tenths or 10-20 revolutions.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 6:56am 
I understand this perfectly well. This is just an observation in the test results.
DECAFBAD  [author] 5 Sep, 2024 @ 6:53am 
There's nothing I can do about the time compression changing the speed.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 6:46am 
Based on yesterday's initial tests, the speed jumps depending on the acceleration of time.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 6:03am 
Speed ​​readings with tenths on the telegraph so that they are immediately in your mode...
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 6:02am 
The game has depth gauges inside the boat and a general one in the main panel.
In the above-water position, the depth gauge inside the boat shows the correct draft of the boat. At the same time, the general depth gauge shows 0 m.
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 5:59am 
The positional position was needed to reduce the boat's visibility and only in good weather, with a low wind speed. The positional position was never used in high waves. The deck was level with the water level. In real life, this was a depth of 6 m. Accordingly, the watch was on the bridge.
DECAFBAD  [author] 5 Sep, 2024 @ 5:41am 
I don't so much mind the depth gauge being off by 3m. This change I'd prefer to see in UBOAT directly.

Re 1), correct it how? What is incorrect?
[1 UF] ⭐ Kellermann [WPC] 5 Sep, 2024 @ 5:35am 
Additional questions:
1) Is it possible to correct the positional depth of the boat?
2) Is it possible to correct the depth gauge readings on the main panel?
3) Is it possible to change the speed readings on the telegraph to tenths?
DECAFBAD  [author] 5 Sep, 2024 @ 5:20am 
That would be another mod, mainly to change how the dive schedules work. To have different options to cruise at listening depth, come up to schnorchel depth, or if one doesn't have it installed, periscope depth automatically.
DECAFBAD  [author] 5 Sep, 2024 @ 4:58am 
I was instead thinking of removing that button altogether. Maybe to change so it dives to 50m instead.
Hard 5 Sep, 2024 @ 4:14am 
Since you will be adjusting the dive depth, perhaps you will make one more setting in the config - the dive depth in Deck Awash mode? The task is to dive the boat to a state in which there is still an observation team on the bridge.
DECAFBAD  [author] 4 Sep, 2024 @ 11:50pm 
I haven't tested the Schnorchel yet. Yes, it might need some tweaking.
- making "peiscope depth" deeper by 2-3m
- limiting the speed to 270RPM while underway on both engines for 6.5kn maximum speed
DECAFBAD  [author] 4 Sep, 2024 @ 11:36pm 
Thanks old friend! I'm glad you're giving it a thorough testing.

I will tweak the speeds a little, definitely. But the speed difference between the VII B and VII C is less than the amount of error I'm seeing just by running on a flat sea in UBOAT.
When I set "Weather Calm" in the console, I expect to get the spead to be both very constant, and repeatable. But instead sometimes the boat achieves 18kn, and sometimes it's 16kn and sometimes it even skips side to side.

I will have to take a look at making the boat more heavy, so the speed doesn't change as rapidly as it does.
[1 UF] ⭐ Kellermann [WPC] 4 Sep, 2024 @ 6:07pm 
Finally you made this long-awaited mod, which many have dreamed of for so long!!! Amazing wonderful work!!!
Look, Hard has already written a message. I wanted to write in the morning, but since he wrote, I will write too)
There are several nuances. Tomorrow I will test everything again and then I will describe everything... I would like to discuss them and bring the tuning of the performance characteristics of the submarine type 7 to perfection, as it should be...
Hard 4 Sep, 2024 @ 4:27pm 
I really hope that you will be able to bring this mod to perfection. Good luck!
Hard 4 Sep, 2024 @ 4:23pm 
These are the speed parameters for different VIIC modes. I think you can adjust the speeds easily in your mod. However, the Type VIIB boats were faster.

https://drive.google.com/file/d/15HF0YQZ_juQ-5iJe03wNtf7x1IcMzs-V/view?usp=sharing

And you probably know this resource - The U-boat - The Evolution and Technical History of German Submarines (Eberhard Rossler, 2001).
Here is a list of characteristics of various types of submarines

https://drive.google.com/file/d/14sAFNCuGd1soXp74IbdYKesBEaBla7X4/view?usp=sharing
Hard 4 Sep, 2024 @ 4:15pm 
It seems to me that there is not enough speed setting for moving a boat underwater on diesel engines using a snorkel?
Hard 4 Sep, 2024 @ 4:04pm 
Very interesting, thanks.
DECAFBAD  [author] 4 Sep, 2024 @ 8:52am 
Funny thing is, I didn't actually have to do all that much, other than figuring out the internal units. They definitely aren't SI.
The physical model in UBOAT is fairly consistent. The only error that I see, is where the dimension is thrust force, it is treated as power. This makes the battery use quite skewed in the unmodded version.