modelpreclar3
Inverse ASM2d Static Primary Clarifier Model
Extends from WasteWater.Icons.preclar2, Interfaces.conversion_factors.
Information
This is a special case of the ASM2d static primary clarifier model.
Here measurement data at the end (effluent) of the preclarifier needs to be provided.
This is typical for some real plants. Influent is then calculated.
Parameters:
- ASM2d conversion factors for calculation of Xtss
V - volume of the preclarifier
aS* - fractions of e.g. COD in influent (soluble components)
aX* - fractions of e.g. COD in influent (particular components)
n_corr- correction factor for the efficiency function
Dimension of InPort is 4.
1 - Chemical Oxygen Demand (COD) at effluent of primary clarifier
2 - annonium nitrogen (Snh) at effluent of primary clarifier
3 - phosphorus (Spo) at effluent of primary clarifier
4 - pH-value at effluent of primary clarifier
Parameters
| Type | Name | Default | Description |
| Modelica.SIunits.Volume | V | 500 | Volume of primary clarifier tank |
| Real | aSi | 5/100 | Fraction of Si of the total COD in the influent |
| Real | aSf | 9/100 | Fraction of Sf of the total COD in the influent |
| Real | aSa | 6/100 | Fraction of Sa of the total COD in the influent |
| Real | aXi | 15/100 | Fraction of Xi of the total COD in the influent |
| Real | aXs | 45/100 | Fraction of Xs of the total COD in the influent |
| Real | aXh | 20/100 | Fraction of Xh of the total COD in the influent |
| Real | aXa | 0/100 | Fraction of Xa of the total COD in the influent |
| Real | aSo | 0.0 | Dissolved oxygen in the inflow [mg/l] |
| Real | n_corr | 1.0 | Correction faktor for the efficiency function |
Components
| Type | Name | Default | Description |
| Real | hrt_h | | hydraulic residence time in primary sedimentation tank [h] |
| Real | n_COD | | efficiency of COD removal [%] |
| Real | n_X | | efficiency transformed to particulate fractions [%] |
| WWU.MassConcentration | So | | Dissolved oxygen |
| WWU.MassConcentration | Sf | | Readily biodegradable substrate |
| WWU.MassConcentration | Sa | | Fermentation products |
| WWU.MassConcentration | Snh | | Ammonium |
| WWU.MassConcentration | Sno | | Nitrate (plus nitrite) |
| WWU.MassConcentration | Spo | | Phosphate |
| WWU.MassConcentration | Si | | Inert, non biodegradable organics |
| WWU.Alkalinity | Salk | | Bicarbonate alkalinity |
| WWU.MassConcentration | Sn2 | | Dinitrogen |
| WWU.MassConcentration | Xi | | Inert, non biodegradable organics |
| WWU.MassConcentration | Xs | | Slowly biodegradable substrate |
| WWU.MassConcentration | Xh | | Heterotrophic biomass |
| WWU.MassConcentration | Xpao | | Phosphorus-accumulating organisms, PAO |
| WWU.MassConcentration | Xpp | | Stored poly-phosphate of PAO |
| WWU.MassConcentration | Xpha | | Oragnic storage products of PAO |
| WWU.MassConcentration | Xa | | Autotrophic, nitrifying biomass |
| Real | COD | | |
| Real | CODin | | |
| Real | CODout | | |
| Real | XCOD | | |
| Real | H | | |
| ASM2d.Interfaces.WWFlowAsm2din | In | | |
| ASM2d.Interfaces.WWFlowAsm2dout | Out | | |
| Modelica.Blocks.Interfaces.RealInput[4] | MeasurePort | | |