Skip to content

Check that load and critical load data have same time step #1015

@cpaulgilman

Description

@cpaulgilman

Describe the bug

SAM UI checks added in NatLabRockies/SAM#1390 display UI error messages when critical load and load data have different time steps, but SSC does not prevent simulation from running under this condition.

To Reproduce

  1. Using a build of SAM from the Patch branch that includes Critical load data length compared to load SAM#1390, open the SAM file and load the 15-minute weather file from here.
  2. Go to the Grid Outage and Electric Load pages and see the error messages.
  3. Run a simulation and note no simulation message.

On Data Tables tab of Results page, note that "Critical load in this timestep" and "Lifetime electricity load" are of correct length: Hourly critical load data is converted to 15-minute data.

Critical load data 60-minute input:
image

Resulting output, with 60-minute critical load data converted to 15-minute time steps:
image

Expected behavior
I would expect a simulation message if time steps do not match, but perhaps the automatic conversion is the behavior we intended?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions