computational modelling of the plankton ecosystem

63
Computational Modelling of the Plankton Ecosystem Tony Field

Upload: cain-keith

Post on 02-Jan-2016

17 views

Category:

Documents


2 download

DESCRIPTION

Computational Modelling of the Plankton Ecosystem. Tony Field. Contributors. John Woods Roger Wiley Tony Field Silvana Vallerga. Wes Hinsley Matteo Sinnerchia Jeremy Cope Mohammad Raza. Angelo Maggiore Reza Adams Samir Al-Battran Massoud Aref Wolfgang Barkmann Tim Barrell - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computational Modelling of the Plankton Ecosystem

Computational Modelling of the Plankton Ecosystem

Tony Field

Page 2: Computational Modelling of the Plankton Ecosystem

Angelo Maggiore

Reza Adams

Samir Al-Battran

Massoud Aref

Wolfgang Barkmann

Tim Barrell

Alan Brice

Matt Booth

Cheng-Hua Chang

James Duggin

Lucas Partridge

Simon Smith

Kevin Stratford

Sarah Talbot

Jana Tharmaratnam

Dave Turner

Stephen Warren

Uli Wolf

 

Pak-Wing Fok

Sam Gratrix

Chris Harris

Chris Hurt

Ben Jefferys

Cheng-Chien Liu

Katrina Lythgoe

Camille Maclet

Enrique Nogueira

Darren Osborne

John WoodsRoger WileyTony FieldSilvana Vallerga

Wes HinsleyMatteo SinnerchiaJeremy CopeMohammad Raza

Contributors

Page 3: Computational Modelling of the Plankton Ecosystem
Page 4: Computational Modelling of the Plankton Ecosystem
Page 5: Computational Modelling of the Plankton Ecosystem
Page 6: Computational Modelling of the Plankton Ecosystem
Page 7: Computational Modelling of the Plankton Ecosystem
Page 8: Computational Modelling of the Plankton Ecosystem
Page 9: Computational Modelling of the Plankton Ecosystem

Goals“Improved scientific understanding”

– Stability– Climate– Toxic blooms– Disease– Fisheries– Environmental managementetc.

Page 10: Computational Modelling of the Plankton Ecosystem

Phytoplankton

• Fix atmospheric carbon via photosynthesis– Basis of the “carbon pump”– Influence atmosphere and climate

• Form the base of the food chain– Key to fisheries ‘recruitment’

• Nasty surprises– Red tides

Diatom

Page 11: Computational Modelling of the Plankton Ecosystem

Zooplankton

• Grazers– Dominant consumers of phytoplankton

• Transporters– Eat at one depth, excrete at another

• Nasty surprises– Cholera

Copepod

Page 12: Computational Modelling of the Plankton Ecosystem

Modelling the Ecosystem

• Traditionally population-based– Coupled ODEs– Each defines one continuous “compartment”

• The seminal model is Fasham’s (1990)– Compartments are Phyto, Zoo, Bact, Detritus,

Nit, Amm, DON– The “currency” is nitrogen (mmol N/m^3)…

Page 13: Computational Modelling of the Plankton Ecosystem

= Growth – Grazing – Mortality – Mixing/dilution

M

Pthm

Pk

PGPrNnNPMt

dt

