Skip to content

Add MIAM types to canonical Mechanism #271

@K20shores

Description

@K20shores

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions