{"id":3808,"date":"2026-11-04T13:00:00","date_gmt":"2026-11-04T05:00:00","guid":{"rendered":"https:\/\/cnbygele.com\/?p=3808"},"modified":"2026-11-03T19:13:15","modified_gmt":"2026-11-03T11:13:15","slug":"meter-duplicate-energy-records","status":"publish","type":"post","link":"https:\/\/cnbygele.com\/id\/blog\/meter-duplicate-energy-records\/","title":{"rendered":"Duplikasi Catatan Meter Energi: Rekonsiliasi Interval Tanpa Penghitungan Ganda"},"content":{"rendered":"<p>Duplicate energy meter interval records should be reconciled by measurement identity and interval meaning before any rows are removed. Two identical timestamps can represent an exact replay, a corrected observation, different physical meters, or overlapping collection paths. Preserve the original records, define a complete comparison key, separate identical replays from conflicting values, and retain a decision trail. Never sum duplicated interval energy or delete apparently repeated rows solely because their displayed clock time matches.<\/p>\n<p>This procedure applies to external collection, database and reporting systems. It does not assume that a particular panel meter stores interval history or performs deduplication internally. Establish what the supplied instrument and collection software actually provide before designing acceptance rules.<\/p>\n<h2>Identify what each record represents<\/h2>\n<p>Start with the quantity. Interval energy describes energy accumulated over a stated period; cumulative energy is a running counter; instantaneous power describes a rate at a measurement instant. These require different processing. Repeated cumulative counter values may be perfectly valid during a quiet period. Two equal interval values may also be legitimate observations of similar load in consecutive intervals.<\/p>\n<p>Define the physical meter, measurement point, quantity, direction, unit, interval start, interval end and quality state. Keep collection time separate from measurement time. A gateway may upload yesterday&#8217;s measurements today after a connection recovers. The late arrival alone does not make the observations new energy, incorrect data or a duplicate of today&#8217;s readings.<\/p>\n<p>The <a href=\"https:\/\/www.energy.gov\/sites\/default\/files\/2022-10\/federal-metering-guidance-2022.pdf\" rel=\"noopener nofollow\" target=\"_blank\">Department of Energy metering guidance<\/a> discusses metering, data management and the use of energy information. It supplies context for preserving useful measurement evidence, rather than a universal database deletion rule. The duplicate decision below must be documented for the specific reporting system.<\/p>\n<h2>Preserve raw evidence before changing a report<\/h2>\n<p>Keep the original files or received messages unchanged in an access-controlled location appropriate to the site. Record source system, arrival time, file identity and import batch. Give each stored row its own traceable record identifier even when several rows refer to the same measurement interval. This separates evidence preservation from selection of the record used in reporting.<\/p>\n<p>Do not edit a production month while diagnosing the issue. Make a staging copy, reproduce the repeated records there, and compare outputs before and after applying the proposed rule. Keep enough information to restore the previous accepted report if the interpretation later changes. A tidy table without the original conflicting evidence can make the next investigation harder.<\/p>\n<p><a href=\"https:\/\/nvlpubs.nist.gov\/nistpubs\/SpecialPublications\/NIST.SP.800-82r3.pdf\" rel=\"noopener nofollow\" target=\"_blank\">NIST&#8217;s OT security guidance<\/a> provides the wider basis for controlled changes, integrity and operational records. It does not prescribe a preferred duplicate key for every energy platform. Use its lifecycle principles while retaining the metering meaning defined by your own system.<\/p>\n<p><figure><img decoding=\"async\" alt=\"Duplicate Energy Meter Records review with reference BY194 meter and external inspection worksheet\" class=\"wp-image-3806\" height=\"1024\" loading=\"lazy\" src=\"https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103.png\" style=\"max-width:100%;height:auto\" width=\"1536\" srcset=\"https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103.png 1536w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103-300x200.png 300w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103-1024x683.png 1024w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103-768x512.png 768w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103-18x12.png 18w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-inspection-20261103-600x400.png 600w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><figcaption>Reference-based illustration of a disconnected BY194 front beside external duplicate energy meter records review materials. Documents and symbols illustrate a workflow; they do not establish installed product functions.<\/figcaption><\/figure>\n<\/p>\n<h2>Define a comparison key that preserves boundaries<\/h2>\n<p>A useful logical comparison key might include physical asset identity, measurement point, quantity, flow direction, interval boundaries and configuration version. The actual key depends on the source schema. Timestamp plus meter display name is often inadequate: names can be reused, and a replacement instrument may occupy the same network address as its predecessor.<\/p>\n<p>For example, a retired meter and its replacement might both report <code>Panel-A<\/code> during a changeover. Deleting one series because the names and timestamps match could erase real evidence. Use the <a href=\"https:\/\/cnbygele.com\/blog\/meter-asset-identity-reconciliation\/\">meter asset identity reconciliation workflow<\/a> to establish which physical instrument owns each segment before deciding whether the streams overlap.<\/p>\n<p>Normalize comparison fields through documented transformations while retaining raw values. Equivalent units and timezone representations can make identical observations look different. Conversely, two records that display the same local time can refer to different UTC instants. <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc3339\" rel=\"noopener nofollow\" target=\"_blank\">RFC 3339<\/a> explains explicit timestamp offsets; it does not determine whether a source labels interval starts or ends.<\/p>\n<h2>Classify repeats before choosing an action<\/h2>\n<p>Use separate categories for exact replay, conflicting revision, legitimate parallel measurement and partially overlapping intervals. An exact replay has the same defined measurement identity, interval, value, unit and relevant quality metadata. A conflicting revision shares the intended measurement slot but changes one of the fields that matter to acceptance. Treat a source revision marker according to its documented meaning rather than assuming it is trustworthy by its name alone.<\/p>\n<div style=\"overflow-x:auto;max-width:100%\">\n<table style=\"border-collapse:collapse;width:100%;min-width:560px\">\n<thead>\n<tr>\n<th style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Observation<\/th>\n<th style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Possible meaning<\/th>\n<th style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Controlled response<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same key, value and quality<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Replayed import or retransmission<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Retain raw rows; select one reporting observation<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same key, different value<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Correction, decoding error or conflict<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Quarantine the conflict for a defined resolution<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same clock time, different asset<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Independent measurement<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Preserve both unless boundary reconciliation proves overlap<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same asset, different intervals<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Different aggregation windows<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Compare coverage before combining quantities<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same value, consecutive intervals<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Stable operating demand<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Keep both valid observations<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Same interval, different quality<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Revised evidence state<\/td>\n<td style=\"border:1px solid #d1d5db;padding:10px;text-align:left;vertical-align:top\">Apply the approved quality precedence rule<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The table is a review framework, not a rule to overwrite an existing historian automatically. Record which fields are included in equality and which metadata can change without changing the underlying observation.<\/p>\n<h2>Work through a small energy example<\/h2>\n<p>Suppose a file contains interval energies of 4, 5 and 6 kWh for three consecutive intervals. A connection recovery replays the second interval with the same complete identity, value and quality. Adding all four rows produces 20 kWh, whereas the three selected observations total 15 kWh. In this illustrative example, the replay should not add another 5 kWh to the report.<\/p>\n<p>Now suppose the repeated second interval contains 5.2 kWh instead. The accepted total could become 15.2 kWh only if the source&#8217;s correction process and review evidence justify replacing 5 with 5.2. A larger record identifier or later arrival is not sufficient evidence by itself. Keep both original observations and identify which one was accepted, by whom and under which rule.<\/p>\n<p>Do not apply that example to cumulative counters by summing repeated readings. A running counter requires differences between suitable successive observations, with separate treatment of resets and rollover. See <a href=\"https:\/\/cnbygele.com\/blog\/meter-counter-reset-audit\/\">counter reset audit records<\/a> when a discontinuity follows an authorized change. Deduplication cannot determine an undocumented counter&#8217;s physical behavior.<\/p>\n<h2>Make repeated imports produce a stable result<\/h2>\n<p>An accepted import process should produce the same reporting selection when the exact same batch is received again. This is an acceptance property to verify in staging, not a reason to discard raw data. The second pass may still create an arrival record, but it should not create another unit of reported energy for an already accepted measurement slot.<\/p>\n<p>Test a complete replay, a partly repeated file and an out-of-order arrival. Also test a corrected interval, a missing quality field and a replacement meter using the old display name. Verify selected observations, exceptions, total energy and coverage after each case. Keep the sample dataset small enough for an engineer to calculate the expected outcome independently.<\/p>\n<p>Define the scope of replacement explicitly. A correction to one interval should not silently replace an entire day&#8217;s file unless the approved source contract says so. If a new import removes previously present intervals, stop and investigate instead of interpreting the absence as deletion. The history of report changes should remain reproducible.<\/p>\n<h2>Investigate collection overlap without altering the meter<\/h2>\n<p>Check whether two gateways, file jobs or database connectors read the same source and write into the same reporting dataset. Redundant collection is not inherently wrong, but the system needs a documented rule for reconciling the paths. Record source-path identity separately from physical-meter identity so that switching paths does not look like a new measurement point.<\/p>\n<p>For compatible serial instruments, begin with the documented <a href=\"https:\/\/cnbygele.com\/blog\/power-meter-modbus-communication-setup\/\">Modbus commissioning and decoding checks<\/a>. Confirm which client owns acquisition and where records are timestamped. Avoid changing meter settings just because a database contains repeated rows; the repetition may occur entirely after acquisition.<\/p>\n<p>The <a href=\"https:\/\/cnbygele.com\/product\/by194-series-multifunctional-power-instruments\/\">BY194 instrument family<\/a> offers relevant product context, but its public family page does not establish an interval database, automatic replay identifier or deduplication feature for every variant. Request the exact model manual, fitted communication option and collection architecture before assigning responsibility to the device.<\/p>\n<p><figure><img decoding=\"async\" alt=\"Duplicate Energy Meter Records review with reference BY194 meter and external records worksheet\" class=\"wp-image-3807\" height=\"1024\" loading=\"lazy\" src=\"https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103.png\" style=\"max-width:100%;height:auto\" width=\"1536\" srcset=\"https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103.png 1536w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103-300x200.png 300w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103-1024x683.png 1024w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103-768x512.png 768w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103-18x12.png 18w, https:\/\/cnbygele.com\/wp-content\/uploads\/2026\/11\/meter-duplicate-energy-records-records-20261103-600x400.png 600w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><figcaption>Reference-based illustration of a disconnected BY194 front beside external duplicate energy meter records review materials. Documents and symbols illustrate a workflow; they do not establish installed product functions.<\/figcaption><\/figure>\n<\/p>\n<h2>Approve an auditable correction<\/h2>\n<p>Before releasing corrected figures, compare accepted records against raw coverage, explain every discarded reporting contribution and review unresolved conflicts. Preserve both before-and-after totals and a list of affected reporting periods. If an invoicing or allocation process consumes the output, use its approved correction procedure rather than silently replacing previously issued numbers.<\/p>\n<p>Keep the selection policy version with the report. A future rule change may produce a different result from the same raw records, and that difference should be explainable. Monitor repeated arrivals and conflicts separately: a replay storm and a measurement disagreement require different investigations even if both create duplicate-looking rows.<\/p>\n<p>Review the process after collector changes or connection recovery incidents. A clean import today does not establish that future software versions preserve identifiers, timestamps or revision markers. Acceptance belongs to the complete information path, from the documented measurement to the final reporting selection.<\/p>\n<h2>Further learning: competing operations<\/h2>\n<p>Computerphile&#8217;s race conditions lesson explains how concurrent operations can interfere with one another. It helps explain why overlapping collectors and imports need controlled ownership and repeatable outcomes. The lesson is conceptual computer science, not a demonstration of an energy historian or instructions for modifying a meter.<\/p>\n<div style=\"position:relative;padding-bottom:56.25%;height:0;overflow:hidden\"><iframe allowfullscreen=\"\" loading=\"lazy\" src=\"https:\/\/www.youtube-nocookie.com\/embed\/W0jPTqIo5oE\" style=\"position:absolute;top:0;left:0;width:100%;height:100%;border:0\" title=\"Binary Addition &amp; Overflow - Computerphile\"><\/iframe><\/div>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=W0jPTqIo5oE\" rel=\"noopener nofollow\" target=\"_blank\">Watch the educational lesson<\/a><\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Can I delete every row with a repeated timestamp?<\/h3>\n<p>No. First compare asset identity, quantity, direction, interval boundaries, unit and quality. Equal displayed timestamps can refer to different meters, intervals or actual instants, especially when timezone information is missing.<\/p>\n<h3>Should the newest record always win?<\/h3>\n<p>No. A later arrival may be a replay or contain an error. Use a documented correction and quality policy supported by source evidence, and retain conflicting originals plus the reason for the accepted selection.<\/p>\n<h3>Is repeated cumulative energy always a duplicate?<\/h3>\n<p>No. A running energy counter can remain unchanged between valid readings. Define whether the source contains cumulative readings, interval energy or power before selecting a reconciliation method or calculating totals.<\/p>\n<h3>Does deduplication repair missing intervals?<\/h3>\n<p>No. It prevents repeated contributions from being counted twice. Missing coverage, estimates and invalid measurements need their own treatment and should remain visible after the accepted reporting selection is produced.<\/p>\n<p><script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can I delete every row with a repeated timestamp?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. First compare asset identity, quantity, direction, interval boundaries, unit and quality. Equal displayed timestamps can refer to different meters, intervals or actual instants, especially when timezone information is missing.\"}}, {\"@type\": \"Question\", \"name\": \"Should the newest record always win?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. A later arrival may be a replay or contain an error. Use a documented correction and quality policy supported by source evidence, and retain conflicting originals plus the reason for the accepted selection.\"}}, {\"@type\": \"Question\", \"name\": \"Is repeated cumulative energy always a duplicate?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. A running energy counter can remain unchanged between valid readings. Define whether the source contains cumulative readings, interval energy or power before selecting a reconciliation method or calculating totals.\"}}, {\"@type\": \"Question\", \"name\": \"Does deduplication repair missing intervals?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. It prevents repeated contributions from being counted twice. Missing coverage, estimates and invalid measurements need their own treatment and should remain visible after the accepted reporting selection is produced.\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Identifikasi pemutaran ulang yang tepat, nilai interval yang bertentangan, dan aliran meter yang tumpang tindih. Rekonsiliasi catatan energi dengan keputusan yang dapat dilacak sebelum memperbarui laporan.<\/p>","protected":false},"author":4,"featured_media":3805,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":"","footnotes":""},"categories":[1],"tags":[201],"class_list":["post-3808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-multifunction-power-meter"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/posts\/3808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/comments?post=3808"}],"version-history":[{"count":2,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/posts\/3808\/revisions"}],"predecessor-version":[{"id":3815,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/posts\/3808\/revisions\/3815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/media\/3805"}],"wp:attachment":[{"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/media?parent=3808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/categories?post=3808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cnbygele.com\/id\/wp-json\/wp\/v2\/tags?post=3808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}