We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c82abda commit d7d6f23Copy full SHA for d7d6f23
idaes_examples/mod/hda/hda_ideal_VLE.py
@@ -550,7 +550,7 @@ def fix_initialization_states(blk):
550
551
# Also need to deactivate sum of mole fraction constraint
552
for k in blk.values():
553
- if not k.config.defined_state:
+ if not k.config.defined_state and k.config.has_phase_equilibrium:
554
k.equilibrium_constraint.deactivate()
555
556
0 commit comments