Depressurisation - A Practical Guide
Depressurisation - A Practical Guide
Depressurisation - A Practical Guide
2 / 2004 U
This guide has been prepared based upon questions frequently asked regarding the Dynamic Depressuring utility introduced in HYSYS 3.0. It should provide users with an explanation how to use the utility and correctly interpret the results. It is divided into three sections: 1.0 Overview 2.0 Adding and Configuring the Utility 2.1 Connections- Vessel Configuration 2.2 Configuring the Strip Charts 2.3 Heat Flux Parameters 2.4 Heat Loss Parameters 2.5 Valve Parameters 2.6 Operating Options 3.0 Example Problems 4.0 Appendices
1.0
Overview
Why has the old depressuring utility gone? The original utility in HYSYS was a pseudo-dynamic calculation based on a series of steady state calculations. The Dynamic Depressuring utility was introduced in HYSYS 3.0 to allow users to perform proper time-dependant calculations. A HYSYS Dynamics licence is NOT required to use this new utility. In version 3.2 onwards you now only have the option to run the new Dynamic Utility. Make sure the template dyndepressuring.tpl is dated 19/04/2004 or later What can this utility be used for? The Depressuring utility can be used to simulate the depressurisation of gas, gas-liquid filled vessels, pipelines and systems with several connected vessels or piping volumes depressuring through a single valve. References to vessel in this guide can also refer to piping or combinations of the two. What types of depressuring calculations can be performed? There are two major types of depressuring calculations available: Fire Mode is used to model a vessel or pipe under fire conditions. This mode has three sub-types: * Fire, * Fire Stefan Boltzmann * Fire API521 Adiabatic Mode is used to model the blowdown of pressure vessels or piping with no external heat supplied. A more in depth discussion of the different methods follows in Section 2.0. Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006 1
2.0
How to add the utility A Depressuring utility can be added to the case by selecting "Tools" "Utilities", highlighting "Depressuring - Dynamics" and pressing the "Add Utility" Button. Once selected always rename the Utility to something that is recognisable the next time you open the case. Eg: DP-V1234-Fire
2.1 Connections
How to connect the utility to a stream On the "Design" tab, "Connections" page, choose the stream that represents the fluid you want to use as the source for the depressuring. If you have a single vessel, for example, the stream would be the feed stream into the vessel. Attaching the stream to the utility is accomplished as shown in the view
Press the arrow and select the inlet stream from the drop-down list.
Entering Vessel Parameters Ideally, the vessel size will be known and this data can be entered into the appropriate fields on the form shown above. If the vessel size is unknown, then the vessel sizing utility in HYSYS can be used to estimate the required parameters. The initial liquid volume is normally calculated at the normal liquid level (NLL). HYSYS does not take the volume of the heads into account so the volume will be the liquid in the cylindrical portion only. If the feed stream is two-phase, the equilibrium composition of the liquid will be calculated. If an initial Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006 2
liquid volume is not specified, HYSYS will take a volume equal to the volumetric flow of the feed liquid over one hour. This may be disproportionate to the total vessel volume. A more realistic hold up time to use is 4 minutes. HYSYS does not take account of the heads in a vessel so volumes and areas are calculated as for a simple cylinder. The total vessel volume is calculated from the diameter and height (or length for a horizontal vessel). To account for piping or head volume contributions, a small amount can be added to the height or length of the vessel if the user so requires.. If the conditions of the system at settle out are such that the vapour is superheated, HYSYS will not allow a liquid inventory. The settle out conditions for mixed sources and volumes are calculated on a constant enthalpy, volume and mass basis. Correction Factors allow for adjustments to the amount of metal in contact with the top or bottom of the vessel. This can also be used to account for additional nozzles, piping, strapping or support steelwork in close contact with the vessel. HYSYS will use the heat content of this metal when performing the calculations. This is analogous to adding, for example, ten percent to the vessel mass to account for fittings. note that correction factors are in kg or lb and and not a simple %.
To view data in tabular form, press the "View Historical Data" button.
To view data in graphical form, press the "View Strip Chart" button.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
Fire Mode
can be used to simulate plant emergency conditions that would occur during a plant fire. Pressure, temperature and flow profiles are calculated for the application of an external heat source to a vessel, piping or combination of items. Heat flux into the fluid is user defined using the following equation:
LiquidVolumetime=t LiquidVolumetime=0
The Fire equation can also be used to simulate the depressuring of sub-sea pipelines where heat transfer occurs between seawater and the pipeline. If C3 was equal to UA, C4 was equal to T1 and C1, C2 and C5 were equal to zero, the above equation would reduce to:
Q = UA(T )
Q = 21000 F A0.82
Q = total absorption to wetted surface (BTU/h) F = environmental factor 2 A = total wetted surface (ft )
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
Q = 43.116 F A0.82
Q = total absorption to wetted surface (kJ/s F = environmental factor A = total wetted surface (m2)
Environmental Factor Table 5 on Page 17 of API 521 lists F factors for various types of vessels and insulation. Bare vessel, F = 1. Earth-covered storage, F = 0.03. Below-grade storage, F = 0. For insulated vessels, users should consult the reference and select an F value based on the insulation conductance for fire exposure conditions. At present HYSYS does not have the F factor shown in the equation. If you want to derate the heat input then alter the 21000 or 43.116 figure accordingly.
Note the Initial wetted area variable will only be completed if cases from earlier versions of HYSYS ( pre 3.2) are loaded. The HYSYS equation is an extension of the standard API equation. Therefore, in field units, C1 will be 21000 multiplied by the environmental factor, F and C2 will 0.82. (In most cases, C1 will be equal to 21000).
Q = C1 (WettedAreatime=t )
C2
WettedAreatime =t = WettedAreatime = 0 C3 1
LiquidVolumetime =t LiquidVolumetime =0
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
Wetted Area The surface area wetted by the internal liquid content of the vessel is effective in generating vapour when the exterior of the vessel is exposed to fire. To determine vapour generation API recommends that you only take into account that portion of the vessel that is wetted by liquid up to 7.6m (25ft) above the source of the flame. Individual companies may deviate from this figure, so do check. This usually refers to ground level but it can be any level capable of sustaining a pool fire. The following table indicates recommended volumes for partially filled vessels. Volumes higher than 7.6m are normally excluded as are vessel heads protected by support skirts. Portion of Liquid Inventory All (up to 7.6m) Normal operating liquid level (up to 7.6m) Normal level in the bottom plus liquid hold up from all the trays dumped to the normal level in the column bottom. Total wetted surface only calculated up to 7.6m 1 Maximum inventory level (up to 7.6m) Either the maximum horizontal diameter or 7.6m, whichever is greater Ref API 520
Type of Vessel Liquid full (e.g.: treaters) Surge drums, knockout drums and process vessels Fractionating columns Working storage Spheres and spheroids
1
The following table is an example showing how the C3 term affects the wetted area calculation. An initial liquid volume of 6m3 and a wetted area of 500 m2 were given. C3 1 0.75 0.5 0.25 0 Wetted Area Wetted Area Wetted Area Wetted Area Wetted Area (m2) (m2) (m2) (m2) (m2) 500.0 500.0 500.0 500.0 500.0 333.3 375.0 416.7 458.3 500.0 250.0 312.5 375.0 437.5 500.0 166.7 250.0 333.3 416.7 500.0
Time (minutes)
Volume Ratio
0 5 10 15
6 4 3 2
Therefore if a C3 value of 0 is used, the initial wetted area is used throughout the calculations. This could represent a worst case scenario. Alternatively, if a C3 value of 1 was used, the volume would vary proportionally with the liquid volume. This would represent a vertical vessel.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
where: A total
f v
k Tf Tv outside U Tamb
= vessel emissivity = Boltzman constant = flame temperature = vessel temperature = convective heat transfer between vessel and air = ambient air temp
generally ranges from 0.2 to 0.5 (for burning heavy HCs) generally ranges from 0.5 to 1 (for polished metal) equals 5.67*10 - 8 W/m2 K4 1500 K and upwards
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
can be used to model the gas blowdown of pressure vessels or piping. No external heat is applied so no parameters need to be entered in this section. Heat flux between the vessel wall and the fluid is modelled as the fluid temperature drops due to the depressurisation. Typical use of this mode is the depressuring of compressor loops on emergency shutdown.
Adiabatic Mode
Use Spreadsheet is an option that allows the user access to the spreadsheet used by the depressuring utility. Values can be altered in this spreadsheet and additional equations substituted for calculation of the heat flux. It is recommended that this option only be used by advanced users.
Notes
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
Simple Model
An overall U value can be specified in this section. Heat Transfer Area is the cylindrical area of the vessel with no allowance for head area. This value is calculated using the vessel dimensions specified on the "Connections" page. Using the Simple Heat Loss Model, heat loss from the vessel is calculated using the following formula:
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
Detailed Model
The duty can be applied to the vessel wall or directly to the fluid. The former would be used to model a fire and the latter to model a heater. There are four portions of the model to be set up. They are General, Conduction, Convection and Correlation Constants. General The General section allows the user to manipulate Recycle Efficiencies and the ambient temperature.
The default value for all three Recycle Efficiencies is 100%. This means that all material in the vessel has been flashed together and is in thermodynamic equilibrium. If the Recycle Efficiencies were to be reduced a portion of the material would by-pass the flash calculation and the vapour and liquid would no longer instantaneously reach equilibrium. In this case, the phases may have different temperatures. Unfortunately, there is no single typical number suggested for these parameters. The best option would be to try various scenarios and observe the results. Conduction The Conduction parameters allow the user to manipulate the conductive properties of the wall and insulation.
The metal wall thickness must always have a finite value (i.e.: it cannot be <empty>). To model a vessel without insulation, the insulation value thickness should be zero. Users are also required to enter the specific heat capacity of the material(s), the density of the material(s) and the conductivity of the material(s).
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
10
Some typical values for metals are: Metal Mild steel Stainless steel Aluminium Titanium Copper Brass Convection The Convection view allows users to manipulate the heat transfer coefficient for inside and outside the vessel as well as between vapour and liquid material inside the vessel. Density kg/m3 7860 7930 2710 4540 8930 8500 Specific Heat kJ/kg K 0.420 0.510 0.913 0.523 0.385 0.370 Thermal Conductivity W/m K 63 150 201 23 385 110
To use a set of fixed U values, the "Use Fixed U" option should be selected. If the U values are unknown, the user can press the "Estimate Coefficients Now" button and have HYSYS determine the U values. In order to have HYSYS vary the U values throughout the depressuring scenario, select the "Continually Update U" value. Correlation Coefficients This feature gives users the opportunity to manipulate the coefficients used in the heat transfer correlation. By selecting "Use Specified Constants", the user may manually enter the constants used in the heat transfer correlations.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
11
The equation which determines the outside heat transfer coefficient for air is:
T h =C length
The equation used for the other three correlations is:
Nu = C (Gr Pr )
Where: Nu = Nusselt Number Gr = Grashof Number Pr = Prandtl Number
Notes
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
12
2.5
Valve Parameters
The Valve Parameters page allows users to select the type of valves to be used for both vapour and liquid service. In most cases, either the Fisher or the Relief valve should be used for valve sizing. Their equations are more advanced than some of the others and can automatically handle choked conditions. Furthermore, these two valve types support other options that can be accessed through the valve property view accessible through the Depressuring sub-flowsheet. The seven available valve types are described in the sections that follow.
Fisher The Fisher option uses the standard valve option in HYSYS. It allows the user to specify both valve Cv and percent opening. By pressing the "Size Valve", the valve can be sized for a given flow rate.
Once the appropriate Sizing Conditions have been entered, press the "Size Valve" button to have HYSYS determine the valve Cv.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
13
Relief Valve The relief valve option uses the standard HYSYS dynamic relief valve. The user can specify orifice area (or diameter), relief pressure and full open pressure. The user is required also to specify an orifice discharge coefficient.
PSV hysterysis can be modelled by clicking on the Sub flowsheet template for the depressuring utility and navigating to the Specs Dynamics Tab as shown.
It is possible to model a depressuring valve using the PSV valve. To do this you will have to force the relief valve to be open at all times. To do this enter a full open pressure that is lower than the final expected vessel pressure and a set pressure that is slightly lower than the full open pressure. For other valve information as used in the original HYSYS Depressuring Valve Criteria See Appendix A
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
14
2.6 Options
"PV Work Term Contribution" refers to the isentropic efficiency of the process. A reversible process should have a value of 100% and an isenthalpic process should have a value of 0%. For gas-filled systems, values range from 87% to 98%. For liquid filled systems the number ranges from 40% to 70%. A higher isentropic efficiency results in a lower final temperature. PV Work Term Contribution" refers approximately to the isentropic efficiency of the process. A reversible process should have a value of 100% and an isenthalpic process should have a value of 0%. As no processes are fully isentropic nor isenthalpic, this parameter is used in all the different simulation models to tune the models in order to match conditions observed, and has been requested by some of our users to use to match the test data they have available. This parameter is defined in HYSYS as: dH (change in enthalpy) = percentage / 100.0 * dP (change in pressure) / phase_mole_density. In simple terms you can think of this as the work that the fluid in the vessel does to expel the material that is leaving. However for design purpose, that is working without any test data, based on various publications on the subject, we can propose the following values as a guideline: For gas-filled systems, values range from 87% to 98%. For liquid filled systems the number ranges from 40% to 70%. Furthermore as you can see, from the way the equation is defined, a higher isentropic efficiency results in a lower final temperature. Hence, if one is checking that the minimum temperature of the vessel will not fall below a certain value i.e. for validating the steel alloy grade, then 100% will give the most conservative result. Also, If one is checking that the final Pressure is below the safety regulatory limit after 15 minutes, might be safer to makes some checks with lower value such as 87%, to be more conservative, provided there is no significant heat transfer influence on the phase behaviour inside the vessel.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
15
Operating Conditions
Operating Parameters Operating pressure refers to the initial vessel pressure. By default, this value is the pressure of the inlet stream. The time step size refers to the integration step size. It may be a good idea to reduce the step size if the flow rate is significantly larger than the volume or if the vessel depressurises in a relatively short amount of time , say 1 minute.
Vapour Outlet Solving Option Either the Dynamic Depressuring utility can solve for the final pressure or the Cv/Area required to achieve a specified final pressure. The "Calculate Pressure" option uses the specified area/Cv to determine the final pressure. The final pressure is given when the Depressuring Time has elapsed.
"Calculate Area" is available for Relief, Supersonic, Subsonic and General valves. "Calculate Cv" is available for Fisher and Masoneilan valves. The two options differ only in the type of value calculated. Based on API, it is normal to depressure to 50% of the staring pressure or to 100 psig. Before the calculations start, the user must specify an initial Cv or area. If the depressuring time is reached before the final pressure is achieved, then the calculations stop and a new Cv or area is calculated using the final pressure. The calculations are repeated until the final pressure is reached in the given amount of depressuring time. The user may specify a maximum number of iterations and a pressure tolerance to improve convergence. If the user wishes to stop the calculations at any time, the <CTRL> <BREAK> keys can be used. When the utility has stopped running, the final calculated value is displayed here.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
16
Performance
Once all the required information has been submitted, a yellow bar that reads "Ready to Calculate" will appear at the button of the Depressuring view.
Press the "Run" button to start the calculations. Once the utility has run, users can go to the "Performance" "Summary" page to view the results.
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
17
You now only have the option to run the new Dynamic Utility the old quasi dynamic method has been removed. HYSYS does not take the volume of the vessel heads into account so the volume will be the liquid in the cylindrical portion only. Adjust the vessel size if you wish to allow for the head volume HYSYS defaults the liquid volume to be equal to the volumetric flow of the feed liquid over one hour. This will be disproportionate to the total vessel volume, a more realistic hold up time is 4 minutes. Metal mass correction factors are in kg or lb and and not a simple %. At present HYSYS does not have the F factor shown in the API521 fire equation. If you want to derate the heat input then alter the 21000 or 43.116 figure accordingly. It is possible to model a depressuring valve using the PSV valve. To do this you will have to force the relief valve to be open at all times. To do this enter a full open pressure that is lower than the final expected vessel pressure and a set pressure that is slightly lower than the full open pressure. PV work term * gas-filled systems, 87% to 98%. * liquid filled systems 40% to 70%. A higher efficiency results in a lower final temperature. API recommends depressuring to the lower of 50% of the initial pressure or 100 psig / 6.9 barg For accurate calculations the detailed Heat Loss model should be used otherwise the contribution of the metal is completely ignored. Make sure you run with a smaller enough time step to capture the peak flow THOUROUGHLY CHECK YOUR INPUT DATA BEFORE RUNNING. IF YOU ARE UNSURE OF PARAMETERS DO NOT MAKE WILD GUESSES ..ASK !
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
18
F = C d A (P1 1 )
0.5
Subsonic The subsonic valve equation can also be used for modelling systems when no detailed information on the valve is available but the flow is sub-critical. This can occur when the upstream pressure is less than twice the backpressure. The discharge coefficient (Cd) should be a value between 0 and 1. The area (A) should be a value between 0.7 and 1. P1 refers to the upstream pressure and 1 the density.
F = Cd A
0.5 1
It is possible to have the depressuring scenario cycle between pressure build-up and relief. To perform this analysis, ensure a reasonable pressure differential and increase the number of pressure steps. Masoneilan This equation was taken from the Masoneilan catalogue. It can be used for general depressuring valves to flare. When this option is selected, the user must specify Cv and Cf. The remaining parameters in the equation are set by the Depressuring utility.
F = C1 Cv C f Y f (P1 1 )
where: C1 Cv Cf Yf y P1 1 = = = = = = = = 1.6663 (SI Units) 38.86 (Field Units) valve coefficient (often known from vendor data) critical flow factor y - 0.148y3 expansion factor upstream pressure upstream density
0.5
Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006
19
General The General valve equation is based on the equation used to calculate critical flow through a nozzle as 1 shown in Perry's Chemical Engineers' Handbook . It should be used when the valve throat area is known. Note that this equation makes certain limiting assumptions concerning the characteristics of the orifice.
F = Cd Av K term ( g c P1 1 k )
Cd Av Kterm k P1 1
1
0.5
= = = = = =
2 k +1
k +1 2 ( k +1 )
Page 5-14, Equation 5.20 (6th Edition) & Page 10-15, Equation 10.26 (7th Edition)
No Flow This option indicates that there is no flow through the valve. Use Spreadsheet Recommended only for advanced users, this option allows the user to customise a valve equation by editing the valve spreadsheet found inside the Depressuring sub-flowsheet. Pressing the "View Spreadsheet" button will open the spreadsheet.
Discharge Coefficient When the relief, supersonic, subsonic or general valve is selected, the user is required to specify a discharge coefficient. This correction factor accounts for the vena contracta effect. Values ranging from 0.6 to 0.7 are typically used. In order to disregard this effect, set the discharge coefficient equal to 1. Aspentech Technical Support Knowledge Base Article rev 2004-1.1 Feb 2006 20