Node#
module wntr.network.base
- class Node[source]#
Bases:
object
Base class for nodes.
For details about the different subclasses, see one of the following:
Junction
,Tank
, andReservoir
Constructor
This is an abstract class and should not be instantiated directly.
- Parameters:
wn (
WaterNetworkModel
) – WaterNetworkModel objectname (string) – Name of the node (must be unique among nodes of all types)
Attributes
The name of the node (read only)
The node type (read only)
The node coordinates, (x,y)
The initial quality (concentration) at the node
A tag or label for the node
Read-only simulation results
The following attributes are read-only. The values are the final calculated value from a simulation.
(read-only) the current simulation head at the node (total head)
(read-only) the current simulation demand at the node (actual demand)
(read-only) the current simulation leak demand at the node
(read-only) the current simulation leak status at the node
(read-only) the current simulation leak area at the node
(read-only) the current simulation leak discharge coefficient
- property leak_discharge_coeff#
(read-only) the current simulation leak discharge coefficient
- Type: