Environmental Engineering Reference
In-Depth Information
OutputExchangeltem
Exchangeltem
InputExchangeltem
1
Quantity
LinkableComponent
getValues(link)
input
output
input
1
input
Link
ElementSet
output
output
Fig. 9.7
Simplified class diagram of LinkableComponents and Links
3. getValues
C
2. getValues
1. trigger
B
4
A
5
Fig. 9.8
Call chain of LinkableComponents. A, B and C are linkable components
call of the
LinkableComponent
method
getValues()
(step two and step three) after
which values are returned to the original caller (step four and step five).
The number of
links
between two models can vary from one up to hundreds.
A
link
describes one semantic connection concerning what variable is exchanged
between the models and where the exchange takes place (Gregersen et al. 2007). To
get any number of variables from a model, it needs to be called for each of these