SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Import data request meter data #2673

Closed macintoshpie closed 3 years ago

macintoshpie commented 3 years ago

Open Tech request

macintoshpie commented 3 years ago

To export meter data from ESPM, you must manage the property yourself or have the property shared with you. If you create a data request that includes monthly meter data, SEED is unable to import this from a spreadsheet currently b/c it's structured differently.

Managed export columns under 'Meter Entries' sheet: Property Name Portfolio Manager ID Portfolio Manager Meter ID Meter Name Meter Type Meter Consumption ID Start Date End Date Delivery Date Usage/Quantity Usage Units Cost ($) Estimation? Demand (kW) Demand Cost ($) Last Modified Date Last Modified By

Data request columns under 'Monthly Usage' sheet:

Property Id Property Name Parent Property Id Parent Property Name Month Electricity Use  (GJ) Natural Gas Use  (GJ)

Notable differences:

Limitations:

@adrian-lara @nllong Can you review the above and let me know what you think? Specifically how to handle the missing columns. It seems very doable to allow importing meter data from data request spreadsheets, but it is some effort.

adrian-lara commented 3 years ago

As mentioned over the call, the previous work related to this is this issue and the corresponding PR.

Given this was built before fully understanding the limitations of this route, this is just for reference and may not ultimately be useful going forward.

macintoshpie commented 3 years ago

After discussion, we identified some problems that make importing this type of file undesirable. When you export meters through the documented flow the spreadsheet includes "Portfolio Manager Meter ID" and "Meter Type", which the data request is missing.

"Meter Type" is used to determine the "source", which can be "Electricity - Grid", "Electricity - Solar" or "Electricity - Wind". If you knew what the source was, either added to the spreadsheet or selected when importing the spreadsheet, then we could handle this. But note that your selection would apply to all readings for that property (there's only one Electricity column in your data), which might not be accurate (e.g. a property might have both grid and solar).

Portfolio Manager Meter ID is used to discriminate multiple meters for the same property. E.g. you could have multiple "Electricity - Grid" meters for a single property in ESPM. From what we can tell, ESPM aggregates all of the meters into monthly readings when you use a data request template. SEED doesn't currently have an aggregate representation of meters, but it is possible that we could add this.

For these reasons we are recommending not implementing this until it's certain that this is our only option (ie that properties cannot be shared rather than responding to a data request)

macintoshpie commented 3 years ago

It appears that data sharing is not an option, and it is OK that only electricity and natural gas can be imported. In addition it appears to be ok that they are aggregated. To account for the above limitations I propose the following:

To summarize, the only meaningful difference between these meters and the ones we currently support is that they are a different type (aggregated) and that they don't have a source_id.

Remaining questions: