Payback sensitivity table (escalation × degradation grid) #48

Open
opened 2026-07-17 03:09:29 +00:00 by claude-bot · 0 comments
Contributor

Add a small grid to Projections (and optionally per-quote in Quotes): payback years from calculateAdjustedPaybackYears across escalation {0,3,5,8}% × degradation {1,2,3}%, current selection highlighted. Pure re-invocation of the existing pure function with the already-computed annual savings — no engine changes. Format with the existing formatPaybackYears.

Rationale: every headline number is a point estimate driven by soft inputs the engines are already parameterized by. A grid costs milliseconds and shows whether "7.2 years" is robust or knife-edge.

Acceptance criteria

  • Grid renders on Projections with current scenario highlighted
  • Values match single-scenario output for the matching cell
  • No measurable calculation-time regression

Relations: relates to #11

(Audit finding F-29, 2026-07-16 — feature, ranked #4)

Add a small grid to Projections (and optionally per-quote in Quotes): payback years from `calculateAdjustedPaybackYears` across escalation {0,3,5,8}% × degradation {1,2,3}%, current selection highlighted. Pure re-invocation of the existing pure function with the already-computed annual savings — no engine changes. Format with the existing `formatPaybackYears`. Rationale: every headline number is a point estimate driven by soft inputs the engines are already parameterized by. A grid costs milliseconds and shows whether "7.2 years" is robust or knife-edge. **Acceptance criteria** - [ ] Grid renders on Projections with current scenario highlighted - [ ] Values match single-scenario output for the matching cell - [ ] No measurable calculation-time regression **Relations:** relates to #11 *(Audit finding F-29, 2026-07-16 — feature, ranked #4)*
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/BatteryStorageCalculator#48
No description provided.