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

[Proposal]: Don't output duplicate data in additional files #764

Open
cfe316 opened this issue Aug 28, 2024 · 0 comments
Open

[Proposal]: Don't output duplicate data in additional files #764

cfe316 opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cfe316
Copy link
Collaborator

cfe316 commented Aug 28, 2024

Feature description

write_charging_cost outputs ChargingCost.csv.
write_energy_revenue outputs EnergyRevenue.csv.
write_subsidy_revenue outputs [Reg]SubsidyRevenue.csv.
write_operating_reserve_price_revenue outputs OperatingReserveRevenue.csv and OperatingRegulationRevenue.csv.

Each of these have a single column of interesting data, with one row per resource.

All of them are straightforwardly aggregated into NetRevenue.csv.

Motivation

Not outputting these 4-to-6 additional files would remove clutter in the results directory.

Implementation strategy

Remove the csv-writing calls from each. Just return the dataframes, which are already done.

Change the names of these functions from write_* to prepare_* (or some other prefix, like prepare_output_*).

Clean up unneeded columns (R_ID, cluster, zone) from the individual dataframes.

Additional context

No response

@cfe316 cfe316 added the enhancement New feature or request label Aug 28, 2024
@cfe316 cfe316 changed the title [Feature]: Don't output duplicate data in additional files [Proposal]: Don't output duplicate data in additional files Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant