RapidNet
Fast Stochastic MPC for Drinking Water Networks
 All Classes Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
DwnNetwork Class Reference

Public Member Functions

 DwnNetwork (string pathToFile)
 
uint_t getNumTanks ()
 
uint_t getNumControls ()
 
uint_t getNumDemands ()
 
uint_t getNumMixNodes ()
 
real_tgetMatA ()
 
real_tgetMatB ()
 
real_tgetMatGd ()
 
real_tgetMatE ()
 
real_tgetMatEd ()
 
real_tgetXmin ()
 
real_tgetXmax ()
 
real_tgetXsafe ()
 
real_tgetUmin ()
 
real_tgetUmax ()
 
real_tgetAlpha ()
 
 ~DwnNetwork ()
 

Detailed Description

Drinking water network consists of tanks, valves, pumps and distribution points. The network manager should transport the water from the storage tanks to the demand/distribution points via series of pumps and valves. This dynamics of the water network can be represented with a mass-conservation equation. All physical components in the network should be operated in their physical limits given as constraints on the system. The DwnNetwork class represent the the drinking water model. This class includes

Constructor & Destructor Documentation

DwnNetwork::DwnNetwork ( string  pathToFile)

Constructor of a DWN entity from a given JSON file.

Parameters
pathToFilefilename of a JSON file containing a representation of the DWN.
DwnNetwork::~DwnNetwork ( )

Destructor of the DWN entity that removes it from the CPU

Member Function Documentation

real_t * DwnNetwork::getAlpha ( )

Return the pointer to the production/treatment costs

Here is the caller graph for this function:

real_t * DwnNetwork::getMatA ( )

Return the pointer to the matrix A

real_t * DwnNetwork::getMatB ( )

Return the pointer to the matrix B

real_t * DwnNetwork::getMatE ( )

Return the pointer to matrix E

real_t * DwnNetwork::getMatEd ( )

Return the pointer to matrix Ed

real_t * DwnNetwork::getMatGd ( )

Return the pointer to the matrix Gd

Here is the caller graph for this function:

uint_t DwnNetwork::getNumControls ( )

Return the number of pumps and valves

Here is the caller graph for this function:

uint_t DwnNetwork::getNumDemands ( )

Return the number of demands

Here is the caller graph for this function:

uint_t DwnNetwork::getNumMixNodes ( )

Return the number of mix nodes

uint_t DwnNetwork::getNumTanks ( )

Return the number of tanks

Here is the caller graph for this function:

real_t * DwnNetwork::getUmax ( )

Return the pointer to the maximum control level

real_t * DwnNetwork::getUmin ( )

Return the pointer to the minimum control level

real_t * DwnNetwork::getXmax ( )

Return the pointer to the maximum volume of the tanks

real_t * DwnNetwork::getXmin ( )

Return the pointer to minimum volume of the tanks

real_t * DwnNetwork::getXsafe ( )

Return the pointer to the safety level of the tanks

Here is the caller graph for this function:


The documentation for this class was generated from the following files: