Page 1 of 1

[1.0.0] tanks with fluids not giving a signal

Posted: Tue Oct 27, 2020 12:22 am
by -DeadlyKitten
If a tank has less then 1 fluid but more then 0 (ex: 0.3 fluid) then it will not output a signal on a circuit network despite containing fluid


Recreating bug:
1) Placed blueprint 1 and waited a bit for it to stop moving liquid
2) Mouse over center tank and observe that there is liquid in it
3) Mouse over substation and note that the red signal is the only signal there

I expected it to not output 0 unless the tank is empty

Posable fix:
round up instead of down when dealing with fractional fluid amounts


Blueprint 1:
0eNq9WE2OmzAUvkrldRhhgyHJootueohqFDngMFbBIGPSpiMO0Fv0bD1JHzCBZGJiPB1NFlH8MN/73r+dZ7TPG14pITXaPiORlLJG22/PqBaZZHkn06eKoy06CqUbkKyQZEUnGHZ4GLUrJGTKf6Itbh9XiEsttOADTL847WRT7LmCDdPbulQs455m8jtgVmUNL5WyUwhAXkgf6Aqd4BcJHyhoSIXiybCDtKsbYDIBN/tas37nLSz1X0ABA4GtcsCsu+e4+8oU5/KSuUjRNrpQ2K3j9rFtDSSCkUTVFJXJqmi06oWAVmW+2/MndhSl6rYlQiWN0Dt4lo7vHoSq9e4mJIe8ATqj0ifOjievFDkasMENXVT9blFUTDHdqUB/f/9BrYv5c+aGi4NJRrPxkmDSEZjnsE+JxOOSq+zkQZpydWAJN8U2Ouu41gDifXM4cAUO/AWg2B8/Bt3RqPvsQQ+8txey955BKx5t83vbTEE9iBx4OxaW4ukQyKaLIr4sMpfokZnoxYujF58txJub6DkRua6i4NV6/WpN6AzztbXMriNyw/c9iy4X2ZP+wKLbTMaLylQG0VhseA3mGyCwb8XAVgxsxfCtGMSGQTdWjMCKsbZiXDSyguW5N3adqszNneaqIkyQ1EorttKKrBiRFSO2YlArxtqKEVoxrGlLAxsGsaYttaY+saYttaY+Ibb+cz5l9Ajv3X/mxsXX+w3oMzK2EzLVD/QwmDkHAZP2dL+eaW8WGCV6Riw9MpnwtOuCXqXKhNe1kBkyqQuXqrvIy/9QR62jYuoO8XWowncfFRXv0HhTeBmrP2hckOgNYz6cSfzYYW6QGYzrZuLp0ssUnHDS+xlHFt0BNg7zZIZf4C/ndzFZbvhFJmzs0NDn+BEHftTNf0Hg0Ojn+IUO/AJH/1GH3JlGwaIrRxA55DaesT1+U27jRbY71M3F0WKZ7RuHvJyxPZzqRkho6vDMs4MN5/PzC7uaaw2dvG91L2A/GFycOhCuElAJ/au/CmlegITpRvHhsFWUaT8btJdzVmtk5IjfVDuL4hMSh9qZ82Gw3Iehgw8T1aS8v6Lc9yMx+vERwGEbCKd/ilYoZ3sOow59Ocs+YZAe4ZI7pNkah3G4iaMY+xGN2vYf6Gv57w==

Re: [1.0.0] tanks with fluids not giving a signal

Posted: Tue Oct 27, 2020 12:40 am
by Loewchen

Re: [1.0.0] tanks with fluids not giving a signal

Posted: Tue Oct 27, 2020 2:00 am
by Squelch
When offloading fluids from trains, try to offload into a buffer tank and have that pumped out to your factory.
Fluid Offload.png
Fluid Offload.png (2.61 MiB) Viewed 1886 times


A fluid wagon and tank both hold 25k units, so as long as the buffer tank is empty before offload, the fluid wagon will be guaranteed to be emptied during offload. If there are pipes between the offloading pump and your factory, and there is no pump to empty that pipe, then there may always be a residual amount. Using a tank allows you to monitor the exact amount in that part of the system

The thread @Loewchen links to, is rather old, and fluid handling has changed a little for the better since then.

Re: [1.0.0] tanks with fluids not giving a signal

Posted: Tue Oct 27, 2020 2:13 am
by -DeadlyKitten
see also: viewtopic.php?f=23&t=86041

I am asking for this anyway because without either this or with viewtopic.php?f=7&t=90745 multi fluid systems are nearly impossible to use, it is most likely a simple fix that could open a whole new area of interesting design.

Re: [1.0.0] tanks with fluids not giving a signal

Posted: Tue Oct 27, 2020 2:16 am
by -DeadlyKitten
my usage is not to due with trains, i am trying to make a compact advanced oil processing
Screenshot 2020-10-26 201521.png
Screenshot 2020-10-26 201521.png (834.18 KiB) Viewed 1875 times