TRIM.FaTE has the ability to add most of the links you will need to the outdoor environment based on the properties of the available algorithms. This document describes how this automatic linking is performed. In addition to the automated Smart Link feature, you may also add links manually. When you add links manually, algorithms will be automatically placed on the links as described in Determining whether Algorithms can be Placed on a Link
Table 1 specifies the algorithm properties that are used to determine whether an algorithm should be placed on a link between compartments when smart link is applied.
Table 1. Algorithm Properties used during a Smart Link
doesTransformChemical |
The algorithm transforms a chemical from one species to another |
doesTransportChemical |
The algorithm transports a chemical from one compartment to another |
sendingCompartmentCategory |
The sending compartment must have this (or a more specific) category |
receivingCompartmentCategory |
The receiving compartment must have this (or a more specific) category |
chemicalCategory |
For transport algorithms, the chemical must have this (or a more specific) category |
sendingChemicalName |
For transform algorithms, the sending chemical must have this name |
receivingChemicalName |
For transform algorithms, the receiving chemical must have this name |
compartmentRelationship |
An optional property for algorithms. This restricts whether an algorithm applies based on the spatial relationship between the sending and receiving compartments. Valid values are:
|
Background On Categories
Three of the properties used in the smart link process are "category properties". A category is used to classify objects hierarchically. The different levels of the hierarchy are separated with vertical bars ('|'). For example, a duck compartment could have a category of "bird | duck", or a surface soil compartment could have the category "soil | surface". The definition of the categories is up to the study designer. For example, a surface soil compartment could have a category of "soil | surface" or simply "Surface Soil". The important thing is that the category notation be consistent within the projects and libraries used for the study. One advantage of using a hierarchical system for the categories is that it allows algorithms to be specified at higher levels. For example, if the categories "soil | surface" and "soil | vadose" were used for surface soil and vadose soil compartments, then an algorithm that specified "soil" as the sending or receivingCompartmentCategory would apply to surface soil and vadose soil compartments. The recommended approach is to use only as much hierarchy as is useful for the system being studied.
The determination of whether an algorithm should be placed on a link is affected by whether the algorithm transports a chemical from one compartment to another or transforms a chemical from one species to anther. (Note that it is possible for an algorithm to both transform and transport a chemical.)
If the algorithm transforms a chemical from one species to another, the system will add the algorithm to links between pairs of sending / receiving compartments which meet the following criteria:
Note: Usually, the sending and receiving compartments of a link with a transform algorithm are the same compartment (i.e. the chemical is transformed within a single compartment), but this will not be the case if the algorithm both transforms and transports a chemical.
If the algorithm transports a chemical from one compartment to another, the system will add the algorithm to links between pairs of sending / receiving compartments which meet the following criteria:
For smart linking to work properly, it is important that the values of sendingCompartmentCategory and receivingCompartmentCategory for the algorithms be consistent with the values of the "category" properties for the compartments. For example, if the algorithm specifies "Air - Default" for sendingCompartmentCategory, and the Air - Default compartment specifies "Abiotic | Air - Default" as its category, then the smart link will not place the algorithm on the link between compartments. However, if the algorithm specifies "Air" for sendingCompartmentCategory, and value of the category property for the Air - Default compartment is "Air | Air - Default", then the algorithm will be placed on the link because "Air" is more general than "Air | Air - Default".
Similar care must be taken when specifying categories for chemicals. For example, if the category for the chemical "Divalent Mercury" is specified as "Metal | Mercury | Divalent Mercury", but the chemicalCategory for an algorithm is listed as "Mercury", the algorithm will not be placed on a link that uses this chemical. However, if the chemicalCategory for the algorithm is "Metal | Mercury", the algorithm will be placed on the link.
After performing the above steps for all requested volume elements, examine the biotic compartments for each volume element to see if any algorithms that could apply for compartments with its category have not yet been used on the compartment's links. Examples of algorithms that could fit this category: deer drinks from water, hawk eats fish. If any such unused algorithms exist, examine the compartments in the neighboring volume elements to see how many of them can satisfy each algorithm. If the resulting number of matching compartments in neighbors is
After performing a smart link, any warnings that occurred during the process will be shown. It is very important to carefully examine the warnings to help you determine cases for which you will need to make links manually.