Menu

#225 Editing reactor throws exception

5.7
closed
None
2019-11-01
2019-04-02
Alex
No

After creating a flowsheet with 4 components (N2, NO, NO2, O2) and adding an equilibrium reactor, a nonsensical exception "Sequence contains no elements" is thrown whenever one attempts to Edit/View the reactor by right-clicking it in the flowsheet.

This occurs 100% of the time in the attached file.

1 Attachments

Discussion

  • Daniel Medeiros

    Daniel Medeiros - 2019-04-02
    • status: open --> accepted
    • assigned_to: Daniel Medeiros
     
  • Daniel Medeiros

    Daniel Medeiros - 2019-04-02

    It seems that you've removed the default reaction set from the simulation, which you shouldn't be able to as it breaks the simulation. I'll prevent this from happening in a future update.

     
  • Daniel Medeiros

    Daniel Medeiros - 2019-04-02

    Actually you cannot remove the default reaction set, please tell me how to reproduce this as I wasn't able to do it here.

     
  • Daniel Medeiros

    Daniel Medeiros - 2019-04-05
    • status: accepted --> needs-info
     
  • Daniel Medeiros

    Daniel Medeiros - 2019-05-20
    • status: needs-info --> closed
     
  • Alex

    Alex - 2019-11-01

    Please reopen this. The attached file still throws an exception when opened. Even if the UI isn't suppoed to allow you to remove the default reaction set, it still happens, and moreover people exchange files like the attached. DWSIM should validate its input rather than throwing exceptions.

     
    • Daniel Medeiros

      Daniel Medeiros - 2019-11-01

      You didn't describe what you've done, so I could not reproduce this issue here. Here's the fixed file, I just had to add a property package.

       
    • Daniel Medeiros

      Daniel Medeiros - 2019-11-01

      I agree with the validation issue, and I'm really sorry about that. It is hard to validate every single input in DWSIM.

       
Auth0 Logo