Skip to content

feat(solar): add solar production forecast API and UI component#488

Merged
Dev-AdeTutu merged 2 commits into
Dev-AdeTutu:mainfrom
mandyslovestories-sudo:feat/solar-forecast-endpoint
Jun 28, 2026
Merged

feat(solar): add solar production forecast API and UI component#488
Dev-AdeTutu merged 2 commits into
Dev-AdeTutu:mainfrom
mandyslovestories-sudo:feat/solar-forecast-endpoint

Conversation

@mandyslovestories-sudo

@mandyslovestories-sudo mandyslovestories-sudo commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary\n\nAdds solar energy production forecasting to the SolarGrid platform.\n\n## Changes\n\nBackend\n- GET /api/solar/forecast — estimates kWh and XLM revenue for daily/weekly/monthly/yearly periods\n- Accounts for panel capacity, peak sun hours, efficiency, age degradation and system losses\n- GET /api/solar/irradiance-zones — reference peak sun hours by climate zone\n- Full input validation with descriptive errors\n\nFrontend\n- SolarForecast React component with form inputs, climate zone picker, result cards and assumptions panel\n- Matches project dark solar theme (Tailwind, no external UI libs)

Closes #397

mandyslovestories-sudo and others added 2 commits June 28, 2026 14:46
…nent

- GET /api/solar/forecast computes daily/weekly/monthly/yearly kWh and XLM revenue
- Accounts for panel capacity, peak sun hours, efficiency, age degradation, system losses
- GET /api/solar/irradiance-zones returns reference peak sun hours by climate zone
- SolarForecast React component with climate zone picker, result cards and assumptions panel
- Route registered at /api/solar in index.ts
@Dev-AdeTutu Dev-AdeTutu merged commit 851ca3d into Dev-AdeTutu:main Jun 28, 2026
0 of 3 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.

feat(backend): add Prometheus /metrics endpoint with request count and latency histograms

2 participants