Rules

Open-FDD ships 84 SQL fault and analytics rules, 78 with a pandas twin. A rule reads Haystack roles bound to NF points by the data model, computes in SI, and writes its result as NF points. Every entry states the unit of each input, parameter and output.

Page Use it to
SQL cookbook See each rule’s inputs, parameters, outputs and parity
Pandas cookbook Run the same rules in Python
Using SQL rules outside Open-FDD Run a rule on SQLite, Postgres, DuckDB or Timescale
Parity See where pandas and SQL agree
Parity harness Prove it on your own database
Writing SQL rules Add or change a rule

Catalog

  • A rule runs when every required role is bound. confirm is how long a condition must hold before it counts.
  • Equipment kinds are Haystack equipment kinds; none means any equipment.
  • Parity is pandas SI against SQL SI (details).
Rule What it checks Equipment Confirm Twin Parity
AHU-DUCTHI Duct static pressure high ahu 5 min pandas match
AHU-SATDEV SAT deviation from setpoint ahu 10 min pandas match
AHU-SIMUL Heating and cooling simultaneous ahu 5 min pandas match
AVG-ZONE-TEMP Average zone temperature per equipment any immediate SQL only SQL only
CHW-1 Low chilled-water ΔT chiller, chwPlant 15 min pandas match
CHW-2 DP below SP at max pump speed chiller, chwPlant 5 min pandas match
CHW-3 Plant supply temp outside deadband chiller, chwPlant 5 min pandas match
CHW-4 Flow high at max pump chiller, chwPlant 5 min pandas match
CHW-NOLOAD-1 Chiller running with no building load chiller, chwPlant 30 min pandas known divergence
CMD-1 Fan cmd/status mismatch ahu 10 min pandas match
COIL-PERF Coil valve open but the air temperature changes less than min_dt ahu 15 min pandas match
CW-APR-1 High CW approach at full tower fan chiller, cooling_tower, chwPlant 15 min pandas known divergence
CW-FAN-1 Excess tower fan energy vs wet-bulb limit chiller, cooling_tower, chwPlant 15 min pandas known divergence
CW-OPT-1 Condenser water not optimized vs wet-bulb chiller, cooling_tower, chwPlant 15 min pandas match
DMP-1 OA damper leakage ahu 15 min pandas match
ECON-1 Economizer stuck closed when OAT favorable ahu 10 min pandas match
ECON-2 Economizing when outdoor air unfavorable ahu 5 min pandas match
ECON-3 Mech cooling without integrated economizer ahu 5 min pandas match
ECON-4 Low estimated OA fraction ahu 10 min pandas match
ECON-5 Preheat over-conditioning ahu 10 min pandas match
ECON-6 Economizing in freezing weather ahu 10 min pandas match
ECON-7 Economizer OK but not economizing ahu 10 min pandas match
FAN-RUNTIME-HOURS Fan running hours where supply_fan_command > 5% (normalized 0-1) any immediate SQL only SQL only
FAULT-ELAPSED-HOURS Comfort fault sample count → hours any immediate SQL only SQL only
FC1 Duct static below SP at full fan ahu 5 min pandas match
FC10 MAT-OAT delta while cooling and economizing ahu 10 min pandas match
FC11 OAT low vs SAT SP while cooling and economizing ahu 10 min pandas match
FC12 SAT above MAT while cooling ahu 10 min pandas match
FC13-SAT-HIGH SAT above setpoint at full cooling ahu 10 min pandas match
FC14 CHW coil ΔT when inactive (GL36 L) ahu 10 min pandas known divergence
FC15 HW coil ΔT when inactive (GL36 M) ahu 10 min pandas match
FC2 Mixed air below envelope ahu 10 min pandas match
FC3 Mixed air above envelope ahu 10 min pandas match
FC4 PID hunting (operating-state oscillation) ahu 60 min pandas match
FC5 SAT cold when heating commanded (GL36 D) ahu 10 min pandas match
FC6 Estimated OA fraction mismatch ahu 10 min pandas match
FC7 SAT low while heating at full ahu 10 min pandas match
FC8 SAT vs MAT while economizing ahu 10 min pandas match
FC9 OAT high vs SAT SP while economizing ahu 10 min pandas match
FCU-CLG-COIL Fan-on cooling coil under-delivery zone_other, general, ahu 15 min pandas match
FCU-CO2-DAMPER High valid CO2 with low outdoor-air damper command zone_other, general, ahu 15 min pandas match
FCU-DAMPER-POS Damper feedback more than 15 points below command zone_other, general, ahu 15 min pandas match
FCU-DEADBAND Heating/cooling pass-through setpoint deadband below 1 C zone_other, general, ahu immediate pandas match
FCU-HTG-COIL Fan-on heating coil under-delivery zone_other, general, ahu 15 min pandas match
FCU-MODE-CYCLE Four or more heat/cool valve mode changes in window zone_other, general, ahu immediate pandas match
FCU-SENSOR-NULL Own zone setpoint present but zone temperature null for at least 90% of window zone_other, general, ahu immediate pandas match
FCU-VALVE-PASS-CLG Cooling valve passing with both commands shut zone_other, general, ahu 15 min pandas match
FCU-VALVE-PASS-HTG Heating valve passing with both commands shut zone_other, general, ahu 15 min pandas match
FILTER-LOAD Filter pressure drop or fan effort too high ahu 20 min pandas match
HP-1 Discharge cold when heating heatpump 10 min pandas match
HW-OAT-1 Hot-water plant proven on above 18.3 °C web OAT boiler 15 min pandas match
MECH-OAT-1 Mechanical cooling below 15.6 °C web OAT ahu, chiller, heatpump 10 min pandas match
OA-1 Low OA fraction ahu 15 min pandas match
OAT-METEO Equipment OAT vs weather-staged wx OAT ahu 15 min pandas known divergence
PID-HUNT-1 Suspected control-output hunting ahu, vav, zone_other, chiller, boiler, heatpump immediate pandas match
RESET-1 SAT reset not tracking outdoor air ahu 15 min pandas match
SCHED-1 Excess / wasted unoccupied fan runtime when the zone is already in the comfort band (optimal-start / schedule misconfig signal). Without zone_air_temperature, falls back to unoccupied + fan_on (pandas sched1 base). ahu, zone_other 30 min pandas match
SCHED-247 Always-on fan or pump runtime ahu, vav, zone_other, chiller, boiler, heatpump 60 min pandas match
SHORT-CYCLE Too many starts per hour, or short on-times boiler, chiller, heatpump, ahu immediate pandas match
SV-FLATLINE Sensor flatline (stuck) ahu, vav, chiller, boiler, weather, zone_other, heatpump 5 min pandas match
SV-RANGE Sensor out of hard range ahu, vav, chiller, boiler, weather, zone_other, heatpump, meter 5 min pandas match
SV-RATE Context-aware sensor rate of change ahu, vav, chiller, boiler, weather, zone_other, heatpump 10 min pandas known divergence
SV-SPIKE Sensor rate-of-change spike ahu, vav, chiller, boiler, weather, zone_other, heatpump 5 min pandas match
SV-STALE Stale data (no fresh samples for longer than the stale threshold) ahu, vav, chiller, boiler, weather, zone_other, heatpump immediate pandas match
TRIM-1 Duct static trim advisory ahu 30 min pandas known divergence
TRIM-3 HWST trim advisory boiler 30 min pandas match
TRIM-4 CHW plant reset advisory chiller, chwPlant 30 min pandas match
UTIL-INTERVAL BAS 15m vs utility interval (MAE threshold) meter, ahu, heatpump immediate SQL only SQL only
UTIL-MONTHLY BAS monthly kWh vs utility monthly bills (% deviation) meter, ahu, heatpump immediate SQL only SQL only
VAV-1 Zone comfort band during occupied hours when occupancy is set; unoccupied setback is VAV-2; no occupancy model or schedule → NOT_ASSESSED_NO_OCCUPANCY vav, zone_other, heatpump, baseboard 15 min pandas match
VAV-2 Night setback miss — unoccupied zone above heating setback vav, zone_other, heatpump, baseboard 15 min pandas match
VAV-3 Excessive reheat during warm weather vav 5 min pandas match
VAV-4 Damper stuck at full open vav 15 min pandas match
VAV-5 Airflow sensor bias vav 15 min pandas match
VAV-6 Reheat when cooling available vav 15 min pandas match
VAV-7 Min airflow / fixed high flow vav 15 min pandas match
VAV-AHU-LEAVE VAV leave vs parent AHU SAT (fedBy) vav 15 min pandas match
VAV-REHEAT Reheat valve stuck / no temp rise vav 15 min pandas match
VLV-1 Cooling valve leakage ahu 15 min pandas match
WX-1 OA temperature spike weather 5 min pandas match
XS-CLIP Sensor value piled up at a round transmitter full scale (clipped) ahu, vav, zone_other immediate pandas match
XS-COPY Two temperature roles identical while changing (copied or wrongly bound signal) ahu, vav, zone_other 120 min pandas match
XS-MIX Mixed-air temperature outside the outdoor / return mixing envelope (sensor or mapping) ahu 15 min pandas match
ZONE-COMFORT-PCT Percent of samples in comfort band any immediate SQL only SQL only

Table of contents