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] The valve model gives an insanely low outlet temperature #293

Closed Geron1mo38 closed 2 years ago

Geron1mo38 commented 2 years ago

The valve model gives me a very low outlet temperature with an inlet stream at 913.5 psig and outlet of 215 psig. If I subsitute a cooler with the same pressure drop and adjust the specified outlet temperature until I get a resulting zero heat duty then the result is much more reasonable ie +1.7 deg F vs -268 deg F.

System contains Nitrogen, CO2, Methane.V2,C3,Ic4,nc4,ic5,nc5,c6,c7,Octane through to trace of Ethylene Glycol and water. I am using Peng Robinson 1978 advances thermo and VLLE.

I am using the Windows 64 bit version.with DWSIM 7.3.3

IMPORTANT: This section is for code-related bugs. For usage issues, please go to the Support Forums.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

DanWBR commented 2 years ago

@Geron1mo38 could you please attach the simulation file?