See #268. Add aerosol types to mechanism_configuration:: and extend the v1 parser to read them. Bumps the minor parser version
Acceptance criteria
SingleMomentMode, TwoMomentMode, UniformSection, AerosolRepresentations added
HenryLawPhaseTransfer (with diffusion_coefficient, accommodation_coefficient) added to Reactions
AerosolRepresentations aerosol_representations field added to Mechanism
- Parsers for each type added
- Add all logic validation to the
validate function
- Mode phases validated against declared phases
- Process species validated against declared species
- whatever else is needed
aerosol representations: or aerosol processes: present in a v1.0.x config is a parse error
- Absent in a v1.1.x config leaves vectors empty; no error
Ideas
- Jiwon flagged
C [K] in Henry's law constant is not descriptive. Consider reference temperature [K] and enthalpy [J mol-1] or van't Hoff coefficient [K]. Get sign-off from MIAM team before locking the schema
- Read minor version before parsing sections; error if a section is present but not valid for that minor version
See #268. Add aerosol types to
mechanism_configuration::and extend the v1 parser to read them. Bumps the minor parser versionAcceptance criteria
SingleMomentMode,TwoMomentMode,UniformSection,AerosolRepresentationsaddedHenryLawPhaseTransfer(withdiffusion_coefficient,accommodation_coefficient) added toReactionsAerosolRepresentations aerosol_representationsfield added toMechanismvalidatefunctionaerosol representations:oraerosol processes:present in a v1.0.x config is a parse errorIdeas
C [K]in Henry's law constant is not descriptive. Considerreference temperature [K]andenthalpy [J mol-1]orvan't Hoff coefficient [K]. Get sign-off from MIAM team before locking the schema