Circulation Pump Mass

Create Function

create_circ_pump_const_mass_flow(net, from_junction, to_junction, p_bar, mdot_kg_per_s, t_k=None, name=None, index=None, in_service=True, type='pt', **kwargs)

Adds one circulation pump with a constant mass flow in table net[“circ_pump_mass”].

Parameters
  • net (pandapipesNet) – The net within this pump should be created

  • from_junction (int) – ID of the junction on one side which the pump will be connected with

  • to_junction (int) – ID of the junction on the other side which the pump will be connected with

  • p_bar (float) – Pressure set point

  • mdot_kg_per_s (float) – Constant mass flow, which is transported through the pump

  • t_k (float) – Temperature set point

  • name (str) – Name of the pump

  • index (int, default None) – Force a specified ID if it is available. If None, the index one higher than the highest already existing index is selected.

  • in_service (bool, default True) – True for in_service or False for out of service

  • type (str, default "pt") –

    The pump type denotes the values that are fixed:

    • ”p”: The pressure is fixed.

    • ”t”: The temperature is fixed and will not be solved. Please note that pandapipes cannot check for inconsistencies in the formulation of heat transfer equations yet.

    • ”pt”: The pump shows both “p” and “t” behavior.

  • kwargs (dict) – Additional keyword arguments will be added as further columns to the net[“circ_pump_mass”] table

Returns

index - The unique ID of the created element

Return type

int

Example
>>> create_circ_pump_const_mass_flow(net, 0, 1, p_bar=5, mdot_kg_per_s=2, t_k=350, type="p")

Component Table Data

net.circ_pump_mass

Parameter

Datatype

Value Range

Explanation

name

string

Name of the pump

from_junction

integer

\(>\) 0

Index of junction at which the pump starts

to_junction

integer

\(>\) 0

Index of junction at which the pump ends

p_bar

float

\(>\) 0

Pressure set point [bar]

p_lift_bar

float

\(>\) 0

Pressure lift induced by the pump [bar]

t_k

float

\(>\) 0

Temperature set point [K]

in_serivce

boolean

True / False

True for in service or False for out of service

type

string

Type variable to classify the pump

Physical Model

Coming soon!

Result Table Data

net.circ_pump_mass

Parameter

Datatype

Explanation

deltap_bar

float

The pressure lift caused by the pump [bar]

mdot_kg_per_s

float

The mass flow running through the pump [bar]