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

Externally applied water quality at a source node. More...

#include <qualsource.h>

Public Types

enum  QualSourceType { CONCEN, MASS, FLOWPACED, SETPOINT }
 

Public Member Functions

void setStrength (Node *node)
 Determines quality concen. that source adds to a node's outflow.
 
double getQuality (Node *node)
 

Static Public Member Functions

static bool addSource (Node *node, int t, double b, Pattern *p)
 Factory method for adding a new source (or modifying an existing one)
 

Public Attributes

int type
 source type
 
double base
 baseline source quality (mass/L or mass/sec)
 
Patternpattern
 source time pattern
 
double strength
 pattern adjusted source quality (mass/ft3 or mass/sec)
 
double outflow
 flow rate released from node into network (cfs)
 
double quality
 node quality after source is added on (mass/ft3)
 

Static Public Attributes

static const char * SourceTypeWords []
 

Detailed Description

Externally applied water quality at a source node.

Member Enumeration Documentation

Enumerator
CONCEN 

concentration of any external inflow

MASS 

adds a fixed mass inflow to a node

FLOWPACED 

boosts a node's concentration by a fixed amount

SETPOINT 

sets the concentration of water leaving a node

Member Data Documentation

const char * QualSource::SourceTypeWords
static
Initial value:
=
{"CONCEN", "MASS", "FLOWPACED", "SETPOINT", 0}

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