Skip to content

Commit

Permalink
Catching unneccessary terms in lagrange multiplier expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lee committed Apr 9, 2024
1 parent f8ccdec commit 01319d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions idaes/models/unit_models/gibbs_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ def gibbs_minimization(b, t, p, j):
j
][e]
for e in b.control_volume.config.property_package.element_list
if b.control_volume.properties_out[
t
].config.parameters.element_comp[j][e]
!= 0
)
)

Expand Down

0 comments on commit 01319d7

Please sign in to comment.