BESS event log: reconstructing one alarm timeline
Technology

BESS event log: reconstructing one alarm timeline

Compare battery controller, converter, meter and gateway records while retaining time uncertainty and evidence.

ReadAll Articles
Closed energy storage cabinet and screen with abstract event-log lines

Table of Contents

Reconstructing one alarm in a battery energy storage system requires more than sorting rows by timestamp. A battery controller record, a power conversion system message, a meter value, gateway receipt and human acknowledgement can describe different events. Each needs its own time source, timestamp meaning and uncertainty boundary.

The useful result is an evidence packet showing the original records, supported associations, time conversions and unanswered questions. It helps a specialist investigate an event, but does not establish the cause of a fault or the condition of equipment. The example below is fictional and does not describe an actual installation or a particular model.

Separate messages from measurements

A battery controller may record an alarm, a power conversion system may record its own state, and a meter may record power or energy at a defined electrical boundary. A gateway may receive a message later and add a receipt time. A person may acknowledge the notification later still. Whether these roles, fields and histories exist depends on the actual configuration.

The alarm record time is not necessarily when the underlying physical cause began. Human acknowledgement does not establish that a problem has been resolved, and absence of a gateway message does not prove that no device event occurred. Meter data can provide context but does not by itself explain why the alarm arose. The actual system's documentation and responsible specialist interpret its codes and states.

The energy storage control guide explains the general roles of battery control, energy management and dispatch. This article addresses a narrower task: reconstruct one message chain and show what the available records can support.

Use an association key, not a single shared time

For each row retain the source and device identifier, record type, original timestamp, time basis, value or message, available event identifier and quality status. Record the configuration version or system description if supplied. Field names are not universal: the same column heading in two files may mean different things.

If the controller and gateway preserve the same verified message identifier, it can serve as an association key. Include the source identifier because the same code from another device is not necessarily the same event. Without a shared key, closeness in time and similar text are only a hypothesis. Mark the association as unconfirmed without altering the originals.

One common data model defines occurrence time separately from receipt time, but that does not mean it is deployed at your site. Ask the integrator for the meaning of its fields and associations. Without that evidence, do not assume the time on a screen is the device time or that an acknowledgement relates to the selected alarm.

A hypothetical reconstruction of one alarm

Consider five records in a teaching example for 15 January. Every value, name and association is invented. For simplicity, the battery controller's original timestamp has a fixed UTC+02:00 offset; the other records are expressed in UTC. This assumption does not establish local time rules or describe actual equipment settings.

Also assume that independently supported bounds on possible clock error already exist for the battery controller, converter and gateway clocks and include known recording resolution. No such bound is available for the meter clock. These bounds are given for the example, not inferred from the values in the table. Here plus or minus indicates a possible range, not a statistical guarantee. When such information is unavailable, the range remains unknown.

Fictional chain and possible time boundaries
Source and recordOriginal timestampAssumed UTC boundaryWhat it shows
Battery controller, alarm A-1712:00:00 UTC+02:0009:59:55-10:00:05Alarm record, error bounded by 5 seconds
Power conversion system, record P-910:00:03 UTC09:59:58-10:00:08Separate state, error bounded by 5 seconds
Gateway, A-17 received10:00:12 UTC10:00:10-10:00:14Receipt of the same message under the assumed key, error bounded by 2 seconds
Gateway, A-17 acknowledged10:02:00 UTC10:01:58-10:02:02Human acknowledgement recorded on gateway clock, error bounded by 2 seconds
Meter, interval energy10:00:00 UTC, minute end09:59:00-10:00:00 on meter clockOne-minute context; clock error not established

The controller's 12:00:00 timestamp minus the assumed two-hour offset is 10:00:00 UTC. With the assumed error of up to five seconds its boundary is 09:59:55-10:00:05. For the power conversion system, 10:00:03 plus or minus five seconds yields 09:59:58-10:00:08. The ranges overlap, so these timestamps alone do not establish which record came first.

In the same example, the latest possible controller record time, 10:00:05, is earlier than the earliest possible gateway receipt, 10:00:10. Given the assumed bounds and confirmed A-17 key, the order of recorded creation and receipt is supported. The human acknowledgement is also later than receipt under the assumed bounds. This is an ordering of records, not proof of a cause or the start of a physical process.

The meter timestamp in this example marks the end of one minute, not the instant of a change. Its clock error is unknown, so its interval boundary cannot confidently be placed beside the alarm or used to identify the condition in a particular second. The series documentation and clock evidence are needed. An energy total for a minute also does not establish instantaneous power at the alarm time.

Show which conclusions remain open

For this example a report can state that the controller produced A-17, the gateway has a linked receipt, and a human acknowledgement was recorded later. P-9 is close in time, but its order relative to A-17 is unresolved within the assumed bounds. Whether the states are physically related is also unknown. The meter lacks a supported clock-error bound.

Do not replace an unknown with zero or the most likely value. Even complete overlap of time windows does not prove that one device caused another's message. Likewise, a missing row can reflect unavailable history, filtering, retention limits or another explanation that needs clarification against the documentation and available files.

Where the time basis is known, preserve the original timestamp beside the conversion rule, result and evidence supporting it. General treatment of time series is explained in solar monitoring timestamp alignment. This task does not require changing clocks or system parameters: it concerns existing data and the limits of interpretation.

Account for repeated receipt

One message can appear in several exported records. Compare the available key, source, description and meaning of the time fields. The same identifier with two receipt times may describe two records of delivery of one message, but that needs confirmation from the actual format. Do not delete repetitions before review: they may explain the path of the data, or they may represent separate states.

If one file records time only to the minute, do not insert assumed seconds from another source. Even when messages are linked, that record's precision limits conclusions about the interval. Ask whether its label is rounded, truncated or names an interval. If the rule is unknown, leave the possible time unresolved and retain the original field.

A separate delivery log may contain a send time, receipt time or display time. They refer to different points in the chain. The difference between two labels is not proven network delay until the meaning and time basis of both are supported. When clarification arrives, add a new analysis version with its source rather than silently rewriting the earlier conclusion.

Build a reproducible evidence packet

Provide original exports and a separate working file in which each transformation has a date, author, rule and link to its source row. Add a source and measurement-boundary map, time basis, file versions, quality fields, available manufacturer explanations and the period for which records exist. Do not modify the initial archive to make a chart appear aligned.

Record what associates the entries: a shared identifier and source, documented mapping, or hypothesis only. For each unknown retain the question, owner of the answer and next document-handling step. Mark incomplete measurements as gaps; zero and missing data are not equivalent.

Available history, access rights and export format depend on the installed system and agreements. Agree the transfer channel and recipients, and exclude passwords and access keys. A packet can be shared for an agreed scope through maintenance services. The report should distinguish the records themselves, conclusions supported by verified links and hypotheses that remain open.

Hand one clear packet to the next shift

In the handover note list the available exports by source, file name, date and covered period. Identify each item as an original file, a screen snapshot or a working table. Keep separate tabs for original data and converted values so the next shift can trace every row back to its source.

Record who confirmed the clock assumption and its bound, and which document supported it. For a repeated message state whether its association is confirmed or still open; identify a snapshot without a corresponding export separately. Add an owner for unanswered questions and the file storage location. Handing over the packet does not mean the alarm's cause has been established.

BESS event log questions

Ready for energy independence?

Get a free consultation and individual calculation for your business.