Beruflich Dokumente
Kultur Dokumente
1
2004 Aspen Technology. - All Rights Reserved.
Workshop
The Pressure Flow Theory module introduces you to the underlying concepts necessary for developing your own dynamic simulations with HYSYS Dynamics. Some of the things you will learn from this module are: The underlying assumptions of dynamic simulation with HYSYS How to analyze your Flowsheet to make appropriate pressure flow specifications Which pressure-flow specifications make sense How to troubleshoot the process Flowsheet for inconsistent pressure-flow specifications
Learning Objectives
Once you have completed this section, you will understand: The basic concepts of dynamic simulation in HYSYS Dynamic pressure flow specifications Process Flowsheets
Theoretical Foundations
The Pressure-Flow Solver: A Boundary Value Problem
In terms of pressures and flows, perhaps the simplest way to view the pressure flow solver in HYSYS Dynamics is to consider the Flowsheet as a Boundary Value Problem. If you were to make pressure or flow specifications on all the boundary streams (feeds/product streams in a Flowsheet), then all the internal pressures and flows would be solved simultaneously at each integration step by the pressure-flow solver. The internal stream pressures and flow rates are calculated from the pressure gradients in the Flowsheet. Flow rates are determined from:
Since pressure gradients are the driving force for flow in HYSYS, care should be taken to ensure that the pressure profile of the flowsheet has been properly specified.
1. 2. 3.
Changes in vapour pressure nodes (vessels with hold-ups) within the Flowsheet system. Resistance across valves Conductance through equipment (coolers, heaters, heat exchangers)
Pressure Nodes
All unit operations (with hold-up) represent pressure nodes. Some unit operations may contribute to one or more nodes. For example: Heaters/Coolers with multiple zones Heat Exchanger - shell side/tube side Columns with multiple stages (trays)
Fundamental Principle
This concept is fundamental to performing dynamic simulation analyses with HYSYS.
Vessel equipment has a fixed geometry and thus a fixed volume. Mathematically, this means that:
dV ------ = 0 dt
(1)
Therefore, for a fixed volume, a pressure node (vessel pressure) is calculated as a function of the vessel temperature and the vessel hold up. In dynamic mode, the rate of change in vessel pressure is related to the rate of change of temperature (enthalpy) and the rate of change of material hold-up (level):
dP ------ = fn ( V, F, T ) dt
where: V = Fixed volume F = Change in flow (hold-up) T = Temperature (change in enthalpy)
(2)
VP + VF + VT = 0
where:
(3)
Vp = Volume change due to pressure change VF = Volume change due to flow changes VT = Volume change due to temperature change
Example
Consider the operation of a separator in dynamic mode that is initially at steady state with a level of 60%:
Figure 1
Assume fixed flow Remember: In Steady State, Flow into separator = Flow out of separator, no accumulation. But in Dynamics, if the separator feed flow increases with the product flow rates (vapour and liquid) remaining unchanged, the level (hold up), temperature (enthalpy) and pressure of the vessel must all change from the steady state condition.
An increase in the feed vapour Flowrate with a constant vapour product Flowrate results in the vapour (hold up) increasing. Because vapour is a compressible fluid, the accumulation of vapour, occupying a smaller volume, will cause the vessel pressure to rise. 2. The increase in liquid level also causes the vapour hold-up to occupy a smaller volume within the vessel, causing the vessel pressure to rise.
F Valve = fn ( C v, P 1, P 2 )
where: P1 = upstream pressure (pressure of stream 1) P2 = downstream pressure (pressure of stream 2)
(4)
F = k P
where:
(5)
Pressure/Flow Networks
The resistance to flow through valves and the conductance through process equipment determines stream flow rates between nodes.
In HYSYS Dynamics the pressure/flow network is described in terms of nodes, resistance and conductance. Flow takes place in streams from one node to another. Thus there are two basic sets of equations that define the pressure/flow network: 1. 2. Equations that define the material balance at the nodes Equations that define the flow - conductance and resistance to flow
The simplest case is that of incompressible flow with no accumulation at the nodes. In this situation, the flow equations are a function of the pressure gradient and equipment parameters such as the pipe diameter and roughness. The material balance at the nodes is simply that the accumulation is zero. In a more comprehensive dynamic simulation the pressure flow equations are more complex. They account for: Multi-phase flow with the potential for slippage between phases The rate of change of pressure at the nodes as a function of the equipment geometry, hold-up and enthalpy of the phases Flow rates that are determined not only by pressure gradient but also by weir heights (columns) and density differences
Figure 2
P3 F2 P1 F1 P2 F4 F3 F5
P4
P5
P1, P2, P3 etc. represent Pressure Nodes (Vessels with hold up) F1, F2, F3 etc. represent streams with flow rates
Moreover, in order to epitomize computational effort, HYSYS Dynamics partitions the equations describing any unit operation into three classes: Pressure/flow relationships Energy relationships Compositional relationships
These groups of equations can then be integrated/solved with different frequencies. Typically, the pressure flow relationships will have the smallest step size and the composition relationships the largest. The grouping of the equations also permits a different solution strategy to be applied to each group. In particular, it is possible to solve the pressure/flow relationships simultaneously across the entire Flowsheet while the other equations (composition, enthalpy) are solved on a module by module basis.
10
If you suspect that the P/F solver is failing because of the interaction with the VLE correlation, then you can do one of the following: Reduce the integration step size - this can be accessed from the menu bar: Simulation - Integrator. Change the frequency of integration steps per step size (composition and enthalpy). This can be accessed from the menu bar: Simulation - Integrator - Execution.
Figure 3
10
11
In this Flowsheet, there are 7 variables in total that will define the system. These are:
Figure 4
1. 2. 3. 4.
Feed1 (pressure, flowrate - 2 variables) Product1 (pressure, flowrate - 2 variables) Product2 (pressure, flowrate - 2 variables) and V-100 (Pressure - 1 variable)
In addition, there are 4 equations that define the pressure-flow relationships in the Flowsheet. These are: 1. 2. 3. 4. VLV-100: Resistance to Flow equation FVLV-100 = fn(CV, P1, P2) VLV-101: Resistance to Flow equation FVLV-101 = fn(CV,P1, P2) VLV-102: Resistance to Flow equation FVLV-102 = fn(CV, P1, P2) V-100: Pressure Node Relationship dP/dt = fn(V,F,T)
With 7 variables and 4 equations, the DOF = 7-4 = 3. Therefore, 3 P/F specifications need to be made to define this system.
11
12
In the previous example, we had three Degrees of Freedom, requiring that three specifications be made to define the system.
12
13
Although making these 3 specifications will satisfy the DOF analysis, the choice of specifications would not make sense. PFeed1, P1 and PVLV-100 are all related by the following equation:
(6)
Specifying the Flowsheet in this manner would lead to an inconsistent solution. In fact the Flowsheet would be under-specified because one of the specifications is redundant.
13
14
Consider the same Flowsheet with pressure specifications made on all the boundary streams. This solution is consistent because the pressure in the vessel is calculated by the hold-up equation. (The stream flow rates were calculated using the turbulent equation or the resistance to flow equation). Guidelines to Remember: One P/F specification should be made on each boundary stream (feeds/products) Make pressure specifications on boundary streams attached to process equipment that use resistance to flow/conductance relationships. HYSYS Dynamics will use the equipment conductance or Cv value combined with the pressure of the inlet and outlet streams to determine a Flowrate through the equipment. Internal flow rates will be calculated by pressure gradients (resistance to flow/conductance equations) throughout the Flowsheet.
14
15
6. 7.
8.
15
16
Figure 7
It is possible to have flow specifications on all unit operation streams as long as the vessel pressure is controlled.
Figure 8
16
Exercise
17
Exercise
Modifying the Flowsheet in dynamics Load the saved case FHT_Dyn.hsc. Modify the Flowsheet such that there is a Cooler downstream of the Sep Vap 1 stream. 1. 2. Add a Cooler and move the P/F specifications. Calculate the resistance to flow for the Cooler. Like the Valve, the flow through the Cooler is calculated as a function of delta P.
Using the conductance equation provides a more realistic simulation. The pressure drop across the Cooler can change with increases or decreases in flow. If the Cooler pressure drop were fixed, then it would not vary. Because we specify the resistance to flow as the dynamic specification, then we can make a pressure specification as the boundary specification. The flow rates are calculated by the resistance equation. Save your case as Exercise.hsc.
17
18
Exercise
18