code wiki / (root) / nx_ac_fdd.nx

nx_ac_fdd.nx

buildroot/runtime/nx_ac_fdd.nx

9015 B200 linesdepth 0pulls 0 transitivereach 7 importersview sourcekind librarytopic ac
docsdependenciesstructsconstsfunctions

about

nx_ac_fdd.nx -- Converts refrigerant/air-side diagnostic metrics into actionable fault verdicts for HVAC systems.

dependencies 0 imports · 3 importers

nx_ac_fdd.nx nx_ac_fdd_test.nx nx_ac_monitor.nx nx_ac_monitor_census.nx

imports: none

imported by: nx_ac_fdd_test.nxnx_ac_monitor.nxnx_ac_monitor_census.nx

structs

83struct FddInput
94struct FddThresh
107struct FddOut

consts

2const NX_MAGIC_8333: i64 = 8333
3const NX_MAGIC_2778: i64 = 2778
4const NX_MAGIC_5556: i64 = 5556
5const NX_MAGIC_13889: i64 = 13889
6const NX_MAGIC_25000: i64 = 25000
61const NX_FDD_ABSENT: i64 = -1000000
64const NX_FDD_INSUFFICIENT_DATA: i64 = 0
65const NX_FDD_NOMINAL: i64 = 1
66const NX_FDD_UNDERCHARGE: i64 = 2 // high SH + not-high SC (leak/undercharge)
67const NX_FDD_LIQUID_RESTRICTION: i64 = 3 // high SH + high SC
68const NX_FDD_OVERCHARGE: i64 = 4 // high SC + not-high SH
69const NX_FDD_FOULED_CONDENSER: i64 = 5 // condensing far above ambient
70const NX_FDD_LOW_AIRFLOW: i64 = 6 // high evap split OR CFM/ton < floor
71const NX_FDD_FROZEN_COIL: i64 = 7 // suction saturation below freezing
72const NX_FDD_SHORT_CYCLING: i64 = 8 // cycles/hr over ceiling
73const NX_FDD_BAD_ARG: i64 = 9
74const NX_FDD_N: i64 = 10

functions

76func nx_fdd_verdict_is_valid(v: i64) -> i64
called by 1: main
115func nx_ac_fdd_analyze(rd: *FddInput, th: *FddThresh, out: *FddOut) -> i64