Learn R Programming

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

726

Version

0.9.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Tatiana Vargas

Last Published

November 17th, 2025

Functions in antaresEditObject (0.9.3)

computeTimeStampFromHourly

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

Create a Demand Side Response (DSR)
createClusterST

Create a short-term storage cluster
createClusterBulk

Create serial thermal cluster
createLink

Create a link between two areas
createPSP

Create a Pumped Storage Power plant (PSP)
createDistrict

Create a district
.dailyToWeekly

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

Edit area's ui in API mode.
createCluster

Create a cluster
deleteStudy

Delete a study or a simulation
createBindingConstraintBulk

Create multiple binding constraint at once.
create_scb_referential_series_type

Create the correspondence data frame between the symbol and the type in scenario builder
.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.
dicoAdequacySettings

Correspondence between arguments of updateAdequacySettings and actual Antares parameters.
detect_pattern_in_binding_constraint

Detect a pattern in a binding constraint coefficient
.initializeLinksArea

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

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

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

Edit area's parameters in API mode.
.hourlyToOther

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

Retrieve API jobs
dicoGeneralSettings

Correspondence between arguments of updateGeneralSettings and actual Antares parameters.
dicoOptimizationSettings

Correspondence between arguments of updateOptimizationSettings and actual Antares parameters.
fill_empty_hydro_ini_file

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

Output profile options for creating an area
.format_ui_data_by_mode

Generate the data for the ui part by study mode.
fill_empty_hydro_ts_file

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

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

Edit an area in an Antares study
playlist

Get the playlist of an Antares study
propertiesLinkOptions

Properties for creating a link
get_type_check_mingen_vs_maxpower_to_trigger

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

Retrieve job log from API
.split_nodalOptimization_by_target

Split list nodalOptimization by target file.
editLink

Edit a link between two areas
editClusterST

Edit a short-term storage cluster
get_default_hydro_ini_values

Get default hydro.ini values
removeArea

Remove an area from an Antares study
removeBindingConstraint

Remove a Binding Constraint
removeLink

Remove a link between two areas
nodalOptimizationOptions

Nodal optimization parameters for creating an area
mockSimulationAPI

Mock API usage
replicate_missing_ts

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

Check dimension of time series for binding constraints
createArea

Create an area in an Antares study
removeDistrict

Remove a district
setAPImode

Set API mode
removeCluster

Remove a cluster
searchStudy

Search study in AntaREST
updateGeneralSettings

Update general parameters of an Antares study
updateInputSettings

Update input parameters of an Antares study
variant

Create a study's variant
writeMiscGen

Write Misc Gen data
writeOutputValues

Write output value for Antares
write-ini

Write configuration options in file or API
setThematicTrimming

Set the thematic trimming of an Antares Study
get_type_check_mingen_vs_hydrostorage_to_trigger

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

Set path to Antares Solver
runTsGenerator

Run Time-Series Generator
scenario-builder

Read, create, update & deduplicate scenario builder
writeEconomicOptions

Write Economic Options
updateOptimizationSettings

Update optimization parameters of an Antares study
runSimulation

Run an Antares Simulation
rollback_to_previous_data

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

Update a specific section in generaldata.ini file
createBindingConstraint

Create a binding constraint
.initializeThermalArea

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

Update an existing binding constraint
.is_version_9

function that ensures the transition to 9
writeIniHydro

Edit hydro.ini values
updateOutputSettings

Update output parameters of an Antares study
writeInputTS

Write input time series
writeHydroValues

Write Hydro Values
variant-commands

Get API commands generated
updateAdequacySettings

Update adequacy parameters of an Antares study
storage_values_default

Short Term Storage Property List
importZipStudyWeb

Import a local study to Antares Web
list_pollutants_values

Output pollutants list for thermal clusters
editCluster

Edit an existing cluster
writeSeriesPrepro

Write prepro data
writeWaterValues

Write water values
activateRES

Activate RES in an Antares study
backupStudy

Create a backup with an Antares Study
add_week_number_column_to_ts

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

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

Seek for a removed area
adequacyOptions

Adequacy patch parameters for creating an area
activateST

Activate st-storage in an Antares study
antaresEditObject-package

antaresEditObject: Edit an 'Antares' Simulation
check-version

Is study an Antares v7 study ?
api_patch

API methods
computeOtherFromHourlyYear

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

Copy of the output files of an Antares study
convertConfigToAdq

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

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

Create an empty Antares study
cleanUpOutput

Clean up output based on geographic trimming
check_mingen_vs_hydro_storage

Check if mingen data and hydro storage data are consistent
check_mingen_vs_maxpower

Check if mingen data and maxpower data are consistent
computeOtherFromHourlyMulti

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