User Tools

Site Tools


mass_balance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mass_balance [2021/09/27 15:21]
mina
mass_balance [2021/09/28 13:10] (current)
mina [Example: Mass balance]
Line 1: Line 1:
 ====== Mass balance ====== ====== Mass balance ======
  
-Mass balance block is used to calculate the difference between the total of inputs and outputs of a system. This block can be a very helpful tool, for testing models that contain a big number of [[Compartment|compartments]]. When the user wants to make sure that compartments inventory is not going bellow the 0 value, the "non-negative" field is selected inside the compartment. This is a useful feature of Ecolego, however, if the user is not careful, they can create systems that might have some "false positive input" (where the inventory of one compartment increases, even though it should decrease). When using this mentioned feature, it is important to write proper logical equations inside the [[Transfer|transfer]] blocks connected to these compartments, to take into account of this truncations. To make sure this is done properly, one might want to use the Mass balance block. This block can easily detect if there are any discrepancies of this sort, and show the difference from the excepted output and the actual output of the model. +Mass balance block is used to calculate the difference between the total of inputs and outputs of a system. 
-Key point in using the mass balance block is to properly define source and sink blocks of the system.+
  
 **Note:** //In versions prior to Ecolego 8, this functionality does not exist.//             **Note:** //In versions prior to Ecolego 8, this functionality does not exist.//            
Line 55: Line 54:
 **Dimension** - The dimension is specified by selecting the dropdown list named Dependencies. Here the user can select the amount of dependencies, which define the number of dimensions that are added to the block. The later appearing dropdown lists define what you want your block to be dependent on (e.g. Materials, Elements, but also custom made Index lists). **Dimension** - The dimension is specified by selecting the dropdown list named Dependencies. Here the user can select the amount of dependencies, which define the number of dimensions that are added to the block. The later appearing dropdown lists define what you want your block to be dependent on (e.g. Materials, Elements, but also custom made Index lists).
  
-===== Example: Mass balance =====+===== Example: Practical use of Mass balance block =====
  
-An example where mass balance block is very helpful, is when the user is selecting the "non-negative" option in some compartments of the modelIn this casethere could be some unrealistic flow of the matter in other compartments. Mass balance block is used to present these situations and help the user see if there are some discrepancies in the system+This block can be a very helpful tool for testing models that contain a big number of [[Compartment|compartments]] and are using the "non-negative" option. When the user wants to make sure that compartments inventory is not going bellow the 0 value, the "non-negative" field is selected inside the compartmentThis is a useful feature of Ecolegohowever, if the user is not careful, they can create systems that might have some "false positive input" (where the inventory of one compartment increases, even though it should decrease). When using this mentioned feature, it is important to write proper logical equations inside the [[Transfer|transfer]] blocks connected to these compartments, to take into account of this truncationsTo make sure this is done properly, one might want to use the Mass balance block. This block can easily detect if there are any discrepancies of this sort, and show the difference from the excepted output and the actual output of the model.
  
 ===== See also ===== ===== See also =====
mass_balance.1632748912.txt.gz · Last modified: 2021/09/27 15:21 by mina