Jump to content



Featured Articles

Check out the latest featured articles.

File Library

Check out the latest downloads available in the File Library.

New Article

Product Viscosity vs. Shear

Featured File

Vertical Tank Selection

New Blog Entry

Low Flow in Pipes- posted in Ankur's blog

Integral Method - Psv Sizing Calculation

integral method - psv sizing

This topic has been archived. This means that you cannot reply to this topic.
21 replies to this topic
Share this topic:
| More

#1 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 08 July 2014 - 05:21 AM

Dear All,

 

Could u please explain about the integral method to be used in PSV sizing calculation when the Compressibility Factor is not within the range of 0.8 and 1.1?



#2 breizh

breizh

    Gold Member

  • Admin
  • 6,340 posts

Posted 08 July 2014 - 07:39 AM

hi,

Consider this document to support your query.

Hope this helps

 

Breizh



#3 serra

serra

    Gold Member

  • Members
  • 310 posts

Posted 08 July 2014 - 07:46 AM

see API 520, the procedures discussed in API and other sources attempt to locate vena contracta conditions,

CHERESOURCES has a Excel page to size a PSV with different methods and comparing results

http://www.cheresour...ng-temperature/

as alternative you can calculate critical mass flux estimating speed of sound with rigorous methods based for example on EOS, this method allows a quick (and more accurate) solution,  

http://prodesoftware...ons.blogspot.de


Edited by serra, 08 July 2014 - 07:47 AM.


#4 latexman

latexman

    Gold Member

  • Admin
  • 1,686 posts

Posted 08 July 2014 - 07:56 AM

Take a look at this FAQ I wrote over at Eng-Tips.  I think it's exactly what you asked for.

 

http://www.eng-tips....qs.cfm?fid=1293



#5 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 09 July 2014 - 03:31 AM

Thank u all for ur valuable information.



#6 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 10 July 2014 - 12:33 PM

Latexman,

 

Firstly thanks for the source provided. Could u please elaborate on how Gn is calculated. Is it by calculating the velocity or volume???



#7 latexman

latexman

    Gold Member

  • Admin
  • 1,686 posts

Posted 10 July 2014 - 02:42 PM

Read down into the FAQ until you get to:

 

"Gn = [ρ]n ( - 2gc [∫] dP/[ρ] )1/2

Evaluate [∫] dP/[ρ] (the RHS of Equation 1) numerically from Po to Pn until Gn reaches a maximum (sonic flow) OR Pn = PBP (subsonic flow)"

 

That's the key! (I hope you can interpret the TGML code from my copy paste of the FAQ.)

 

Then look at the spreadsheet output.  The VBA in the spreadsheet starts at Po and To and calculates [&rho]o.  Then in the next row down, it increments the pressure down by dP (usually 1 psi) for Pn.  It calculates Tn isentropically due to pressure reduction.  It calculates [&rho]n using the ideal gas law.  Any EOS can be used.  Then, it calculates and sums ([&delta]P/[&rho]ave) in each pressure increment.  Then it calculates G for each increment using Gn = [ρ]n ( - 2gc [∫] dP/[ρ] )1/2.


Edited by latexman, 10 July 2014 - 02:56 PM.


#8 breizh

breizh

    Gold Member

  • Admin
  • 6,340 posts

Posted 10 July 2014 - 08:18 PM

Hi,

Some additional input about the method.

Breizh



#9 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 10 July 2014 - 11:36 PM

Thanks Latexman and Breizh.

 

Latexman,

 

Am not able to download the Spreadsheet. Could u post the same link in Chereources Forum if possible.

 

Thanks in advance.



#10 serra

serra

    Gold Member

  • Members
  • 310 posts

Posted 11 July 2014 - 01:16 AM

see post #21 in thread
http://www.cheresour...ng-temperature/

there is the Excel page which allows to calculate a PSV with

1) integration method (supercritical and two phase flow)
2) API formulation with real cp/cv
3) API formulation with ideal cp/cv
4) hydrocarbon's magazine paper

the psvcompare1.xls page allows rigorous design/rate of a PSV comparing different methods

