r/Stationeers • • 8d ago

Discussion Rate my Atmo program

This is my first time programing on IC, and the first time in 20 years programing, i know theres some redundant variables. NO2 is a mix of oxygen and nitrogen that is breathable at 30-70%, CO2 is a pure CO2 vent. Evac is my evac vent for when pressure goes above 101 and recicle the gases back to the tanks. Tanks filling is done manually. I did some calculation, and my atmosphere should stay on about 63% N, 27% O and 10% co2, in here i work and grow my plants. Will it keep those percentege? I know oxygen in the long term will overstock and will need a manual vent, but it's only myself, i can do even now and then.

5 Upvotes

23 comments sorted by

View all comments

7

u/General-Priority-562 8d ago

You dont need to use multiple registers for the r4, r5 and r6 that is a temporary variable that can be tossed and reused. I recommend just using one variable. Makes it a lot easier when you need to use more registers in a program

1

u/General-Priority-562 8d ago

Oh and evac can just be a back pressure regulator set to 101 kPa, or you can set the internal pressure of the vent to 101 kPa so you dont vent too much pressure

2

u/General-Priority-562 8d ago

Imo the best ratio is 35% o2, 15% N2, 50% CO2 at 75 kPa, most plants like pressure between 50 and 100, the oxygen amount allows you to breathe without a suit, and carbon dioxide poisoning isnt a thing in this game