NatLabRockies / NatLabRockies/SAM

Industrial Rates not Shown for Commercial URDB Downloads

Open
#2,253 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
486
Forks
219
Avg merge
10h 10m
Merged PRs (30d)
2

Description

For a Commercial case, the OpenEI Utility Rate Database window does not list rates classified in the URDB as Sector = Industrial.

In SAM, it is appropriate to use the Commercial financial model for a behind-the-meter system for an industrial building or facility.

For example, the Madison Gas and Electric Cg-2 and Cg-4 rates are both described as "Commercial and Industrial" rates, but for the Sector field, the URDB assigns "Industrial" to Cg-2 and "Commercial" to Cg-4.

Cg-2: https://apps.openei.org/IURDB/rate/view/648732db415f0823850590ba

Cg-4: https://apps.openei.org/IURDB/rate/view/648732db415f0823850590ba

The result is that in SAM, the Cg-2 rate is not listed for a commercial case:

Image

A workaround is to choose All to show the Cg-2 rate:

Image
To Reproduce
  1. Create a Commercial case.
  2. On the Electricity Rates page, click Search for rates.
  3. Filter the list of utilities for "MGE".
  4. Note the list of available rates does not include Cg-2.
Operating System and Version
  • SAM 2026.7.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Commercial case's Electricity Rates page and the Search for rates flow, reproducing the MGE filter and comparing the results with the All option. Trace how the case type is matched to the URDB Sector field; done means the Industrial-sector Cg-2 rate appears for a Commercial case without selecting All.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.