AU-BCE-EE / tric-fil-mod

A trickling filter model to simulate air treatment, written in Python
GNU General Public License v3.0
0 stars 0 forks source link

Sort out mtc units #2

Closed sashahafner closed 1 year ago

sashahafner commented 1 year ago

@afeilberg noticed my original units for ka (mtc) were wrong. I think this is correct now in a49ad9fb807a9db6bed3001a621572088cc34264, which has:

    # Common term, mass transfer into liquid phase (g/s)
    #g/s 1/s  m3(t) ----g/m3(g)-----
    g2l = ka * vt * (ccg - ccl / hc) 

Note that we need vt = total volume in this expression, because I assume the specific interface area rolled into ka is m2(interface)/m3(total) where total volume = volume of packed medium or reactor. We might be able to simplify a bit by using compound concentrations instead of mass as state variables (this should be a separate issue) but then we need to include the ratio of gas to total volume I guess.

sashahafner commented 1 year ago

Now (df149a908c4b199efdfbb241668b59f1bb665770) this, but the same idea

    #g/s 1/s  m3(t) ----g/m3(g)-----
    g2l = Kga * vt * (ccg - ccl * Kaw)