From d4de39cfe93a533f9195deb25073ba7191bceae7 Mon Sep 17 00:00:00 2001 From: "Chakrabarti, Sambuddha (Sam)" Date: Fri, 12 Jan 2024 20:32:50 -0500 Subject: [PATCH] Update write_net_revenue.jl Gotten rid of extra comments that are unnecessary --- src/write_outputs/write_net_revenue.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/write_outputs/write_net_revenue.jl b/src/write_outputs/write_net_revenue.jl index aaabfe784a..eb17cd001b 100644 --- a/src/write_outputs/write_net_revenue.jl +++ b/src/write_outputs/write_net_revenue.jl @@ -149,9 +149,6 @@ function write_net_revenue(path::AbstractString, inputs::Dict, setup::Dict, EP:: CO2ZONES = findall(x->x==1, inputs["dfCO2CapZones"][:,cap]) GEN_IN_ZONE = dfGen[[y in CO2ZONES for y in dfGen[:, :Zone]], :R_ID] if setup["CO2Cap"]==1 || setup["CO2Cap"]==2 # Mass-based or Demand + Rate-based - # For Mass-based - # Cost = sum(sum(emissions of gen y * dual(CO2 constraint[cap]) for z in Z) for cap in setup["NCO2"]) - # OR for Demand + Rate-based # Cost = sum(sum(emissions for zone z * dual(CO2 constraint[cap]) for z in Z) for cap in setup["NCO2"]) temp_vec = value.(EP[:eEmissionsByPlant][GEN_IN_ZONE, :]) * inputs["omega"] dfNetRevenue.EmissionsCost[GEN_IN_ZONE] += - co2_cap_dual * temp_vec