Learn R Programming

⚠️There's a newer version (0.9.0) of this package.Take me there.

antaresEditObject

Edit an Antares study before running a simulation.

Installation

Install from CRAN:

install.packages("antaresEditObject")

Or install dev version from GitHub:

remotes::install_github("rte-antares-rpackage/antaresEditObject", build_vignettes = TRUE)

Goal

This package allows to edit an Antares study. Methods are provided to create (and remove) areas, links between them, thermal clusters and binding constraints. These steps may be useful before running an Antares simulation.

See website for more documentation: https://rte-antares-rpackage.github.io/antaresEditObject/

Usage

Usage of the package is detailed in the vignette: vignette("antaresEditObject").

Copy Link

Version

Install

install.packages('antaresEditObject')

Monthly Downloads

412

Version

0.7.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Tatiana Vargas

Last Published

September 27th, 2024

Functions in antaresEditObject (0.7.1)

computeOtherFromHourlyYear

Compute daily, weekly, monthly and annual mc-ind from hourly data for one year. (new)
convertConfigToAdq

Read adequacy patch config.yml into Antares (v8.5+)
createArea

Create an area in an Antares study
check_consistency_reservoir_values

For a given area, check consistency between reservoir and reservoir capacity values
createBindingConstraintBulk

Create multiple binding constraint at once.
createBindingConstraint

Create a binding constraint
copyStudyWeb

Import physical study to Antares Web (managed study)
create-study

Create an empty Antares study
copyOutput

Copy of the output files of an Antares study
check_mingen_vs_hydro_storage

Check if mingen data and hydro storage data are consistent
computeTimeStampFromHourly

Compute daily, weekly, monthly and annual mc-ind from hourly data.
cleanUpOutput

Clean up output based on geographic trimming
adequacyOptions

Adequacy patch parameters for creating an area
editClusterST

Edit a short-term storage cluster
createCluster

Create a cluster
editLink

Edit a link between two areas
createDSR

Create a Demand Side Response (DSR)
createClusterBulk

Create serial thermal cluster
createClusterST

Create a short-term storage cluster
createDistrict

Create a district
check_mingen_vs_maxpower

Check if mingen data and maxpower data are consistent
propertiesLinkOptions

Properties for creating a link
playlist

Get the playlist of an Antares study Antares API OK
computeOtherFromHourlyMulti

Compute daily, weekly, monthly and annual mc-ind from hourly data multiyear. (new)
detect_pattern_in_binding_constraint

Detect a pattern in a binding constraint coefficient
createLink

Create a link between two areas
.format_ini_rhs

Format a value to a suitable format to rhs in an .ini file.
.format_playlist_weights

Generate playlist_year_weight section in the appropriate format.
updateGeneralSettings

Update general parameters of an Antares study
dicoGeneralSettings

Correspondence between arguments of updateGeneralSettings and actual Antares parameters.
createPSP

Create a Pumped Storage Power plant (PSP)
create_scb_referential_series_type

Create the correspondence data frame between the symbol and the type in scenario builder
deleteStudy

Delete a study or a simulation
updateInputSettings

Update input parameters of an Antares study
get_type_check_mingen_vs_maxpower_to_trigger

Get the type of control to execute between mingen data and maxpower data
.split_nodalOptimization_by_target

Split list nodalOptimization by target file.
getJobs

Retrieve API jobs
editArea

Edit an area in an Antares study
get_default_hydro_ini_values

Get default hydro.ini values
dicoOptimizationSettings

Correspondence between arguments of updateOptimizationSettings and actual Antares parameters.
mockSimulationAPI

Mock API usage
dicoOutputSettings

Correspondence between arguments of updateOutputSettings and actual Antares parameters.
.api_command_execute_edit_area

Edit area's parameters in API mode.
.initializeRenewablesArea

Initialize renewables data for a new area. For disk mode only.
group_values_meta_check

Check dimension of time series for binding constraints
nodalOptimizationOptions

Nodal optimization parameters for creating an area
.dailyToWeekly

Computation function for rebuild mc-ind weekly from daily data.
importZipStudyWeb

Import a local study to Antares Web
list_pollutants_values

Output pollutants list for thermal clusters
setAPImode

Set API mode
setSolverPath

Set path to Antares Solver
.hourlyToOther

Computation function for rebuild mc-ind daily, monthly and annual from hourly data.
updateOptimizationSettings

Update optimization parameters of an Antares study
updateOutputSettings

Update output parameters of an Antares study
editCluster

Edit an existing cluster
scenario-builder

Read, create, update & deduplicate scenario builder
editBindingConstraint

Update an existing binding constraint
.initializeLinksArea

Initialize links data for a new area. For disk mode only.
searchStudy

Search study in AntaREST
.initializeThermalArea

Initialize thermal data for a new area. For disk mode only.
filteringOptions

Output profile options for creating an area
fill_empty_hydro_ini_file

Write default values in hydro.ini file if the section is empty
fill_empty_hydro_ts_file

Write default input time series if mingen.txt or/and mod.txt is empty
getJobLogs

Retrieve job log from API
get_type_check_mingen_vs_hydrostorage

Get the type of control to execute using the 3 necessary booleans
removeArea

Remove an area from an Antares study
removeLink

Remove a link between two areas
removeBindingConstraint

Remove a Binding Constraint
removeCluster

Remove a cluster
rollback_to_previous_data

Rollback to previous hydro data if the data is not consistent
storage_values_default

Short Term Storage Property List
replicate_missing_ts

Replicate a data.table as many times as needed to get the same number of time series between 2 data.tables
writeHydroValues

Write Hydro Values
writeIniHydro

Edit hydro.ini values
get_type_check_mingen_vs_hydrostorage_to_trigger

Get the type of control to execute between mingen data and hydro storage data
runSimulation

Run an Antares Simulation
writeOutputValues

Write output value for Antares
writeSeriesPrepro

Write prepro data
variant-commands

Get API commands generated
updateAdequacySettings

Update adequacy parameters of an Antares study
runTsGenerator

Run Time-Series Generator
write-ini

Write configuration options in file or API
writeMiscGen

Write Misc Gen data
writeEconomicOptions

Write Economic Options
writeInputTS

Write input time series
variant

Create a study's variant
writeWaterValues

Write water values
checkRemovedArea

Seek for a removed area
activateRES

Activate RES in an Antares study
add_week_number_column_to_ts

Add week number column to a data.time of time series type
activateST

Activate st-storage in an Antares study
antaresEditObject-package

antaresEditObject: Edit an 'Antares' Simulation
backupStudy

Create a backup with an Antares Study
api_patch

API methods
check-version

Is study an Antares v7 study ?