This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
model_page [2023/03/10 12:19] daria |
model_page [2023/03/10 12:37] (current) daria |
||
---|---|---|---|
Line 17: | Line 17: | ||
* **Help Contents** - contains link to this page. | * **Help Contents** - contains link to this page. | ||
- | ===== The interaction matrix | + | ===== Matrix view ===== |
- | The interaction | + | The [[matrix_window|matrix |
- | + | ||
- | Large models are often divided boxes called sub-systems. A sub-system component has a thicker border, and when you move the mouse cursor over it a small plus (+) sign is displayed. When you click on the plus sign, the sub-system is expanded so you can see the components therein. | + | |
When you select items in the matrix, information about the selected items is displayed in the [[# | When you select items in the matrix, information about the selected items is displayed in the [[# | ||
+ | ===== Graph view ===== | ||
- | ==== Inserting empty cells ==== | + | The [[graph_window|graph view]] is used to visualize |
- | + | ||
- | - Select one or more diagonal cells in the matrix. | + | |
- | - Right-click the selected area and choose either **Insert above** or **Insert below**. | + | |
- | + | ||
- | ==== Deleting cells ==== | + | |
- | + | ||
- | - Select one or more cells in the matrix. | + | |
- | - Either press the DELETE-key on your keyboard, or right-click the selected area and choose **Delete** | + | |
- | + | ||
- | ==== Renaming objects ==== | + | |
- | + | ||
- | - Double-click on the object, or right click and select **Edit** from the menu that appears. | + | |
- | - A window appears which has two pages: | + | |
- | - **Properties** - Let you give a new name to the object. | + | |
- | - **Matrix** - Allows you to change the image, color and font for the object. | + | |
- | + | ||
- | ==== Moving components ==== | + | |
- | + | ||
- | - Select the component(s) you wish to move. | + | |
- | - While keeping the mouse button pressed, move the mouse cursor to the new location. | + | |
- | - When the mouse button | + | |
+ | When you select items in the graph, information about the selected items is displayed in the [[# | ||
===== Information ===== | ===== Information ===== | ||
Line 61: | Line 39: | ||
A model component is a sub-system with defined potential inputs and/or outputs. An output for one component can be connected to inputs of other components. When an input is connected to another model component, you do not need to supply values for this input. | A model component is a sub-system with defined potential inputs and/or outputs. An output for one component can be connected to inputs of other components. When an input is connected to another model component, you do not need to supply values for this input. | ||
- | |||
- | Consider the following example: | ||
- | |||
- | The library contains a set of components for creating a model of a landscape. | ||
- | |||
- | One component - //Soil// - can be used to model the turnover of contaminants in agricultural soil. | ||
- | |||
- | Another component - //Plant// - models the uptake of contaminants in a plant. | ||
- | |||
- | An assessor needs to investigate impact of release of contamination from a site on plants growing in the region. Thus, he starts by adding a //Plant// model to the interaction matrix. | ||
- | |||
- | The //Plant// model has a time dependent input for the concentration of contaminants in the soil. The assessor, however, lacks measurements for the soil concentration - he only has measurements of the release rates from the site. | ||
- | |||
- | Thus, he adds a //Soil// component. The //Soil// component has a time dependent output giving the concentration in soil as well as inputs for the contamination rate of the soil. This way the assessor can, by connecting this output to the corresponding input of //Plant//, model the concentration in soil and just enter the release rate. | ||
- | |||
- | |||
==== Setting up the library ==== | ==== Setting up the library ==== | ||
Line 93: | Line 55: | ||
- If you are asked to auto-connect inputs with outputs, read more [[# | - If you are asked to auto-connect inputs with outputs, read more [[# | ||
- | ==== Connecting components ==== | + | Consider the following example: |
- | A component can consist of many objects - parameters, time dependent lookup tables, expressions and compartments. | + | The library contains a set of components |
- | To connect two components, where the first has defined outputs and the other has defined inputs: | + | One component - //Soil// - can be used to model the turnover of contaminants in agricultural soil. |
- | < | + | Another component - //Plant// - models |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | An assessor needs to investigate impact |
- | < | + | |
- | < | + | |
- | < | + | |
+ | The //Plant// model has a time dependent input for the concentration of contaminants in the soil. The assessor, however, lacks measurements for the soil concentration - he only has measurements of the release rates from the site. | ||
- | ==== Automatic connection | + | Thus, he adds a //Soil// component. The //Soil// component has a time dependent output giving the concentration in soil as well as inputs for the contamination rate of the soil. This way the assessor can, by connecting this output to the corresponding input of //Plant//, model the concentration in soil and just enter the release rate. |
+ | |||
+ | |||
+ | |||
+ | ==== Connecting components | ||
+ | |||
+ | A component can consist of many objects - parameters, time dependent lookup tables, expressions and compartments. The model creator can define some of these to be (potential) inputs, and some to be (potential) outputs. This means that if you lack the data for a specific input, you can use another component to calculate it for you. | ||
+ | For connecting of components are used [[Connector|connectors]]. | ||
- | If you add a new component to the matrix, and there are already components in the matrix, you might be asked if you want to automatically connect the inputs of the new component to outputs of existing components. This happens when: | ||
- | - There are outputs with the same name as the inputs in the new component. | + | ===== Relationships ===== |
- | - The model creator has allowed automatic connection for the inputs/ | + | |
- | Note that automatic connection will only connect the inputs/ | + | Shows [[relationships_window|relationship window]]. Is used for better understandig of model and interaction between model components. |
===== References ===== | ===== References ===== |