DanWBR / dwsim

DWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
https://dwsim.org
GNU General Public License v3.0
300 stars 96 forks source link

[Bug] Unsupported compound... not in the mixture #671

Open Naheulf opened 2 months ago

Naheulf commented 2 months ago

Describe the bug Property package (CoolProp) complain about an unsupported compound, even if that compound is not present in the mixture.

To Reproduce

  1. Create a new flowsheet
  2. Add these two components (water is optional):
    • Ammonia (CAS:7664-41-7)
    • 1,2-propylene glycol (CAS:57-55-6)
    • Water (CAS:7732-18-5) (Optional)
  3. Add these two properties packages
    • Coolprop
    • UNIQUAC
  4. Insert a Material Stream with the following properties:
    • Property Package: CoolProp
    • Set the mixture to contain only Ammonia (ratio = 1)
  5. DWSIM fail to compute the node and send that error in the logs:

    Error in '1': Error: compound '1,2-propylene glycol' is not supported by this version of CoolProp. Parameter name: 1,2-propylene glycol (CoolProp.vb, 2092)

Demo flowsheet : Propylene glycol not supported by CoolProp.zip

Expected behavior DWSIM should not send components absent from a mixture to the property package.

Screenshots image

Desktop (please complete the following information):

DanWBR commented 4 weeks ago

unfortunately, this issue cannot be fixed in the short term.