Back to all updates

over 6 years ago

Important Info on Green Button Sample Data

Good morning! 11 days to go until submissions are due, and I have some important updates about the PG&E sample datasets, located at http://energy.gov/downloads/green-button-sample-data-pge

First, as requested, I've uploaded versions that include the zip code for that customer. Actual Green Button data includes the full address, of course, and looks something like this: 123 SAMPLE ST SAMPLE CITY CA 93657, but these samples only have the zip code for privacy reasons.

Second, it has just come to my attention that PG&E Green Button XML files are generated using the Eastern Time Zone. Since all of PG&E's customers are in the Pacfiic Time Zone, Green Button XML interval start data from these users should be adjusted by 10800 seconds to match their local usage time. The Green Button sample data was intended to include a parameter with the GMT offset, and we're looking in to why it is missing. Because this information comes so close to the submission deadline, contact us if this present a problem for your app- we won't penalize apps that assumed Green Button data was generated for the local time zone.

FInally, PG&E has added cost data to their Green Button files! For those of you building apps that incorporate cost information, this is a great opportunity. We don't yet have sample files from PG&E that include cost, but the cost is incorporated in the same manner as the Texas sample Green Button data, so you can use that as a model. I'll send another update once sample darta files that include cost are available. Until then, here is the format of a PG&E Green Button file that includes cost:

   

<entry>

    <id>urn:uuid:28100329-c34a-30bb-985b-f841a30f3aa2</id>

    <link href="/v1/User/3142504/UsagePoint/7451577/MeterReading/1/IntervalBlock/1" rel="self">

    </link>

    <content type="xml">

      <IntervalBlock xmlns="http://naesb.org/espi">

        <interval>

          <duration>34300800</duration>

          <start>1301803200</start>

        </interval>

        <IntervalReading>

          <cost>3252</cost>

          <timePeriod>

            <duration>3600</duration>

            <start>1321938000</start>

          </timePeriod>

          <value>266</value>

        </IntervalReading>

        <IntervalReading>

          <cost>2165</cost>

          <timePeriod>

            <duration>3600</duration>

            <start>1321941600</start>

          </timePeriod>

          <value>177</value>

        </IntervalReading>

 

Questions about any of this? Ask a question on the discussion forum, http://appsforenergy.challenge.gov/forum_topics or send us an email at apps@hq.doe.gov.

Thanks! Matthew