Open K20shores opened 1 month ago
I like your ideas and they make sense to me. (sympy
looks an interesting tool). A couple questions I have:
5.6D-34*N2*(TEMP/300)@(-2.6)*O2
-> O + O2 + N2 -> O3
, you mentioned that you got that from their database. Was it easy to figure it out?music-box
? We talked about supporting parser for multiple configurations in the musica. Might musica
be responsible for parsing work? @boulderdaze all of the equations are easily accessible from their database. Everything but the tokenized reactions will be easy to translate
This is really a one time task that will generate a configuration. We still need to think about our parsing stuff overall. We do have a task to handle parsing in musica, but that's sort of separate from this since first we need a configuration. Also, the photolysis stuff may be a new way to do this for us and would require an update in music box.
Figure out how to export the database that MCM has into our format
The MCM web developer has been kind enough to respond to some questions for us: https://github.com/wacl-york/mcm-web/issues/337
Acceptance Criteria
Ideas
Photolysis Reactions
J<22>*0.5
which are a multiple of a base photolysis rate. Non multiples would be likeJ<22>
which can be calculated directly from the equation aboveTokenized
https://github.com/wacl-york/mcm-web/blob/5c9b29445672ea5e92f226118ba928edc9311b4a/lib/mcm/db.rb#L124-L181
Null
5.6D-34*N2*(TEMP/300)@(-2.6)*O2
translates to this equation: $5.6\cdot10^{-34} \cdot [\mathbf{N2}] (\frac{\mathbf{TEMP}}{300})^{-2.6} \cdot [\mathbf{O2}]$5.6D-34*N2*(TEMP/300)@(-2.6)*O2
, but could also includeEXP
. RO2 dependent look like1.30D-12*0.6*RO2
and would only need to haveRO2
added as a rectant (it does't already exist as a reactant) and could use the arrhenius type, or maybe the user defined reaction type with a constant value. Non RO2 Dependent seem to be constant valued reaction rates like5.85D-12
and can again use the user defined reaction rate.