Skip to content

fix(cooling): surface C2 towers, C2 pre/post-HX and C1 pressure averages#116

Merged
eskawl merged 2 commits into
tetherto:developfrom
paragmore:feat/cooling-c2-towers-c1-pressure
Jul 2, 2026
Merged

fix(cooling): surface C2 towers, C2 pre/post-HX and C1 pressure averages#116
eskawl merged 2 commits into
tetherto:developfrom
paragmore:feat/cooling-c2-towers-c1-pressure

Conversation

@paragmore

@paragmore paragmore commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Three fixes so the redesigned Circuit 2 / Circuit 1 cooling views populate correctly from the DCS snap:

  • Circuit 2 towers — both the HVAC and miners Circuit 2 views mapped the shared equipment.cooling_towers array, so each rendered the other's tower. Now filtered by circuit (COOLING_TOWER vs HVAC_CONDENSER), matching the existing filterPumpsByCircuit pattern.
  • Miners C2 pre/post-HX — read from the loop's configured pre_hx_temp_sensor / post_hx_temp_sensor (TT-7581-B / TT-7581-A) instead of the empty heat-exchanger array; HX-derived values kept as a fallback.
  • Miners C1 header pressures — inlet/outlet/ΔP averages now aggregate the 16 per-group PTs ("Avg · 16 groups") instead of the unset per-line pressure sensors, with a line-level fallback.

Parag More and others added 2 commits June 29, 2026 16:49
Group differential pressure now reads supply/return/differential from a
single transmitter per group (group_pressure_sensors as an ordered list),
preferring the DCS-provided differential. Falls back to the legacy
supply/return id-pair model. Response shape is unchanged.
- Filter cooling_towers by circuit so each Circuit 2 view shows only its
  own tower (COOLING_TOWER vs HVAC_CONDENSER).
- Read Miners C2 pre/post-HX temps from the loop's configured sensors,
  falling back to the heat-exchanger-derived values.
- Average the Miners C1 header pressures over the 16 per-group PTs, with a
  line-level fallback, instead of the unset per-line pressure sensors.
@eskawl eskawl merged commit 0d53434 into tetherto:develop Jul 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants