Configure Gas and Global Simulation Settings
Global settings apply to the current model. Before configuring sources, loads, pipelines, and equipment, select the simulation scheme, enter gas data compatible with the equation of state, and check the reference conditions.
If you have not entered the gas network workspace, see Open the Gas Network Workspace.
Open Global Settings
- Open the gas network model to edit.
- Click a blank canvas area to deselect components.
- Select Parameters on the right to display the model's global settings.
The red boxes in this empty model identify the canvas and global parameter panel.

Select a Simulation Scheme
Expand Simulation Scheme in the parameter panel. Select the simulation type, thermal model, and gas equation of state. The image shows steady-state simulation, a non-isothermal model, and BWRS.

| Setting | Options or input | Guidance |
|---|---|---|
| Simulation type | Steady-state or transient | Steady-state calculates equilibrium at fixed conditions. Transient calculates the response to changing boundaries or equipment states. |
| Thermal model | Isothermal or non-isothermal | Isothermal uses a uniform gas temperature. Non-isothermal calculates gas temperature changes caused by flow and heat transfer. |
| Isothermal temperature [°C] | Uniform model gas temperature | Shown for the isothermal model. Enter the temperature used by the model. |
| Gas equation of state | BWRS or AGA8Gross | Choose according to available gas data and use the corresponding library below. |
Start with steady-state simulation to check connections, boundaries, and results, then configure transient simulation for the analysis objective.
Gas and Reference Conditions
Enter Gas Data
Expand Gas Library, click Edit Data beside the library matching the equation of state, and enter gas names and quality data.
| Equation of state | Matching library | Data |
|---|---|---|
| BWRS | Component Gas Library | Enter mole percentages for methane, ethane, nitrogen, carbon dioxide, and other species. |
| AGA8Gross | Simple Gas Library | Enter relative density, CO₂ mole percentage, and gross heating value (MJ/Nm³), referenced to the standard pressure and temperature under Reference Conditions. |
Both libraries are saved with the model. Source supply gas and initial tank gas must be selected from the library for the active equation of state. Recheck these selections after switching equations of state.
The mole fraction column in the Component Gas Library uses percentages: enter 90 for 90% methane. Each gas needs at least one species; species must not repeat, and percentages must sum to 100%. Multiply fractions expressed from 0 to 1 by 100 before entry. Gas names must also be unique across both libraries.
Set Reference Conditions
Expand Reference Conditions and check the standard state and gauge pressure reference separately.
| Setting | Purpose | Guidance |
|---|---|---|
| Standard pressure [kPa(a)] | Reference pressure for standard volume flow and standard linepack; default 101.325. | Match design documents, metering rules, or field data. |
| Standard temperature [°C] | Reference temperature for standard volume flow and standard linepack; default 20. | Together with standard pressure, defines the standard state. |
| Gauge reference pressure [kPa(a)] | Absolute pressure corresponding to zero gauge pressure; default 101.325. | Match the gauge reference used by the pressure data. |
Gas component pressure boundaries generally use gauge pressure, while property calculations use absolute pressure:
Here is absolute pressure, is gauge pressure, and is gauge reference pressure. Use the same units in the conversion.
For a reference of 101.325 kPa(a), 6 MPag equals 6.101325 MPa(a). Convert both inlet and outlet pressures to absolute pressure before calculating pressure ratios. Flow in Nm³/h is converted using standard pressure and temperature.
Configure the Curve Database
What the Curve Database Stores
The database centralizes environmental conditions and equipment performance data for the current model. Environmental curves describe quantities such as temperature and the overall heat transfer coefficient over time. Performance curves describe relationships such as valve opening versus flow coefficient or compressor speed, flow, and head.
Each curve stores a name, data points, and notes with the model. Multiple components can reference the same curve for a shared environment or equipment specification. A curve takes effect when a component references it and enables the corresponding calculation mode. Models that use only fixed values or local curves can leave the database empty.
Available Curve Types
The editor groups curves into time-varying curves and equipment performance curves.
Time-Varying Curves
Enter each time and the corresponding value. The software interpolates linearly between adjacent times.
| Curve type | Data and units | Use |
|---|---|---|
| Temperature | Time and temperature (°C) | Ambient conditions for pipes and tanks, soil, air, or water around a transmission pipeline, or external temperature for a heat exchanger. Use separate curves for different locations or purposes. |
| Overall heat transfer coefficient | Time and coefficient (W/(m²·K)) | Heat transfer for pipes, tanks, and exchangers. Record the reference surface area in the notes. |
| Heat flow per unit length | Time and heat flow (W/m) | Prescribed external heat flow for a transmission pipeline. Positive values indicate heat loss from the gas. |
| Heat flux | Time and flux (W/m²) | Specified heat flux for a heat exchanger. Positive values heat the gas. |
| Wind speed | Time and speed (m/s) | Wind speed at a specified location. |
| Solar irradiance | Time and irradiance (W/m²) | Instantaneous solar irradiance. |
| Water velocity | Time and velocity (m/s) | Water velocity around the equipment. |
The gas workspace can store wind speed, solar irradiance, and water velocity curves. Gas components currently provide no input references for these three types.
Equipment Performance Curves
Enter equipment data against opening, pressure ratio, or speed as appropriate. Relief valve action curves use full-stroke time percentage.
| Curve type | Required data | Use |
|---|---|---|
| Valve flow coefficient | Opening (%) and absolute Kv | Custom flow characteristics for shut-off, check, and both relief valve types. |
| Valve critical pressure differential ratio factor | Opening (%) and xT | Gas choked-flow calculation for shut-off and check valves. |
| Centrifugal compressor pressure-ratio map | Speed (rpm), actual inlet volumetric flow (m³/h), pressure ratio, and adiabatic efficiency | Pressure-ratio map. Use the ratio of absolute outlet to absolute inlet pressure. |
| Centrifugal compressor polytropic-head map | Speed (rpm), actual inlet volumetric flow per unit (m³/h), polytropic head (m), and polytropic efficiency | Polytropic-head map. |
| Centrifugal compressor adiabatic-head map | Speed (rpm), actual inlet volumetric flow per unit (m³/h), adiabatic head (m), and adiabatic efficiency | Adiabatic-head map. |
| Piston compressor compression efficiency | Pressure ratio and compression efficiency | Compression efficiency against absolute pressure ratio for the empirical process. |
| Piston compressor mechanical efficiency | Actual speed (rpm) and mechanical efficiency | Empirical process with a mechanical efficiency curve enabled. |
| Relief valve opening action | Full-stroke time (%) and actual opening (%) | Stroke from fully closed to fully open for either relief valve type using independent action curves. |
| Relief valve closing action | Full-stroke time (%) and actual opening (%) | Stroke from fully open to fully closed for either relief valve type using independent action curves. |
Use actual volumetric flow at the equipment inlet for performance maps. Convert standard flow in Nm³/h to inlet conditions first. Enter efficiencies as fractions, such as 0.8 for 80%. Set each relief valve's opening and closing stroke times in its component parameters.
Configuration Steps
- Click a blank part of the canvas. In the global Parameters panel, expand Curve Database and click Edit Object.
- Open the data table for the required type under Time-Varying Curves or Equipment Performance Curves.
- Add a curve and enter a name that identifies its location, equipment, or case. Use a unique name within the type and remove leading or trailing spaces.
- Open the point list and follow its column names and units. For example, enter time and temperature for a temperature curve, opening and Kv for a valve flow coefficient curve, or group centrifugal compressor map points by speed.
- Add notes for the data source, applicable equipment, measurement location, test conditions, and usable range. Check preset examples against engineering data before use.
- Confirm the point list and database edits, address any validation messages, and save the model. Reopen it to check the name, points, and notes.
To share ambient temperature across equipment, create a curve such as Case A Ambient Temperature with a point at calculation start and end. Enter the same temperature at both times for constant conditions, or add intermediate points for changes. Reference the curve from each applicable component.
Time must increase strictly without duplicates. Steady-state curves must include the start time. Transient curves must cover the entire calculation interval because the software does not extrapolate. Recheck coverage after changing solver times.
References are type-specific. Changing a shared curve affects every component that references it. Update affected references before renaming or deleting a curve, then validate the model again.
Use Curves on Components
Select the component and use its parameter panel to choose the curve data. The curve source belongs to the component parameters.
Choose a Curve Source
Enable the appropriate mode, such as Time Curve, a custom valve characteristic, or a compressor map type, then choose the curve source.
| Curve source | How to enter data | When to use it |
|---|---|---|
| Edit Local Curve | Enter points in the selected component's curve table. Data are stored with that component. | Equipment-specific data or a case that needs independent adjustments. |
| Reference Curve Database | Create a named curve of the matching type in the global database, then select its name on the component. | Data shared by multiple components or maintained centrally. |
Set sources independently for temperature, overall heat transfer coefficient, valve Kv, and compressor maps. One component can use both kinds of source. After switching, check the active points or referenced name. Check all referencing components when changing a shared curve.
- Time curves. Use strictly increasing times. Cover calculation start for steady state or the entire interval for a transient. The software interpolates linearly within that range. Check coverage after changing solver times.
- Valve characteristics and action curves. Check the distinction between opening percentage, full-stroke time percentage, and actual duration. Enter absolute Kv for Kv curves and follow the required direction, endpoints, ranges, and monotonicity for each action curve.
- Performance maps and efficiency curves. Follow the equipment requirements for speed, actual flow, absolute pressure ratio, head, efficiency, and interpolation or fitting. Enter 0.8 for 80% efficiency.
Replace example and placeholder rows with equipment data. Validate, save, and reopen the model to check the source, point list, or reference name.
For time variation along a transmission pipeline, enter the distances and the corresponding curve names on the component. The database stores the time curves used at those locations.
Set Calculation Times
Expand Solver Settings. Steady-state shows only Calculation Start Time, used to evaluate referenced time curves. To configure transient time settings, first select Transient under Simulation Scheme.

| Setting | Meaning | Guidance |
|---|---|---|
| Calculation start time | Start of the dynamic process. | Use the same time base as boundaries, events, and curves. |
| Calculation end time | End of the dynamic process. | Must follow the start and cover the disturbance and response. |
| Maximum time step [s] | Largest interval allowed for a solver step. | Use smaller values for fast valve actions, abrupt boundaries, or rapid control. |
| Minimum time step [s] | Lower limit for adaptive stepping and retries. | Usually keep the default; adjust with regard to process speed and convergence if needed. |
Both time steps can range from 0.001 to 3600 s, and the minimum must not exceed the maximum. To locate the exact end time, control events, or full/empty tank boundaries, the solver may temporarily step below the specified minimum. Where available, set result sampling intervals separately in component parameters.
External Conditions for Non-Isothermal Calculations
Provide external conditions for the selected equipment heat transfer method. Enter local curves for time-varying conditions or reference named curves in the database.
| Curve type | Data | Use |
|---|---|---|
| Temperature | Air, water, or soil temperature at burial depth | Match above-ground, submerged, or buried installation. |
| Overall heat transfer coefficient, heat input per unit length, or heat flux | Time-varying coefficient, pipeline heat input per unit length, or heat exchanger heat flux | Select the type matching the component's heat transfer input. |
Also check source supply temperature and equipment heat transfer parameters.
Choose a Kernel Execution Mode
Expand Development and Debugging in the global settings. For a regular gas pipeline simulation, use Platform Image. New models take their Runtime Image from the workspace default. Models keep their saved image selections.
To run the entire case with a local command, set Kernel Execution Mode to Bridge, then select the paired Bridge and a Compute Configuration with the full-kernel capability. Runtime Image is disabled in this mode. Its saved value is available when you switch back to Platform Image.
If external software handles part of the calculation, such as a controller running in Simulink, the main kernel can still use Platform Image. Select the participant configuration in the Communication Interface on the canvas, then set the Communication Interval and Communication Wait Timeout in the global settings. All interfaces share the same interval, and the timeout bounds each wait. See Understand and use NexusFlow Bridge and Co-simulate with Simulink for the full workflow.
Before Modeling
Check that:
- The simulation type matches the analysis objective.
- The equation of state matches the gas library, and gas data are complete.
- Standard pressure, standard temperature, and gauge reference pressure match engineering data.
- Isothermal temperature is set for an isothermal model.
- Transient start and end times cover every event.
- Maximum and minimum time steps suit the process speed.
You can keep the Calculation Configuration and Development and Debugging defaults when building your first model.
Next Step
Continue with Build a Single-Pipeline Steady-State Model to configure the source, transmission pipeline, and downstream demand boundary.