Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressor doesn't calculate Discharge Temperature correctly [Bug] #638

Closed
CKapp-slrconsulting opened this issue May 8, 2024 · 10 comments
Closed
Labels
bug Something isn't working

Comments

@CKapp-slrconsulting
Copy link

IMPORTANT: This section is meant for bug reporting only. For usage issues, please go to the Support Forums.

**Describe the bug

I am calculating a simple propane (100%) compressor going from -38F 13 PSIG to 146 PSIG and the discharge temperature wants to be lower than the suction temperature, the E3 horsepower surprisingly seems right, the power numbers for suction and discharge seem to be wrong or misleading. see attachment-

Screenshot 2024-05-08 142530 which is wrong.

A clear and concise description of what the bug is.

To Reproduce

PLEASE ATTACH THE ZIPPED FLOWSHEET FILE and/or inform the 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):

  • OS: [e.g. Windows, Linux, macOS]
  • Version [e.g. v6.4.1]

Additional context
Add any other context about the problem here.

@CKapp-slrconsulting CKapp-slrconsulting added the bug Something isn't working label May 8, 2024
@DanWBR
Copy link
Owner

DanWBR commented May 8, 2024

@CKapp-slrconsulting what thermo model are you using? can you zip the file and attach it here?

@CKapp-slrconsulting
Copy link
Author

CKapp-slrconsulting commented May 8, 2024 via email

@DanWBR
Copy link
Owner

DanWBR commented Jun 24, 2024

@CKapp-slrconsulting please attach the zipped flowsheet file, and do not reply directly from the email, please come to github website to attach the file.

@CKapp-slrconsulting
Copy link
Author

CKapp-slrconsulting commented Jun 24, 2024 via email

@DanWBR
Copy link
Owner

DanWBR commented Jun 24, 2024

@CKapp-slrconsulting you need to zip the simulation file

@CKapp-slrconsulting
Copy link
Author

Chiller.zip
](url)

@DanWBR
Copy link
Owner

DanWBR commented Jun 24, 2024

@CKapp-slrconsulting the attached flowsheet doesn't have a compressor named C-NGL

@andr1976
Copy link
Contributor

@CKapp-slrconsulting the suction state is all liquid, and the energy stream is negative in the compressor. Something is wrong. However if you change the equation of state to pure Peng-Robinson the results look sane. I don't know why Lee-Kessler causes problems in the compressor calc (which effectively should be equal to a pump calc for liquid fluid).

@andr1976
Copy link
Contributor

@DanWBR check-out the attached file. It shows the problem with discharge temperature for liquid propane for PR/LK vs PR

Chiller2.zip

@CKapp-slrconsulting
Copy link
Author

Many Thanks Dan for your detective work

@DanWBR DanWBR closed this as completed Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants