MetaEnergy
MetaEnergy

MetaFlow's Transient Flow Experiment on PSIG-1010

On PSIG-1010, MetaFlow's production MOC tracks delivery pressure at 31.4 kPa RMS; the selected thermal DGSEM configuration has RMS errors of 28.4 kPa and 0.140 K in one run.

  • MetaEnergy Team
  • Case Study

MetaFlow already calculates transient gas flow in production. Its steady-state network solver establishes the operating condition of a pipeline network, and its isothermal method-of-characteristics (MOC) solver calculates how pressure and flow then evolve as demands and boundary pressures change. When demand at the far end of a long, large-diameter line rises, the line first draws on the gas stored inside it, the linepack, so the delivery pressure falls before the supply catches up.

Over the past two months we ran a transient flow experiment on one of the most complete public records of such behaviour: the PSIG-1010 field case of Andrzej J. Osiadacz and Maciej Chaczykowski. We evaluated the production MOC alongside four other transient solvers we have built, including a thermal research prototype developed for MetaFlow that uses a discontinuous Galerkin spectral element method (DGSEM) and also calculates the gas temperature. Our aim was to reproduce the authors' comparison with our own solvers and to identify which experimental approach to consider for future production integration. We scored each solver by its root-mean-square (RMS) error against the measured delivery pressure and, for thermal solvers, temperature. Four configurations with the same inputs anchor the comparison:

ConfigurationPressure RMS errorTemperature RMS error
Production isothermal MOC31.4 kPa-
Isothermal DGSEM (product code, not enabled)32.5 kPa-
Thermal DGSEM with steady heat exchange25.4 kPa0.905 K
Selected thermal DGSEM with wall and soil storage28.4 kPa0.140 K

A dash (-) marks the isothermal solvers, which hold the gas at 15.5 °C and do not calculate temperature. These results use reconstructed, time-aligned inputs and case-specific settings, as described in Data and methods.

The production MOC tracks the measured delivery pressure through both demand events of the record with an RMS error of 31.4 kPa, on a line whose delivery pressure averages 6,181 kPa. The selected thermal DGSEM configuration adds heat storage in the pipe wall and the surrounding soil; in one run it tracks the delivery pressure with an RMS error of 28.4 kPa and the delivery gas temperature with 0.140 K. That combination, pressure and temperature from a single run, is why we are considering the approach for future integration into MetaFlow's production solver suite.

A field record worth building on

Osiadacz and Chaczykowski presented Verification of Transient Gas Flow Simulation Model as paper PSIG-1010 at the 2010 annual meeting of the Pipeline Simulation Interest Group [1]. For about 62 hours of operation, it publishes both the boundary records that drive a simulation and the delivery measurements that test it, together with the results of the authors' own non-isothermal models, one with a steady and one with a transient heat-transfer model. Chaczykowski's journal article of the same year examines the effect of the thermal model on transient flow [2]. Few published field comparisons are this complete, and it has been a reference throughout MetaFlow's development.

The line, drawn in Figure 1, is a 107 km section of the Yamal-Europe pipeline between Lwówek, the inlet of this section, and the Mallnow compressor station at the delivery end: DN1400-class pipe with a 1.3836 m inner diameter, buried about 1.5 m deep. Over the evaluation window the gas enters at a mean 7,153 kPa and 20.4 °C and leaves at a mean 6,181 kPa and 10.7 °C, at a mean mass flow of 612 kg/s, cooling by 9.7 K along the line. A pressure wave crosses the line in about 4.6 minutes; the gas takes about 3.8 hours.

