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

The model used to compute mixing behavior within a storage tank. More...

#include <tankmixmodel.h>

Public Types

enum  MixingModel { MIX1, MIX2, FIFO, LIFO }
 

Public Member Functions

void init (Tank *tank, SegPool *segPool, double _cTol)
 
double findQuality (double vNet, double vIn, double wIn, SegPool *segPool)
 
double react (Tank *tank, QualModel *qualModel, double tstep)
 
double storedMass ()
 

Public Attributes

int type
 type of mixing model
 
double cTol
 concentration tolerance (mass/ft3)
 
double fracMixed
 mixing zone extent for MIX2 model
 

Static Public Attributes

static const char * MixingModelWords [] = {"MIXED", "2COMP", "FIFO", "LIFO", 0}
 

Detailed Description

The model used to compute mixing behavior within a storage tank.

Member Enumeration Documentation

Enumerator
MIX1 

completely mixed model

MIX2 

two compartment model

FIFO 

first in, first out model

LIFO 

last in, first out model


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