Page 1 of 1

[Dominik][0.17.41] Pumps can't pump low temperature fluids into fluid wagons.

Posted: Sun May 19, 2019 11:53 am
by Earendel
My mod (Space Exploration) has some fluids that can go to very low temperatures (Supercooled thermofluid -273°C).

The fluid flows in pipes without problems.
It can be pumped around with pumps without problems.
For some reason it can't be pumped into fluid wagons, this behaviour is inconsistent.

The problem only occurs at low temperatures, if the same fluid is at 25°C is fine.

My guess is that pumps have some special code relating to fluid wagons and that code makes different assumptions about how temperature affects flow rate.

Re: [0.17.41] Pumps can't pump low temperature fluids into fluid wagons.

Posted: Sun May 19, 2019 8:16 pm
by boran_blok
A tad off topic, but I love you modders for finding these edge cases in the game code.

Re: [Dominik][0.17.41] Pumps can't pump low temperature fluids into fluid wagons.

Posted: Tue May 21, 2019 10:01 am
by Dominik
Hi, thanks for the report. I made a wrong assumption that DBL_MIN is the minimum value of double, while it is actually a zero.