04-14-2017, 08:54 AM
Hmm. Actually, no, the grass and trees have little to do with it. This problem is entirely in the atmospheric regulators.
The give-away is the CO2 production (or consumption) listed under "Buildings". Each regulator can produce or consume up to 1000 kg of CO2 per day. They set their production/consumption level once per day, based on the current CO2 levels using a simple look-up table that goes all-out if CO2 is under 0.03%, or over 0.05%. In between, they linearly interpolate (so they do nothing at 0.04%).
The problem is that this colony is so small, adding or removing 1000 kg of CO2 will remove ALL the CO2 from the atmosphere, or drive it from zero up to 0.16%. So, each day we bounce between "zero" and "too much." And that's with a single regulator (having two just makes it worse).
Clearing the atmospheric regulators eliminates the oscillations, but then CO2 slowly creeps up, as there aren't enough grass and trees here to balance out the people. Eventually that should reach an equilibrium as people find the CO2 too high, but it won't be a pleasant equilibrium. And to balance this out by adding more trees would be pretty hard (it takes about 16 trees per person — see this thread).
We really need the atmospheric regulators to be a bit smarter about how much CO2 they consume or produce, but for technical reasons that's not as easy as it sounds. But we'll come up with something... and at least now, we understand the problem!
The give-away is the CO2 production (or consumption) listed under "Buildings". Each regulator can produce or consume up to 1000 kg of CO2 per day. They set their production/consumption level once per day, based on the current CO2 levels using a simple look-up table that goes all-out if CO2 is under 0.03%, or over 0.05%. In between, they linearly interpolate (so they do nothing at 0.04%).
The problem is that this colony is so small, adding or removing 1000 kg of CO2 will remove ALL the CO2 from the atmosphere, or drive it from zero up to 0.16%. So, each day we bounce between "zero" and "too much." And that's with a single regulator (having two just makes it worse).
Clearing the atmospheric regulators eliminates the oscillations, but then CO2 slowly creeps up, as there aren't enough grass and trees here to balance out the people. Eventually that should reach an equilibrium as people find the CO2 too high, but it won't be a pleasant equilibrium. And to balance this out by adding more trees would be pretty hard (it takes about 16 trees per person — see this thread).
We really need the atmospheric regulators to be a bit smarter about how much CO2 they consume or produce, but for technical reasons that's not as easy as it sounds. But we'll come up with something... and at least now, we understand the problem!
Joe Strout
Lead Developer, High Frontier