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

Fix state estimation in control volumes

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

Presently, the ControlVolume0D and ControlVolume1D are set up, by default, to copy states from the inlet stream to the outlet stream only if the state variables are uninitialized, meaning they have a value of None. However, almost every single property package adds an initial value for state variables, meaning that the state variables are almost never copied. This problem should be addressed by changing the default behavior from always_estimate=False to always_estimate=True. If the user or unit model initialization method provides a better initial value for properties than the outlet properties, then the user or unit model initialization method should specify always_estimate=False.

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