ecolego 6.2
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 PresentationTRANSCRIPT
Ecolego 6.2
Erik Johansson Facilia AB
Changes since 6.1
Outline• Modelling• Results• External modelling• Glossary• User interface• Excel
Modelling• Pandimensional objects• Arguments for lookup tables and
expressions• Halflife parameter• Groups• Tagging
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
Multidimensions• X-Y-Z?
• Bodyweight– Country– Gender– Age group– Diet
Multidimensions
MultidimensionsName Unit DependenciesIngestion rate kg/d Gender
FoodConcentration Bq/kg Food
Radionuclide Exposure Bq/d Gender
Food Radionuclide
Multidimensions
Arguments• Expressions• Lookup tables
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 ) {
}
Arguments: Expressions
Arguments: Expressions
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
Arguments: Expressions• Create (one) expression named R with three
arguments.
Arguments: Expressions
Arguments: Lookup tables• By default time dependent
Arguments: Lookup tables• Example 1:
myFlowTable(depth)
• Example 2:precipitation(time-100)
Halflife parameter• There is now a parameter named halfLife. • Syncs with radionuclide half lives• Hidden by default
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
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
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
Tagging• Category ”light”. • Any number of tags can be given• Similar to Gmail’s labels
• Example: Parameter kd given tags conservative, Forsmark, SR-19
Results• Exporting/importing results• Connecting to archives• Compare table
Results• Archives for simulation
results possible since Ecolego 6.0
• Makes it possible to plot data from several simulations in the same chart
Results • Results can now be exported to file or
imported from file
Results• Lookup tables and parameters can be linked to
simulation results
Results• Lookup tables and parameters can be linked to
simulation results
Results• Lookup tables and parameters can be linked to
simulation results
Linking to results• Results from massive models can be used as
inputs to other models• Probabilistic results can also be linked
Compare table
Compare table
External modelling• Integrate legacy code into your model• Use 2D/3D transport models• Implement functionality that Ecolego lacks
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.
External modellingWrite adapter code which writes/sends and reads/receives data from the model
External modelling• Basic Java programming skills required• Cannot ”loop back”
Soil GroundwaterGeosphereEcolego External Ecolego
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
Glossary• File | Glossary
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
• 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
Glossary: matching
Glossary: matching
Glossary: matching
User interface• Search filters• Editing• ...
User interface: search filters
User interface: search filters
Blocks
Projects
Matrix
Results
User interface: search filtersSub-systemType of block
NameCategory
Tags
Hide disabled
Hide invisibl
e
Hide connected
Always show
pinned
User interface: search filters
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
User interface: scenarios
User interface: scenarios
User interface: treats• Close buttons for charts
and tables
• Symbols for connected outputs
User interface: graph
User interface: graph
User interface: graph
User interface: graphUse SHIFT key to add waypoints quickly
+
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…
User interface: editor
Glossary
User interface: editor
Functions
User interface: editor
User interface: editor
User interface: editor
User interface: editor
User interface: editor
User interface: solvers
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
Excel