h1. LFOM Entrance Tank Mathcad Code Documentation
h3. Mathcad Code
The mathcad code can be found [here|^EntranceTank 1.xmcd]. You will need to have mathcad installed on your computer in order to open the file.
h3. Variable Description: in order of appearance in code
||Variable Name|| Variable Description||
|{latex} $$ N_{Lfom} $$ {latex}|Number of riser pipes|
|{latex} $$ K_{Rm} $$ {latex}|minor loss coefficient for rapid mix|
|{latex} $$ A_{LfomOrificeTotal} $$ {latex}| Combined area of all orifices|
|{latex} $$ A_[Orifice} $$ {latex}|function for determining the orifice areas as the vertical distance on the riser pipe increases|
|{latex} $$ HL_[Lfom} $$ {latex}| headloss through the Lfom, and the minimum height of the water in the entrance tank|
|{latex} $$ Pi_{VenaContractaOrifice} $$ {latex}|minor loss coefficient for an orifice (was K orifice)|
|{latex} $$ Q_{Plant} $$ {latex}|plant flow rate|
|{latex} $$ ID_{Lfom} $$ {latex}|the inner diameter of the riser pipe|
|{latex} $$ Pi_{LfomOrificeArea} $$ {latex}|ratio of LFOM pipe area to orifice area|
|{latex} $$ ND_{Lfom} $$ {latex}|nominal diameter of the riser pipe and rapid mix pipe|
|{latex} $$ EN_{PipeSpec} $$ {latex}| enumerated type of pipe|
|{latex} $$ HL_{Rm} $$ {latex}| |