-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checking that species in condensed reaction are in the requested aero…
…sol phase
- Loading branch information
Showing
10 changed files
with
217 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
test/unit/unit_configs/reactions/condensed_phase_arrhenius/missing_aerosol_phase_water.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"version": "1.0.0", | ||
"name": "Missing condensed phase arrhenius aerosol phase water", | ||
"species": [ | ||
{ | ||
"name": "A" | ||
}, | ||
{ | ||
"name": "B" | ||
}, | ||
{ | ||
"name": "C" | ||
}, | ||
{ | ||
"name": "H2O_aq" | ||
} | ||
], | ||
"phases": [ | ||
{ | ||
"name": "aqueous aerosol", | ||
"species": [ | ||
"A", | ||
"B", | ||
"C", | ||
"H2O_aq" | ||
] | ||
} | ||
], | ||
"reactions": [ | ||
{ | ||
"type": "CONDENSED_PHASE_ARRHENIUS", | ||
"aerosol phase": "aqueous aerosol", | ||
"aerosol-phase water": "H2O_a", | ||
"reactants": [ | ||
{ | ||
"species name": "A" | ||
} | ||
], | ||
"products": [ | ||
{ | ||
"species name": "C" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
test/unit/unit_configs/reactions/condensed_phase_arrhenius/species_not_in_aerosol_phase.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"version": "1.0.0", | ||
"name": "Condensed phase arrhenius using species not in its requested aerosol phase", | ||
"species": [ | ||
{ | ||
"name": "A" | ||
}, | ||
{ | ||
"name": "B" | ||
}, | ||
{ | ||
"name": "C" | ||
}, | ||
{ | ||
"name": "H2O_aq" | ||
} | ||
], | ||
"phases": [ | ||
{ | ||
"name": "aqueous aerosol", | ||
"species": [ | ||
"A", | ||
"C", | ||
"H2O_aq" | ||
] | ||
} | ||
], | ||
"reactions": [ | ||
{ | ||
"type": "CONDENSED_PHASE_ARRHENIUS", | ||
"aerosol phase": "aqueous aerosol", | ||
"aerosol-phase water": "H2O_aq", | ||
"reactants": [ | ||
{ | ||
"species name": "A", | ||
"coefficient": 1 | ||
} | ||
], | ||
"products": [ | ||
{ | ||
"species name": "B", | ||
"coefficient": 1.2 | ||
}, | ||
{ | ||
"species name": "C", | ||
"coefficient": 0.3 | ||
} | ||
], | ||
"A": 32.1, | ||
"B": -2.3, | ||
"C": 102.3, | ||
"D": 63.4, | ||
"E": -1.3, | ||
"name": "my arrhenius", | ||
"__solver_param": 0.1 | ||
}, | ||
{ | ||
"type": "CONDENSED_PHASE_ARRHENIUS", | ||
"aerosol phase": "aqueous aerosol", | ||
"aerosol-phase water": "H2O_aq", | ||
"reactants": [ | ||
{ | ||
"species name": "A", | ||
"coefficient": 2 | ||
}, | ||
{ | ||
"species name": "B", | ||
"coefficient": 0.1 | ||
} | ||
], | ||
"products": [ | ||
{ | ||
"species name": "C", | ||
"coefficient": 0.5, | ||
"__optional thing": "hello" | ||
} | ||
], | ||
"A": 3.1, | ||
"B": -0.3, | ||
"C": 12.3, | ||
"D": 6.4, | ||
"E": -0.3, | ||
"name": "my arrhenius2" | ||
}, | ||
{ | ||
"type": "CONDENSED_PHASE_ARRHENIUS", | ||
"aerosol phase": "aqueous aerosol", | ||
"aerosol-phase water": "H2O_aq", | ||
"reactants": [ | ||
{ | ||
"species name": "A" | ||
} | ||
], | ||
"products": [ | ||
{ | ||
"species name": "C" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,8 @@ | |
"species": [ | ||
"A", | ||
"B", | ||
"C" | ||
"C", | ||
"H2O_aq" | ||
] | ||
} | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,8 @@ | |
"species": [ | ||
"A", | ||
"B", | ||
"C" | ||
"C", | ||
"H2O_aq" | ||
] | ||
} | ||
], | ||
|