IPC2010
September 27-October 1, 2010, Calgary, Alberta, Canada
Proceedings of the 8th International Pipeline Conference
IPC2010
September 27 - October 1, 2010, Calgary, Alberta, Canada
IPC2010-31567
IPC2010-31567
ABSTRACT extinguishment. The TBG citygates are designed with two bath
heaters and when both are turned off, an technical must be sent
The demand of natural gas in the Brazilian energy market to the remote station to fire the heaters again before the
is increasing very fast over the few years and it was necessary minimal temperature is reached. The survival time of the
to enhance the operational performance and safety of the gas citygate depends on the bath heater thermal capacity and the
distribution. The perfect operation of the natural gas citygate delivery flowrate during the period. Besides the survival time
stations is essential to guarantee the delivery of natural gas for calculation there are others applications for the citygate
the end users like local distribution companies, thermoelectric simulator, and the most important are:
power plants and large industrial customers within the Design of newer citygate stations with different
contracted marketing conditions. These stations receive natural heat and flow capacities
gas directly from high pressure pipelines and reduce the Simulate an upgrade of capacity and the necessity
pressure using regulation valves that provoke a temperature of an equipment substitution
reduction due the Joule-Thompson (JT) behavior, typical of Obtain the temperature, pressure and flowrate at
natural gases. This temperature loss is compensated by forcing non-transmission points inside the citygate
part of the gas flow through water/glycol bath heaters that use Study the control logic and automation used in
natural gas as fuel in the heating process. Usually the the heating system and their interaction with the
downstream gas temperature condition is controlled above a process variables
minimal set point while modifying the three-way valve position
Evaluate the performance of cyclone and
that regulates hot and cold streams flows. A numerical tool has
cartridge filters
been developed to simulate the dynamic process inside the
natural gas citygate station, and proved to be a reliable tool to Calculate the gas fuel consumption, heat
analyze the transient performance of the main equipments capacity, heat transferred from water to gas, and
(filter, three way valve, heater, JT valve, relief valves) when burn efficiency of the indirect fire bath heaters
submitted to abnormal conditions or changes in capacity. The
methodology developed is able to handle a variety of citygate For this reason TBG and Transpetro are investing in
design. research and development of an in-house dynamic process
simulator for specific applications related to citygate stations.
Common equipment models, like idealized heaters and JT
INTRODUCTION valves found in many commercial process simulator, can be
used to create simple static citygate models, but dont simulates
The current scenario of high natural gas demand in Brazil the water bath heating capacity and the pressure/temperature
forced gas transporter companies like Transportadora Brasileira control in an real citygate station. The main benefit of a
Gasoduto Bolivia-Brasil (TBG) and Transpetro to increase the customized tool relies on the creation of specific equipment
number of citygates and sometimes upgrade the capacity of models for these process plants, including equipments that are
existent ones to supply the demand. The TBG engineering and not usually found in commercial simulation tools.
operation/maintenance departments made a briefly report to A citygate simulator calculates the pressure drop,
identify abnormal events in their remotely operated citygates. temperature difference and flowrate at the equipments and
The most often abnormal event is the bath heater flame evaluates its performance based on design parameters and
EQUATION OF STATE: Single phase (gas) The steady-state solver is a single phase unidimensional
approximation of cubic EOS (Peng-Robinson and gas network simulator with dedicated equipment formulas for
Soave-Redlich-Kwong) with Lorentz-Berthelot heater, filters, and three way valves.. An important solver
Mixture Rules. (Reference 1). requirement is flexibility. So, it needs to deal with simple and
CONSERVATION EQUATIONS AT NODES: Mass, complex citygate models with any layout. To achieve this goal,
Energy and Composition. the element and node equations must be solved simultaneously,
STEADY STATE EQUATIONS FOR ELEMENTS: that is, the mass, energy and gas composition balance at nodes;
Input Gas Point, Filter, Valves, Pipes, Idealized Heater, and pressure drop and heat transfer equations for the elements.
Output Gas Point. The schematic in Fig 1 shows a sample case with five elements
TRANSIENT EQUATIONS FOR ELEMENTS: (E1 to E5) where the balance equations were applied for node
Water Bath Heater, Temperature Control with Actuator N1.
in Three Way Valve, and Pressure Controller.
Mass Balance:
NUMERICAL METHODS: Newton Method to
solve the nonlinear system of equations and Runge- m& 1 + m& 2 + m& 3 m& 4 m& 5 = 0
(1)
Kutta (4th order) to solve the water bath heater Energy Balance:
ordinary differential equation (ODE).
m& 1 h1 + m& 2 h2 + m& 3 h3 m& 4 h4 m& 5 h5 = 0 (2)
The citygate process simulator is programmed using C++ Gas Compositional Balance:
language. The software code is split into solver library and user
interface. The simulator solver is a group of components and
m1 x1 + m& 2 x2 + m& 3 x3 m& 4 x4 m& 5 x5 = 0
(3)
routines encapsulated in a library that manages all
mathematical calculation. The user interface integrates all m1 m4
graphical objects and events necessary to create the interactive h1 E4
E1 h4
simulation environment. x1 x4
CITYGATE STATION m2 m5
E2 E5
h2 h5
x2 x5
When a natural gas pipeline nears a delivery point, the
high-pressure gas needs to be reduced to the distribution level. m3 N1
E3 h3
So a citygate station is a pressure reducing point. The complete
x3
natural gas conditioning process in citygates occurs in five
sequencial process areas: filtration, heating, pressure reduction,
fuel control and metering. A schematic view of process areas Figure 1- Mass, Energy and Composition Balance at Node
and their equipments are presented in Annex A. (5 elements)
In the first process area the gas cleaning takes place in
cyclone and cartridge filters. The cyclone filters uses Valve equations
centrifugal energy to separate denser material (condensate) When a gas flows through an adiabatic throttle there is a
from the gas received by the pipeline. The remaining solid and change in temperature due the Joule Thompson effect. For all
liquid particles are removed using filter. These two filters natural gases mixtures the JT (Joule Thompson coefficient) is
systems are necessary to avoid premature equipment downtime positive which means a temperature drop. This thermodynamic
and ultimately failure of the equipments inside the station like behavior is found in experimental JT inversion curves
control valves and meters. The gas heating area is composed of (Reference 2) and can be predicted using non ideal gas EOS
three-way control valves and heaters, like indirect fired water where the intermolecular forces are considered in the enthalpy
bath heaters. The main purpose of the heaters is to increase the evaluation. The equation (4) shows the standard
gas temperature prior to the pressure reduction section, in order thermodynamic definition for JT coefficient. A temperature
to prevent frost and hidrate formations that may occur because difference is obtained by thermodynamics function with
of the temperature drop. The pressure reduction area has control pressure and enthalpy T(h,p).
and relief valves. The control valves reduce the pressure output The steady state approximation to momentum and energy
to values compatible to local gas distribution system, whereas equations applied to valve elements is shown in the equations
the relief valves act in case of unexpected valve closure or (6) and (7). The Kv represents the pressure resistance
failure. The fuel control area is composed of control valves that coefficient, and its value can be converted to CV provided by
regulate the flow and pressure of the gas sent to combustion in valve manufacturer using expression (8). Considering the CV
the bath heater firetube. The metering area is composed of as function of the valve opening fraction fo with position of the
temperature and pressure sensors and a flow meter. The output
Valve Coefficient
Momentum: 60
(
Q 2 K pin2 pout
2
=0 ) (6) 50
40
Energy:
30
min hin mout hout q = 0 (7)
20
Z in Tin g 0
KV = (8) 0 0.2 0.4 0.6 0.8 1
CV ( f o ) 2 Actuator Position
Temperature (oC)
60
equipments and operational variables in intermediary points
are presented in Table 3. 50
40
Table 3 GASBOL Station Model - Simulation Results
Device Device Flowrate Pressure Temp. 30
Point o
Name Ouput Sm/day kPa C
20
FILT01 P.Drop(kPa) 579300 Upstream 8590.6 27.5
77.8 Dowstream 8512.7 27.2 10
HV51A Duty (kW) 198440 Upstream 8497.0 27.1
216.8 Downstream 8497.0 72.0 0
HD058A - 289610 Upstream 8497.0 57.57 0 20 40 60 80 100 120 140
HV51B Duty (kW) 142970 Upstream 8497.0 27.1 Time (minutes)
10.4 Downstream 8497.0 30.0
HD058B - 289690 Upstream 8497.0 28.54 Figure 6 IFWBH Temperature Trends (Shut-Down and
PCV013A Position % 579300 Upstream 8490.7 42.83 Restart Scenario)
13.94 Downstream 3412.7 20.87
Equipments, like three way control valves and fire water
IFWBH Shut-Down and Restart bath heater, not usually found on traditional process
The next simulation case shows a citygate dynamic commercial software, were modeled. The initial results
scenario where one of the IFWBH has shut-down and restarted. obtained with the steady-state model of common equipments
The design parameters and operational conditions of the show good agreement with traditional simulators used in the
IFWBH are presented below: area. A shut down heater event, a tipical transient problem, has
IFWBH Design Parameters: been simulated and has shown reasonable results. It has been
Heat Transfer Area A: 23.38 m modeled based on a typical GASBOL citygate datasheets and
Heat Transfer Rate U: 405.5 W/mK design information. The next development step will incorporate
Mass of Water mw: 1000 kg a dynamic control model to the three way valve in order to
Water Specific Heat cp: 4.185 kJ/kgK compare that dynamic simulation with real citygate historical
Burn Efficiency: 70% data.
IFWBH Operational Conditions:
Fuel Flowrate (Fixed): 1.35 103 Sm/day NOMENCLATURE
Heating Gas Flowrate (Fixed): 500 103 Sm/day
CV: valve coefficient
Bath Temperature (Initial): 85oC
K: pressure resistance coefficient
The specific heat value of 35802.5 kJ/Sm is estimated
m: mass flow rate
using the typical gas composition of the GASBOL pipeline.
Q: standard flow rate
The simulated scenario runs with only one IFWBH turned
h: enthalpy
on, the second is already turned off. The upstream and
q: heat transfer rate
downstream gas temperature trends and water temperature
p: pressure
trend are illustrated in Fig 6. The IFWBH is shutdown at the
T: temperature
start of the scenario and restarted after the complete cool down,
when both downstream and upstream temperature became g: gas density
equal. For the assumed operational condition the IFWBH takes K: pressure resistance coefficient
67 minutes to complete the cool down process. This Z: compressibility factor
information will help the maintenace staff to establish the : gas specific weight
procedures to deal with that extreme event. v: velocity
GASBOL: Gas Pipeline Bolivia-Brazil
CONCLUSION IFWBH: indirect fire water bath heater
ANNEX B