ControlData Properties |
The ControlData type exposes the following members.
Name | Description | |
---|---|---|
ActionTargetDescriptions |
Dictionary with sensor descriptions as value and sensor ID as key
| |
AdditionalData |
Additional data from the MIKE 1D data object. Set during initialize.
| |
BaseFilePath |
Base file path is use to find supporting files when reading control structures
For M11 setups, this points to the directory of the .nwk file
| |
BuildInVariables |
List of build-in predefined variables. Contains variables like dt If a sensor or another variable is defined with the same name, variables in this list is ignored. | |
Connection |
Holder of read/write information
(Inherited from AbstractDataAccess.) | |
ControlStateMachines |
List of controls handled by the control module.
| |
ControlUpdaters |
List of IControlFunctionTime objects, which need an explicit call
to Update(DateTime, DateTime) before it can evaluate control/function/etc.
Used during simulation. Used e.g. by control functions (functions in expressions) that depend on time (added automatically during Prepare(DateTime, IDiagnostics)). | |
CustomTypes |
List of custom types stored in the data object and that must be serialized.
(Inherited from AbstractDataAccess.)A custom type is e.g. a user implemented structure or catchment model. In order to store information on the custom type in the .m1dx file, the system needs to know which custom types are being used, and they must be added to this list. | |
ExpressionFactory |
Expression factory that must be used when creating expressions
for this control data object.
| |
ExtensionData |
Holds data from an extended DataContract
(Inherited from AbstractDataAccess.) | |
NumberOfIterations |
Number of iterations when applying the control.
Default value is 1. Only increase if there are controls depending on other controls. In case some controls depends on other controls, it can be necessary to evaluate the controls twice, such having the second control updated in the second iteration, after the first control has updated in first iteration. | |
SensorDescriptions |
Sensor descriptions, indexed by their id.
| |
Sensors |
List of sensors.
Used during simulation. All sensors in SensorDescriptions are automatically created during Initialize(Diagnostics). Sensors that are required but not part of SensorDescriptions must be added explicitly. | |
TableInfos |
Information on time series. Each time series info has their own unique ID.
| |
TimeSeriesInfos |
Information on time series. Each time series info has their own unique ID.
| |
TsBuffer |
A buffer containing all timeseries, so they can be reused as much as possible.
| |
UserFunctionFactories |
Factory for creating user functions.
All user defined functions must be added to the set of UserFunctions
or be returned by a UserFunctionFactories.
| |
UserFunctions |
User defined functions in the expression.
All user defined functions must be added to the set of UserFunctions
or be returned by a UserFunctionFactories.
| |
Variables |
List of user defined variables.
User defined variables are variables that are evaluated in every Update(DateTime, DateTime) and can be used in other expressions. The variables are evaluated in-order, if a variable "A" is used in the expression of another variable "B", then "A" must be defined before "B" in this list. |