View-based Development of a Simulation Framework for - - PowerPoint PPT Presentation

view based development of
SMART_READER_LITE
LIVE PREVIEW

View-based Development of a Simulation Framework for - - PowerPoint PPT Presentation

View-based Development of a Simulation Framework for Multi-Disciplinary Environmental Modelling Rolf Hennicker, Matthias Ludwig Ludwig-Maximilians-Universitt Mnchen The GLOWA-Danube Project (2000-2010) Integrative Techniques, Scenarios


slide-1
SLIDE 1

View-based Development of a Simulation Framework for Multi-Disciplinary Environmental Modelling

Rolf Hennicker, Matthias Ludwig

Ludwig-Maximilians-Universität München

slide-2
SLIDE 2

The GLOWA-Danube Project (2000-2010)

2

  • Hydrology
  • Plant Ecology
  • Glaciology
  • Meteorology
  • Groundwater
  • Surface Water
  • Environmental Psychology
  • Environmental Economy
  • Tourism Research
  • Water Supply
  • Agricultural Economics

Social Sciences Natural Sciences Upper Danube Basin:

  • Area: 77.000 km²
  • Population: 8.2 Mio.
  • Elevation Gradient: 3300 m

+ Informatics Integrative Techniques, Scenarios and Strategies for the Future of Water in the Upper Danube Basin

slide-3
SLIDE 3

An impression from the Danube Catchement

slide-4
SLIDE 4

Mutually Dependent Processes

4

  • “Stand-alone” modelling of the single processes is not sufficient
  • An integrative view is needed → system of coupled simulation models
slide-5
SLIDE 5

Goal

  • Platform for integrative simulations with coupled

models from various disciplines

  • Approach: Generic Simulation Framework

5

slide-6
SLIDE 6

Generic Framework for Coupled Simulations

  • Extract common properties and rules which hold for all simulation models and

implement them in a general, abstract template.

  • The model developer must only implement the open pieces of the template

(according to his/her domain).

Framework Ideas Framework Architecture

Framework Core Developer Interface

(“plug points” for model developers) (runtime environment for configuration and coordination)

Coupled Simulation Models

Integrative Simulation System (e.g. DANUBIA)

slide-7
SLIDE 7

Development Principles

7

  • Different abstraction levels and refinement
  • Modeling with the Unified Modeling Language (UML)
  • Formal Methods

– Object Constraint Language (OCL) – Process algebra FSP (Finite State Processes) [Magee, Kramer]

  • Separation of concerns
slide-8
SLIDE 8

8

Oberflächengew. Grundwasser Politik Glaziologie Hydrologie/ Fernerkundung Psychologie Tourismus Meteorologie Pflanzenökol. Ökonomie

Grundwasserneubildung mit Stickstoffgehalt [d] Grundwasserstand, Stickstoff im GW [d] Schnee- bedeckung [d] Schneebedeckung, Abfluss aus Schnee- und Eisflächen [h] Verdunstung, Albedo, Landnutzung [h] Verdunstung, Bodenfeuchte, Albedo, Oberflächentemperatur [h] Lufttemperatur, Wind, Feuchte, Niederschlag, Strahlung [h] Wasserstand, Abfluss, N im Flusswasser [h] Laterale Zuflüsse mit Stickstoffgehalt [h] LAI, Vegetationshöhe, Wurzeltiefe, Nmin-Boden [d] Landnutzung, Transpiration, Albedo, Bodenfeuchte [h] Politische Rahmenbedingungen [a] In-/Exfiltrationsraten Stickstoff im GW [mon] Brauchwassermenge, Nutzungsart [d] Wassermenge, Wasserqualität [h] Aktuelle Landnutzung

  • Prognost. Landnutzung und

Bewirtschaftung [a] Wasserstand, Abfluss, N im Flusswasser [d] Düngemittel Import/Export [a] Produktion in Land- und Forstwirtschaft [a] Grundwasserentnahme und Qualität [d] Trinkwasserbedarf und benötigte Qualität [d] Tourismusart [mon] Subjektive Risikoeinschätzung, Akzeptanz der Wasserqualität [a] Wasserpreise [a] Nachfrage, Zahlungs- bereitschaft [a] Akzeptanz der politischen Bedingungen [a] Angebotsfunk- tion, Preise [a] Nachfrage, Zahlungs- bereitschaft [mon] Kosten der Wasser- aufbereitung [a]

  • Pol. Programme

und Ökologie Daten zu Raumordnungs- regionen [a] Politische Rahmen- bedingungen [a] Akzeptanz der politischen Bedingungen [a]

slide-9
SLIDE 9

Functional Views of the Framework

  • Data exchange (at runtime)
  • Simulation space
  • Simulation time and coordination

9

slide-10
SLIDE 10

Outline

  • Introduction
  • View-based Framework Development
  • Framework Instantiation
  • Conclusion

10

slide-11
SLIDE 11

View-based Framework Development

11

slide-12
SLIDE 12

Base

12

Requirements Design

slide-13
SLIDE 13

Simulation Space

Requirement (1) A simulation space consists of a set of ”proxels” (process pixels).

13

Example:

context Simulation inv: self.models−>forAll (m | m.proxels.pid −>asSet() = self.area.proxels.pid −>asSet()

Invariant Requirement (2)

All simulation models, participating in an integrative simulation, agree on the simulation space.

slide-14
SLIDE 14

Design Model (Space)

14

slide-15
SLIDE 15

View-based Framework Development

15

slide-16
SLIDE 16

Life Cycle of Simulation Models

16

  • begin
  • end
  • timeStep
slide-17
SLIDE 17

The Coordination Problem

Each simulation model

  • has an individual time step,
  • must be supplied with valid data

according to its local model time

17

const simStart = 0 const simEnd = 6 range Time = simStart..simEnd property VALIDDATA(User, StepUser, Prov, StepProv) = VD[simStart][simStart], VD[nextGet:Time][nextProv:Time] = // no obsolete data (when (nextGet<nextProv) [User].get[nextGet] -> VD[nextGet+StepUser][nextProv] // no overwritten data |when not(nextGet<nextProv) [Prov].prov[nextProv] -> VD[nextGet][nextProv+StepProv]).

Specification with FSP [Magee, Kramer]

slide-18
SLIDE 18

Labelled Transition System

VALIDDATA(User=1, StepUser=2, Prov=2, StepProv=3)

slide-19
SLIDE 19

FSP-Design Model

19

Timecontroller Model1 Modeln ...

slide-20
SLIDE 20

From UML to FSP and back

20

UML-Requirements Model FSP-Requirements Spec UML-Design Model FSP-Design Model

Formal Correctness Proof

slide-21
SLIDE 21

UML-Design Model

21

slide-22
SLIDE 22

View Integration

22

slide-23
SLIDE 23

Component-based Architecture

23

slide-24
SLIDE 24

Outline

  • Introduction
  • View-based Framework Development
  • Framework Instantiation
  • Conclusion

24

slide-25
SLIDE 25

Framework Instantiation

Framework Core Developer Interface Groundwater Model

25

slide-26
SLIDE 26

GLOWA-Danube

26

Integrative Simulation System DANUBIA (Various configurations of up to 18 models)

slide-27
SLIDE 27

Climate and Society Scenarios

27

Integrative Simulation Evaluation of results, Discussion with Stakeholders

slide-28
SLIDE 28

Results for the Upper Danube Basin: 2011 - 2060

  • Used Climate Scenario (IPCC):

temperature increase 3.3°C – 5.2°C between 1990 and 2090

  • Trends for precipitation:

More rainfall in winter, less in summer, moderate decrease all over the year

  • Consequences:
  • Expected reduction of water power production (between 10 % – 16%)
  • Possible restrictions for ship traffic in summer due to low water levels
  • 30 – 60 days less snow cover per year in lower alpine regions (due to temperature

increase) but possible improvements in high-level alpine regions

  • Less winter tourism but moderate increase of summer tourism
  • Further results
  • Less private water use expected (around 20%) due to changing behaviours and

new technologies (for saving water)

  • Shortage of drinking water not expected, but the need for temporary adaptation

strategies of water suppliers is likely (e.g. more cooperation and networks)

  • (Almost) all glaciers in the Upper Danube catchment will vanish until 2045

28

slide-29
SLIDE 29

Characteristics of the Framework

  • Data exchange at runtime
  • Parallel execution of dependent models
  • Other approaches

– OpenMI: Sequential execution of dependent models – Object Modeling System (OMS): Parallel execution of independent models – ModCom: no parallel execution

29

slide-30
SLIDE 30

Conclusion

30

  • View-based development helped to overcome problems with system

complexity; should be applicable to other types of systems as well!

  • The framework is generic and can be applied to any kind of (environmental)

simulation model supporting:

  • loose coupling with data exchange via interfaces,
  • simulation spaces organised by proxels (of arbitrary size),
  • discrete time steps (of arbitrary length).
  • Role of Informatics in multi-disciplinary projects:

Well-known methods of Informatics like abstraction, structuring, and separation of concerns can be very useful for conceptual integration.

  • Open DANUBIA  www.glowa-danube.de