SimVariable |
Top Previous Next |
Simulation variables are stored in data containers named “SimVariables”, and can be declared as objects with unique data types such as characters (CHAR), dates (DATE), numerical (DOUBLE, INT) and logical (BOOLEAN).
Numerical data arrays can also be defined as CHARARRAY, DOUBLEARRAY or INTARRAY. Data types MAP, DATEARRAY and DOUBLEMATRIX are available but only for private variables and not motivated to be used for compatibility with module exchange interfaces, for example, Crop2ML (Midingoyi et al. 2021).
SimVariables can also hold unique attributes such as their own ID, a description, minimum, maximum and default values, and unit. These are important not only for documentation purposes but for assisting automated checks during simulation runtime.
Sim Variable:
•Name
•Description
•Unit (Ontology Link)
•Min/Max
•Data Type
•Content Type
•Date last changed
•Source SimComponent
•Default Value
•Current Value
•Linking Variables can hereby be checked for
- Unit Ontology
- DataType and
- ContentType
•Setting Value cab be checked for
- DataType
- Source of Data
- Min/Max
•Debugging can be done using
- Description
- Unit Ontology
- Date last changed (same day – yesterday, …)
- Source of value