idaes-pse icon indicating copy to clipboard operation
idaes-pse copied to clipboard

Incorrect summation in ControlVolume0D for element balance

Open dallan-keylogic opened this issue 6 months ago • 0 comments
trafficstars

As noted in #1613 , the expressions elemental_flow_in and elemental_flow_out in the ControlVolume0D incorrectly sum over every component-phase pair, regardless of whether the component is present in the phase or not. The same issue may also be present in the ControlVolume1D. The fix is straightforward, but tests need to be added to verify the issue is fixed.

dallan-keylogic avatar Apr 24 '25 14:04 dallan-keylogic