https://github.com/nsaunders/energy-usage
https://github.com/nsaunders/energy-usage
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nsaunders/energy-usage
- Owner: nsaunders
- Created: 2021-11-08T03:38:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T12:07:51.000Z (over 4 years ago)
- Last Synced: 2025-04-27T22:02:25.992Z (about 1 year ago)
- Language: PureScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# energy-usage
### How to use
1. Set `solarOutput` in `src/Main.purs` to the kW output of the solar system being considered.
2. Place usage data downloaded from APS account in `usage.csv`. See `usage.csv.example` for the required format.
3. Run `spago run && open output.html` to view the report.
### Assumptions
1. System generates no power before (sunrise + 1 hour).
2. System generates no power after (sunset - 1 hour).
3. System generates `solarOutput` kW consistently throughout the day otherwise.
4. [APS Saver Choice Max plan](https://www.aps.com/en/Residential/Service-Plans/Compare-Service-Plans/Saver-Choice-Max)
5. Located in Phoenix.
### References
Holidays: [APS Saver Choice](https://www.aps.com/en/Residential/Service-Plans/Compare-Service-Plans/Saver-Choice)
Rates: [APS Saver Choice Max plan](https://www.aps.com/en/Residential/Service-Plans/Compare-Service-Plans/Saver-Choice-Max)