All this talk about CO2 concentration and why CO2 turn on two hours before lights on got me thinking about how does the CO2 concentration vary with time for our CO2 injected high tech tanks.
Well here is my stab at the maths, remembered from A level maths 35 years ago (oh and my maths books).
For a CO2 injected tank
(CO2 injection rate) – (CO2 loss rate) = (CO2 accumulation)
Assigning some variables so we can write an equation:
For a small time δt later
p δt - r δt = M δc
Note that Mδc (mass times change in concentration) = mass accumulated.
However the CO2 loss rate (r) is proportional to the CO2 concentration ie r = kc, k is a constant (the loss is probably related to surface area and surface agitation). I suspect may also be related to injection rate as well, for CO2 bubbles that never dissolve and escape, but that calculation is for another time 🙂.
Thus
Rearranging
Letting δt -> 0,
This is a first order linear differential equation, whose solution may be looked up in book or manually solved by multiplying by integrating factor and integrating, to remove the differential.
Multiplying by
, where e is base of natural logarithm
Then integrating with respect to t
Where A is a constant of integration.
Dividing by
and cancelling M gives
At time t = 0 assume c = 0 and substituting in
Putting back equation for c
And this is the relationship we require, showing the relationship between c (the CO2 concentration) and t time.
Things to note are:
Using Sagemath (www.sagemath.org) and putting some numbers in gives the following curves for 3 CO2 injection rates of 2, 4, 8 g/hour into 200litres and assuming k = 0.1 (ie only 10% stays in the water) gives the following curves. X axis is time in seconds, Y access is CO2 concentration in ppm.

For 2g/hour with k changing gives. This shows how CO2 varies CO2 loss due to surface agitation, surface area and even plants consuming CO2.

Finally 2 g/s CO2 injection rate but in three tank sizes. This shows that CO2 eventually reaches the same level, just takes longer with a larger tank.

So does any of this help ?
I think it does help, namely for a certain tank size CO2 the time in getting to a level CO2 concentration and the final CO2 concentration depends solely on CO2 injection rate and the CO2 loss rate.
We can increase CO2 injection rate by just turning up the bps (bubbles per second) and control the loss rate by better injection methods and less (more controlled !) surface agitation.
Well here is my stab at the maths, remembered from A level maths 35 years ago (oh and my maths books).
For a CO2 injected tank
(CO2 injection rate) – (CO2 loss rate) = (CO2 accumulation)
Assigning some variables so we can write an equation:
p = CO2 mass injected per second
r = CO2 mass lost per second.
M = mass of tank water
c = concentration of CO2 in water
t = time
Thus at time t:r = CO2 mass lost per second.
M = mass of tank water
c = concentration of CO2 in water
t = time
p – r = accumulation.
For a small time δt later
p δt - r δt = M δc
Note that Mδc (mass times change in concentration) = mass accumulated.
However the CO2 loss rate (r) is proportional to the CO2 concentration ie r = kc, k is a constant (the loss is probably related to surface area and surface agitation). I suspect may also be related to injection rate as well, for CO2 bubbles that never dissolve and escape, but that calculation is for another time 🙂.
Thus
p δt – kc δt = M δc
Rearranging
Letting δt -> 0,
This is a first order linear differential equation, whose solution may be looked up in book or manually solved by multiplying by integrating factor and integrating, to remove the differential.
Multiplying by

Then integrating with respect to t
Where A is a constant of integration.
Dividing by

At time t = 0 assume c = 0 and substituting in
Putting back equation for c
And this is the relationship we require, showing the relationship between c (the CO2 concentration) and t time.
Things to note are:
- Increasing p (CO2 injection rate) increases c (CO2 concentration).
- Increasing k (CO2 loss) decreases c (CO2 concentration).
- Increasing M (tank water mass) decreases c (CO2 concentration).
Using Sagemath (www.sagemath.org) and putting some numbers in gives the following curves for 3 CO2 injection rates of 2, 4, 8 g/hour into 200litres and assuming k = 0.1 (ie only 10% stays in the water) gives the following curves. X axis is time in seconds, Y access is CO2 concentration in ppm.

For 2g/hour with k changing gives. This shows how CO2 varies CO2 loss due to surface agitation, surface area and even plants consuming CO2.

Finally 2 g/s CO2 injection rate but in three tank sizes. This shows that CO2 eventually reaches the same level, just takes longer with a larger tank.

So does any of this help ?
I think it does help, namely for a certain tank size CO2 the time in getting to a level CO2 concentration and the final CO2 concentration depends solely on CO2 injection rate and the CO2 loss rate.
We can increase CO2 injection rate by just turning up the bps (bubbles per second) and control the loss rate by better injection methods and less (more controlled !) surface agitation.