ecolego 6.2

66
Ecolego 6.2 Erik Johansson Facilia AB Changes since 6.1

Upload: yosefu

Post on 24-Feb-2016

50 views

Category:

Documents


0 download

DESCRIPTION

Ecolego 6.2. Changes since 6.1. Erik Johansson Facilia AB. Outline. Modelling Results External modelling Glossary User interface Excel. Modelling. Pandimensional objects Arguments for lookup tables and expressions Halflife parameter Groups Tagging. Multidimensions. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Ecolego  6.2

Ecolego 6.2

Erik Johansson Facilia AB

Changes since 6.1

Page 2: Ecolego  6.2

Outline• Modelling• Results• External modelling• Glossary• User interface• Excel

Page 3: Ecolego  6.2

Modelling• Pandimensional objects• Arguments for lookup tables and

expressions• Halflife parameter• Groups• Tagging

Page 4: Ecolego  6.2

Multidimensions• Ecolego 4

– One dependency• Ecolego 5

– Two dependencies for parameters, expressions and lookup tables

• Ecolego 6.0– Three dependencies, one must be Scenario, for

parameters, expressions etc.• Ecolego 6.2

– Unlimited dependencies for all objects, including compartments

Page 5: Ecolego  6.2

Multidimensions• X-Y-Z?

• Bodyweight– Country– Gender– Age group– Diet

Page 6: Ecolego  6.2

Multidimensions

Page 7: Ecolego  6.2

MultidimensionsName Unit DependenciesIngestion rate kg/d Gender

FoodConcentration Bq/kg Food

Radionuclide Exposure Bq/d Gender

Food Radionuclide

Page 8: Ecolego  6.2

Multidimensions

Page 9: Ecolego  6.2

Arguments• Expressions• Lookup tables

Page 10: Ecolego  6.2

Arguments: Expressions• Expression -> ”Function”• Argument is a ”local parameter”• Typical use is for when the same equation is

written in many places• One or more arguments defined• Expression can still use other blocks

function hello( x, y ) {

}

Page 11: Ecolego  6.2

Arguments: Expressions

Page 12: Ecolego  6.2

Arguments: Expressions

Page 13: Ecolego  6.2

Arguments: ExpressionsExample (ISAM): R =

1.0+(rho*Kd)/vw

• One sub-system for every type of media (red sand, brown sand, clay etc.)

• rho, Kd, vw are unique for each type of media

• R is calculated in each sub-system

Page 14: Ecolego  6.2

Arguments: Expressions• Create (one) expression named R with three

arguments.

Page 15: Ecolego  6.2

Arguments: Expressions

Page 16: Ecolego  6.2

Arguments: Lookup tables• By default time dependent

Page 17: Ecolego  6.2

Arguments: Lookup tables• Example 1:

myFlowTable(depth)

• Example 2:precipitation(time-100)

Page 18: Ecolego  6.2

Halflife parameter• There is now a parameter named halfLife. • Syncs with radionuclide half lives• Hidden by default

Page 19: Ecolego  6.2

Groups• Sub-system used to visually group objects• ID of objects determined by their sub-

system(s):

Forest.Soil.VadoseZone.kd

• ID necessary when referring to objects outside of your sub-system

Page 20: Ecolego  6.2

Groups• ”Group” is a sub-system with only visual

properties– Does not affect the ID

• Converting between sub-system and group possible in matrix/graph/project windows

Page 21: Ecolego  6.2

Tagging• Category can be assigned to any object

– Search on category

• Only one category can be assigned

• Example: – Kd parameter is given the category

Distribution coefficients

Page 22: Ecolego  6.2

Tagging• Category ”light”. • Any number of tags can be given• Similar to Gmail’s labels

• Example: Parameter kd given tags conservative, Forsmark, SR-19

Page 23: Ecolego  6.2

Results• Exporting/importing results• Connecting to archives• Compare table

Page 24: Ecolego  6.2

Results• Archives for simulation

results possible since Ecolego 6.0

• Makes it possible to plot data from several simulations in the same chart

Page 25: Ecolego  6.2

Results • Results can now be exported to file or

imported from file

Page 26: Ecolego  6.2

Results• Lookup tables and parameters can be linked to

simulation results

Page 27: Ecolego  6.2

Results• Lookup tables and parameters can be linked to

simulation results

Page 28: Ecolego  6.2

Results• Lookup tables and parameters can be linked to

simulation results

Page 29: Ecolego  6.2

Linking to results• Results from massive models can be used as

inputs to other models• Probabilistic results can also be linked

Page 30: Ecolego  6.2

Compare table

Page 31: Ecolego  6.2

Compare table

Page 32: Ecolego  6.2

External modelling• Integrate legacy code into your model• Use 2D/3D transport models• Implement functionality that Ecolego lacks

Page 33: Ecolego  6.2

External modelling• Create ”External

model” sub-system• Create parameters or

lookup tables to be used as inputs

• Create ”External result” block for each output received.

Page 34: Ecolego  6.2

External modellingWrite adapter code which writes/sends and reads/receives data from the model

Page 35: Ecolego  6.2

External modelling• Basic Java programming skills required• Cannot ”loop back”

Soil GroundwaterGeosphereEcolego External Ecolego

Page 36: Ecolego  6.2

Glossary• List of names, full names, symbols• Can be imported/exported to Excel• Helps using same naming conventions• Makes creating new blocks faster• Useful for editing metadata for a whole project

Page 37: Ecolego  6.2

Glossary• File | Glossary

Page 38: Ecolego  6.2

Glossary: matching• Matches the name of each block in the current

project with your glossary

– Add names from your model to the glossary– Change names in your model directly– Update names in your model with names in

the glossary

Page 39: Ecolego  6.2

• Each block is given a score

Glossary: matching

No matching entry found in the glossaryFull name matchesName match if ignoring case and _Alias matchesName matchesName, full name and symbol matches

Page 40: Ecolego  6.2

Glossary: matching

Page 41: Ecolego  6.2

Glossary: matching

Page 42: Ecolego  6.2

Glossary: matching

Page 43: Ecolego  6.2

User interface• Search filters• Editing• ...

Page 44: Ecolego  6.2

User interface: search filters

Page 45: Ecolego  6.2

User interface: search filters

Blocks

Projects

Matrix

Results

Page 46: Ecolego  6.2

User interface: search filtersSub-systemType of block

NameCategory

Tags

Hide disabled

Hide invisibl

e

Hide connected

Always show

pinned

Page 47: Ecolego  6.2

User interface: search filters

Page 48: Ecolego  6.2

User interface: treats• Drag n’ drop Ecolego

project files from the desktop (to the Project window)

• Select current project from the Window menu

• Right-click on table header to hide/show columns

Page 49: Ecolego  6.2

User interface: scenarios

Page 50: Ecolego  6.2

User interface: scenarios

Page 51: Ecolego  6.2

User interface: treats• Close buttons for charts

and tables

• Symbols for connected outputs

Page 52: Ecolego  6.2

User interface: graph

Page 53: Ecolego  6.2

User interface: graph

Page 54: Ecolego  6.2

User interface: graph

Page 55: Ecolego  6.2

User interface: graphUse SHIFT key to add waypoints quickly

+

Page 56: Ecolego  6.2

User interface: editor• All editing windows have Previous and Next• Search for objects in Blocks

window• Edit the first object, then

click next, next, next…

Page 57: Ecolego  6.2

User interface: editor

Glossary

Page 58: Ecolego  6.2

User interface: editor

Functions

Page 59: Ecolego  6.2

User interface: editor

Page 60: Ecolego  6.2

User interface: editor

Page 61: Ecolego  6.2

User interface: editor

Page 62: Ecolego  6.2

User interface: editor

Page 63: Ecolego  6.2

User interface: editor

Page 64: Ecolego  6.2

User interface: solvers

Page 65: Ecolego  6.2

Excel• Ecolego 6.0

– New format for Excel files– Compatible with the parameter database– Parameters and lookup tables can be exported

• Ecolego 6.2– Any block can be exported (expressions, transfers

etc.)– Quality assure the whole model– Export options improved

Page 66: Ecolego  6.2

Excel