Skip to content

An interactive calculator for deciding the voltage and current for a given power output for solar panels. Built with React and TailwindCSS. Created with StackBlitz ⚡️

Notifications You must be signed in to change notification settings

RDjarbeng/solar_capacity_calculator

Repository files navigation

Solar Panel Calculator

An interactive calculator for solar panel charging calculations, built with React and TailwindCSS. image

Features

  • Real-time calculation of charging parameters
  • Interactive inputs for solar panel specifications
  • Battery configuration options
  • Automatic current calculation based on voltage and power
  • Charging time estimation in hours and days
  • Example case study with common configurations

Technical Stack

  • React 18
  • TypeScript
  • TailwindCSS
  • Vite

Getting Started

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev

Usage

  1. Enter your solar panel specifications:
    • Voltage (V)
    • Power (W)
  2. Input battery details:
    • Single battery capacity (mAh)
    • Number of batteries
  3. View the results:
    • Charging current (mA)
    • Total battery capacity
    • Estimated charging time

Calculations

The calculator uses these fundamental electrical formulas:

  • Current (A) = Power (W) / Voltage (V)
  • Charging time (hours) = Battery Capacity (mAh) / Charging Current (mA)

Contributing

Feel free to open issues and pull requests for any improvements or bug fixes.

About

An interactive calculator for deciding the voltage and current for a given power output for solar panels. Built with React and TailwindCSS. Created with StackBlitz ⚡️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published