PSIG-1010: the 107 km buried pipeline from Lwówek to Mallnow Conceptual longitudinal cutaway, not to scale. A 107 km buried pipeline connects the Lwówek inlet at the left to delivery at the Mallnow compressor station at the right. Purple arrows identify prescribed boundary records: inlet pressure p_in, inlet gas temperature T_in for thermal models only, and delivery mass flow m-dot_out. The cyan arrow inside the pipe shows gas flowing from left to right. A separate cyan connector leads from delivery to calculated pressure p_out and, for thermal models only, calculated gas temperature T_out; these outputs are compared with measurements. Pipe inner diameter is 1.3836 m; burial depth is approximately 1.5 m. Source: Andrzej J. Osiadacz and Maciej Chaczykowski, Verification of Transient Gas Flow Simulation Model, PSIG-1010, Pipeline Simulation Interest Group annual meeting, 2010. No measured means, geographic route, or measured time-series curves are depicted. PSIG-1010 · CONCEPTUAL CUTAWAY NOT TO SCALE Lwówek Mallnow Inlet Delivery PRESCRIBED PRESCRIBED Pressure p in Temperature T in * Mass flow ṁ out 107 km Gas flow Inner diameter: 1.3836 m Burial depth: ≈ 1.5 m CALCULATED AT DELIVERY p out · T out * Compared with measurements *Temperature applies to thermal models only.
Figure 1. The PSIG-1010 field case of Osiadacz and Chaczykowski (2010), shown as a conceptual pipe cutaway. Purple arrows identify the prescribed boundary conditions; cyan identifies the gas flow and calculated delivery outputs. Temperature inputs and outputs apply to thermal models only. Not to scale.

At the inlet we prescribe the measured pressure and, for thermal models, the measured gas temperature; at the delivery end we prescribe the measured mass flow. The records are published as figures, which we digitized, and we score 241 points at 15-minute spacing from hour 11 to hour 71 of the paper's time axis. The RMS error is the root mean square of model minus measured over those points, the bias is its mean, and the shape error, or bias-removed RMS, is what remains once the mean offset is removed. It shows how well a model follows the rises and falls.

From steady state to transient flow

MetaFlow's production calculation runs in two stages. For prescribed boundary pressures and demands, the steady-state network solver computes the pressure at every node and the flow in every pipe; that solution is the starting state of every transient run, from which the MOC takes over. Both production solvers handle isothermal gas networks of horizontal pipes without control devices.

The starting state is built from the boundary records themselves. The pressure and demand schedules are evaluated at the start time and the steady solver runs on those values, so a schedule whose first value differs from the values stored with the network model does not send a spurious pressure wave down the pipes. Each gas pipe is filled along the pressure profile of steady isothermal flow. That profile is steady for the continuous equations but not exactly for the discrete ones, so before the first step the transient solver adjusts it until one of its own time steps, with the inputs held at their starting values, leaves it unchanged. The run therefore starts in equilibrium with its own equations.

From there the MOC advances pressure and mass flux along the characteristic lines on which pressure waves travel. Friction is treated implicitly, so within a step it can slow the flow but cannot reverse it on its own. The time step is limited by the wave speed and shortened to land exactly on the timestamps of the boundary records, and a step that would leave the method's validity range stops the run with a reported error rather than a doubtful answer.

The steady solver is the starting point of the transient calculation, not one of the transient solvers compared below. The thermal prototype in this experiment builds its own starting state, independently of the production code; we describe it with the selected approach below.

Five transient solvers, three numerical families

A transient pipeline model makes two separate choices. The physical model decides which conservation laws are solved and how heat is treated; the numerical method decides how those equations are discretized in space and time. Figure 2 keeps them on separate axes: five transient solvers in three numerical families, each run with one or more physical models.

We used three physical models:

  • Isothermal: mass and momentum at a fixed gas temperature, here 15.5 °C, with the CNGA real-gas compressibility correlation in the MOC, the isothermal DGSEM and the isothermal implicit FV; it predicts pressure and flow, but not temperature.
  • Thermal with steady heat exchange: adds the total energy equation, with pressure and caloric properties from the AGA8-DC92 equation of state [3] for the paper's gas composition, and a steady heat exchange with the ground at 277 K, set by the overall heat-transfer coefficient to the ground, referred to the inner pipe surface. We call it the heat-transfer coefficient U; our untuned value is 2.09 W/m²K.
  • Thermal with wall and soil storage: replaces the steady exchange with a radial column of wall and soil layers at every node, which takes up heat and gives it back as conditions change.

The three numerical families:

  • Method of characteristics (MOC): follows pressure waves along their characteristic lines with an explicit time step, run here on 500 segments of 214 m.
  • Implicit finite volume (FV): balances the fluxes of mass, momentum and, in thermal runs, energy from cell to cell, and allows large implicit time steps.
  • DGSEM: splits the pipe into a few long elements, each carrying a high-order polynomial, coupled to its neighbours through fluxes at the element faces [4].

The five solvers and the role each played, with the paper's two models as the published reference:

  • Isothermal MOC: MetaFlow's production transient solver.
  • Isothermal implicit FV and isothermal DGSEM: in MetaFlow's product code but not enabled; here they cross-check the MOC on the same isothermal model, including the small convective term that the MOC omits.
  • Thermal FV: development code, and our target-blind reference; we froze its settings before we looked at the measured delivery curves and scored it once.
  • Thermal DGSEM: the research prototype, a standalone solver for one horizontal pipe that is not wired into any MetaFlow route. We built it after we had seen the measurements, so we call its unadjusted configuration our untuned baseline rather than target-blind. With wall and soil storage it is the configuration we selected for further development, an engineering choice made during about 240 exploratory runs on this record: with the delivery-flow record left on the paper's time axis, it lowered both errors against the untuned baseline and reached a temperature error of 0.140 K.
Five transient solvers: numerical families and physical models Conceptual illustration, not computed results. Five transient solver implementations occupy seven combinations of numerical family and physical model on PSIG-1010. The steady-state network solver is not counted among the five transient solvers. Above the matrix, the method of characteristics is shown by two families of characteristic lines in position x and time t; implicit finite volume is shown by adjacent control volumes and shared face fluxes; DGSEM is shown by three illustrative elements with smooth local polynomials, possible jumps at element faces and shared numerical fluxes. These drawings do not specify actual meshes, polynomial order, characteristic slopes or field measurements. Columns are MOC, implicit FV and DGSEM. Rows are isothermal, thermal with steady heat exchange to the ground, and thermal with heat storage in the pipe wall and surrounding soil. The isothermal model solves mass and momentum at a fixed gas temperature. The thermal models add energy; the storage model replaces steady exchange with heat uptake and release in radial wall and soil layers. Isothermal MOC is MetaFlow's production transient solver, highlighted in cyan; it is shipped for isothermal networks of horizontal pipes without control devices. Isothermal FV and isothermal DGSEM are cross-checks in product code but are not enabled. Both include the small convective term omitted by the production MOC. Thermal FV is development code; its steady-exchange configuration is the target-blind reference, whose settings were frozen before the measured delivery curves were seen and scored once. The storage model was built in thermal FV first. Thermal DGSEM is a standalone research prototype for one horizontal pipe, not connected to a MetaFlow production route. Its steady-exchange configuration is the untuned baseline, developed after the measurements were seen and therefore not target-blind. Its storage configuration, highlighted in violet, was selected for further development after exploration of this record. Baseline does not imply that every parameter is independent of the field record. The two thermal MOC combinations were not run on this case; this does not claim that MOC cannot model thermal flow. 5 solvers · 3 numerical families Conceptual schematic · roles on PSIG-1010 Numerical family → Physical model t x F MOC Implicit FV DGSEM Isothermal Production Product code inactive Product code inactive Thermal steady heat exchange Not run Development reference Research baseline Thermal wall + soil heat storage Not run Development Research selected “Not run” applies to PSIG-1010 only.
Figure 2. Conceptual illustrations of three numerical families and their roles on PSIG-1010. Five transient solvers occupy seven physical-model/method combinations. Cyan marks the production isothermal MOC; violet marks the selected thermal DGSEM research configuration with wall and soil storage. The method sketches are not quantitative results.

Delivery pressure over 60 hours

The record contains two demand events, each opened and closed by a step change in delivery flow. In the first, hours 21 to 25, the measured delivery pressure drops some 220 kPa from its level at hour 18 to about 5,980 kPa. The second is deeper: over hours 45 to 49 it falls about 250 kPa from its level at hour 44.5 to about 5,960 kPa, the lowest of the window, before recovering.

We first compared like with like, with every input exactly as plotted in the paper. Our untuned thermal DGSEM baseline then scores 34.9 kPa RMS against 33.7 and 34.8 kPa for the paper's steady and transient models, and our target-blind thermal FV scores 34.8 kPa. An independent implementation of comparable physics lands where the authors' models do. In the target-blind study, at 64 cells with AGA8-DC92 in both arms, the energy equation with the measured inlet temperature and steady heat exchange to the ground lowered the pressure shape error from 38.3 kPa, with the gas held at 15.5 °C, to 34.3 kPa.

With the time-aligned inputs of the opening table, Figure 3 shows the production MOC and the selected configuration against the measured delivery pressure over the whole window. Both track the same rises and dips: the production MOC with an RMS error of 31.4 kPa, the selected configuration with 28.4 kPa.

Delivery pressure, hours 11 to 71: production MOC and the selected thermal DGSEM configuration Line chart of delivery pressure between about 5,940 and 6,310 kPa over paper hours 11 to 71. The measured trace, MetaFlow's production MOC and the selected thermal DGSEM configuration follow the same rises and the two deep dips, with the largest differences around the four step changes in delivery flow. Two faint bands mark the demand events, hours 21 to 25 and 45 to 49. AGAINST THE DIGITIZED MEASUREMENT Delivery pressure, hours 11 to 71 kPa Demand event Demand event 5,900 6,000 6,100 6,200 6,300 11 21 31 41 51 61 71 Hours on the paper’s time axis Selected 28.4 kPa RMS MOC 31.4 kPa RMS Measured
Figure 3. Delivery pressure over hours 11 to 71 against the digitized measurement: MetaFlow's production MOC, 31.4 kPa RMS, and the selected thermal DGSEM configuration, 28.4 kPa RMS, on 241 scoring points. Configuration as described in Data and methods. Measured record digitized from Osiadacz and Chaczykowski (2010).

Most of what remains sits around the four step changes in delivery flow. Away from them, the selected configuration follows the delivery pressure with a shape error of 4.5 kPa; within three hours of the steps a shape error of about 46 kPa remains, and these windows, a third of the evaluation window, hold 98% of the remaining squared difference. At the steps, the measured response differs from every model we ran and from the paper's two models alike.

Delivery gas temperature

Temperature is the more demanding quantity, and only the thermal solvers calculate it; the isothermal solvers hold the gas at 15.5 °C. Over the whole window the measured delivery temperature moves within about one kelvin, so a model has to get both the timing and the size of small swings right. For scale, a flat line at the measured mean scores 0.177 K RMS.

Figure 4 shows the selected configuration's delivery temperature. Its RMS error is 0.140 K, with a mean offset of only +0.02 K and a shape error of 0.138 K; through the second demand event the measured temperature swings 0.94 K and the model 0.98 K. The heat-storage subsection below explains what damps that response.

Delivery gas temperature, hours 11 to 71: the selected thermal DGSEM configuration Line chart of delivery gas temperature over paper hours 11 to 71. The measured trace moves between about 10.1 and 11.0 °C; the selected MetaFlow thermal DGSEM configuration follows its level and both dips, including the swing of about one kelvin through the second demand event, with departures of up to about 0.4 K, mostly between hours 35 and 51. Two faint bands mark the demand events, hours 21 to 25 and 45 to 49. AGAINST THE DIGITIZED MEASUREMENT Delivery gas temperature, hours 11 to 71 °C Demand event Demand event 10.0 10.5 11.0 11 21 31 41 51 61 71 Hours on the paper’s time axis Measured Selected 0.140 K RMS
Figure 4. Delivery gas temperature over hours 11 to 71 against the digitized measurement: the selected thermal DGSEM configuration, 0.140 K RMS with a shape error of 0.138 K, on 241 scoring points. The isothermal solvers hold the gas at 15.5 °C and do not calculate it. Configuration as described in Data and methods. Measured record digitized from Osiadacz and Chaczykowski (2010).

Four configurations side by side

Figure 5 compares the four configurations introduced above, all with the same inputs; Data and methods describes their case-specific settings.

The production MOC and the isothermal DGSEM do not calculate temperature and score 31.4 and 32.5 kPa, two isothermal schemes about 1 kPa apart. The thermal DGSEM with steady heat exchange, our untuned baseline with the same inputs, has the lowest pressure error of the four, 25.4 kPa, and a temperature error of 0.905 K. The selected configuration has a pressure error 3 kPa higher than that variant's and a temperature error more than six times smaller, 0.140 K.

MetaFlow's transient flow experiment on PSIG-1010: delivery pressure and temperature errors of the four selected configurations, hours 11 to 71 Horizontal bars of RMS error against the digitized measurement over paper hours 11 to 71 (241 points), all four with the same time-aligned inputs: Production isothermal MOC 31.4 kPa, fixed temperature (isothermal); Isothermal DGSEM (product code, not enabled) 32.5 kPa, fixed temperature (isothermal); Thermal DGSEM with steady heat exchange 25.4 kPa, 0.905 K (lowest pressure error); Selected thermal DGSEM with wall and soil storage 28.4 kPa, 0.140 K. The production MOC and the selected configuration are highlighted. AGAINST THE DIGITIZED MEASUREMENT Delivery pressure and temperature errors, hours 11 to 71 Pressure RMS error, kPa Temperature RMS error, K Production isothermal MOC Production isothermal MOC: pressure RMS error 31.4 kPa 31.4 fixed temperature Isothermal DGSEM (product code, not enabled) Isothermal DGSEM (product code, not enabled): pressure RMS error 32.5 kPa 32.5 fixed temperature Thermal DGSEM with steady heat exchange (lowest pressure error) Thermal DGSEM with steady heat exchange: pressure RMS error 25.4 kPa 25.4 Thermal DGSEM with steady heat exchange: temperature RMS error 0.905 K 0.905 Selected thermal DGSEM with wall and soil storage Selected thermal DGSEM with wall and soil storage: pressure RMS error 28.4 kPa 28.4 Selected thermal DGSEM with wall and soil storage: temperature RMS error 0.140 K 0.140 0 10 20 30 0 0.25 0.5 0.75 1.0
Figure 5. Pressure and temperature RMS errors over hours 11 to 71 for the four configurations of the opening table, all with the same inputs. MetaFlow's production MOC and the selected thermal DGSEM configuration are highlighted; the isothermal solvers do not calculate temperature. Configuration as described in Data and methods; scores against the delivery record digitized from Osiadacz and Chaczykowski (2010).

The two finite-volume solvers were run only with the inputs as plotted, so they appear in the numerical checks below rather than here; we do not estimate their scores with time-aligned inputs.

Inside the selected transient-flow approach

The selected configuration couples the thermal DGSEM gas model to heat storage in the pipe wall and the soil. Its calculation works as follows.

Starting state. The prototype marches a steady solution along the pipe from the inlet state and delivery flow applied at the start of the run, then runs its full transient scheme for 5,000 seconds with every boundary value held fixed, so the calculation starts settled on its own discrete equations. Each wall and soil column then starts at its steady temperature profile.

Boundary conditions. At the inlet, the measured pressure and gas temperature enter through a ghost state, a fictitious neighbour built from those values, and the flux at the inlet face. At the delivery end, at every stage of every time step, the solver adjusts the pressure of the outlet ghost state until the flux leaving the pipe matches the measured mass flow. Two conditions at the inflow and one at the outflow are what subsonic pipe flow requires; the delivery pressure and temperature we score are read from the outlet state.

Mass, momentum and energy. The prototype solves the one-dimensional balances of mass, momentum and total energy of the gas along a horizontal line. Wall friction acts in the momentum balance and, because the wall does not move, does no work on the gas. In the energy balance it only turns kinetic into internal energy.

Spatial representation. The pipe is divided into four elements of 26.75 km. In each, the solution is a polynomial of degree three held at four Legendre-Gauss-Lobatto nodes, written P3/E4 (polynomial degree 3, four elements): 16 nodal values for the whole 107 km. Within an element the fluxes are evaluated in a split form that keeps the aliasing errors of a high-order polynomial under control [5]; it needs only the values at the nodes, so no equation-of-state evaluation is made between them. Neighbouring elements exchange mass, momentum and energy through an HLL (Harten-Lax-van Leer) flux at their shared faces. The flow is smooth, with a Mach number of about 0.02, and the prototype uses no limiter or artificial viscosity.

Time advancement. The solution advances with the three-stage strong-stability-preserving Runge-Kutta method (SSP-RK3). The step follows a Courant-Friedrichs-Lewy (CFL) stability rule: 0.9/(2p + 1), with p = 3 the polynomial degree, of the time the fastest wave needs to cross an element, here at most about 8 seconds. The step is shortened when necessary to land exactly on every boundary-record time and every 5-minute output time.

Recorded runtime. The selected 62-hour run took about three minutes of recorded wall time on a shared machine.

Friction. Friction follows the Colebrook law with the authors' roughness of 0.01 mm; at a Reynolds number of about 4.5 × 10⁷ the flow is fully turbulent.

Real-gas properties. Pressure, temperature and every caloric property come from the AGA8-DC92 equation of state [3] with the paper's gas composition. Because the enthalpy carries its full dependence on pressure, Joule-Thomson cooling, the temperature drop of a real gas as it expands, is part of the solution rather than a separate correction.

Energy and heat exchange. Heat leaves the gas toward the ground at 277 K. With steady heat exchange it crosses the gas film, coating, steel, polyethylene and soil at once, through the heat-transfer coefficient U; with storage it passes through the wall and soil column described next. The coefficient sets the level of the delivery temperature rather than the shape of its response.

Heat storage in the pipe wall and the soil

Why should a 19.22 mm steel wall matter for a pipe 1.38 m across? Per metre of pipe, the steel holds about 1.4 times the heat capacity of the gas inside it and exchanges heat with the gas in about 5 minutes.

A steady heat-exchange law has no store. Its only path is a direct loss to the ground, with a time constant of about 7 hours for this line at the untuned coefficient. The demand events last a few hours, so in a steady-exchange model the gas compresses and expands with little heat exchange and its temperature swings too far. With storage, the steel returns heat within minutes as the gas cools and takes it up as the gas warms, pulling the gas toward isothermal behaviour on the time scale of the events, which matches the damped swings of the measured record.

Each node of the thermal DGSEM carries its own radial column of wall and soil layers (Figure 6). The column takes one implicit step per gas step and receives exactly the heat the gas gives up. With the inputs as plotted, adding storage reduced the temperature shape error from 0.511 K to 0.112 K, without additional parameter fitting in this paired comparison. The same pull toward isothermal behaviour softens the pressure response: in the same comparison it adds about 2.7 kPa to the pressure RMS at a fixed heat-transfer coefficient.

Wall and soil heat storage around the buried pipe Conceptual schematic, not a measured temperature field and not to scale. In the storage model, a wedge of the pipe cross-section at every node runs from the gas outward: a gas film, an internal coating 0.5 mm, steel 19.22 mm, external polyethylene 3 mm, then soil shells that are thin near the pipe and widen outward, ending at the outer edge of the soil column, sized from the 1.5 m burial depth, where the ground is held at 277 K. Heat moves both ways between the gas and the steel, and slowly outward through the soil. The steel holds about 1.4 times the heat capacity of the gas in the same length of pipe. Time scales on a logarithmic axis: gas and steel exchange heat in about 5 minutes; demand events on the line last a few hours; without storage the gas exchanges heat with the ground over about 7 hours. CONCEPTUAL SCHEMATIC, NOT A MEASURED TEMPERATURE FIELD Heat stored in the pipe wall and the soil The layers the storage model places around the gas at every node (not to scale) Gas Gas film Coating 0.5 mm Steel 19.22 mm Polyethylene 3 mm Soil shells thin near the pipe, wider outward fast two-way exchange slow loss to the ground Ground held at 277 K at the outer edge of the soil column, sized from the 1.5 m burial depth The steel holds about 1.4 times the heat capacity of the gas in the same length of pipe Why storage matters: three time scales Gas and steel exchange heat about 5 min Demand events on the line a few hours Gas to ground, without storage about 7 h 1 min 10 min 1 h 4 h 12 h
Figure 6. In the storage model, every node carries its own radial column of wall and soil layers that take up heat and give it back to the gas. The steel exchanges heat with the gas within minutes while demand events last hours, so storage damps the temperature swings that a steady heat-exchange model overstates.

Checking the numerics

Figure 7 collects the checks on these computations, all with the inputs as plotted. Panel (a) compares discretizations of the same physics (the MOC omits the small convective term). The production MOC, the isothermal DGSEM and the isothermal implicit FV score 40.9, 41.7 and 42.5 kPa RMS. Nearly all of that spread is a constant offset that each scheme inherits from its own discrete steady starting state; their bias-removed pressure RMS scores span 0.096 kPa. Close scores do not mean identical curves. The three isothermal pressure curves differ by about 2 to 4 kPa RMS, almost entirely as that offset. On 16 nodes the thermal DGSEM baseline matches the target-blind thermal FV scores within 0.11 kPa and 0.02 K, and their pressure curves differ by 0.52 kPa RMS.

