Skip to content

Commit

Permalink
remove old comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
adfarth committed Jan 18, 2024
1 parent 9b234f5 commit 60c423c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/core/reopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -483,14 +483,6 @@ function build_reopt!(m::JuMP.AbstractModel, p::REoptInputs)

# Set model objective
@objective(m, Min, m[:Costs] + m[:ObjectiveIncentives] )

# if !(isempty(p.s.storage.types.elec)) && p.s.settings.add_soc_incentive # Keep SOC high
# @objective(m, Min, m[:Costs] -
# sum(m[:dvStoredEnergy][b, ts] for b in p.s.storage.types.elec, ts in p.time_steps) /
# (8760. / p.hours_per_time_step)
# )

# end

for b in p.s.storage.types.elec
if p.s.storage.attr[b].model_degradation
Expand Down

0 comments on commit 60c423c

Please sign in to comment.