dP ))((),,,,()1(

21

1

M

Zth

Zk

ZGGG

dt

dZ )(

2

22

332211

M

Bthm

Zk

ZBGU

dt

dB ))((

2

22

32

= Grazing – Predation – Dilution

= Uptake – Grazing – Mortality – Mixing/dilution

Etc.

BUT… Demography is not an artefact of nature!

Page 14: Computational Modelling of the Plankton Ecosystem

• Individual-based Models (IBMs)– Primitive phenotypic equations based on

experimental observation– Models compute individuals’ trajectories– Bio-chemical/bio-optical feedback from

individuals– Demography is an emergent property– Sound scientific basis– Demonstrably stable over a

wide range of parameterisations

Page 15: Computational Modelling of the Plankton Ecosystem

• IBMs are expensive– interactions per time step

• A compromise: Lagrangian Ensemble (LE)– Agents represent subpopulations– Interactions between agents and fields

)( 2nO

Concentration

Populationsin

i

sin

TP

Agents Ingestion

Page 16: Computational Modelling of the Plankton Ecosystem

The 1D LE Metamodel• Models a single “water column”

(mesocosm)– Horizontal correlations >> vertical

• Mesocosm advected by ocean circulation• External forcing by sun and atmosphere

– Equations for solar elevation– ERA40 data for atmosphere (from ECMWF)– Other ‘scenario’ factors, e.g. ApCO2, Fe…– Initial conditions from NOAA world ocean

atlas

Page 17: Computational Modelling of the Plankton Ecosystem
Page 18: Computational Modelling of the Plankton Ecosystem

• Cannot assume ‘homogeneity’

WindSunCloud

Mixing layer

Laminar flow

Turbocline

Temperature

Thermocline

Irradiance

Turbidity (bio-optical feedback)

Surface

+Upwelling(ignored)

Page 19: Computational Modelling of the Plankton Ecosystem

• LE Metamodel Encapsulated by the Virtual Ecology Workbench (VEW)

• Supports building of new models and archiving of old models

• End users: ecologists, students…– Configure & integrate models; analyse data…

• Model designers: biological oceanographers– Define “agent” behaviour and chemistry via

primitive equations

The “VEW”

Page 20: Computational Modelling of the Plankton Ecosystem

VEW Components• Data viewer

• Model designer

• Planktonica

• Compiler

• Species builder

• Scenario builder

• Controller

• Particle manager

• Output controller

• Run manager

• LiveSim

• VEWAnalyser

• VEWDocumenter

Page 21: Computational Modelling of the Plankton Ecosystem

• The VEW assumes a stratified virtual mesocosm…

1

2

L

3

…Physics Biology

Page 22: Computational Modelling of the Plankton Ecosystem

• Agents move between layers (by swimming, turbulence, gravity, …)

• “Visible” model ingredients…

Layer i

Irradiance

ChemistryPhysics (fixed)

vI

Temp T

Ambient concC

MLDepth

poolCingestC

uptakeCz

Other vars

User-defined, each with specified units

User-defined Cx defined automatically for each C

Globals

t timestep

Page 23: Computational Modelling of the Plankton Ecosystem
Page 24: Computational Modelling of the Plankton Ecosystem

Agents and Biodiversity• New agent types (Functional Groups, FGs)

may be defined in the VEW

• FGs may have several life cycle stages1 2 3 4

• FGs can be parameterised to define species

• Behaviour in each stage specified by rules- Each rule modifies agent’s internal state- Special functions control LE integration- Essentially a “single-assignment” language

Page 25: Computational Modelling of the Plankton Ecosystem

The Curtain “API”

• Nutrient uptake/release– uptake(c,x) – requests uptake of of

chemical c from ambient environment– release(c,x) - similarly

These affect internal and external

• Ingestion (food web)– ingest( ) – both arguments are vectors

gx

poolC concC

rV ,

Encodes agent/field interaction, nutrient budgeting, logging, emergence…

Page 26: Computational Modelling of the Plankton Ecosystem

• change(s) – changes the stage to s• pchange(p,s) – changes the stage to s with

probability p.

p

1-p

ss’

s

User view

ss’

s

Behind the curtain

Pop n

Pop mean np

Pop mean n(1-p)

• divide(m) – duplicate the agent m-fold

m

1

Pop n Pop mn

User view Behind the curtain

Page 27: Computational Modelling of the Plankton Ecosystem

• create(s,m,as) – creates m new instances of the agent, each in stage s with internal state set by list of assignments as

User view Behind the curtain

Pop n

Pop mn

Pop n

vs’

v’s

v’s

v’s

0

1

2

m

v’s

v’ = internal state set by as

vs’

vs’

vs’

Page 28: Computational Modelling of the Plankton Ecosystem

Some examples (from “WB”)Diatom energetics…

)(),)(min(

)(7.03.0

)(3600

)(

max

1

1)/(2

2

JEtEEEE

JhT

TRE

JheIrkE

Wmtt

IIII

respphoto

rLresp

IIvFphoto

a

mvmm

mv

Imported(reusable)

Page 29: Computational Modelling of the Plankton Ecosystem

Some examples (from “WB”)Diatom energetics…

)(),)(min(

)(7.03.0

)(3600

)(

max

1

1)/(2

2

JEtEEEE

JhT

TRE

JheIrkE

Wmtt

IIII

respphoto

rLresp

IIvFphoto

a

mvmm

mv

Page 30: Computational Modelling of the Plankton Ecosystem

Some examples (from “WB”)Diatom energetics…

)(),)(min(

)(7.03.0

)(3600

)(

max

1

1)/(2

2

JEtEEEE

JhT

TRE

JheIrkE

Wmtt

IIII

respphoto

rLresp

IIvFphoto

a

mvmm

mv

Page 31: Computational Modelling of the Plankton Ecosystem

Some examples (from “WB”)Diatom energetics…

)(),)(min(

)(7.03.0

)(3600

)(

max

1

1)/(2

2

JEtEEEE

JhT

TRE

JheIrkE

Wmtt

IIII

respphoto

rLresp

IIvFphoto

a

mvmm

mv

Page 32: Computational Modelling of the Plankton Ecosystem

0

50

100

150

200

250

300

350

0 4 8 12 16Time (hrs)

W/m

^2

0

10

20

30

40

50

60

Ep

ho

to (

J/h

* 1

0^

6)

IvImEphoto

Page 33: Computational Modelling of the Plankton Ecosystem

Diatom nutrient uptake…

),(then0if

),(then0if

)(,1min

)(

max

1

AtdAsuptakedN

NtdNsuptakedN

tdN

ANNs

gNhkAA

Au

kN

NudN

poolpool

conc

concA

Nconc

concN

Modifies droop ‘pools’by uptake from environment

concA

concNdN spoolNpoolA

Page 34: Computational Modelling of the Plankton Ecosystem

Death and decay…)(then0if DeadchangeE

Then, in the ‘Dead’ stage…

),(

),(

tNNNrelease

tAAArelease

poolrem

poolrem

Bacterial remineralisation(from droop pool to environment)

Diatom reproduction…

)2(then)(andif divideNANEE divpoolpooldiv

Page 35: Computational Modelling of the Plankton Ecosystem

Copepod ingestion of diatoms…

Imin

min

maxGT

grazed

grazedingest

ingestmin

kPP

PPf

Rzz

fFWP

RPR

RPPP

*

)*(

,),10max(

)(integratemin

),min(

)0elsethen*if*,(ingest

2

15

max

Prey vector Vector expression

Sums over trajectory

Function of ‘satiation’

Page 36: Computational Modelling of the Plankton Ecosystem

Copepod ageing and reproduction…

)(thenif AdultchangeGC

tAgeAge

maxpool

0

0

5.0with

R

GC

A

S

minpool

r

),(thenif nNewborncreateAgeAge

G

GCn

rep

min

maxpool

Then, when Adult…

Page 37: Computational Modelling of the Plankton Ecosystem

Some ResultsTaken from 6-year integrations at the Azores (41’N, 27’W)

Page 38: Computational Modelling of the Plankton Ecosystem
Page 39: Computational Modelling of the Plankton Ecosystem
Page 40: Computational Modelling of the Plankton Ecosystem
Page 41: Computational Modelling of the Plankton Ecosystem
Page 42: Computational Modelling of the Plankton Ecosystem
Page 43: Computational Modelling of the Plankton Ecosystem
Page 44: Computational Modelling of the Plankton Ecosystem
Page 45: Computational Modelling of the Plankton Ecosystem
Page 46: Computational Modelling of the Plankton Ecosystem
Page 47: Computational Modelling of the Plankton Ecosystem
Page 48: Computational Modelling of the Plankton Ecosystem

Concluding remarks• First attempt at LE modelling environment

– Scientifically sound basis– Stable ecosystems (=> prediction)– Results already inform scientific understanding

• BIG advantages– Robust, well engineered, domain-specific– Many really useful tools– Modular, re-usable components– Static checking (consistency, units, types…)– Good housekeeping (budgeting, emergence…)

Page 49: Computational Modelling of the Plankton Ecosystem

Q: Is “computational model” right?

A: Possibly not…– Think IBMs; LE is behind the scenes– Model food webs properly (A eats B!)– Derive interaction rates– Introduce stochastic time delays (currently

history-based)– Fix the “language”– Turbulent advection

etc.

Page 50: Computational Modelling of the Plankton Ecosystem

Warning!• Interdisciplinary projects are slippery beasts

– Avoid offering a programming ‘service’!– Stick to focused science/computing agenda

• BUT, interesting CS can emerge, e.g.Languages

Type systems

Type mutation (Fickle)

Memory management

Meshing (AFEM)

Parallelisation

Code optimisation

Radiation transport

etc.

Page 51: Computational Modelling of the Plankton Ecosystem

A Quick Tour of the VEW

Page 52: Computational Modelling of the Plankton Ecosystem
Page 53: Computational Modelling of the Plankton Ecosystem
Page 54: Computational Modelling of the Plankton Ecosystem
Page 55: Computational Modelling of the Plankton Ecosystem
Page 56: Computational Modelling of the Plankton Ecosystem
Page 57: Computational Modelling of the Plankton Ecosystem
Page 58: Computational Modelling of the Plankton Ecosystem
Page 59: Computational Modelling of the Plankton Ecosystem
Page 60: Computational Modelling of the Plankton Ecosystem
Page 61: Computational Modelling of the Plankton Ecosystem
Page 62: Computational Modelling of the Plankton Ecosystem
Page 63: Computational Modelling of the Plankton Ecosystem

• Ambient grazing/predation “rate”

If T is time to next interaction and target interactions areWhat is niITP n ,...,1),,( ?

nII ,...,1