Skip to content

Commit d7d6f23

Browse files
tiny fix (#147)
Co-authored-by: Keith Beattie <[email protected]>
1 parent c82abda commit d7d6f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idaes_examples/mod/hda/hda_ideal_VLE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def fix_initialization_states(blk):
550550

551551
# Also need to deactivate sum of mole fraction constraint
552552
for k in blk.values():
553-
if not k.config.defined_state:
553+
if not k.config.defined_state and k.config.has_phase_equilibrium:
554554
k.equilibrium_constraint.deactivate()
555555

556556

0 commit comments

Comments
 (0)