This application emulates the PVWatts application produced by the National Renewable Energy Lab. Though it is somewhat different in appearance, it provides the same basic functionality as the NREL site. My site leverages NREL's PVWatts API to offer the user information on the likely productivity of a photovoltaic power system in a given location. The site translates geographic information into solar energy data, then combines that with specific details about the planned PV system (as entered by the user). The combination of solar and system information enables a month-by-month estimation of the electricity cost savings
React, JavaScript, HTML, CSS, React-Bootstrap (for Table, Form, and Carousel) APIs: Google Geocode, React Google Maps, and NREL PVWatts V6
1. Enter the address for the property in question in the search bar at the top of the page. 2. Click on the right arrow, to move to the Solar Resource Data page.- The Solar Resource Data page will show the lat/ long associated with the given address, as well as a map of the location. Confirm that this is the correct location and enter the price of electricity in the region of interest.
- Click the right arrow to move to the System Information page.
- Change the form as needed to describe the system planned for the given location.
- Click the right arrow to move to the Data Summary page.
- Confirm that all data is correct. If it requires adjustment, you can click the back arrows to go back and revise your numbers.
- Once all values are correct, click the "Submit Data" button.
- Click the right arrow to go to the Results page.
- The Results page shows a month-by-month assessment of historical solar radiation figures, expected energy output, and the value of that output for a given electricity cost. It also has annual totals at the bottom of the table.
Under System Information the pull-down menus continue to show their original labels even after a selection has been made, making it difficult for a user to know if his/ her selection has registered.
First, I want to make the aesthetic of the system info data confirmation / entry more in line with that of the NREL page.
Secondly, I want to adjust the map, which currently bleeds off the screen a bit. I'd also like to change the label to the address entered by the user (currently it says "Location").
Currently the user must hit a button on the Submit Data page to validate all data (thus triggering a call to the PVWatts API). This is different to all previous navigation which takes place through the navigation arrows on the right and left side of the screen. A better solution will automatically make the API call when the user clicks the arrow that advances him / her to the Results page, eliminating the need for the button.
The actual PVWatts app has a nice display at the top of the page that shows all required steps towards the completion of the analysis. In a future version I would like to replicate this.
Similarly, the NREL site's navigation arrows offer information about the destination to which they will take the user.
Finally, my site does not tap into NREL's database of retail electricity prices (as does PVWatts). I'd like to add a call to this NREL API, which would offer users an electricity price based on their region.