Skip to content

Commit

Permalink
fix minor bug in htl module to prevent incorrect CAS indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
yalinli2 committed Jul 12, 2024
1 parent c099e1b commit 45d4db9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exposan/htl/_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,15 @@ def create_components(set_thermo=True):
# intentionally using the molecular formula and MW of water for C/N/P
C = Component('C', search_ID='water', particle_size='Soluble',
degradability='Undegradable', organic=False)
C._CAS = 'C'

N = Component('N', search_ID='water', particle_size='Soluble',
degradability='Undegradable', organic=False)
N._CAS = 'C'

P = Component('P', search_ID='water', particle_size='Soluble',
degradability='Undegradable', organic=False)
P._CAS = 'C'

O2 = Component('O2', phase='g', particle_size='Dissolved gas',
degradability='Undegradable', organic=False)
Expand Down

0 comments on commit 45d4db9

Please sign in to comment.