After the severe storms like the February 2021 Texas winter storm, many Texas residents are worried about future electricity grid failures. To prevent experiencing another power crisis, many have looked towards transitioning to alternative energy sources. The Residential Solar Calculator application will assist DFW residents in shifting to solar energy by providing estimates on a suitable solar system. The calculator assists users in determining the best solar energy system configuration, estimated investment costs, and educates users on the benefits of solar energy.
- Provide a breakdown of the solar energy system's configuration based on user need's
- Number of solar panels
- Number of batteries
- Provide the estimated total investment cost
- Educate users on solar energy and its benefits
- PVWatts: Third party API to calculate solar production
- Geopy: library for getting longitude and latitude based off of address
- React (framework)
- PrimeReact (UI component library)
- TailwindCSS (styling)
- Javascript (language)
- Node.js (runtime)
- Flask (framework)
Before running the project, make sure the following software are installed:
After installing the required software, do the following:
- Open VSCode and click the "Clone Repository" Button on the welcome screen.
- In the GitHub repository, click on the green "Code" Button and copy the HTTPS URL.
- Enter the HTTPS URL into the input box and choose a location for the local repository.
- Once the project is open, click on the terminal window.
- Run "npm install" to install the required dependencies.
- Traverse to the solar calculator directory by running "cd src/solar_calculator" to get to the python code.
- Then run "flask run". This should display a message saying the server successfully started.
- Open another terminal window and run "npm start" to start the frontend application.
After the setting up the first time, you only need to do the following:
- Open a terminal and "cd src/solar_calculator".
- Run "flask run".
- Open another terminal window and run "npm start".