Changes for page 3. Metering Channels
Last modified by Iaroslav Platonov on 2026/06/08 09:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -175,8 +175,54 @@ 175 175 * rr_imp - R+ readings 176 176 * rr_exp - R- readings 177 177 178 -5.3. Calculated channels via Information Model 178 +=== 5.3. Calculated channels via Information Model === 179 179 180 180 For calculation channels of the same type, it is possible to define custom formulas that operate based on Information Model objects and their attributes. In addition to tags and channels, the Information Model can also supply supplementary data (e.g., reference information). To create a template, click the create template button [[image:Screenshot 2025-11-30 at 16.36.34.png||height="27" width="26"]] as shown in Fig. 5.4. 181 181 182 - 182 +[[image:Screenshot 2025-11-30 at 16.37.01.png]] 183 + 184 +Fig. 5.4 – Creating a Formula Template 185 + 186 +[[image:Screenshot 2025-11-30 at 16.37.47.png]] 187 + 188 +Figure 5.5. Creating custom formula 189 + 190 +As shown in Fig. 5.5, the custom formula creation window requires input of the formula name, an optional identifier code, and the formula expression. An example demonstrating the calculation of losses in cable lines is provided in Fig. 5.6. 191 + 192 +[[image:Screenshot 2025-11-30 at 16.38.43.png]] 193 + 194 +Figure 5.6. Calculation formula 195 + 196 +[[image:Screenshot 2025-11-30 at 16.39.09.png]] 197 + 198 +Figure 5.7. Using calculation formula 199 + 200 +Fig. 5.7 shows the application of the calculation formula: 201 +3*IM{Object identifier IM}.r_ohm_per_km*pow(agg("mean","{line current}","{Interval}"),2)*0.001, where: 202 + 203 +* **IM{Identifier of the IM object}. r_ohm_per_km **– reference to the value of the attribute with the code **" r_ohm_per_km " "** of the information model object 204 +* **Pow **– exponentiation 205 +* **Agg **is an aggregation function 206 +* **Mean **– average value for the time interval 207 +* **{line current} **– a link to the tag ID 208 +* **{Interval} **– data interval. 209 + 210 + The braces **{ }** contain the arguments that need to be entered in the data entry fields as in Fig. 5.7. 211 + 212 +=== 5.4. Downloading/Uploading calculated channels === 213 + 214 +The** Downloading/Uploading configuration files** page (Settings > Configuration files) provides functionality for importing and exporting calculation metering channels using Excel files. 215 + 216 +[[image:Screenshot 2025-11-30 at 16.40.46.png]] 217 + 218 +Figure 5.8. Excel file 219 + 220 +Fig. 5.8 shows an example of an Excel file with calculated metering channels, which allows adding new channels, as well as adjusting existing ones. All the necessary functions for entering formulas are available in formula reference interface, as well as in Table 5.1. 221 + 222 +Table 5.1. Functions used in formulas. 223 + 224 +|Function|Description|Example 225 +|diff|Calculating increments from accrual (readings) by channel|diff([dev-2-214]) - calculation of increments from the cumulative total (readings) on channel 214 of device 2 226 +|mean|Average Time Interval|mean by the ID10001 tag for a 1-hour time interval 227 +|integral|Integral of Values|Integral by tag ID40011100 in a 1-hour time interval 228 +|first|Indication at the beginning of the interval|first([ti50206_type5], 3600, 0, 0) – calculation of readings based on the ID50206 tag at the beginning of the interval, calculated every hour
- Screenshot 2025-11-30 at 16.37.47.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.1 KB - Content
- Screenshot 2025-11-30 at 16.38.43.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.4 KB - Content
- Screenshot 2025-11-30 at 16.39.09.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.0 KB - Content
- Screenshot 2025-11-30 at 16.40.46.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +212.5 KB - Content