Вы находитесь на странице: 1из 25

WEST

Introduction

DHI

WEST Introduction

OUTLINE
What is WEST
What is it good at
The WEST community

The WEST package


The product suite
The applications and the standard model library
The experiment types

The WEST application (rel.2014)


The main application: WEST
The Model Library
The Tools

DHI

1
What is WEST ?

Standard: Wastewater Treatment Plants (WWTP)

Also: Integrated Urban Water Systems (IUWS) W2014

Recent applications:
Integrated dynamic model for micro-pollutants at the urban scale
(ScorePP project, EU 6th FP)
Ecosystems - Impact of endocrine disruptors on the food-web
(on-going)

Modelling and virtual experimentation platform


for water quality

DHI

The main assets

1. Performance WEST is the fastest simulator

small WWTP: 10 tanks, 3 SST, aeration control, data input


DYN: 0.49 sec/day

medium IUWS: 7 catchments (42 blocks), 12 pipes, 3 storm water


tanks, 2 PST, 5 tanks, 2 SST, 18 river sections, complex controllers
(e.g. cascade), data input
DYN: 1.5 sec/day

extra-large IUWS: 450+ blocks, several control


DYN: 2.0 sec/day

DHI

2
The main assets

2. User Interface advanced, state-of-the art GUI

Customisable UI

Drag-and-drop

Use of Layers & Zoom

Seamless integration of complex control models: e.g. cascade

Notes W2014

Report generation W2014

DHI

The main assets

3. Experiment types advanced (virtual) experiments

Objective Evaluation
definition of custom objectives, e.g. performance index

Sensitivity Analysis (Local and Global)

Parameter Estimation

Scenario Analysis

Uncertainty Analysis

DHI

3
The main assets

4. Openness WEST is fully open

Open block library = can view + edit


Custom models (e.g. GHG, micro-pollutants, ..)
Custom icons
Coupled models

SDK = can embed WEST / Tornado


Model-based predictive control
Customised GUI

Development Centres network


Model development

DHI

The main assets Openness: Gujer Matrix Editor

DHI

4
The main assets Openness: MSL Code Editor

DHI

The main assets Openness: Block Editor

DHI

5
The main assets Openness: Example

Model-based predictive control

Q, TKN sensors, 2-h determinations

WEST custom application:


Input:
moving average over past 8 hours prediction of the next time point
Objective:
minimise mean of Total Nitrogen over next day
Parameters:
DO set-point & Internal recycle
Every 2 hours, launch the SA experiment: 400 simulations in 40-50 sec

DHI

The main assets Openness: Example

Model-based predictive control

Over 1 day:
- 4% TN discharged (12.7 kg)
- 8% aeration (500 kWh)

DHI

6
The WEST Network

DHI units:
Denmark: 1st line support
Belgium + China: Software architecture + GUI development,
Model implementation, 2nd line support
Local offices: Local support (e.g. language)

Development Centres: model development & calibration


BIOMATH (Belgium): prof Ingmar Nopens
CEIT (Spain): dr Eduardo Ayesa
ICRA (Spain): dr Lluis Corominas
modelEAU (Canada): prof Peter Vanrolleghem
UCT + UKZN (South Africa): prof George Ekama, dr Chris Brouckaert

DHI

WEST Introduction

OUTLINE
What is WEST
What is it good at
The WEST community

The WEST package


The product suite
The applications and the standard model library
The experiment types

The WEST application (rel.2014)


The main application: WEST
The Model Library
The Tools

DHI

7
The Product Suite

WESTforOPERATORS
Simulation of existing plant models

WESTforDESIGN
Simulation and creation of plant models

WESTforOPTIMIZATION
Simulation and creation of custom models
Complex virtual experimentation

WESTforAUTOMATION
Software Development Kit

DHI

The Product Suite


WfOPERATORS WfDESIGN WfOPTIMIZATION WfAUTOMATION

WEST Application Yes Yes Yes

Steady-state Simulation Yes Yes Yes

Dynamic Simulation Yes Yes Yes

Objective Evaluation Yes Yes Yes

Output Controls Yes Yes Yes

Input Controls Yes Yes Yes

Interactive Layout Editor Yes Yes

Influent/Effluent Tool Yes Yes

Executable Model Builder Yes Yes

Virtual Experiments Yes

Block Editor Application Yes

Model Editor Application Yes

Unit Editor Application Yes Yes Yes

Designer Application Yes Yes

Data Editor Application Yes Yes

WEST 3 Conversion Tool Yes Yes

API Yes
DHI

8
WEST

WEST main application


Project management
Layout editing and Experiment execution

