Source Point
The source point is used to represent a gas field, receiving station, upstream pipeline network or other gas supply facilities, and is the boundary where gas enters the pipeline network. The source point can be given a gas supply pressure or a standard volume flow rate, and provide temperature and medium conditions for the gas entering the pipe network.
Component Appearance and Location
Expand Border in the component library on the left and find the "source point".
Ports and Connections
| Port Key | Type | Direction | Interface Name | Display Conditions |
|---|---|---|---|---|
0 | FLUID | output | Fluid outlet | always show |
Connect the outlet to the supply entry. Positive flow supplies the network; negative flow returns to the source. Read boundary pressure and flow with a Measurement Instrument; set boundaries in the panel and Boundary Change Schedule.
Parameter List
Gas and Initial Conditions
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Initial Supply Gas | initialCompositionalFluid | choice | — | Initial source supply gas from the active equation-of-state library. Recheck after deleting/renaming gas. |
| Initial Supply Gas | initialSimpleFluid | choice | — | Initial source supply gas from the active equation-of-state library. Recheck after deleting/renaming gas. |
| Supply Temperature [℃] | BoundTemperature | real | 30 | Incoming source temperature for non-isothermal mode; isothermal uses global temperature. |
| Boundary Type | BoundType | choice | Pressure / Flow | Pressure boundary imposes pressure and solves flow; flow boundary imposes standard flow and solves pressure. Steady-state uses initial settings without executing saved schedules. |
| Boundary Pressure [MPa(g)] | BoundPressure | real | 2 | Gauge pressure target for pressure mode; flow is solved. Converted absolute pressure must be positive. |
| Standard Volume Flow [Nm³/h] | BoundFlowrate | real | 1000 | Flow at global standard P/T. Positive supplies network; negative withdraws. |
Transient Events
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Boundary Transition Time [s] | RampTime | real | 0 | Same-type boundary linear ramp; zero or type switch immediate. New events restart from reached value. Supply temperature shares ramp; gas switches instantly. |
| Boundary Change Schedule | CompositionalEvents | table | Configure one row at a time | New boundary conditions from each unique increasing effective time. Later events can interrupt ramps; steady-state retains but does not execute plans. |
| Boundary Change Schedule / Effective Time | CompositionalEvents.time | datetime | 2026-01-01 00:00:00 | Boundary activation datetime, strictly ordered and unique. |
| Boundary Change Schedule / Boundary Type | CompositionalEvents.boundType | choice | Pressure / Flow | Pressure or standard volume flow for this row; recheck units/value after switching. |
| Boundary Change Schedule / Setpoint [MPa(g) / Nm³/h] | CompositionalEvents.condValue | real | 2 | Gauge target for pressure rows, standard flow for flow rows. Positive supplies, negative withdraws. Check units/value after type changes. |
| Boundary Change Schedule / Supply Temperature [℃] | CompositionalEvents.temperature | real | 30 | Supply temperature, non-isothermal only. Isothermal uses global temperature and retains saved column values. |
| Boundary Change Schedule / Supply Gas | CompositionalEvents.fluidName | choice | — | Gas supplied after row activation, from current library; switches immediately at event time. |
| Boundary Change Schedule | SimpleEvents | table | Configure one row at a time | New boundary conditions from each unique increasing effective time. Later events can interrupt ramps; steady-state retains but does not execute plans. |
| Boundary Change Schedule / Effective Time | SimpleEvents.time | datetime | 2026-01-01 00:00:00 | Boundary activation datetime, strictly ordered and unique. |
| Boundary Change Schedule / Boundary Type | SimpleEvents.boundType | choice | Pressure / Flow | Pressure or standard volume flow for this row; recheck units/value after switching. |
| Boundary Change Schedule / Setpoint [MPa(g) / Nm³/h] | SimpleEvents.condValue | real | 2 | Gauge target for pressure rows, standard flow for flow rows. Positive supplies, negative withdraws. Check units/value after type changes. |
| Boundary Change Schedule / Supply Temperature [℃] | SimpleEvents.temperature | real | 30 | Supply temperature, non-isothermal only. Isothermal uses global temperature and retains saved column values. |
| Boundary Change Schedule / Supply Gas | SimpleEvents.fluidName | choice | — | Gas supplied after row activation, from current library; switches immediately at event time. |
Parameter Guidance
- Boundary Type. Enter pressure in MPa(g) or standard volume flow in Nm³/h. Use the global gauge reference for pressure and standard conditions and gas for flow conversion. Reference Conditions
- Initial Supply Gas. BWRS uses the Component Gas Library; AGA8Gross uses the Simple Gas Library. Forward flow uses the current supply gas. Gas Entry
- Supply Temperature. Enter °C for non-isothermal supply; isothermal mode uses global temperature.
Boundary Change Schedule
Steady-state uses initial panel values. Transient rows specify effective time, type, value, supply temperature, and gas. Times must increase without duplicates. Enter pressure or standard flow according to each row type and select gas from the active library.
Boundary Transition Time (s) is shared across source events. Events preceding the transient start determine the current setting. A ramp still in progress at the start continues along its existing trajectory.
Modeling Steps
- Add a source and connect the supply entry.
- Choose pressure for known entry pressure or flow for known supply rate; follow units.
- Select initial gas and non-isothermal supply temperature.
- Configure schedule and transition time for transient changes.
- Check pressure constraints and other boundaries, then compare active settings with results.
View Results
- Pressure mode. Compare actual pressure with the active setpoint; use flow to assess supply and direction.
- Flow mode. Compare standard flow with the active setpoint and use solved pressure for required entry pressure. Actual volume flow varies with conditions.
- Gas and temperature. Interpret using flow sign; reverse flow inherits network conditions.
- Transients. Check ramp start, duration, and target. Inspect downstream composition after gas changes.
Professional Theory
Pressure Boundary
Pressure mode applies pressure to the connected node. For panel gauge pressure in MPa(g) and global gauge reference in kPa(a), absolute pressure in Pa is
Converted absolute pressure must be positive. The whole network determines outlet flow. Pressure remains at the current setpoint while demand and equipment changes alter flow and can cause reversal.
Flow Boundary
Flow mode constrains standard volume flow. Let be the active setting in Nm³/h, the actual port gas density at global standard conditions in kg/m³, and its operating density. Actual volume flow in m³/s and mass flow in kg/s satisfy
Positive values supply gas; negative values withdraw it. At equal standard flow, operating pressure or temperature changes can change actual volume flow. Gas changes affecting standard density also change mass flow.
Flow Direction and Supply State
Forward supply specifies gas composition and, in non-isothermal mode, temperature. Reverse flow inherits incoming network composition and temperature. Zero flow transports no gas. Isothermal mode uses global temperature.
Transient Ramps and Boundary Switching
A same-type event ramps from the reached setting to target . For effective time and duration ,
Non-isothermal supply temperature uses the same ramp factor. A later same-type event interrupts the ramp and starts from the reached value with the full transition duration.
With zero duration, hydraulic settings and supply temperature change immediately. Switching between pressure and flow also applies new values immediately. Supply gas changes directly at the event instant.
Applicability and Limits
- External supply. The source follows imposed pressure or flow. Use a Supply Tank for finite inventory, pressure depletion, or supply duration.
- Network constraints. Each separate steady-state network needs conditions determining absolute pressure. Connected pressure boundaries can establish a pressure difference; fixed pressures at one node must agree.
- One-way supply. Pressure sources allow return flow; add a Check Valve if needed.
Common Inspections
- Setpoint mismatch. Confirm boundary type and event; compare MPa(g) or standard Nm³/h values.
- Negative source flow. Check type, flow sign, and neighboring pressures. Pressure mode can reverse under network pressure differences.
- Transient mismatch. Check the active-library schedule, units, order, duration, and whether the start lies inside a ramp.
- Invalid gas or unexpected temperature. Check gas still exists, actual direction, current supply settings, and global thermal model.
- Undetermined/conflicting pressure. Check boundaries, connectivity, and fixed pressures at the same node.