modelpreclar3

Inverse ASM3 Static Primary Clarifier Model

Extends from WasteWater.Icons.preclar2 (Icon for a static preclarifier tank), ASM3.Interfaces.stoichiometry (ASM3 stoichiometric coefficients).

Information

This is a special case of the ASM3 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:
      - ASM3 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 - nitrate nitrogen (Sno) at effluent of primary clarifier
  3 - ammonium nitrogen (Snh) at effluent of primary clarifier
  4 - pH-value at effluent of primary clarifier

Parameters

TypeNameDefaultDescription
Realf_Si (from stoichiometry)0.0Production of Si in hydrolysis [g COD_Si/(g COD_Xs)]
RealY_STO_O (from stoichiometry)0.85Aerobic yield of stored product per Ss [g COD_Xsto/(g COD_Ss)]
RealY_STO_NOX (from stoichiometry)0.80Anoxic yield of stored product per Ss [g OD_Xsto/(g COD_Ss)]
RealY_H_O (from stoichiometry)0.63Aerobic yield of heterotrophic biomass [g COD_Xh/(g COD_Xsto)]
RealY_H_NOX (from stoichiometry)0.54Anoxic yield of heterotrophic biomass [g COD_Xh/(g COD_Xsto)]
RealY_A (from stoichiometry)0.24Yield of autotrophic biomass per NO3-N [g COD_Xa/(g N_Snox)]
Realf_Xi (from stoichiometry)0.20Production of Xi in endog. respiration [g COD_Xi/(g COD_Xbm)]
Reali_N_Si (from stoichiometry)0.01N content of Si [g N/(g COD_Si)]
Reali_N_Ss (from stoichiometry)0.03N content of Ss [g N/(g COD_Ss)]
Reali_N_Xi (from stoichiometry)0.02N content of Xi [g N/(g COD_Xi)]
Reali_N_Xs (from stoichiometry)0.04N content of Xs [g N/(g COD_Xs)]
Reali_N_BM (from stoichiometry)0.07N content of biomass Xh,Xa [g N/(g COD_bm)]
Reali_SS_Xi (from stoichiometry)0.75SS to COD ratio for Xi [g SS/(g COD_Xi)]
Reali_SS_Xs (from stoichiometry)0.75SS to COD ratio for Xs [g SS/(g COD_Xs)]
Reali_SS_BM (from stoichiometry)0.90SS to COD ratio for biomass Xh,Xa [g SS/(g COD_Xbm)]
Modelica.SIunits.VolumeV500Volume of primary clarifier tank
RealaSo0.0Dissolved oxygen in the inflow [mg/l]
RealaSi5/100Fraction of Si of the total COD in the influent
RealaSs15/100Fraction of Ss of the total COD in the influent
RealaXi15/100Fraction of Xi of the total COD in the influent
RealaXs45/100Fraction of Xs of the total COD in the influent
RealaXh20/100Fraction of Xh of the total COD in the influent
RealaXsto0/100Fraction of Xsto of the total COD in the influent
RealaXa0/100Fraction of Xa of the total COD in the influent
Realn_corr1.0Correction faktor for the efficiency function

Connectors

TypeNameDefaultDescription
ASM3.Interfaces.WWFlowAsm3inIn
ASM3.Interfaces.WWFlowAsm3outOut
Modelica.Blocks.Interfaces.RealInput[4]MeasurePort

Components

TypeNameDefaultDescription
Realhrt_hhydraulic residence time in primary sedimentation tank [h]
Realn_CODefficiency of COD removal [%]
Realn_Xefficiency transformed to particulate fractions [%]
RealCOD
RealCODin
RealCODout
RealXCOD
RealH
WWU.MassConcentrationSoDissolved oxygen
WWU.MassConcentrationSiSoluble inert organics
WWU.MassConcentrationSsReadily biodegradable substrates
WWU.MassConcentrationSnhAmmonium
WWU.MassConcentrationSn2Dinitrogen, released by nitrification
WWU.MassConcentrationSnoxNitrite plus nitrate
WWU.AlkalinitySalkAlkalinity, bicarbonate
WWU.MassConcentrationXiInert particulate organics
WWU.MassConcentrationXsSlowly biodegradable substrates
WWU.MassConcentrationXhHeterotrophic biomass
WWU.MassConcentrationXstoOrganics stored by heterotrphs
WWU.MassConcentrationXaAutotrophic nitrifying biomass

Contents

NameDescription
WWU