uwm3 introduction and organisation - eth z · 2016. 2. 25. · nico derlon, luzia von känel,...
TRANSCRIPT
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
UWM3 Introduction and Organisation
Daniel Braun, Jonas Eppler Laboratory for Environmental Engineering
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Goals of this course
• Steady state and dynamic simulations of UWM2 lab plants
• Quantify and assess errors and sensitivities
• Apply your theoretical knowledge
2
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Course materials for today
• Task assignment
• ASIM Tutorial
• Koch et al. (2000) on wastewater characterization
• Systems analysis handout on characteristic times
Download the materials on our website: http://www.sww.ifu.ethz.ch/studium/vorlesungen/Environment_and_Computer_Laboratory_UWM3.html
3
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Computer courses
• Fr. 26.02.2016, 8:00-11:45
• Steady state simulations in ASIM
• Fr. 04.03.2016, 8:00-11:45
• Dynamic simulations
• Prepare the presentation
• Groups
• 2-3 people from your lab group
4
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Presentations
• Fr. 18.03.2016, 13:40-17:40
• 10-15 minute presentations
• 5-10 minute question & answer session
• Peer reviewed presentations
5
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Presentations
6
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
UWM3 Rapid Introduction to ASIM
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Start Asim
8
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
1. Step: User Directory and Projects
9
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Elements of ASIM
10
Q, Concentrations
(daily average)
0
2
4
6
8
10
12
14
0 5 10 15 20
Zeit
Ko
nze
ntr
ati
on
Diurnal variation
STol SNO3 SO2 XH
Einheiten gCSB gN gO2 gCSB
Aerob. Wachstum -2 -1 1
Anox. Wachstum -2 -0.350 1
Bio-kinetic model: ASM3
Plant and Operating conditions:
• Sludge age
• O2-Concentration
• Return sludge
• Temperature
Steady state:
Dynamic calculations:
SS, SI, XI, XS, XH …….. State (of the plant)
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
2. Step: Loding the Bio-kinetic model
Try to understand:
• stoichiometric matrix
• Rate constants
• Kinetics
• Initial coditons
• Influent concentrations
11
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Load ASM-Model
12
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Info
13
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Stoichiometric Matrix
14
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Rate constants
15
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Kinetics
16
• The saturation values can be displayed by choosing the reaction term.
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Initial conditions (of sludge in the reactor)
17
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Influent concentrations
18
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Recommended Unit Combinations
Lab Plant Full Scale
Volume L m3
Flow L/d m3/d
Concentrations* mg/L g/m3
Time d d
19
* Concentration units depend on the species. For example:
Oxygen mgO2/L Ammonia mgN/L Soluble Substrate mgCOD/L
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
3. Step: Editing Plant Definition
20
Implement your plant:
• Act. sludge reac. or SBR
• Volumes and flowrate
• O2 Setpoint or Kla Value
• …
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Menu Plant Definition
21
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Definition
22
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Reactors and secondary clarifieres
23
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab: Initial conditions
24
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab: Influent concentrations Fractionation from “Koch et al”
25
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab Definition (SBR)
26
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tab State of plant
27
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
4. Step: Running ASIM and Steady State
28
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
CSTR only: Create Variation File
29
• Variation > New Variation (right side)
• Close variation file without any change (left side)
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Dynamic Simulations
• Computations > Dynamic Simulation
• Click “Start”
• Click “Show Results”
30
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
View Single Chart
• Choose Species
31
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Single Chart
32
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Choose Charts for Tile
33
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Tile
34
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Have fun
More information:
• Systems Analysis Lecture
• Presentation of Jonas on calibration
• ASIM tutorial
• Other students
• ….
35
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
UWM3 How to approach ASIM calibrations
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Possible approach to characterize influent
1. Choose a steady state time window from UWM2
2. Summarize measured, known variables of the influent
3. Estimate unknown variables a. E.g. estimate different COD-fractions from Koch et al. (2000)
based on total COD measurements
b. E.g. estimate inorganic TSS in the influent based on reactor TSS
4. Resolve contradictory variables a. E.g. you may have measured TN and NH4
+ in the influent, possibly leading to contradictory mass balances:
b. E.g. estimate SNH from TN
37
NO I N,SI S N,SS I N,XI S N,XS H N,BM A ,BN MH NTN S S i S i X i X i X i X iS
total I S I S H A STOCOD S S X X X X X
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Possible approach to characterize influent
5. Run a steady state simulation
6. Compare measured and simulated reactor concentrations
7. Change the influent characterization with informed choices • Account for uncertainty ranges of e.g. Q, V, SRT
• Account for uncertainty of COD fraction
• …
38
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016
Appendix
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016 40
Total COD in terms of model compounds
dissolved
COD
particulate COD in model
SI SS XS XH XA XI XSP
analyzed total COD
analyzed, particulate COD analyzed, dissolved COD
analyzed suspended solids
mineral
suspended solids in model, XSS
ASM3: Comparison of model compounds and analytical results
mineral
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016 41
Step 1 Influent characterization Compounds Dimension Concentration iThOD
g COD gi-1
iN
g N gi-1
iTSS
g TSS gi-1
COD Model
g COD m-3
N Model
g N m-3
TSS Model
g TSS m-3
Model
SO g O2 m-3 2 -1 -
SI g COD m-3 15 1 0.01 15 0.15
SS g COD m-3 25 1 0.03 25 0.75
SNH g N m-3 1
SNO g N m-3 0.3 -4.57 1 0
XS 1) g COD m-3 135 1 0.03 0.75 135 4.05 101.25
XH g COD m-3 25 1 0.07 0.9 25 1.75 22.50
XSTO g COD m-3 0 1 0 0.6 0 0 0
XAUT g COD m-3 0 1 0.07 0.9 0 0 0
XI g COD m-3 50 1 0.04 0.75 50 2.0 37.50
XTSS 2) g TSS m-3 181 TSSorg = 161
Difference to measurement 161-120 = 41
Measurements
TSSin g TSS m-3 120 Norg. =
Ntot,in g N m-3 29.5 N =
NH4,in g N m-3 21.0
CODtot,in g COD m-3 250 COD = 250
CODsol,in g COD m-3 85
CODsol,eff g COD m-3 15
Additional mineral fraction in influent model2) in gTSS m-3 + 20
Final model input for XTSS in g TSS m-3 TSS = 181
2) CODmodel,i = fractionsi · COD
1) COD = CODtot,in
4) TSSmodel = Conc Xi · iTSS,i
6) TSS = TSSorg,model - TSSin,meas
5) TSSorg = Sum of TSSmodel,org,i Pa
rtic
ula
te c
om
po
un
ds
So
lub
le c
om
po
un
ds
D.Weissbrodt, SIWWTP-09, Correction of Homework_week07, EPFL, 11.11.2009
3) Conc Si = iThOD,i · CODmodel,i
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016 42
Step 2 Influent characterization Compounds Dimension Concentration iThOD
g COD gi-1
iN
g N gi-1
iTSS
g TSS gi-1
COD Model
g COD m-3
N Model
g N m-3
TSS Model
g TSS m-3
Model
SO g O2 m-3 2 -1 -
SI g COD m-3 15 1 0.01 15 0.15
SS g COD m-3 25 1 0.03 25 0.75
SNH g N m-3 20.5 1 20.5
SNO g N m-3 0.3 -4.57 1 0.3
XS 1) g COD m-3 135 1 0.03 0.75 135 4.05 101.25
XH g COD m-3 25 1 0.07 0.9 25 1.75 22.50
XSTO g COD m-3 0 1 0 0.6 0 0 0
XAUT g COD m-3 0 1 0.07 0.9 0 0 0
XI g COD m-3 50 1 0.04 0.75 50 2.0 37.50
XTSS 2) g TSS m-3 181 TSSorg = 161
Difference to measurement 161-120 = 41
Measurements
TSSin g TSS m-3 120 Norg. = 8.7
Ntot,in g N m-3 29.5 N = 29.5
NH4,in g N m-3 21.0
CODtot,in g COD m-3 250 COD = 250
CODsol,in g COD m-3 85
CODsol,eff g COD m-3 15
Additional mineral fraction in influent model2) in gTSS m-3 + 20
Final model input for XTSS in g TSS m-3 TSS = 181
2) Nmodel,i = Conc Si · iN,i
1) N = Ntot,in
3) Norg = Sum of Nmodel,org,i
4) Nmodel,NH = N - Norg
5) Conc SNH = iN,NH · Nmodel,NH
Pa
rtic
ula
te c
om
po
un
ds
So
lub
le c
om
po
un
ds
D.Weissbrodt, SIWWTP-09, Correction of Homework_week07, EPFL, 11.11.2009
Department of Civil, Environmental and Geomatic Engineering Laboratory for Environmental Engineering
Nico Derlon, Luzia von Känel, Philipp Weber February 2016 43
Step 3 Influent characterization Compounds Dimension Concentration iThOD
g COD gi-1
iN
g N gi-1
iTSS
g TSS gi-1
COD Model
g COD m-3
N Model
g N m-3
TSS Model
g TSS m-3
Model
SO g O2 m-3 2 -1 -
SI g COD m-3 15 1 0.01 15 0.15
SS g COD m-3 25 1 0.03 25 0.75
SNH g N m-3 20.5 1 20.5
SNO g N m-3 0.3 -4.57 1 0.3
XS 1) g COD m-3 135 1 0.03 0.75 135 4.05 101.25
XH g COD m-3 25 1 0.07 0.9 25 1.75 22.50
XSTO g COD m-3 0 1 0 0.6 0 0 0
XAUT g COD m-3 0 1 0.07 0.9 0 0 0
XI g COD m-3 50 1 0.04 0.75 50 2.0 37.50
XTSS 2) g TSS m-3 181 TSSorg = 161
Difference to measurement 161-120 = 41
Measurements
TSSin g TSS m-3 120 Norg. = 8.7
Ntot,in g N m-3 29.5 N = 29.5
NH4,in g N m-3 21.0
CODtot,in g COD m-3 250 COD = 250
CODsol,in g COD m-3 85
CODsol,eff g COD m-3 15
Additional mineral fraction in influent model2) in gTSS m-3 + 20
Final model input for XTSS in g TSS m-3 TSS = 181
Pa
rtic
ula
te c
om
po
un
ds
So
lub
le c
om
po
un
ds
D.Weissbrodt, SIWWTP-09, Correction of Homework_week07, EPFL, 11.11.2009