--- title: "Scale Equations" slug: "scale-equations-1" updated: 2025-07-15T17:46:30Z published: 2025-07-15T17:46:30Z canonical: "docs.bazefield.com/scale-equations-1" --- > ## 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. # Scale Equations ## 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. ![](https://cdn.document360.io/a0786c0f-b171-4b24-8860-c32eb7ef2738/Images/Documentation/image(127).png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A47%3A56Z&se=2026-11-06T21%3A47%3A56Z&sr=c&sp=r&sig=p4iT8ADCNLarcnp4SboGf0t8vR9CIGGOt1EKVBHn9fo%3D) *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.