Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investment and fixed charge costs missing from NetRevenue.csv output #571

Closed
ASamarkRoth opened this issue Nov 5, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ASamarkRoth
Copy link

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

@cfe316
Copy link
Collaborator

cfe316 commented Dec 13, 2023

Thanks Anton. This is the same issue as #485.

@sambuddhac
Copy link
Collaborator

This is already taken care of, in the develop branch. Will be reflected on main after the merge of develop to main (followed by release of version v0.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants