Ecolego 6.2
description
Transcript of Ecolego 6.2
![Page 1: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/1.jpg)
Ecolego 6.2
Erik Johansson Facilia AB
Changes since 6.1
![Page 2: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/2.jpg)
Outline• Modelling• Results• External modelling• Glossary• User interface• Excel
![Page 3: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/3.jpg)
Modelling• Pandimensional objects• Arguments for lookup tables and
expressions• Halflife parameter• Groups• Tagging
![Page 4: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/5.jpg)
Multidimensions• X-Y-Z?
• Bodyweight– Country– Gender– Age group– Diet
![Page 6: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/6.jpg)
Multidimensions
![Page 7: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/7.jpg)
MultidimensionsName Unit DependenciesIngestion rate kg/d Gender
FoodConcentration Bq/kg Food
Radionuclide Exposure Bq/d Gender
Food Radionuclide
![Page 8: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/8.jpg)
Multidimensions
![Page 9: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/9.jpg)
Arguments• Expressions• Lookup tables
![Page 10: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/11.jpg)
Arguments: Expressions
![Page 12: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/12.jpg)
Arguments: Expressions
![Page 13: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/14.jpg)
Arguments: Expressions• Create (one) expression named R with three
arguments.
![Page 15: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/15.jpg)
Arguments: Expressions
![Page 16: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/16.jpg)
Arguments: Lookup tables• By default time dependent
![Page 17: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/17.jpg)
Arguments: Lookup tables• Example 1:
myFlowTable(depth)
• Example 2:precipitation(time-100)
![Page 18: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/18.jpg)
Halflife parameter• There is now a parameter named halfLife. • Syncs with radionuclide half lives• Hidden by default
![Page 19: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/19.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/20.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/23.jpg)
Results• Exporting/importing results• Connecting to archives• Compare table
![Page 24: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/24.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/25.jpg)
Results • Results can now be exported to file or
imported from file
![Page 26: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/26.jpg)
Results• Lookup tables and parameters can be linked to
simulation results
![Page 27: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/27.jpg)
Results• Lookup tables and parameters can be linked to
simulation results
![Page 28: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/28.jpg)
Results• Lookup tables and parameters can be linked to
simulation results
![Page 29: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/29.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/30.jpg)
Compare table
![Page 31: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/31.jpg)
Compare table
![Page 32: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/32.jpg)
External modelling• Integrate legacy code into your model• Use 2D/3D transport models• Implement functionality that Ecolego lacks
![Page 33: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/33.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/34.jpg)
External modellingWrite adapter code which writes/sends and reads/receives data from the model
![Page 35: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/35.jpg)
External modelling• Basic Java programming skills required• Cannot ”loop back”
Soil GroundwaterGeosphereEcolego External Ecolego
![Page 36: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/36.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/37.jpg)
Glossary• File | Glossary
![Page 38: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/38.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/39.jpg)
• 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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/40.jpg)
Glossary: matching
![Page 41: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/41.jpg)
Glossary: matching
![Page 42: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/42.jpg)
Glossary: matching
![Page 43: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/43.jpg)
User interface• Search filters• Editing• ...
![Page 44: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/44.jpg)
User interface: search filters
![Page 45: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/45.jpg)
User interface: search filters
Blocks
Projects
Matrix
Results
![Page 46: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/46.jpg)
User interface: search filtersSub-systemType of block
NameCategory
Tags
Hide disabled
Hide invisibl
e
Hide connected
Always show
pinned
![Page 47: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/47.jpg)
User interface: search filters
![Page 48: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/48.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/49.jpg)
User interface: scenarios
![Page 50: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/50.jpg)
User interface: scenarios
![Page 51: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/51.jpg)
User interface: treats• Close buttons for charts
and tables
• Symbols for connected outputs
![Page 52: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/52.jpg)
User interface: graph
![Page 53: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/53.jpg)
User interface: graph
![Page 54: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/54.jpg)
User interface: graph
![Page 55: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/55.jpg)
User interface: graphUse SHIFT key to add waypoints quickly
+
![Page 56: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/56.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/57.jpg)
User interface: editor
Glossary
![Page 58: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/58.jpg)
User interface: editor
Functions
![Page 59: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/59.jpg)
User interface: editor
![Page 60: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/60.jpg)
User interface: editor
![Page 61: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/61.jpg)
User interface: editor
![Page 62: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/62.jpg)
User interface: editor
![Page 63: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/63.jpg)
User interface: editor
![Page 64: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/64.jpg)
User interface: solvers
![Page 65: Ecolego 6.2](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/65.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081502/568165b5550346895dd8b2a5/html5/thumbnails/66.jpg)
Excel