An aggregate block will sum (or a similar operation) a selection of other blocks. The aggregate block could be mimicked by an expression block but offers the following advantages:
Consider a model with a list of materials. The materials are grouped into two different categories using sub sets.. Organic contaminants belong to the sub-set ‘organic’ wheras the metallic contaminants belong to the sub-set ‘metals’.
The expression ‘C_metal’ computes the concentration in media for the ‘metal’ sub-set. The expression ‘C_organic’ computes the concentration in media for the ‘organic’ sub-set. To create a common expression which collates these two sets of concentrations into one, create an aggregate block with the two blocks C_organic and C_metal.
From the Projects window
From the matrix window
From the Blocks window
|Note||Most block properties can be edited directly in the blocks window.|
The block editor is shown by right-clicking the block in a window and selecting Edit. In the Blocks window, you can also show the block editor by selecting the block and clicking the button, or by double-clicking the right-most “validation” column of the block.
The block editor has three tabs:
This page lets you edit basic properties such as name, sub-system and base unit. See editing properties for more information.
This page lets you select the operation to perform and on which blocks to perform it.
Dimension - You can specify the dimension of the block by using the Type drop down list. Depending on the dimension the index drop down lists are activated.
Select the blocks to aggregate. You can use the search options in the bottom section to find the blocks you are interested in.