Filtration Pilot (OnBoard)

If you liked this item, please rate it up on Steam Workshop page.

Author: Sharidan

Last revision: 21 May, 2023 at 13:18 UTC

File size: 192.51 KB

On Steam Workshop

Description:

Auto detects gases from inserted filters, all 24 filters supported. Optional diode slide for status display. Optional cooling control.​

Introduction

It’s relatively simple to just install one or two filters as needed, turn the Filtration Unit on and leave it at that, but doing so also means the unit will be running all the time drawing a lot of power.

Filtration Pilot is an on-board script, which means the chip goes into the Filtration Unit itself – not in an external IC housing. Once installed into the Filtration Unit, Filtration Pilot will manage the Filtration Unit on it’s own, only enabling the Filtration Unit when there are actually gases to process, dramatically reducing the power costs compared to having it running all the time.

There is built-in full detection of which filters are installed, all 24 filters are supported. Yes, that includes the Infinite sized filters available only through trading.

How it works

Without any automation attached, the Filtration Unit will only process the gases that match the installed filter(s), whether that is one or two filters, allowing up to two different gases to be filtered.
Filtration Pilot uses this to monitor the input pipe of the Filtration Unit itself, to determine when there is enough of a particular gas to warrant running the Filtration Unit.

The threshold for starting can be changed at the top of the script and is configured in moles. By default, 50 moles must be pressent in the input pipe, for Filtration Pilot to start up the Filtration Unit and process the gases.
Once all of the gases have been processed, Filtration Pilot remains active for about 10 additional seconds, to provide support for the last trickling of gases coming from say an Ice Crusher or a canister purge system.
When those 10 seconds have expired, the Filtration Unit is put into idle mode, reducing it’s power drain.

Additionally there is a maximum output pressure limit that Filtration Pilot will respect. By default this limit has been set at 30 MPa, which can be configured at the top of the script, should you want a different limit.
If the pressure on the filtered output pipe reaches the set limit or exceeds it, Filtration Pilot will not run the Filtration Unit until the pressure is reduced below the set limit.
Note that no warning is given if Filtration Pilot hits this limit.

Low or expired filters

As filters are used their durability goes down until they are not longer able to function and have to be replaced. Filtration Pilot internally monitors the durability of all filters installed and if either or both filters run out of durability the Filtration Unit will not be run until the filters have been replaced.

Optionally, a Flashing Light can be installed on the same cable network and Filtration Pilot will turn that Flashing Light on when there is a faulty filter. No additional configuration required – it is just installing the Flashing Light.

Filter status

Another option is to add a Diode Slide, which can be plug & play installed on pin D0 on the Filtration Unit. Build a Diode Slide somewhere on the same cable network, then grab your screwdriver and configure the Diode Slide on the Filtration Unit – you can do this while it’s on and running.

Once installed, the Diode Slide will have dual functionality. The Diode Slide will be On when the Filtration Unit is processing gases and go Off when the Filtration Unit returns to idle mode.
For filters with durability, the slide on the Diode Slide will indicate the remaining durability:
If two filters are installed for two different gases, the filter with the lowest durability takes priority on the Diode Slide, so it will always show the remaining durability of the filter with the lowest remaining durability.
If two filters are installed for the same gas, the durability shown on the Diode Slide, is the combined remaining durability, which means the Diode Slide will show "all good" until one filter has been completely spent and the second filter begins wearing down it’s durability.

Cooling option

If you have built some kind of cooling option for your atmospherics handling, you can optionally attach either a Digital Valve or a Volume Pump and configure it to pin D1 on the Filtration Unit.
Filtration Pilot continuously monitors the pressure and temperature of the filtered output pipe, so if either the valve or the pump is configured on pin D1, Filtration Pilot can turn it on if/when the temperature goes above the set temperature limit. By default, the temperature is set to 293° kelvin or 20°C. You can change this at the top of the script to suit your needs or set it to zero to completely disable this feature.

Footnotes

With 6 Filtration Units running in atmospherics processing, that’s easily a 600W power draw on the power grid. Install Filtration Pilot and that power drain drops to 60W when the Filtration Units are idle. Dump gases from your furnace or process ices and they’ll automatically start up when there is enough of the gases to process. When everything is done, they’ll all go idle again, reducing the overall power drain.
Another bonus is having the visual feedback from the units, both the Diode Slide allowing "at a glance" checking of each unit and the Flashing Light to call in assistance when filters are gone.

Other scripts

I have a few other scripts that might be of interest.

Atmospherics

Canister Pilot
https://steamcommunity.com/sharedfiles/filedetails/?id=2978782048

Production

Printer Pilot
https://steamcommunity.com/sharedfiles/filedetails/?id=2978782048

Sorter Whitelist Automation
https://steamcommunity.com/sharedfiles/filedetails/?id=2978782048

Miscellaneous

WeatherWatch (24h Clock)
https://steamcommunity.com/sharedfiles/filedetails/?id=2978782048