import React from 'react'; import { BarChart2, Zap, Snowflake, Activity, Target } from "lucide-react"; import Button from "@/components/common/button"; import { Card } from '@/components/common/cardWrapper'; import BarChart from "@/components/charts/barchart"; // Replace path with your actual BarChart component import path const plantLoadData = [ { month: '08', height: 'h-[35%]' }, { month: '09', height: 'h-[38%]' }, { month: '10', height: 'h-[32%]' }, { month: '11', height: 'h-[40%]' }, { month: '12', height: 'h-[52%]' }, { month: '13', height: 'h-[68%]' }, { month: '14', height: 'h-[78%]' }, { month: '15', height: 'h-[78%]' }, { month: '16', height: 'h-[78%]' }, { month: '17', height: 'h-[78%]' }, { month: '18', height: 'h-[78%]' }, { month: '19', height: 'h-[78%]' } ]; export default function HVACPlantPortal() { return (
{/* --- HEADER SECTION --- */}
APPLE ONE — HQ TOWER IOT HVAC PLANT

Chiller plant & air side

Live chiller, AHU and plant telemetry with start/stop control — commands are audit-logged.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS (WITH ICON BADGES) --- */}
{/* Card 1: Chillers running */}
staged
2 / 3

Chillers running

{/* Card 2: Avg COP */}
plant efficiency
5.60

Avg COP

{/* Card 3: Plant load */}
now
401 kW

Plant load

{/* Card 4: AHUs running */}
air side
3 / 4

AHUs running

{/* --- TELEMETRY SECTION --- */}
{/* Left Card: Chillers & Plant Load Chart */}

Chillers

live • 5 s refresh

{/* Chillers Table */}
{/* CH-01 */} {/* CH-02 */} {/* CH-03 */}
UNIT STATUS LOAD COP CHW SUPPLY / RETURN KW
CH-01 • RUNNING
72%
5.8 6.2 °C / 11.8 °C 212
CH-02 • RUNNING
64%
5.4 6.5 °C / 12.1 °C 189
CH-03 • STANDBY
0%
— / — 0
{/* Plant Load Reusable Bar Chart Component */}

PLANT LOAD • TODAY

{/* Right Card: Air Handling Units */}

Air handling units

supply air • fan speed

{/* AHUs Table */}
{/* AHU-01 */} {/* AHU-04 */} {/* AHU-07 */} {/* AHU-09 */}
UNIT ZONE STATUS SAT FAN FILTER
AHU-01 Lobby & atrium • ON 14.2 °C 62% • OK
AHU-04 Floors 2–4 • ON 13.8 °C 71% • OK
AHU-07 Floors 5–7 • ON 15.1 °C 84% • REPLACE
AHU-09 Basement · parking • OFF 0% • OK
{/* Footer Warning Notice */}
AHU-07 filter ΔP is beyond limit — a PPM task can be raised automatically from{' '} Alarms & Rules.
); }