Remodel/sprints/SPRINT_06.md
Mannu e6dc39aa33 [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish
- Engine: Add ppa_revenue_cr, mcp_revenue_cr, tariff, units to PnLRow
- Engine: Split PPA vs MCP revenue in P&L computation
- Web: Collapsible rows for PPA/MCP Revenue and Opex
- Web: Highlighted rows (Total Revenue, EBITDA, EBIT, PBT, PAT)
- Web: Units above Tariff in breakdown, bg-blue-50 highlight
- Fix sticky column z-index for horizontal scroll
- CLAUDE.md: Add project documentation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 10:42:36 +05:30

1.3 KiB
Raw Permalink Blame History

Goal: Usable web app for solar+wind (no BESS dispatch yet). Configurable dashboard. Wizard. Results. Tasks:

S6-T01 Build shared component using AG Grid Community. Props: rows, columns, edit handlers, validation per cell, footer (sum/check). S6-T02 Wizard component: 10 steps with progress bar, save-as-draft, validation. S6-T03 Step 1-2: Project info, generation config (use reference profile dropdown + upload). S6-T04 Step 3: BESS config (sizing, RTE, augmentation table via DataGrid). S6-T05 Step 4: CAPEX. Tier-1 fields prominent. "Show all" toggle reveals DataGrid with full CostItem table. S6-T06 Step 5: Phasing matrix (DataGrid: items × months, % per cell, row-sum validation). S6-T07 Step 6: Equity & Debt drawdown (two DataGrids). S6-T08 Step 7: OPEX (DataGrid: yearly rows). S6-T09 Step 8-10: Debt terms, tax, solver config. S6-T10 Configurable Dashboard: chip-based KPI selector. Default 12 KPIs. User toggles which to show. Persisted. S6-T11 Results page: KPIs at top, 5 charts (gen 8760 sample, P&L bars, DSCR by year, cash waterfall, sensitivity placeholder). S6-T12 Statements view: tabs for P&L/CFS/BS, year-columns layout, formatted Cr. S6-T13 Recent scenarios list, search, archive. S6-T14 Documentation.

Definition of Done: User can run a solar+wind scenario end-to-end via web UI. Dashboard shows pinned KPIs. Results render.