Non-real-time testing and simulation - how to use the “warp clock” ¶ What is the “warp clock”? ¶ Many actuators, aggregates, or algorithms in the building automation field are related to time. Most of them tend to have long time constants, low sampling rates, and other “slow” behaviors. Therefore, real-time testing and simulation is not a good solution. As a library or application developer, it’s best to have control on the time axis if needed - for testing or simulation. The WarpClock provides such a control on the time axis. It allows for the following: Run the clock in real time UTC Run the clock with a given “warp” factor Start at a specific start time - regardless whether UTC or local Reset time to a specific (start) time Step forward in time by a given increment How to use the “warp clock”? ¶ Function blocks in the CODESYS Building Automation library related to time always provide an itfDateTimeProvider input, by default connected to a time provider running in real time (implementing Util.IDateTimeProvider). To do non-real-time testing or a simulation, connect itfDateTimeProvider to a WarpClock instead, and take over control on the time axis by using the WarpClock features.
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. Net Base Services ¶ Library Identification ¶ Placeholder: NetBaseSrv Default Resolution: Net Base Services, * (3S - Smart Software Solutions GmbH) Namespace: NBS Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: NetBaseSrv
Enums ¶ AutoOnOff (Enum) EnergyLevel (Enum) Error (Enum) HeatCoolOperationMode (Enum) ServiceIndication (Enum)
AutoOnOff (ENUM) ¶ TYPE AutoOnOff : Enumeration to be used to switch on / off aggregates / plants. Attributes: qualified_only InOut: Name Initial Auto -1 OFF 0 ON 1
RSM Utility Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : RSM Utility Version : 3.5.19.30 Categories : Intern|CAA|System Namespace : RSU Author : 3S - Smart Software Solutions GmbH Placeholder : RSMUtility Description [ 1 ] ¶ Implements function blocks for MBM.HANDLE management support Contents: ¶ Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) RSM Utility Enums Function Blocks Globals Interfaces Structs Types Indices and tables ¶ [ 1 ] Based on RSM Utility.library, last modified 22.09.2023, 10:42:31. LibDoc 4.4.0.0-b.37 The content file RSM Utility.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 22.09.2023, 10:42:33.
EnergyLevel (ENUM) ¶ TYPE EnergyLevel : Energy level Attributes: qualified_only InOut: Name Initial Comment UNUSED -1 Unused PROTECTION 0 Building protection ECONOMY 1 Economy PRE_COMFORT 2 Pre-comfort COMFORT 3 Comfort
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
Levels of building automation application development ¶ To have a rough scale of complexity and support focused communication, we use the following scale of application development in the building automation field: Level Elements Examples 6 Multi-plant optimization and control strategies 5 Complete plants Single room automation 4 Complex aggregates Air conditioning, cogeneration (CHP), absorption refrigeration 3 Simple aggregates Fan coil, heat pump Complex control strategies Load / unload control of thermally activated components, h,x-controlled 2 Complex actuators Dual pump (redundant / parallel) Computation of physics Enthalpy, cooling limit temperature Control algorithm PID, characteristic map controllers, adaptive controllers 1 Sensors Combined temperature / humidity sensor Simple actuators Continuous valve Simple algorithm Command execution monitoring