Removing connections from the Object Editor can lead to an inconsistent state
Simulate chemical processes using advanced thermodynamic models
Brought to you by:
danwbr
In certain circumstances, it appears that removing stream connections from the Object Editor of an uncalculated object, and then deleting that object, will cause DWSIM to enter an inconsistent state, where it thinks the streams are still connected to something, yet it cannot disconnect them.
I've attached a flowsheet that demonstrates this. To replicate:
At this point, opening the object editor for any of those 5 streams will claim it's disconnected. However you'll be unable to connect another operation to it.
Fixed in Update 7. https://github.com/DanWBR/dwsim4/commit/dd733ed6bcd8c81c1349f6c3974e056b103183bc