Separator level and volume calculations #1559
Replies: 4 comments 3 replies
-
|
Hi. |
Beta Was this translation helpful? Give feedback.
-
|
Good update. I made a pull request here: |
Beta Was this translation helpful? Give feedback.
-
|
Had to move it here: |
Beta Was this translation helpful? Give feedback.
-
|
@Alyasiri37 I was trying to update the Colab example according to your updates. It would be nice if you can have a look at the example and suggest updates: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have made the following modifications to the Separator class:
1- Included calculation for separator level from liquid volume(based on separator type) instead of the old percentage
2- Cross-section calculation for separator phases
3- Liquid volume calculation from actual liquid level
4- Getter and setter for liquid level updated to convert from percentage to original units.(both accept percentage)
5- Added new variables for radius, separator volume, and cross section
6- Updated class functions to implement those changes
In short, the separator class should now handle actual level instead of volumetric ratios, based on separator orientation. However, one of the tests have failed (ProcessSystemRunTransientTest.java) due to the assert statement on line 230. I have not modified the test and would like to know more about this value reference. Is it based on simulation from another tool? how to check calculation accuracy?
Fork branch is on
https://github.com/Alyasiri37/neqsim/tree/separator-level
And it is already rebased with the main project.
Beta Was this translation helpful? Give feedback.
All reactions