Investment and fixed charge costs missing from NetRevenue.csv
output
#571
Labels
bug
Something isn't working
NetRevenue.csv
output
#571
Should add line:
dfNetRevenue.Inv_cost_Charge_MW = dfGen[!,:Inv_Cost_Charge_per_MWyr] .* dfCap[1:end-1,:NewChargeCap]
after line 19 and:
dfNetRevenue.Fixed_OM_cost_Charge_MW = dfGen[!,:Fixed_OM_Cost_Charge_per_MWyr] .* dfCap[1:end-1,:EndChargeCap]
after line 27 in https://github.com/GenXProject/GenX/blob/main/src/write_outputs/write_net_revenue.jl
as well as incorporating these additions to the costs calculation at the end of the function:
dfNetRevenue.Cost = dfNetRevenue.Inv_cost_MW .+ dfNetRevenue.Inv_cost_MWh .+ dfNetRevenue.Inv_cost_Charge_MW .+ dfNetRevenue.Fixed_OM_cost_MW .+ dfNetRevenue.Fixed_OM_cost_MWh .+ dfNetRevenue.Fixed_OM_cost_Charge_MW .+ dfNetRevenue.Var_OM_cost_out .+ dfNetRevenue.Var_OM_cost_in .+ dfNetRevenue.Fuel_cost .+ dfNetRevenue.Charge_cost .+ dfNetRevenue.EmissionsCost .+ dfNetRevenue.StartCost
The text was updated successfully, but these errors were encountered: