diff --git a/thermosteam/_stream.py b/thermosteam/_stream.py index 05a1bbbc..d27d95af 100644 --- a/thermosteam/_stream.py +++ b/thermosteam/_stream.py @@ -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: