Breakthrough-Energy / REISE.jl

Renewable Energy Integration Simulation Engine
https://breakthrough-energy.github.io/docs/
MIT License
30 stars 22 forks source link

fix: define interval length for load shed constraint function #153

Closed danielolsen closed 3 years ago

danielolsen commented 3 years ago

Pull Request doc

Purpose

Fix a bug introduced in #142, in which the interval_length variable is not defined within the _add_constraint_load_shed! function.

What the code is doing

Defining the variable, based on the dimensions of the existing bus_demand input.

Testing

In progress.

Time estimate

2 minutes.