Skip to content

Commit

Permalink
reinserting an end for function
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancutler committed Feb 9, 2021
1 parent 22ae589 commit 4313f4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reo/src/reopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ end
function calculate_average_daily_reduction(m, p, month, event_index)
#Take average across event hours
return sum([m[:dvHourlyReductionRA][month, event_index, h] for h in 0:p.RaMooHours-1])/p.RaMooHours
end

function add_coincident_peak_charge_constraints(m, p)
## Constraint (14a): in each coincident peak period, charged CP demand is the max of demand in all CP timesteps
Expand Down

0 comments on commit 4313f4a

Please sign in to comment.