Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…resRead into ant1717_from_master
  • Loading branch information
kemihak committed Dec 12, 2024
2 parents 56e4e6f + ef5ac59 commit 9924127
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
BUGFIXES :
* `setSimulationPathAPI()` : encode URL before reading the data in simulation mode
* `api_get()` : add warn_for_status in importFrom section
* `readAntares()` : In disk mode, return all the available columns for a short-term storage output and match the column with the content

BREAKING CHANGES :
* `setSimulationPathAPI()` : reads and returns the new converted study version format (ex : 9.0 => 900)
Expand Down
5 changes: 3 additions & 2 deletions inst/format_output/simulation_variables_names_by_support.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"Generation / Thermal";"details";"Profit by plant";4;"Net Profit by Thermal Cluster (€)";"profitByPlant";830;"Profit - Euro";"profit"
"Generation / Renewables";"details-res";"RES generation by plant";1;"Renewable Energy Generation by Power Plant Cluster (MWh)";"resGenerationByPlant";810;"MWh";"production"
"Generation / Short-Term Storages";"details-STstorage";"STS inj by plant";1;"Short-Term Storage Injection by Power Plant (MWh)";"stsInjByPlant";860;"P-injection - MW";"P.injection"
"Generation / Short-Term Storages";"details-STstorage";"STS lvl by plant";2;"Short-Term Storage Level by Power Plant (MWh)";"stsLvlByPlant";860;"Levels - MWh";"levels"
"Generation / Short-Term Storages";"details-STstorage";"STS withdrawal by plant";3;"Short-Term Storage Withdrawal by Power Plant (MWh)";"stsWithdrawalByPlant";860;"P-withdrawal - MW";"P.withdrawal"
"Generation / Short-Term Storages";"details-STstorage";"STS withdrawal by plant";2;"Short-Term Storage Withdrawal by Power Plant (MWh)";"stsWithdrawalByPlant";860;"P-withdrawal - MW";"P.withdrawal"
"Generation / Short-Term Storages";"details-STstorage";"STS lvl by plant";3;"Short-Term Storage Level by Power Plant (MWh)";"stsLvlByPlant";860;"Levels - MWh";"levels"
"Generation / Short-Term Storages";"details-STstorage";"STS Cashflow By Cluster";4;"Storage Cashflow by Thermal Cluster (€)";"stsCashflowByCluster";880;"CashFlow - Euro";"Cashflow"
2 changes: 1 addition & 1 deletion tests/testthat/test-importOutputForClusters.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ test_that(".importOutputForSTClusters is ok", {
opts=opts
)

required_order_simulation_variables <- c("P.injection","levels","P.withdrawal")
required_order_simulation_variables <- c("P.injection","P.withdrawal","levels")

order_simulation_variables <- colnames(OutputForSTClusters)[colnames(OutputForSTClusters) %in% required_order_simulation_variables]

Expand Down

0 comments on commit 9924127

Please sign in to comment.