modelpreclar3

Inverse ASM2d Static Primary Clarifier Model

Extends from WasteWater.Icons.preclar2 (Icon for a static preclarifier tank), Interfaces.conversion_factors (ASM2d 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

TypeNameDefaultDescription
Reali_N_Si (from conversion_factors)0.01N content of inert soluble COD Si [gN/gCOD]
Reali_N_Sf (from conversion_factors)0.03N content of fermentable substrates Sf [gN/gCOD]
Reali_N_Xi (from conversion_factors)0.02N content of inert particulate COD Xi [gN/gCOD]
Reali_N_Xs (from conversion_factors)0.04N content of slowly biodegradable substrate Xs [gN/gCOD]
Reali_N_BM (from conversion_factors)0.07N content of biomass, Xh, Xpao, Xa [gN/gCOD]
Reali_P_Si (from conversion_factors)0.0P content of inert soluble COD Si [gP/gCOD]
Reali_P_Sf (from conversion_factors)0.01P content of fermentable substrates Sf [gP/gCOD]
Reali_P_Xi (from conversion_factors)0.01P content of inert particulate COD Xi [gP/gCOD]
Reali_P_Xs (from conversion_factors)0.01P content of slowly biodegradable substrate Xs [gP/gCOD]
Reali_P_BM (from conversion_factors)0.02P content of biomass, Xh, Xpao, Xa [gP/gCOD]
Reali_TSS_Xi (from conversion_factors)0.75TSS to COD ratio for Xi [gTSS/gCOD]
Reali_TSS_Xs (from conversion_factors)0.75TSS to COD ratio for Xs [gTSS/gCOD]
Reali_TSS_BM (from conversion_factors)0.9TSS to COD ratio for biomass, Xh, Xpao, Xa [gTSS/gCOD]
Modelica.SIunits.VolumeV500Volume of primary clarifier tank
RealaSi5/100Fraction of Si of the total COD in the influent
RealaSf9/100Fraction of Sf of the total COD in the influent
RealaSa6/100Fraction of Sa 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
RealaXa0/100Fraction of Xa of the total COD in the influent
RealaSo0.0Dissolved oxygen in the inflow [mg/l]
Realn_corr1.0Correction faktor for the efficiency function

Connectors

TypeNameDefaultDescription
ASM2d.Interfaces.WWFlowAsm2dinIn
ASM2d.Interfaces.WWFlowAsm2doutOut
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 [%]
WWU.MassConcentrationSoDissolved oxygen
WWU.MassConcentrationSfReadily biodegradable substrate
WWU.MassConcentrationSaFermentation products
WWU.MassConcentrationSnhAmmonium
WWU.MassConcentrationSnoNitrate (plus nitrite)
WWU.MassConcentrationSpoPhosphate
WWU.MassConcentrationSiInert, non biodegradable organics
WWU.AlkalinitySalkBicarbonate alkalinity
WWU.MassConcentrationSn2Dinitrogen
WWU.MassConcentrationXiInert, non biodegradable organics
WWU.MassConcentrationXsSlowly biodegradable substrate
WWU.MassConcentrationXhHeterotrophic biomass
WWU.MassConcentrationXpaoPhosphorus-accumulating organisms, PAO
WWU.MassConcentrationXppStored poly-phosphate of PAO
WWU.MassConcentrationXphaOragnic storage products of PAO
WWU.MassConcentrationXaAutotrophic, nitrifying biomass
RealCOD
RealCODin
RealCODout
RealXCOD
RealH

Contents

NameDescription
WWU