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

Computes a water quality mass balance across the pipe network. More...

#include <qualbalance.h>

Public Member Functions

void init (const double initMassStored)
 
void updateInflow (const double massIn)
 
void updateOutflow (const double massOut)
 
void updateReacted (const double massReacted)
 
void updateStored (const double massStored)
 
void writeBalance (std::ostream &msgLog)
 

Public Attributes

double initMass
 
double inflowMass
 
double outflowMass
 
double reactedMass
 
double storedMass
 

Detailed Description

Computes a water quality mass balance across the pipe network.

The QualBalance structure updates the total inflow, outflow, storage and losses of a water quality constituent at each time step of the simulation and computes its overall mass balance at the end of the simulation.


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