LFOM Entrance Tank Mathcad Code Documentation
Mathcad Code
The mathcad code can be found here. You will need to have mathcad installed on your computer in order to open the file.
Variable Description: in order of appearance in code
Variable Name |
Variable Description |
|---|---|
Unknown macro: {latex} $$ N_ Unknown macro: {Lfom}
$$ |
Number of riser pipes |
Unknown macro: {latex} $$ K_ Unknown macro: {Rm}
$$ |
minor loss coefficient for rapid mix |
Unknown macro: {latex} $$ A_ Unknown macro: {LfomOrificeTotal}
$$ |
Combined area of all orifices |
Unknown macro: {latex} $$ A_ Unknown macro: {Orifice}
$$ |
function for determining the orifice areas as the vertical distance on the riser pipe increases |
Unknown macro: {latex} $$ HL_ Unknown macro: {Lfom}
$$ |
headloss through the Lfom, and the minimum height of the water in the entrance tank |
Unknown macro: {latex} $$ Pi_ Unknown macro: {VenaContractaOrifice}
$$ |
minor loss coefficient for an orifice (was K orifice) |
Unknown macro: {latex} $$ Q_ Unknown macro: {Plant}
$$ |
plant flow rate |
Unknown macro: {latex} $$ ID_ Unknown macro: {Lfom}
$$ |
the inner diameter of the riser pipe |
Unknown macro: {latex} $$ Pi_ Unknown macro: {LfomOrificeArea}
$$ |
ratio of LFOM pipe area to orifice area |
Unknown macro: {latex} $$ ND_ Unknown macro: {Lfom}
$$ |
nominal diameter of the riser pipe and rapid mix pipe |
Unknown macro: {latex} $$ EN_ Unknown macro: {PipeSpec}
$$ |
enumerated type of pipe |
Unknown macro: {latex} $$ HL_ Unknown macro: {Rm}
$$ |
rapid mix head loss |
Unknown macro: {latex} $$ L_ Unknown macro: {RmPipe}
$$ |
The total pipe length betweeen the bottom of the orifices and the flocculator |
Unknown macro: {latex} $$ Nu_ Unknown macro: {Water}
$$ |
viscosity of water through the plant |
Unknown macro: {latex} $$ E_ Unknown macro: {Pvc}
$$ |
PVC pipe roughness |
Unknown macro: {latex} $$ H_ Unknown macro: {Ramp}
$$ |
Function based off of ramp functions, this is an incremental function that all ows other funtions to evaluate one level of orifices at a time |
Unknown macro: {latex} $$ B_ Unknown macro: {LfomOrifice}
$$ |
vertical distance between orifices |
Unknown macro: {latex} $$ Pi_ Unknown macro: {LfomH}
$$ |
elevation between orifice rows at which the flow is calibrated, a 0 or 1 value. 0 corresponds to the current row and 1 corresponds to the next row |
Unknown macro: {latex} $$ Q_ Unknown macro: {Ramp}
$$ |
funtion to determine target riser pipe flow, incrementally calculates flows |
Unknown macro: {latex} $$ Q_ Unknown macro: {LfomActual}
$$ |
funtion to determine actual flow through orifices |
Unknown macro: {latex} $$ n_ Unknown macro: {LfomOrifices}
$$ |
number of orifices |
Unknown macro: {latex} $$ D_ Unknown macro: {LfomOrifices}
$$ |
diameter of Lfom orifices |
Unknown macro: {latex} $$ D_ Unknown macro: {Circle}
$$ |
function that determines the diamter of a circle given the area |
Unknown macro: {latex} $$ D_ Unknown macro: {Drill}
$$ |
function that determines the drill bit size necessary |
Unknown macro: {latex} $$ N_ Unknown macro: {LfomOrificesFirstrow}
$$ |
arbitrary value determines the number of orifices in the first row, currently 5 is selected |
Unknown macro: {latex} $$ Q_ Unknown macro: {LfomError}
$$ |
percent error in the actual flow rate compared to theoretical values |
Unknown macro: {latex} $$ Q_ Unknown macro: {LfomErrorMax}
$$ |
maximum error of Q_LfomError array |
Unknown macro: {latex} $$ HL_ Unknown macro: {EtFloc}
$$ |
headloss from the entrance tank to the flocculator |
Unknown macro: {latex} $$ ZW_ Unknown macro: {Et}
$$ |
water depth of entrance tank relative to the bottom of the sedimation tank |
Unknown macro: {latex} $$ HW_ Unknown macro: {FlocStart}
$$ |
height of the start of the floculation tank relative to the bottom of the sedimention tank |
Unknown macro: {latex} $$ H_ Unknown macro: {LfomFreefall}
$$ |
difference between height of water in floculation tank and the bottom set of orifices on the LFOM |
Unknown macro: {latex} $$ HW_ Unknown macro: {Etmax}
$$ |
maximum water level in entrance tank |
Unknown macro: {latex} $$ HW_ Unknown macro: {Etmin}
$$ |
minimum water level in entrance tank |
Unknown macro: {latex} $$ H_ Unknown macro: {Et}
$$ |
height of entrance tank |
Unknown macro: {latex} $$ H_ Unknown macro: {PlantFreeBoard}
$$ |
heigt of plant free board in the plant tanks |