--- title: "Core Real-Time Calculations" slug: "core-real-time-calculations-container" updated: 2026-09-17T13:38:49Z published: 2026-09-17T13:41:25Z canonical: "docs.bazefield.com/core-real-time-calculations-container" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.bazefield.com/llms.txt > Use this file to discover all available pages before exploring further. # Core Real-Time Calculations ### **Overview** The *Core Real-Time Calculations* is a Certified Product Point Template for [Battery Containers](/product/docs/battery-container) that defines required normalized real-time performance calculations that scale, or transform several of the points in the [*Core Real-Time Data*](/product/docs/core-real-time-data-container). These points are required for the Bazefield installation to function properly across all core applications. These calculations specifically translate OEM-specific signals into consistent indicators of operational state, availability, communication status, and event conditions. By abstracting vendor-specific complexities, the *Core Real-Time Calculations* enables unified fleet monitoring, reduces configuration overhead, and supports consistent reporting and alarm management across heterogeneous [battery containers](/product/docs/battery-container) technologies. The Core Real-Time Calculations template defines 27 calculations for Battery Containers. These calculations derive operational state, charge/discharge status, communication health, rack availability tracking, and data quality indicators from raw container data. ### **Template Definition** The *Core Real-Time Calculations* is defined below. Calculations are one of the following types: - **Scale Equations** — Algebraic or logical manipulations of input data done on the [Bazefield edge buffer](/product/docs/edge-buffer) - **Online Expressions** — Algebraic or logical manipulations of input data done on the central Bazefield data engines (typically on a [storage node](/product/docs/storage-node)). Similar to scale equations in purpose, but done in the centralized architecture. - **Interval Expressions** — Algebraic, logical, or advanced manipulations of input data done within a pre-defined aggregation interval (e.g. 5 minutes, 10 minutes, 1 hour, etc). These are typically done centrally on a [storage node](/product/docs/storage-node). Details on the Point Names, Descriptions, and Types are below. Required for Bazefield Core Dashboard functionality Optional for common additional data streams/sources ### **Calculation Definition Table** | Name | Description | Type | Interval | Units | | | --- | --- | --- | --- | --- | --- | | Available | Boolean indicating if asset is available based on connected racks/strings. (1=available, 0=unavailable) | Calculation (Online Exp.) | Real-time | — | | | Charging | Boolean indicating if container is charging. (Dictated by "Charging Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | — | | | ChargingPower | DC Power drawn by battery container while it is charging. (Dictated by "Charging Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | kW | | | CommunicationState | Container communication state. (0= connected, 1=No reply from server, 4=Monitored point in flatline, 5=Monitored point has bad quality.) SourceTag to be tuned per OEM. | Calculation (Scale Eq) | Real-time | — | | | DC-PowerAbs | Absolute value of DC power | Calculation (Scale Eq) | Real-time | kW | | | Discharging | Boolean indicating if container is discharging. (Dictated by "Discharging Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | — | | | DischargingPower | DC Power provided by battery container while it is discharging. (Dictated by "Discharging Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | kW | | | EVENT-BadDCPower | Data quality flag if the DC Power measurement has not reported or is reporting bad/invalid data. 0=good, 1=disconnected/null, 4=stale data, 5=bad quality | Calculation (Scale Eq) | Real-time | — | | | EVENT-BadStateOfCharge | Data quality flag if the State of Charge measurement has not reported or is reporting bad/invalid data. 0=good, 1=disconnected/null, 4=stale data, 5=bad quality | Calculation (Scale Eq) | Real-time | — | | | EVENT-Charged | Boolean indicating that the battery container has reached its maximum charge capacity limit. (Dictated by "Fully Charged Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | — | | | EVENT-Discharged | Boolean indicating that the battery container has reached its minimum charge capacity limit. (Dictated by "Fully Discharged Threshold" object attribute.) | Calculation (Scale Eq) | Real-time | — | | | EVENT-Idle | Boolean indicating that the container is neither charging nor discharging. (Dictated by "Discharging Threshold" and "Charging Threshold" object attributes.) | Calculation (Scale Eq) | Real-time | — | | | IEC-OperationState | Container high-level Operation State. (1=Stop, 2=Standby, 3=Starting, 4=Run, 99=Unknown.) To be configured per OEM. | Raw Data | Real-time | — | | | RacksCommFail | Number of strings/racks with comm fail for this battery container | Calculation (Online Exp.) | Real-time | — | | | RacksConnected | Number of strings/racks connected (contactor closed) for this battery container | Calculation (Online Exp.) | Real-time | — | | | RacksDisconnected | Total number of disconnected racks/strings for the battery container | Calculation (Online Exp.) | Real-time | — | | | RacksFaulted | Number of strings/racks faulted for this battery container | Calculation (Online Exp.) | Real-time | — | | | RacksInRotation | Number of strings/racks in rotation for this battery container | Calculation (Online Exp.) | Real-time | — | | | RacksNumber | Total number of installed racks/strings for the battery container. (Dictated by "Number of Racks" object attribute.) | Calculation (Online Exp.) | Real-time | — | | | RacksOutOfRotation | Number of strings/racks out of rotation for this battery container | Calculation (Online Exp.) | Real-time | — | | | Reporting | Boolean describing if the PCS is communicating based off of CommunicationState tag, 0=bad comms, 1=good comms | Calculation (Scale Eq) | Real-time | — | | | Running | Container is Running (IEC-OperationState = 4) | Calculation (Scale Eq) | Real-time | — | | | Standby | Container is in Standby (IEC-OperationState = 2) | Calculation (Scale Eq) | Real-time | — | | | Status | Single tag returning the current status of the container. (5 = Ancillary Services, 4 = Discharging, 3 = Charging, 2 = Standby, 1=Stopped, 99 = Unknown.) To be configured per OEM. | Raw Data | Real-time | — | | | Stopped | Container is stopped (IEC-OperationState = 1) | Calculation (Scale Eq) | Real-time | — | | | Unavailable | Boolean indicating if container is unavailable (IEC-OperationState = 1 or 6). 1=unavailable, 0=available. | Calculation (Scale Eq) | Real-time | — | | | Unknown | Boolean indicating if container state is unknown (IEC-OperationState = 99). 1=unknown state, 0=known state. | Calculation (Scale Eq) | Real-time | — | |