Skip to content

malihanawshin/Renewable

Repository files navigation

Renewable Energy Tech: SolarROI Estimator

A React Native mobile app for estimating solar panel return on investment (ROI) based on home details like electricity usage and size. Built with Expo for quick deployment, it calculates production, savings, payback, and CO₂ reductions using standard PV formulas.

Features

  • Input form for monthly kWh, home size (m²), and sun hours with validation (max 2000 kWh for residential focus).
  • Real-time calculations: Annual production via $$ E = A \times r \times H \times PR $$ (A=roof area, r=0.15 efficiency, H=sun hours, PR=0.75), savings at 0.17€/kWh, and payback for €15,000 system.
  • Results display with BarChart (react-native-chart-kit) for cumulative ROI over 10 years.
  • Alerts for high payback (>20 years) and green theming for eco appeal.
  • Location-based sun hours via Expo Location API for auto-fills.
  • Export results as a shareable report with react-native-pdf.
  • Add battery storage estimator for hybrid solar setups.
  • Dark mode support.

Demo

Untitled.mp4

Installation

  1. Clone or create: npx create-expo-app SolarROI-Estimator.
  2. Install deps: npm install react-hook-form react-native-paper react-native-chart-kit react-native-svg.
  3. Paste provided App.tsx content.
  4. Run: npx expo start --clear then 'i' for iOS simulator.

Usage

  • Enter details (e.g., 400 kWh/month, 150 m² home).
  • Tap "Calculate ROI" for estimates and chart.
  • Test on Expo Go by scanning QR code.

Upcoming Features

  • Integration with API for real-time pricing/incentives.
  • Multi-language support.

1 2 3 4 5 6 7 8 9 10 11 12

About

React Native mobile app for estimating solar panel return on investment (ROI) based on home details like electricity usage and size.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors