Calculations

Calculation Modules table

This table shows the C# calculation modules.

PropertyData TypeDescription
NameStringThe unique name of the calculation module.
AssemblyStringA full path to the assembly (or assemblies) or C# source file(s) that contain the calculation modules. when defining more than one assembly or source file they are separated with pipes "|". Mixing assemblies and source files is not supported.
ReferencesStringExternal assembly references needed in the compilation.

Calculation Tasks

This table shows the CalcScheduler settings of the C# calculations.

PropertyData TypeDescription
NameStringName of the calculation task.
Moduleref. CalculationModuleCalculation module to be used.
ClassStringThe name(s) of the calculation class(es) to be run by this task. More than one class can be defined by separating them with pipes "|". The classes will be run in the order they are defined.
User ParametersStringUser definable parameters that can be accessed in the calculation class using the ParameterProvider "Parameters".
DescriptionStringA description for the task.
Base TimeDateTimeThe base time is a local time stamp the periods in the calculation task are aligned to. If the basetime is not defined, the defaults value 2300-01-01 00:00:00 is used.
Period LengthUInt32Defines the temporal resolution of the calculation task and is used to determine (with Basetime) the start times and lengths of calculated periods.
Period Length UnitEnumThe time unit of the period length.
OffsetInt32Defines the period offset for the calculation task start time as a number of periods. Positive values point forward (to future) and negative values point backwards (to past).
Period CountUInt32Period Count defined the number of consecutive periods to be calculated in the calculation task.
Scheduler IdStringThe scheduler identifier of the RTDB_CalcScheduler service that handles the scheduling of this task.
Schedule Base TimeDateTimeThe base time of the calculation schedule.
Schedule IntervalUInt32The interval of the calculation schedule.
Schedule Interval UnitEnumThe time unit of the interval.
Follow Wall Clock TimeBooleanIf true, calculation schedule will follow wall clock time, instead of UTC time.
Skip missedBooleanIf true, skips missed periods when the calculation service has been turned off. If false, all missed periods will be calculated in the next calculation service start.
DisabledBooleanIf true, the task will not run when the calculation service is started.