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

Describes how head varies with flow for a Pump link. More...

#include <pumpcurve.h>

Public Types

enum  PumpCurveType { NO_CURVE, CONST_HP, POWER_FUNC, CUSTOM }
 

Public Member Functions

void setCurve (Curve *c)
 
int setupCurve (Network *network)
 
void findHeadLoss (double speed, double flow, double &headLoss, double &gradient)
 
bool isConstHP ()
 

Public Attributes

int curveType
 type of pump curve
 
Curvecurve
 curve with head v. flow data
 
double horsepower
 pump's horsepower
 
double qInit
 initial flow (cfs)
 
double qMax
 maximum flow (cfs)
 
double hMax
 maximum head (ft)
 

Detailed Description

Describes how head varies with flow for a Pump link.

Member Enumeration Documentation

Enumerator
NO_CURVE 

no curve assigned

CONST_HP 

constant horsepower curve

POWER_FUNC 

power function curve

CUSTOM 

user-defined custom curve


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