Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Green Button Data #193

Open
AdamFinkle opened this issue May 29, 2024 · 1 comment
Open

Parse Green Button Data #193

AdamFinkle opened this issue May 29, 2024 · 1 comment

Comments

@AdamFinkle
Copy link
Collaborator

AdamFinkle commented May 29, 2024

Green Button is a national standard electric / natural gas utility button on billing websites to download an XML (which is standardized across utilities) or CSV file (which is not) with billing / energy use data. We should find or write a library to parse this data to allow our parser to parse this Green Button data from natural gas companies besides National Grid and Eversource, in other words the vast majority of natural gas / electric utilities in the United States.

One reason we want to look at Green Button data beyond standardization across natural gas billing is that it also includes electric billing, which would let us review the use of electricity to run electric furnaces, which heat pumps could also more efficiently replace.

Here are our candidate libraries / packages.

First. It is old, and the documentation could be better, but the sole contributor is still around GitHub, and it might meet our needs. The biggest problem is that it is not a Python Package.

Second. It is old too, the sole maintainer is possibly still around but even less active, and there is hardly any documentation, but it is a Python Package. A first examination by Steve suggests it does not output usage during a billing period but rather provides access to meter readings whence we might calculate billing period usage with custom code.

Regardless, there is the opportunity to share upstream any improvements we might make to documentation and functionality because both GitHub users might still be around. Unless we can find further libraries, our best case scenario choice seems to be between manually including one library or running custom code on top of a package, and we remain unsure of whether either one works satisfactorily yet. Further research into the documents of these libraries, and that of the very well documented Green Button XML standard, might better elucidate their function.

The HeatSmart Alliance needs to collect some GreenButton XML natural gas files to review and test these libraries on. Furthermore, the Alliance needs CSV files for the same periods and from the same users to test whether the results of parsing the XML and CSV are exactly the same. These XML files need their user IDs and home addresses redacted before use.

@jkwan2011
Copy link
Collaborator

Thanks for the investigation! Any of these approaches sounds reasonable to me, and would be a good enhancement for the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants