read_prod_type: production data per types of production

Description Usage Arguments Examples

Description

import csv data representing production per types. The data is read from an entsoe repository.

Usage

1
2
read_prod_type(production_dir = NULL, capacity_dir = NULL,
  production_file = NULL)

Arguments

production_dir

datasets directory of data energy productions by types.

capacity_dir

datasets directory of data energy capacities by types.

production_file

YAML production file to be used. This file should contain for each country a list of production types.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
production_dir <- system.file(package = "antaDraft", "data_sample",
  "prod_sample_20160129/B01")
capacity_dir <- system.file(package = "antaDraft", "data_sample",
  "prod_sample_20160129/B06")
global_options <- getOption("global_options")
prod_by_types <- read_prod_type(production_dir = production_dir,
  capacity_dir = capacity_dir,
  production_file = global_options$thermal_production_per_country)

# Existing lists of production types -----
system.file(package = "antaDraft", "config/global/thermal_production.yml")
system.file(package = "antaDraft", "config/global/hps_production.yml")
system.file(package = "antaDraft", "config/global/thermal_production.yml")

rte-antares-rpackage/antaDraft documentation built on May 14, 2019, 2:59 p.m.