EPANET  3.0
EPANET Development Project
Public Member Functions | Public Attributes | List of all members
HydBalance Class Reference

Computes the degree to which a network solution is unbalanced. More...

#include <hydbalance.h>

Public Member Functions

double evaluate (double lamda, double dH[], double dQ[], double xQ[], Network *nw)
 
double findHeadErrorNorm (double lamda, double dH[], double dQ[], double xQ[], Network *nw)
 
double findFlowErrorNorm (double xQ[], Network *nw)
 

Public Attributes

double maxFlowErr
 max. flow error (cfs)
 
double maxHeadErr
 max. head loss error (ft)
 
double maxFlowChange
 max. flow change (cfs)
 
double totalFlowChange
 (summed flow changes) / (summed flows)
 
int maxHeadErrLink
 link with max. head loss error
 
int maxFlowErrNode
 node with max. flow error
 
int maxFlowChangeLink
 link with max. flow change
 

Detailed Description

Computes the degree to which a network solution is unbalanced.

The HydBalance class determines the error in satisfying the head loss equation across each link and the flow continuity equation at each node of the network for an incremental change in nodal heads and link flows.


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