Panel (b) is a mesh-refinement study on a logarithmic axis. For the isothermal DGSEM, the inter-grid RMS differences in delivery pressure from its 64-node run are 2.271, 0.173 and 0.081 Pa on 12, 24 and 32 nodes. For the thermal DGSEM baseline, with steady heat exchange, the inter-grid RMS differences from its 128-node run are 62 Pa on 16 nodes and 9 Pa on 64. These are differences between grids, not errors against the measurement, which stay at 41.65 kPa and 34.89 to 34.90 kPa on every grid. Doubling the number of elements of the storage model changes its score by less than 0.001 kPa.

In the thermal DGSEM the gas mass and energy balances close at every time step to within about one part in 10¹⁵. Our untuned storage model, built first in our thermal FV solver, scores 0.648 K there on 64 cells against 0.660 K in the thermal DGSEM, with shape errors of 0.114 and 0.112 K. The production MOC passes code-level tests against exact solutions: a closed-pipe resonance reaches its first trough at 29.982 s against the analytical 30 s, and a pressure pulse arrives at 22.4955 s against 22.5 s. These are checks of consistency and resolution, not of field accuracy: the tested mesh differences are much smaller than the mismatch with the digitized field record. Every MetaFlow score in this article is recomputed from its recorded run output.

Figure 7. Numerical checks, inputs as plottedPanel a. Paired circles show delivery-pressure RMS error and bias-removed RMS error against the digitized measured record, in kPa, with inputs as plotted. Filled circles are RMS; open circles are bias-removed RMS. Cyan identifies production MOC; violet identifies research DGSEM; FV is neutral. Isothermal: production MOC, 500 segments, RMS 40.875, bias-removed 38.284; DGSEM P3/E8, 32 nodes, RMS 41.654, bias-removed 38.346; implicit FV, 500 cells, RMS 42.535, bias-removed 38.380. Thermal, steady heat exchange to the ground, U = 2.09 W/(m² K): target-blind FV, 64 cells, RMS 34.781, bias-removed 34.304; untuned DGSEM baseline P3/E4, 16 nodes, RMS 34.893, bias-removed 34.396. The temperature RMS scores, omitted from the graphic, are 0.861 K for thermal FV and 0.880 K for thermal DGSEM. The isothermal bias-removed scores span 0.096 kPa. Similar scores do not imply identical traces. The production MOC omits the small convective term. Panel b. Logarithmic pressure axis from 0.01 Pa to 100,000 Pa. N means nodes; P denotes polynomial degree and E denotes elements. Violet circles show inter-grid RMS differences in delivery pressure over all output times; white diamonds show RMS differences against the measured field record on every grid. Isothermal DGSEM, compared with P3/E16, 64 nodes: P2/E4, 12 nodes, 2.271 Pa; P2/E8, 24 nodes, 0.173 Pa; P3/E8, 32 nodes, 0.081 Pa. Field-record RMS mismatch is 41.65 kPa. Thermal DGSEM baseline with steady heat exchange, compared with P3/E32, 128 nodes: P3/E4, 16 nodes, 61.7 Pa; P2/E8, 24 nodes, 57.3 Pa; P3/E8, 32 nodes, 23.2 Pa; P3/E16, 64 nodes, 8.9 Pa. Field-record RMS mismatch is 34.89 to 34.90 kPa; its diamond is positioned at the interval's lower bound and a range mark spans both source endpoints. All inputs are as plotted. These inter-grid differences are not estimates of field accuracy. Mesh points are unconnected: both polynomial degree and element count vary, and no convergence order is inferred. These runs differ from the time-aligned runs used for the main 31.4 kPa production-MOC result. (a) Pressure scores Inputs as plotted · pressure error in kPa Bias-removed RMS RMS 32 34 36 38 40 42 44 Isothermal Thermal · steady heat exchange MOC · 500 segments 38.284 40.875 DGSEM · 32 N 38.346 41.654 FV · 500 cells 38.380 42.535 FV · 64 cells 34.304 34.781 DGSEM · 16 N 34.396 34.893 (b) DGSEM: grids and field record Between grids Against record RMS · Pa · log 0.01 0.1 1 10 100 1k 10k 100k Isothermal · 12 N 2.271 Pa 24 N 0.173 Pa 32 N 0.081 Pa Thermal · 16 N 61.7 Pa 24 N 57.3 Pa 32 N 23.2 Pa 64 N 8.9 Pa All grids 41.65 kPa All grids 34.89–34.90 kPa
Figure 7. Numerical checks with inputs as plotted. (a) Delivery-pressure RMS errors and bias-removed RMS errors against the measured record. (b) Inter-grid delivery-pressure RMS differences compared with the much larger errors against measurements. Reference runs: isothermal DGSEM P3/E16 (64 nodes); thermal DGSEM with steady heat exchange P3/E32 (128 nodes). N denotes nodes, P polynomial degree and E elements. Close scores do not imply identical curves.

The steady-heat-exchange runs in Figure 7(a) have temperature RMS errors of 0.861 K for the thermal FV (64 cells) and 0.880 K for the thermal DGSEM baseline (P3/E4, 16 nodes), at U = 2.09 W/m²K. These checks use the inputs as plotted.

What comes next: considering production integration

On this field case the production MOC tracked the delivery pressure through 60 hours of changing demand with an RMS error of 31.4 kPa, and the selected thermal DGSEM configuration, in one run, had RMS errors of 28.4 kPa in pressure and 0.140 K in temperature.

The selected configuration's results make it a candidate for future integration into MetaFlow's production solver suite. Its combination of transient pressure calculation, temperature modelling and a compact numerical representation, 16 nodes for a 107 km line, gives us a concrete basis for the next stage of development.

We are considering that integration alongside broader network testing, additional field comparisons and the engineering work needed to meet MetaFlow's production standards. Our existing production solvers remain the foundation of the platform while this evaluation continues.

We are grateful to Andrzej J. Osiadacz and Maciej Chaczykowski for publishing a field comparison detailed enough to build on. If you operate or study a line with records like these, we would be glad to hear from you.

Data and methods

Records and scoring. We digitized all records from the published figures of the PSIG-1010 paper [1]: inlet pressure, inlet temperature and delivery flow as inputs, delivery pressure and temperature as targets. We score 241 points every 15 minutes over hours 11 to 71 of the paper's time axis and read the temperature figure on its °F scale.

Time-aligned inputs. In the published figures, at two inlet steps during flat demand, delivery pressure completes half its rise before inlet pressure does, which a passive pipeline driven only by these records cannot do. For results with time-aligned inputs we apply the digitized inlet pressure record, and for the thermal results in this article also the inlet temperature record, 50 minutes earlier than plotted. This lowers the pressure error of every model we reran, the production MOC included, by 9 to 10 kPa. Delivery flow, calculated output curves and measured targets are not shifted. We treat this as a reconciliation of the published graphical records, not as an identified error in the original measurement system; which record carries the offset is not known.

Calibration. Every model uses the authors' pipe roughness of 0.01 mm, which they calibrated on this record. For the selected configuration we set U = 1.78 W/m²K on this record through the soil conductivity. In a split-sample test on this record, values fitted on one half carried over to the other for U and for a large inlet advance; neither half fixes the exact advance.

References

  1. Osiadacz, A. J., and Chaczykowski, M. (2010). Verification of Transient Gas Flow Simulation Model. Paper PSIG-1010, PSIG Annual Meeting, Bonita Springs, Florida, May 2010. Pipeline Simulation Interest Group. Available through OnePetro.
  2. Chaczykowski, M. (2010). Transient flow in natural gas pipeline: the effect of pipeline thermal model. Applied Mathematical Modelling, 34(4), 1051 to 1067. https://doi.org/10.1016/j.apm.2009.07.017
  3. Starling, K. E., and Savidge, J. L. (1994). Compressibility Factors of Natural Gas and Other Related Hydrocarbon Gases. Transmission Measurement Committee Report No. 8, American Gas Association, Arlington, VA.
  4. Vashakmadze, T. S. (1999). The Theory of Anisotropic Elastic Plates. Springer, Dordrecht. https://doi.org/10.1007/978-94-017-3479-0
  5. Kennedy, C. A., and Gruber, A. (2008). Reduced aliasing formulations of the convective terms within the Navier-Stokes equations for a compressible fluid. Journal of Computational Physics, 227(3), 1676 to 1700. https://doi.org/10.1016/j.jcp.2007.09.020

About the author

Critical infrastructure technology executive with 18+ years of experience modernizing energy operations, combining operator insight with SCADA, telemetry, analytics, forecasting, and applied mathematics.

Blog