# B2 — Graphics Page Inventory
# ============================
# Project:   Kingsford Hotel Bacolod BMS
# Date:      2026-04-27
# Source:    A1 (systems/locations) + A2 (equipment classes) + BMS general spec
#            graphic display section
#
# Lists every BMS graphic page/screen the operator interacts with, with
# complexity tier and hour estimate. Total feeds Phase 6 BOQ engineering hours.
#
# Hour rates (per page):
#   simple:    2 hr   (alarm summary, trend, single-purpose dashboard)
#   medium:    4 hr   (per-floor, per-system, equipment popup template)
#   complex:   8 hr   (site/building summary, energy dashboard, navigation hub)

metadata:
  project: Kingsford Hotel Bacolod BMS
  source: "A1 + A2 + BMS general spec graphics section"
  status: draft
  rates:
    simple_hr_per_page:  2
    medium_hr_per_page:  4
    complex_hr_per_page: 8

# ----- Top-level navigation -----
navigation_pages:
  - { id: G-HOME,           name: "Home / Site Summary",            tier: complex, notes: "Building outline, navigation menu, top-level alarm + KPI tiles" }
  - { id: G-NAV-FLOORS,     name: "Floor Selector",                  tier: simple,  notes: "Quick-access dropdown to all floor pages" }
  - { id: G-NAV-SYSTEMS,    name: "System Selector",                  tier: simple,  notes: "Quick-access dropdown to all system pages" }

# ----- Per-floor pages -----
# One page per floor showing all BMS-monitored equipment at that floor.
floor_pages:
  - { id: G-FLOOR-LZ,       name: "Lower Ground",                     tier: medium,  notes: "Hot water plant + boiler room overview" }
  - { id: G-FLOOR-BSMT,     name: "Basement",                         tier: medium,  notes: "Basement exhaust fans + service rooms" }
  - { id: G-FLOOR-GND,      name: "Ground (BOH + Chiller Plant)",     tier: medium,  notes: "Chiller plant + BOH AHUs + GF lobby" }
  - { id: G-FLOOR-2F,       name: "2nd Floor (Casino + Plant)",       tier: medium,  notes: "Casino MVAC + 2F pump room + EE distribution" }
  - { id: G-FLOOR-3F,       name: "3rd Amenity & Guestroom",          tier: medium,  notes: "27 exhaust fans across guestroom/amenity zones" }
  - { id: G-FLOOR-RD,       name: "Roofdeck",                          tier: medium,  notes: "Cooling towers + DOAS + PAHU + HW plant" }

# ----- Per-system overview pages -----
system_pages:
  - { id: G-SYS-CHWP,       name: "Chilled Water Plant",              tier: complex, notes: "3 chillers + CHW pumps + COW pumps + cooling towers + headers + BTU meter — chiller plant at-a-glance" }
  - { id: G-SYS-AHU,        name: "Air Handling Units",               tier: medium,  notes: "BOH AHUs (3 confirmed) + Casino AHUs (2) + status grid" }
  - { id: G-SYS-DOAS,       name: "DOAS Systems",                     tier: medium,  notes: "Casino DOAS-2W + Hotel DOAS-RD.1/2 with sequence visualization" }
  - { id: G-SYS-PAHU,       name: "Precooled Air Handlers",           tier: medium,  notes: "Roofdeck PAHU-RD.1/2" }
  - { id: G-SYS-VENT,       name: "General Ventilation",              tier: medium,  notes: "68 exhaust fans across 5 zones — status grid (most economical layout)" }
  - { id: G-SYS-HW,         name: "Hot Water System",                 tier: medium,  notes: "Calorifiers + heat pumps + recirc pumps at LZ + RD" }
  - { id: G-SYS-BOILER,     name: "Boiler / Laundry",                 tier: medium,  notes: "SB-1 + SB-2 with detail" }
  - { id: G-SYS-EE,         name: "Electrical Metering",              tier: medium,  notes: "13 power meters + total kW + kWh dashboard" }

# ----- Equipment popup templates (reusable across instances) -----
# Each template is built once and instantiated per equipment.
equipment_popups:
  - { id: G-POP-CHILLER,    name: "Chiller (template)",                tier: complex, notes: "P&ID-style with all 25 points; reused for CH-1/2/3" }
  - { id: G-POP-PUMP,       name: "Pump (template)",                   tier: medium,  notes: "Run/HOA/trip/VFD speed; reused for 16+ pumps (PCHWP, COMP, HP, RP)" }
  - { id: G-POP-COOLING-TWR,name: "Cooling Tower (template)",          tier: medium,  notes: "Fan + basin + blowdown; reused for CT-1/2/3" }
  - { id: G-POP-AHU,        name: "AHU (template)",                    tier: complex, notes: "Full P&ID with VFD, dampers, valve, sensors; reused for BOH AHUs + Casino AHUs" }
  - { id: G-POP-DOAS,       name: "DOAS (template)",                   tier: complex, notes: "Recovery wheel, supply + exhaust fans, dampers, valve, sensors; reused for DOAS-2W + DOAS-RD.1/2" }
  - { id: G-POP-PAHU,       name: "PAHU (template)",                   tier: medium,  notes: "Single-direction precool unit; reused for PAHU-RD.1/2" }
  - { id: G-POP-FAN,        name: "Exhaust Fan (template)",            tier: simple,  notes: "Status/HOA/trip; reused for 68 exhaust fans" }
  - { id: G-POP-CALORIFIER, name: "Calorifier (template)",             tier: simple,  notes: "Tank temp + supply/return temps; reused for 6 calorifiers + 2 header sets" }
  - { id: G-POP-BOILER,     name: "Steam Boiler (template)",           tier: complex, notes: "Burner + waterfeed + fluegas + steam pressure; reused for SB-1/2" }
  - { id: G-POP-METER,      name: "Power Meter (template)",            tier: simple,  notes: "kW + kWh + V/I/PF dashboard; reused for 13 meters" }

# ----- Alarm pages -----
alarm_pages:
  - { id: G-ALARM-ACTIVE,   name: "Active Alarms",                     tier: simple,  notes: "Live alarm list with priority + ack" }
  - { id: G-ALARM-HISTORY,  name: "Alarm History",                     tier: simple,  notes: "Filterable historical alarm log" }

# ----- Trend pages -----
trend_pages:
  - { id: G-TREND-CHWP,     name: "Chilled Water Plant Trends",        tier: simple,  notes: "Chiller load, CHW supply/return T, OA T, BTU meter cumulative" }
  - { id: G-TREND-ENERGY,   name: "Building Energy Trends",            tier: simple,  notes: "Total kW/kWh from main meters + per-feeder breakdown" }
  - { id: G-TREND-AHU,      name: "AHU Trends",                        tier: simple,  notes: "Supply temps, RH, valve position by AHU" }
  - { id: G-TREND-DOAS,     name: "DOAS Trends",                       tier: simple,  notes: "OA flow, indoor mixed temp/RH, fan speed" }
  - { id: G-TREND-HW,       name: "Hot Water System Trends",           tier: simple,  notes: "Tank temps, header temps, pump runtime" }

# ----- Report pages / dashboards -----
report_pages:
  - { id: G-RPT-DAILY,      name: "Daily Operations Report",           tier: medium,  notes: "Auto-generated daily summary: alarms, runtime, energy" }
  - { id: G-RPT-MONTHLY,    name: "Monthly Energy Report",             tier: medium,  notes: "kWh by feeder, peak demand, PUE-equivalent metrics" }
  - { id: G-RPT-RUNTIME,    name: "Equipment Runtime Report",          tier: simple,  notes: "Hours-run per pump, fan, chiller, cooling tower" }
  - { id: G-RPT-MAINT,      name: "Preventive Maintenance Schedule",   tier: simple,  notes: "Hours-since-service per equipment vs. PM intervals" }
  - { id: G-RPT-SAVINGS,    name: "Energy Savings Dashboard",          tier: medium,  notes: "Optimization algorithm performance — savings vs. baseline" }

# ----- Summary -----
summary:
  total_pages: 35
  by_tier:
    simple:   12
    medium:   17
    complex:   6
  hours_estimate:
    simple_hours:    24    # 12 × 2
    medium_hours:    68    # 17 × 4
    complex_hours:   48    # 6 × 8
    total_graphics_hours: 140
    person_days_at_8hr:   17.5

navigation_principles:
  - "Home page = high-level dashboard with KPI tiles + navigation. Click-through to floor or system pages."
  - "Per-floor pages show building plan with equipment overlays at their physical locations (per Q-005 architectural)."
  - "Per-system pages show P&ID-style flow with all equipment in the system."
  - "Equipment popup templates reused across instances — build once, instantiate per equipment."
  - "All pages use consistent color coding: green=running normal, yellow=warning, red=alarm/fault, gray=stopped/auto."
  - "Mobile-responsive: web-based UI works on tablet for plant walks (per BMS general spec)."

open_questions:
  - id: Q-013-graphics
    text: "Customer brand standard for graphics — Megaworld typically requires specific layout/color conventions per project. Confirm via Q-013."
  - id: Q-005-floorplans
    text: "Per-floor graphic pages need actual floor plan backgrounds — depends on Q-005 architectural drawings being available."
