Skip to content

Commit

Permalink
Fix connection in write_net_revenue
Browse files Browse the repository at this point in the history
  • Loading branch information
cfe316 committed Dec 5, 2023
1 parent f4f9b82 commit 4356eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/write_outputs/write_net_revenue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function write_net_revenue(path::AbstractString, inputs::Dict, setup::Dict, EP::
# Add RPS/CES revenue to the dataframe
dfNetRevenue.ESRRevenue = zeros(nrow(dfNetRevenue))
if setup["EnergyShareRequirement"] > 0 && has_duals(EP) == 1 # The unit is confirmed to be $
dfNetRevenue.ESRRevenue = dfESRRev[1:G,:AnnualSum]
dfNetRevenue.ESRRevenue = dfESRRev[1:G,:Total]

Check warning on line 135 in src/write_outputs/write_net_revenue.jl

View check run for this annotation

Codecov / codecov/patch

src/write_outputs/write_net_revenue.jl#L135

Added line #L135 was not covered by tests
end

# Calculate emissions cost
Expand Down

0 comments on commit 4356eaf

Please sign in to comment.