Scale Equations

Prev Next

Overview

Scale Equations in Bazefield are lightweight, customizable formulas applied to Raw SCADA data to convert, normalize, or combine telemetry values. They ensure that incoming data is accurate, meaningful, and ready for analysis — all while preserving traceability to the original source.


Key Characteristics

  • Applied at Ingestion: Scale equations are typically configured at the Edge Buffer or during the mapping of device points.

  • Simple Math: Most scale equations involve unit conversions, linear transformations (e.g., y = mx + b), or arithmetic aggregates.

  • Preserves Raw Integrity: Scaling is minimal and transparent, ensuring traceability to the original sensor data.

  • Long-Term Storage: Time-series data is stored in the Bazefield HISTORIAN database for long-term and performant data access.


Common Use Cases & Examples

ℹ️ Unit Conversion

Scale equations can convert raw sensor values into standardized engineering units.

  • Example: Convert Fahrenheit to Celsius

  • Example: Convert kilowatts to megawatts

ℹ️ Multi-Point Calculations

You can combine multiple raw SCADA signals into a single, derived value.

  • Example: Total Current from three phases

  • Example: Average temperature across multiple sensors  

ℹ️ Inline Logic

Equations can include basic arithmetic, functions, and references to other points, enabling flexible and scalable data transformations.

Example of a standardized Scale Equation configured for a Domain Point

Detailed Examples

Scale Equation Capability

Example Use Case

Syntax

Example I/O

Unit Conversion

Convert Fahrenheit to Celsius

5/9 * ($[@TempAmbient] - 32)

Input: T = 81.2 °F

Calc: 5/9 × (81.2 - 32) = 5/9 × 49.2

Output: 27.3 °C

Convert kW to MW

$[@ActivePower] * 0.001

Input: P = 12,113.78 kW

Calc: 12,113.78 × 0.001

Output: 12.11378 MW

Multiple-Point Calculations

Calculate total current from phase currents

$[@CurrentA] + $[@CurrentB] + $[@CurrentC]

Input: IA = 367 A, IB = 350 A, IC = 371 A

Calc: 367 + 350 + 371

Output: 1,088 A

Calculate average temperature sensor Reading

AVG($[@TempPanel1], $[@TempPanel2], $[@TempPanel3])

Input: T1 = 26.3 °C, T2 = 27.2 °C, T3 = 25.9 °C

Calc: (26.3 + 27.2 + 25.9) / 3

Output: 26.5 °C


Where They’re Applied

  • At the Edge: Often used during ingestion via the Bazefield Edge Buffer.

  • During Mapping: Applied when defining Device Points to ensure values are scaled before being modeled as Domain Points.


Why Scale Equations Matter

✔️ Data Accuracy: Ensures telemetry reflects real-world units and conditions.

✔️ Operational Consistency: Normalizes data across different vendors and hardware.

✔️ Efficiency: Reduces the need for post-processing or manual corrections.

✔️ Flexibility: Supports both simple and complex transformations using intuitive syntax.