Upload
bronwyn-hill
View
17
Download
0
Embed Size (px)
DESCRIPTION
TOWARDS A GENERIC MODEL LIBRARY. Jean-Luc de Kok Flemish Institute for Technological Research (VITO). Outline Introduction: state of affairs Why a generic model library ? What is a generic model library ? Requirements of generic MBBs SSA Extend models: what do have so far? - PowerPoint PPT Presentation
Citation preview
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:25
1 - 96
Jean-Luc de Kok
Flemish Institute for Technological Research (VITO)
TOWARDS A GENERIC MODEL LIBRARY
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
2 - 96
Outline Introduction: state of affairs
Why a generic model library ?
What is a generic model library ?
Requirements of generic MBBs
SSA Extend models: what do have so far?
Designing the library: steps to take
The Online Data Portal: ready for testing
Data management
Extend-PCraster interface: a quick outlook
Appraisal Step
Discussion
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
3 - 96
Introduction
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
4 - 96
Situation Feb 2009:
based on SR and review of Extend models :
14 working Extend models covering range of topics
- eutrophication / waterquality (9)
- fisheries / shell species (4)
- hydrology (4)
- tourism (3)
- economics / social dimension (4)
4 sites with custom libraries, 6 use H blocks, 6 do not , 2 use a mix
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
5 - 96
Note 1:
Science can (at least for some time) do
without a model library, but a good model
library cannot do without science
That’s why the design of the library is a joint
task for the SSAs and supporting WPs
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
6 - 96
Note 2:
Model review is technically oriented, and not
meant to critisize the scientific quality
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
7 - 96
Why a generic model library ?
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
8 - 96
Several advantages:
easier to build & expand your models
easier to maintain your models
easier to exchange (parts of) models with colleagues
creating next generation models (post Spicosa)
knowledge management in a practical format
iterative model improvement rather than “reinventing the wheel over and over again ...”
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
9 - 96
What is a generic model library ?
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
10 - 96
Collection of reusable model components:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
11 - 96
SYSTEM
SUB SYSTEM
DISCIPLINARY MODEL
STATE VARIABLE
PROCESS
OPERATORS, MATHEMATICAL FUNCTIONS, PRIMITIVES
systemmodel
environmentalmodel
economicmodel
hydrologic model
ecologic model
state variableNitrogen
state variablePlankton
processdenitrification
processmineralisation
output &indicators
SPICOSAtoolboxLibrary
SPICOSAmodelblocksLibrary
more unique/less generic systems
fishgrowth
returnon
investment
run offmodule
RK4integrate
Areaplotter
1Dadvection
1Ddiffusion
PCRASTERinterface
ExtendSimvalue Library
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:26
12 - 96
What should be in the model and
what not to make it generic ?
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
13 - 96
initial velocity Vy
at t = 0
Vx
gravitational accelation
g
initial position at t = 0
(x,y)0
Example: ballistic bullet trajectory
bullet mass
M
position at time t
(x,y)t ?
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
14 - 96
Model block BulletTrajectoryOnEarth :
Outside model: mass M
initial position
initial velocity
Inside model: gravitational acceleration
(universal, model-specific constant)
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
15 - 96
Model block BulletTrajectoryInUniverse :Outside model: mass M
initial position
initial velocity
gravitational acceleration
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
16 - 96
Conclusions:
1. The more specific a model is the more
is inside it
2. More generic models receive more data from outside
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
17 - 96
Rules of thumb:
time-dependent input variable: you must use
an in-connector
changeable constants: you can use an in-connector or DBread block
model-specific information: place inside model but make sure you document it
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
18 - 96
Requirements for reusable
model components or MBBs
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
19 - 96
reusable in other simulation studies and Extend models
complementary like jigsaw puzzle pieces
self-explaining and well documented (not only in report)
encapsulated, i.e. implementation is hidden
easy to adapt, expand and maintain
manageable in size
constructed following guidelines of Model Delivery System
robust and reliable (i.e. tested for e.g. fool proofness)
scientific maturity
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
20 - 96
Typical examples of reusable MBB: standard Extend blocks
clear function – limited nr of connectors - reusable
Plotter block Data fitter block
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
21 - 96
Swaney, D.P., Scavia, D., Howarth, R.W., Marino, R.M. (2008) Estuarine classification and response to nitrogen loading: Insights from simple ecological models.
Estuarine Coastal and Shelf Science 77, 253 - 263.
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
22 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:27
23 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
24 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
25 - 96
+ : clear function, limited nr of connectors
- : some changeable parameters in holding tanks
remark: model could allow for variable nr of age classes
note: im- and exporting data slows down your simulation !
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
26 - 96
changeable parameters better read from database
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
27 - 96
typical example of reuse of a block in a model
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
28 - 96
+: limited number of connectors, clear function
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
29 - 96
here
documentation
could be added
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
30 - 96
-: DB table names
not generic
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
31 - 96
SSA Extend models
What material do we have
already to design the MBBs?
-
Some examples
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
32 - 96
Catch-effort relationship:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
33 - 96
Two-layer circulation
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
34 - 96
Fisheries income:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
35 - 96
Box model for solving 1D advection-diffusion equation:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:28
36 - 96
Beach attractiveness:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
37 - 96
Eutrophication:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
38 - 96
Estuarine dispersal of N:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
39 - 96
For a tentative list of candidate MBBs: see D8.8 – Appendix A
Please check/complete yourself
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
40 - 96
How to do it ?
Deriving the generic MBBs
from your Extend models
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
41 - 96
STEP1 Identification ofmodel building
blocksIs the information reusable?
STEP2 Remove model specificparameters and data
Is the block manageablein size?
STEP3 Construct the block
Is the block self explaining?
STEP4 Implement the block
Is the block workingat all times?
Use your model to identify model blocksUse duplicated model patterns to identify model blocksDefine functions of the blocks based on state variables
Put all parameters in the dialogUse connectors for input and output data
Separate data and model
Limit the number of connectors and user defined parameters
Encode in ModL or group generic extend blocks in a H-blockPay special attention to full documentation of the block
Use the guidelines in deliverable D8.4 & D8.8
Testing, testing, testing
Organize sessions with “foolish” test users
yes
yes
yes
no
no
no
no
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
42 - 96
Creating a new library : manual p. 494
Note: do not use the name of an existing Extend library
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
43 - 96
Suggestion to work with five sublibraries:
economic processes (income, profit etc)
ecological processes (bacterial growth, fish pop dyn)
social & policy processes (attractiveness, policy acceptance etc)
physical processes (diffusion, circulation etc)
non-domain specific tools (integration, regression etc)
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
44 - 96
General design recommendations: start with the function of the block: what should it do?
ask yourself: can someone else redesign my model?
limit number of connectors
remove changeable parameters from model
document the block: use the help functionality
separate data and model as much as possible;
use connectors and Extend Database functionality
for details see D8.8
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
45 - 96
Extend gives you several ways
to design your model:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
46 - 96
1. Hierarchical or H blocks: can be placed in a library:
fishes/year :
1-group/year :
0-group/year : 0
0
Recruitment:
habitat
g1R
spaw.
T=
km :2 6.7781
g1
fishes
fishes
2-10groups
fishes/year :
Delta pop. : 0
Fishes
kgs
mass/group (0=>10)
fishes/group (0=>10)
See Extend manual, page 540 ff.
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
47 - 96
Creating a new H block : manual p. 543
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
48 - 96
... or selecting part of your model and making it a H block :
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:29
49 - 96
Opening the structure window (double click + Alt key) you can further design the H block (see page 540 ff):
here more
info could be
added
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
50 - 96
After making changes and closing the structure window
Extend will ask how you want to save the H block, for example
in a library or only in your model:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
51 - 96
2. Custom blocks in ModL code: can be placed in a library
NITROGENPRODUCTION
NITROGENPROCESSING
& TRANSPORT COSTS
FARMINGSTATUS
feedback nr farms
feedback area per farm
See Extend manual, page 763 ff.
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
52 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
53 - 96
advantage: custom-designed user dialogs possible
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
54 - 96
3. Single-layer design: intuitive, complete model appears, but cannot be placed in a library (directly):
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
55 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
56 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:30
57 - 96
4. Using equation boxes :
See Extend manual
p. 68-69, & 601 ff.
note: you can use the comment tab to add info
access to Extend database
possible
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
58 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
59 - 96
Online Data Portal
-
Model Library
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
60 - 96
http://www.spicosa.eu
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
61 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
62 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
63 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
64 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
65 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
66 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
67 - 96
For instructions:
see report D9.12 on ftp site (appearing soon)
a detailed manual is in preparation
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
68 - 96
Generic data management :
use the Extend Data Base
functionality
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:31
69 - 96
database
level
single column
format for quick
query of data
table
level
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
70 - 96
1 Creating a new Extend database
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
71 - 96
2 Choosing DB name
3 Adding DB table
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
72 - 96
4 Naming DB table 5 Opening DB table viewer
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
73 - 96
6 Appending fields (columns)
by double clikcing the records column
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
74 - 96
7 Defining the field format
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
75 - 96
8 Appending records (rows)
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
76 - 96
9 Filling the record with data
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
77 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
78 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
79 - 96
9 Exporting an Extend database to a txt file
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
80 - 96
Three different ways to access (massive) data
stored in an Extend database
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
81 - 96
1. By means of the Extend DB reading blocks from the value library:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:32
82 - 96
2. By means of the function DBDataGetAsNumber in an equation block:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
83 - 96
3. By means of DBreading function in a custom-designed block:
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
84 - 96
Appraisal Step
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
85 - 96
General purpose:
linking science to policy:
how does CZ system respond to policy?
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
86 - 96
Appraisal
Linking up the System
Model for Scenario
Assessments
Qualitative Assessments
& Interpretations
Preparation of
Results for Outputs
ESE Assessments
CZ System Model Construction
CZ System Formulations
Quantitative Qualitative
1. Inputs Data &
Key Processes
2. Process & Functional
Component Models
4. ESE
Assessment Plans
3. ESE Models
& Documentation
Formulation
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
87 - 96
PrepareESE Models
Interpret ESE Model Results
Run ScenarioSimulations
Construct Simulation Model
Generate Special Products
ESE Models +Scenarios
Complete Interpretive Analyses
Appraisal Sequence Trajectories
5.1
5.2
5.3
Data Archive
Science Report
Model Library
InterpretiveAnalysis Plan
WP4 WP4
WP6 WP9 WP8
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
88 - 96
Typical problem when linking the
ESE components:
how to combine different time steps ?
several solutions
recommendation: use smallest time step
(see page 83 of Extend manual)
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
89 - 96
The Extend – PCRaster interface :
a quick outlook
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
90 - 96
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
91 - 96
How will it work ? Level 3 interface by means of
custom-designed Extend block PCRstep:
1. Extend writes data for PCRaster to txt file
2. Extend writes lockfile (to keep it from running)
3. Extend starts PCRaster
4. PCRaster runs, writes data for use by Extend.
5. PCRaster removes lockfile
6. Extend continues
7. Model goes to step 1
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
92 - 96
Extend interface block PCR Step :
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
93 - 96
When will it be available?
demo of first version during next SAF meeting mid June
calibrated version + PCRaster workshop for sites that are ready by the end of 2009
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
94 - 96
Workshop schedule:
following break-out groups to discuss model-specific
issues related to the library design and review
Group A: SSAs .....
Group B: SSAs ....
Group C: SSA
........
Cluster Workshop Amsterdam- KobenhåvnFebruary 17-20, 2009
Science and Policy Integration for COastal System Assessment
01:44:33
95 - 96
In summary:
restructure your Extend models
define the function of reusable blocks
pay attention to data management + documentation
implement selection of model as hierarchical H block
save in custom Extend library (see page 547 of manual)
delivery to Data Portal (follow guidelines of WP9)