Visualize results generated by Antares, a powerful open source software developed by RTE to simulate and study electric power systems (more information about 'Antares' here: < https://github.com/AntaresSimulatorTeam/Antares_Simulator>). This package provides functions that create interactive charts to help 'Antares' users visually explore the results of their simulations.
antaresViz
is the package to visualize the results of your Antares simulations that you have imported in the R session with package antaresRead
. It provides some functions that generate interactive visualisations. Moreover, by default, these functions launch a shiny widget that provides some controls to dynamically choose what data is displayed in the graphics.
This package has been published on CRAN, so you can install it easily:
install.packages("antaresViz")
To install the last development version:
devtools::install_github("rte-antares-rpackage/antaresViz", ref ="develop")
To display the help of the package and see all the functions it provides, type:
help(package="antaresViz")
antaresViz
provides a plot method for tables generated with antaresRead
. This method is for visualizing a single variable in different formats (times series, barplot, monotone, distribution and cumulative distribution). For instance, the following code displays the distribution of marginal price in different areas.
mydata <- readAntares(areas = "all")
plot(mydata, variable = "MRG. PRICE")
For more information, run:
?plot.antaresDataTable
Function prodStack
generates a production stack for a set of areas. Different stacks have been defined. One can see their definition with command productionStackAliases()
.
With function exchangesStack
, one can visualize the evolution and origin/destination of imports and exports for a given area.
The construction of maps first requires to associate geographic coordinates to the areas of a study. antaresViz provides function mapLayout
to do interactively this association.
# Get the coordinates of the areas as they have been placed in the antaresSoftwarelayout <- readLayout() # Associate geographical coordinatesmyMapLayout <- mapLayout(layout) # This mapping should be done once and the result be saved on disk.save(myMapLayout, file = "myMapLayout.rda")
Then map can be generated with function plotMap
:
myData <- readAntares(areas = "all", links = "all")plotMap(myData, myMapLayout)
You can use spMaps
to set a map background or download some files at http://www.gadm.org/country.
Contributions to the library are welcome and can be submitted in the form of pull requests to this repository.
Antares is a powerful software developed by RTE to simulate and study electric power systems (more information about Antares here : https://antares.rte-france.com).
ANTARES is now an open-source project (since 2018), you can download the sources here if you want to use this package.
Copyright 2015-2016 RTE (France)
This Source Code is subject to the terms of the GNU General Public License, version 2 or any higher version. If a copy of the GPL-v2 was not distributed with this file, You can obtain one at https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
Copyright © 2016 RTE Réseau de transport d’électricité
Changes in version 0.15.0 (2018-09-28)
NEW FEATURES:
BUGFIXES:
Changes in version 0.14.0 (2018-06-12)
NEW FEATURES:
Changes in version 0.13.0 (2018-05-03)
NEW FEATURES:
BUGFIXES:
Changes in version 0.12.0 (2017-12-14)
NEW FEATURES:
Changes in version 0.11 (2017-07-17)
NEW FEATURES:
BUGFIXES:
Changes in version 0.10 (2017-06-20)
BREAKING CHANGES:
NEW FEATURES:
BUGFIXES:
Changes in version 0.9 (2017-05-31)
NEW FEATURES:
BUGFIXES:
Changes in version 0.8 (2017-04-07)
NEW FEATURES:
BUGFIXES:
Changes in version 0.7 (2017-02-23)
NEW FEATURES:
BUGFIXES:
Changes in version 0.6 (2017-01-23)
BREAKING CHANGES:
NEW FEATURES:
BUGFIXES:
Changes in version 0.5 (2016-11-14)
NEW FEATURES:
Changes in version 0.4 (2016-10-06)
BREAKING CHANGES:
Changes in version 0.3 (2016-09-27)
NEW FEATURES:
Changes in version 0.2 (2016-08-22)
NEW FEATURES: