Skip to content

Commit

Permalink
minor changes for phenomena-oriented sim
Browse files Browse the repository at this point in the history
  • Loading branch information
cortespea committed Jan 4, 2024
1 parent eb4fe6a commit 7fddf37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thermosteam/_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,10 @@ def _create_linear_equations(self, variable):
else:
return []

def _get_decoupled_variable(self, variable): pass

def _update_decoupled_variable(self, variable, value):
if variable == 'mol':
if variable in ('mol', 'mol-LLE'):
value[value < 0] = 0
self.mol[:] = value
else:
Expand Down

0 comments on commit 7fddf37

Please sign in to comment.