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, 7 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -155,3 +155,80 @@ 155 155 When adjusting an already created metering channel, the **Settlement channel: editing** page opens (see Fig. 5.3). 156 156 157 157 [[image:Screenshot 2025-11-30 at 16.34.28.png]] 158 + 159 +Figure 5.3. Metering channel: editing page 160 + 161 +On the page that opens, specify the name of the channel, its ID (it is specified automatically when created, but it does not change for the existing one) and the Code (an optional field), the category of the parameter – electricity/energy resources/technology/emissions/diagnostics/time and the corresponding categories of units of measurement, the object and device to which the parameter will be linked. 162 + 163 +In the **Template** field, specify the formula for processing the values of all parameters used in the calculation. The formula can use arithmetic operations, conditions, mathematical functions that are specified in [[image:Screenshot 2025-11-30 at 16.35.23.png||height="30" width="135"]] and the following variables for power channels: 164 + 165 +* ea_imp - energy A+ 166 +* ea_exp - energy A- 167 +* er_imp - energy R+ 168 +* er_exp - energy R- 169 +* pa_imp - power A+ 170 +* pa_exp - power A- 171 +* pr_imp - R+ power 172 +* pr_exp is the power of R- 173 +* ra_imp - A+ readings 174 +* ra_exp - A- readings 175 +* rr_imp - R+ readings 176 +* rr_exp - R- readings 177 + 178 +=== 5.3. Calculated channels via Information Model === 179 + 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 + 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 229 + 230 +6. RECEIPT OF ACCOUNTING DATA 231 + 232 +The** Analysis of the receipt of data** page is the same for all types of metering. It is described in details in the "User manual 233 + 234 +
- 1764549378293-219.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +965 bytes - Content
- Screenshot 2025-11-30 at 16.36.34.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 KB - Content
- Screenshot 2025-11-30 at 16.37.01.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.6 KB - Content
- 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