if (FALSE) {
library(antaresRead)
# Set simulation path
setSimulationPath(path = "PATH/TO/SIMULATION", simulation = "input")
# Write some economic options for areas a, b and c
writeEconomicOptions(data.frame(
area = c("a", "b", "c"),
dispatchable_hydro_power = c(TRUE, FALSE, FALSE),
spread_unsupplied_energy_cost = c(0.03, 0.024, 0.01),
average_spilled_energy_cost = c(10, 8, 8),
stringsAsFactors = FALSE
))
}
Run the code above in your browser using DataLab