the procedure calls Prode Properties for fluid thermophysical properties
and flash operations, a free copy of Prode is available here

http://www.prode.com/en/properties.htm

the Excel example psvcompare1.xls works fine in my tests
and you can look at VBA code before to start writing a new one.

Finally, if you wish to solve directly the nozzle model
thake a look at ISPF() method in Prode which adopts a
direct method.


Edited by serra, 11 July 2014 - 01:16 AM.


#11 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 11 July 2014 - 01:27 AM

Thanks Serra.

 

I did download the excel that you have mentioned. But am not that good in VBA to proceed further.



#12 serra

serra

    Gold Member

  • Members
  • 310 posts

Posted 11 July 2014 - 01:40 AM

for solving the integration method you need some knowledge about programming

as you need to code a iterative procedure,

 

as alternative (to a iterative procedure) you can solve much more flash operations

for example in Excel with a process library or a simulator and

interpolate results for finding vena contracta conditions,

 

there are no simpler alternatives.



#13 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 11 July 2014 - 01:47 AM

Thanks Serra.

 

Ill start learning VBA.



#14 latexman

latexman

    Gold Member

  • Admin
  • 1,686 posts

Posted 11 July 2014 - 06:35 AM

ChemiFreak,

 

That was just a copy/paste of my spreadsheet into the FAQ text editor; not an active spreadsheet or link.  I wrote it to test and understand the method.  I haven't opened it in 7 years.  It's not user friendly and after re-looking at it I see some issues.

 

One of the ways to learn VBA quickly is to record a macro and then open up the macro and study it.



#15 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 11 July 2014 - 08:34 AM

Thanks Latexman. 

 

Will definitely take your advice.



#16 aqassam

aqassam

    Junior Member

  • Members
  • 18 posts

Posted 22 July 2014 - 07:37 PM

FYI: Aspen HYSYS v8.3+ has the direct integration method available in the Safety Analysis environment. You can just do your analysis in HYSYS. 



#17 frpe

frpe

    Veteran Member

  • Members
  • 47 posts

Posted 23 July 2014 - 12:33 AM

in Excel or with VBA you may call the macro ISPF() available in Prode Properties to test your results,

ISPF() models a PSV with

HEM (Homogeneous Equilibrium Model)

HNE (Homogeneous Non-Equilibrium Model)

NHNE (Non-Homogeneous Non-Equilibrium Model)

the solution is faster that direct integration being based on a direct approach (evaluation of critical condition),

it is more accurate, too.



#18 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 23 July 2014 - 06:04 AM

Thanks aqassam and frpe for the info.

 

Aqassam,

 

I did try it in UNISIM R430 using databook. But I find the results contradicting with the numerical method (stated by Latexman) where temperature and density are directly proportional but in UNISIM they are inversely proportional. Could u help me on this???



#19 frpe

frpe

    Veteran Member

  • Members
  • 47 posts

Posted 23 July 2014 - 07:17 AM

I fear you are confusing properties,
V=(ZRT)/P
volume is proportional to temperature
density is the inverse of volume or D = 1/V

if you do not have a good knowledge of thermodynamics
better to use a well tested code such as PRODE PROPERTIES,

differently, the Excel page suggested by serra

http://www.cheresour...ng-temperature/

has exactly the code which you need,
but you must learn VBA programming as suggested by others.



#20 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 23 July 2014 - 09:00 AM

Thanks frpe for your advice.

 

Your post seem to deviate from our current discussion. I just wish to know if someone could help me to solve the direct integration method using UNISIM (having some issues as explained in my previous post) since am not able to access HYSYS, as suggested by our fellow colleague, as of now. Wish u could help me to solve this.



#21 frpe

frpe

    Veteran Member

  • Members
  • 47 posts

Posted 23 July 2014 - 10:35 AM

have you compared your results with the Excel page suggested by serra ?

That would be a simple way to learn the method.



#22 ChemiFreak

ChemiFreak

    Junior Member

  • Members
  • 29 posts

Posted 23 July 2014 - 10:51 AM

Thanks frpe.

 

I'll do so and get back to you.






Similar Topics