Junction

Create Function

For creating a single junction:

For creating multiple junctions at once:

Component Table Data

net.junction

Parameter

Datatype

Value Range

Explanation

name

string

Name of the junction

pn_bar

float

\(>\) 0

Rated pressure of the junction [bar]. Also the initial value for the calculation.

tfluid_k

float

\(\ge\) 0

Fluid temperature at junction [K]

height_m

float

\(\ge\) 0

The height above sea level of the junction [m]

in_service

boolean

True / False

Specifies if the bus is in service.

type

string

p or t or pt

Type variable to classify junctions

net.junction_geodata

Parameter

Datatype

Explanation

x

float

x coordinate of bus location

y

float

y coordinate of bus location

Physical Model

The equations added by a junction correspond to a mass flow balance for hydraulic calculations.

alternate Text
\begin{align*} \sum_{n=0}^N \dot{m}_{in_n} - \sum_{l=0}^M \dot{m}_{out_l} = 0 \end{align*}

For temperature calculations, the thermal power carried by the incoming fluids is balanced:

alternate Text
\begin{align*} \sum_{n=0}^N \dot{m}_{in_n}c_p T_{in_n} - \sum_{l=0}^M \dot{m}_{out_l} c_p T_{m} = 0 \end{align*}

Result Table Data

net.res_junction

Parameter

Datatype

Explanation

p_bar

float

The junction pressure [bar]

t_k

float

The junction temperature [K]