[0.16.51] Pump stuck with 0.0 liquid
[0.16.51] Pump stuck with 0.0 liquid
I've been trying to build an oil-processing setup using fewer pipes than is usually recommended - because why not.
However, every once in a while the entire thing will grind to a halt because of a pump like this. Actual behaviour: There's 0.0 liquid in the pump, and its output pipe is completely empty, yet the pump's contents are never moved.
Expected behaviour A pump should be able to completely empty itself, provided a suitable output is available
I've not figured out how to reliably reproduce this problem.
The oil-processing plant in the save game will sometimes produce the problem, but time taken varies greatly (one minute or several)
I suspect the origin of my problem may be related to
viewtopic.php?f=48&t=47258&hilit=pump+stuck
But I figure you devs know that better than I do
Attached save game uses the "Creative Mode (Fix for 0.16)" mod, but will work without.
However, every once in a while the entire thing will grind to a halt because of a pump like this. Actual behaviour: There's 0.0 liquid in the pump, and its output pipe is completely empty, yet the pump's contents are never moved.
Expected behaviour A pump should be able to completely empty itself, provided a suitable output is available
I've not figured out how to reliably reproduce this problem.
The oil-processing plant in the save game will sometimes produce the problem, but time taken varies greatly (one minute or several)
I suspect the origin of my problem may be related to
viewtopic.php?f=48&t=47258&hilit=pump+stuck
But I figure you devs know that better than I do
Attached save game uses the "Creative Mode (Fix for 0.16)" mod, but will work without.
- Attachments
-
- Bug Report_02.zip
- (4.54 MiB) Downloaded 129 times
Re: [0.16.51] Pump stuck with 0.0 liquid
Different liquids in the same pipe is not supported.
Re: [0.16.51] Pump stuck with 0.0 liquid
you have to construct a separate pipe systems for every fluid you get out of the refinery
My color birthday was May 2nd 2020 - Thank you Enchroma
Re: [0.16.51] Pump stuck with 0.0 liquid
I know how to build a functioning refinery the normal way - that's not my problem.
I'm trying to do things differently, if only because it'd be cool to have a refinery with a vastly simplified pipe network.
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [0.16.51] Pump stuck with 0.0 liquid
The report has nothing to do with multiple fluids. It's the typical fluid rounding error for very low amounts. The pump has
Code: Select all
{
amount=0.00017690301078074375,
name="heavy-oil",
temperature=24.999999999999993
}
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [0.16.51] Pump stuck with 0.0 liquid
fluids are not same
- Attachments
-
- fluids_are_not_same.PNG (452.27 KiB) Viewed 5639 times
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [0.16.51] Pump stuck with 0.0 liquid
Why do you even bother to answer if you didn't read my post? There's a picture in my post. Look at that. The mixing is totally unrelated to the report. <insert rage about people declining bugreports just because there's something else in the picture>
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [0.16.51] Pump stuck with 0.0 liquid
I agree that this has nothing to do with fluid mixing, so I moved it to bug reports again.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
- TruePikachu
- Filter Inserter
- Posts: 978
- Joined: Sat Apr 09, 2016 8:39 pm
- Contact:
Re: [0.16.51] Pump stuck with 0.0 liquid
Is the pump sleeping on the pipe/tank? Right now, I'm wondering if the pump's own logic thinks there's no fluid contained within.
Re: [0.16.51] Pump stuck with 0.0 liquid
Thank you for making this point that I could not.eradicator wrote: ↑Mon Nov 19, 2018 9:19 pmThe report has nothing to do with multiple fluids. It's the typical fluid rounding error for very low amounts.
In the provided save as is, the pump shows its normal working animation - even if nothing is happening.TruePikachu wrote: ↑Tue Nov 20, 2018 2:53 am Is the pump sleeping on the pipe/tank? Right now, I'm wondering if the pump's own logic thinks there's no fluid contained within.
If the adjoining pipes are removed and replaced with empty ones, then the pump will instead appear idle.
-
- Long Handed Inserter
- Posts: 60
- Joined: Thu May 04, 2017 12:07 pm
- Contact:
Re: [0.16.51] Pump stuck with 0.0 liquid
Yeah this was a problem for me when writing my mod.
I notiiced that even though the pipes showed 0.0 water, my mod was still trying to move water out the pipe/tank etc, eventually when I began printing out the amount value from the fluid box, found that the insane level of precision was the cause, no matter how many times my mod moved the receddingly small decimal it would always remain the next tick around when the fluidbox was remade.
I made my mod ignore fluid.amounts under 0.005 to stop it from endlessly trying to empty the pipe.
I wonder if Dominik could take a look with all the changes to the Fluid system in 0.17? Might be fixed already?
I notiiced that even though the pipes showed 0.0 water, my mod was still trying to move water out the pipe/tank etc, eventually when I began printing out the amount value from the fluid box, found that the insane level of precision was the cause, no matter how many times my mod moved the receddingly small decimal it would always remain the next tick around when the fluidbox was remade.
I made my mod ignore fluid.amounts under 0.005 to stop it from endlessly trying to empty the pipe.
I wonder if Dominik could take a look with all the changes to the Fluid system in 0.17? Might be fixed already?
My Mod :- Water As A Resource
Re: [0.16.51] Pump stuck with 0.0 liquid
Hi, as far as I know pumps empty well in 0.17, even with the old algorithm. Unfortunately, in 0.16 the emptying of some things is difficult.