Block Editor
Palette- and Icon Library management

Data Editor
Data visualisation and management

Designer
Design based on templates and "rules" (ATV, Metcalf & Eddy)

DHI

WEST

Model Editor
Block- and Model Library management
MSL code- and Gujer Matrix Editor

Unit Editor
Unit table management

WEST 3 Conversion Tool


Conversion of WEST 3.7.6 project to WEST 201x

DHI

9
WEST the standard model library

Unit processes IWA Models


Buffer tanks ASM1, ASM1_AN, ASMG1
Activated sludge tanks ASM2d-mod, ASMG2
MBBR, IFAS ASM3
Settling tanks ASM3P_EAWAG
Sand- and trickling filters ADM1
SBR, CFID, CFCD, MBR PWM_SA
Sludge dewatering units IUWS
Chemical dosage units
Anaerobic digesters
Sensors, controllers, timers
Aerators

DHI

WEST the Experiment Types

Base experiment: Objective Evaluation


Combined Steady-State + Dynamic Simulation
Objective computation (per-experiment)
Independent I/O settings

Advanced (virtual) experiments


1 per project
Built on top of one of the base simulations
How changes in a set of parameters affect a set of variables?

DHI

10
WEST Virtual Experiments

Local Sensitivity Analysis, LSA


Identify the most sensitive variables: how does a (small) change (error,
uncertainty, ..) in a parameter affect a variable?
Outcome: measure that variable to calibrate that parameter!
Based on finite differences: analytical method delicate

Global Sensitivity Analysis, GSA


Same as LSA
Based on Latin Hypercube Sampling and Linear Regression: statistical method
robust

DHI

WEST Virtual Experiments

DHI

11
WEST Virtual Experiments

Parameter Estimation, PE
Model calibration:
match measured vs. simulated variables, by adjusting model parameters
Optimisation:
whats the DO set-point that minimises aeration costs?
Based on minimisation of objective functions

DHI

WEST Virtual Experiments

DHI

12
WEST Virtual Experiments

Scenario Analysis, SA
Compare scenarios: high vs. low aeration; large vs. small VOX/VTOT;
Based on placement, spacing or sampling

DHI

WEST Virtual Experiments

DHI

13
WEST Virtual Experiments

Uncertainty Analysis, UA
Acknowledge the inherent uncertainty of the model:
how does the uncertainty of a model input propagate to the model output?
Based on Latin Hypercube Sampling, statistical analysis, bound value
duration/frequency analysis and classification values

DHI

WEST Virtual Experiments

DHI

14
WEST Introduction

OUTLINE
What is WEST
What is it good at
The WEST community

The WEST package


The product suite
The applications and the standard model library
The experiment types

The WEST application (rel.2014)


The main application: WEST
The Model Library
The Tools

DHI

WEST Main: miscellanea

Multiple look-and-feels

Powerful and persistent docking (of panes and sheets)


position is saved with Project

Drag-and-drop

F1 can be pressed to display help


shown by jumping to the appropriate section of CHM guide

One model Instance can support more than one Categories


CategoryRefs in BlockLib.xml (one is default)

Data Input Block can only be used for scalars


(top-level interface variable)

DHI

15
WEST Main: Options

Automatic initialisation
Maximum number of lines displayed in Logging Pane
General output format for numbers
Card- vs. Grid view for Projects in the Getting Started window
Show hidden quantities
Visualisation Interval

DHI

WEST Main: graphics

Plant layout:
orthogonal connections: for a neat layout

Input/Output Sheets:
move items (e.g. Plots) from one Sheet to the other

Layers is a Block's property: can be changed

DHI

16
WEST Main: Block Details pane

Improved functionality

New Description tab page: model description

Parameters and Variables tab pages can be


displayed as two grids within one page

In multi-select mode: common (intersection) or


all (union) parameters/variables of the selected
Blocks can be displayed

DHI

WEST Main: Block Summary pane

Manage parameter and initial values

WEST models are complex: large nr of parameters and variables.


Often, only a subset of these params and vars is actually relevant.

Certain parameters and variables can be labelled as favourite at the


level of the model library.

Favourite parameters and variables (initial state of derived state var)


can be set in the Block Summary pane more immediate than via
Block Details

DHI

17
WEST Main: Parameter Libraries

Contain named sets of full names/value pairs

Load and Store from Model Explorer pane

Sets can be generated and saved for the whole plant model, or for a
sub-model, optionally containing values of:
Parameters
Input Variables
Derived Variables:
initial or current values

Stored sets can be loaded and applied to


the whole plant model, or to a sub-model

DHI

WEST Main: Influent/Effluent Tool

Complete re-design and implementation to ensure persistency


No persistency of settings supplied by the user, in W2012
each time changes are required, the whole process of supplying
settings is to be repeated
Wizard with multiple (directional) steps Sheet with multiple tab pages
Improved consistency/integration of the graphical tool
In, Out, Variable and "1" Blocks
Parameters to be defined prior to be used (for weights)
Weights: only as expressions
Use of Properties pane: can access all properties for Blocks and connections

necessary

DHI

18
WEST Main: Project settings

Change Instance (Category) and/or Library (BlockLib.xml) within GUI


A model library Instance determines the set of Components (vector) that is
used in a plant model
Manual work-around existed in W2012 tricky
Automatic function existed in W3

Edit Defines (indices) at Project level alt create new Instance in


the BlockLib.xml
No intelligence

DHI

WEST Main: project documentation

Notes

RTF annotations: can contain formatted text, pictures and tables

Reports

Relevant pieces of information can be gathered into one document:


General project information (description, notes, simulation horizon, )
Plant Layout (image)
Selection of outputs (plots, tables) and input data (files)
Parameter values and initial conditions

Variety of formats such as RTF, PDF, HTML

Content and layout can be further enhanced, e.g. in Word

expected

DHI

19
WEST Main: miscellanea /2

Top-level interface variables


Counterpart of parameters
Allow for creation of coupled-models (no automated procedure in W2014)
Essential for Data Input Blocks

Overall objective for a simulation available in the Analysis Properties

DHI

WEST Introduction

OUTLINE
What is WEST
What is it good at
The WEST community

The WEST package


The product suite
The applications and the standard model library
The experiment types

The WEST application (rel.2014)


The main application: WEST
The Model Library
The Tools

DHI

20
Model Library: Quantity Manipulation

Situations
Block Details pane
Input Controls
Layout Connections
Top-level parameters
Top-level interface variables
Variables of Advanced Experiments
Quantities that can be modified in above situations are made coherent

DHI

Model Library: Quantity Manipulation

Offline Online
Type Fixed
manipulation manipulation
True No No
Parameter
False Yes No
Independent Variable n/a No No
True No No
Input Variable
False Yes Yes
Output Variable n/a No No
Algebraic Variable n/a No No
True No No
Derived Variable: initial
False Yes No
Derived Variable: current n/a No No

DHI

21
Model Library: new models in rel.2014

Categories
ASMG2d ASM2dMod variant for greenhouse gas emission modelling
PWM_SA plant-wide model "SA" (South Africa)

Models
Activated sludge tank, at constant DO
Surface aerator
Moving average calculator
Flow proportional sampler
ADM1-to-ASMG1 interface
IUWS set of models

DHI

Model Library: new models in rel.2014

PWM_SA

3-phase model (gas, liquid, solid) jointly developed by UCT and UKZN
(South Africa)

Combines:
Nutrient removal activated sludge model: "ASM2 modif"
Anaerobic/aerobic digestion of sewage and activated sludge: "UCT modif"
Integration within a 3-phase mixed weak acid/base chemical and physical
processes models of the inorganic carbon, ammonia, acetate, propionate
and phosphate systems

Based on strict material mass balance

long-
awaited

DHI

22
Model Library: new models in rel.2014

IUWS

Provided "as is" in W2014 = no documentation

Integrated in WfOPTIM library:


Rootfile: "iuws.msl"
Separate BlockLib.xml

IUWS Palette:
Catchment
CSO, Tank
Connector
River_input, River
River aeration, Sensor, Controller

differentiator

DHI

Model Library: new models in rel.2014

DHI

23
WEST Introduction

OUTLINE
What is WEST
What is it good at
The WEST community

The WEST package


The product suite
The applications and the standard model library
The experiment types

The WEST application (rel.2014)


The main application: WEST
The Model Library
The Tools

DHI

New Tools in rel.2014

WEST3 Projects conversion

Allows customisation of conversion rules

Allows for conversion of projects built using non-standard libraries


(so far, only available for WDCs)

DHI

24
New Tools in rel.2014

Designer

Wizard that implements common guidelines


Designing a WWTP plant is an iterative process.
Various plant layouts and parameter value sets are typically considered
in order
to satisfy the design goals imposed (such as treatment efficiency)
ATV and Metcalf & Eddy for some common plant layouts: MLE and A2O
Implementation as Modelica models (purely algebraic equations)

DHI

New Tools in rel.2014

Data Editor

Allows for opening Tornado data files and performing many typical actions:
Insert/Delete Row/Column
Change header
Copy / paste data (e.g. from Excel)
Rescale cells (x Factor + Offset)

DHI

25