Menu

#150 Removing connections from the Object Editor can lead to an inconsistent state

4.1
closed
None
2016-12-30
2016-12-16
Alex
No

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:

  1. Open GlassTrivial.dwxmz, it should open to the flowsheet.
  2. Click the tower, DC-005, opening its Object Editor
  3. In the column configuration panel, for all 5 streams (the feed, products, & energy streams), click the dropdown and choose the empty selection, in succession. Don't do anything else.
  4. Notice, the flowsheet doesn't update.
  5. Now, right-click DC-005 on the flowsheet and choose "Delete"
  6. Notice, the column disappears, but all the lines remain.

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.

1 Attachments

Discussion

  • Daniel Medeiros

    Daniel Medeiros - 2016-12-30
    • status: open --> closed
    • assigned_to: Daniel Medeiros