We wanted to provide an easy way to estimate how long an off-grid vehicle can rely on solar power with a given set of loads, battery size, and solar array size.

What it does

It call's NREL's NSRDB API with input GPS coordinates and time period. Then, it parses the data received for the Global Horizontal Irradiance values for the location and times. Using those values, it calculates the solar PV generation, and uses the rest of the inputs to generate a graph of predicted battery charge over time.

How we built it

We used Python for the backend, with Flask and Jinja to provide a development web server to view HTML templates and pass data between modules.

Challenges we ran into

We were unfamiliar with GitHub collaborative practices, and how to use Flask

Accomplishments that we're proud of

It works!

What we learned

Remote work is challenging, but doable!

What's next for BeaverHacks Solar PV Calculator

We'd like to host it permanently on one of our web domains.

Built With

Share this project: