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
110 stars 55 forks source link

Update unit type mapping from Portfolio Manager for meter upload #2746

Closed aviveiros11 closed 3 years ago

aviveiros11 commented 3 years ago

Describe the bug If SEED is unable to map the units of meter usage from Portfolio Manager during upload, it will fail silently.

Expected Behavior SEED should handle all unit types being sent from ESPM as well as notify the user when their meters have not been properly uploaded.

Actual Behavior During upload - meters with incompatible types or mappings will not be uploaded.

Steps to Reproduce Included is a sample file with 12 months of both Electric -Grid and Natural Gas usage. Electric-Grid has compatible units but Natural Gas does not.

On the data upload modal:

The enumerations for the units are as follows:

SEED

    ['ccf (hundred cubic feet)'] = 102.60
    ['cf (cubic feet)'] = 1.03
    ['cm (cubic meters)'] = 36.30
    ['GJ'] = 947.82
    ['Btu'] = 0.001
    ['kBtu (thousand Btu)'] = 1.00
    ['kcf (thousand cubic feet)'] = 1026.00
    ['MBtu/MMBtu (million Btu)'] = 1000.00
    ['Mcf (million cubic feet)'] = 1026000.00

ESPM

ccf (hundred cubic feet)
cf (cubic feet)
cm (cubic meters)
GJ
kBtu (thousand Btu)
kcf (thousand cubic feet)
MBtu/ MMBtu/ Dth (million Btu/ dekatherm)
Mcf (million cubic feet)
therms

Swapping any of the SEED unit mappings will work successfully while using any of the ESPM output units not included on the SEED list will fail.

Instance Information dev1

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity within 60 days. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue has been closed automatically. If this still affects you please re-open this issue with a comment or contact us so we can look into resolving it.