getVertices: Give the vertices from PTDF data

View source: R/getVertices.R

getVerticesR Documentation

Give the vertices from PTDF data

Description

This function generates the vertices of the polyhedra from the facets equation. It can only be computed after using setDiffNotWantedPtdf which itself compute the plans equations. Otherwise, it will crash because the ptdf won't correspond to facets equations.

Usage

getVertices(PTDF, ctrdel = NULL)

Arguments

PTDF

data.frame | data.table PLAN, at least Date, Period and two ptdf columns :

  • ptdfAT : autrichian vertices

  • ptdfBE : belgium vertices

  • ptdfDE : german vertices

  • ptdfFR : french vertices

  • ram : line limits

  • Date : date in format YYYY-MM-DD

  • Period : hour in the day, between 1 and 24

ctrdel

character name of country deleted (two maj letters, ex : FR for France or NL for Nederlands), can be NULL

Examples

## Not run: 
PLAN <- readRDS(system.file("testdata/plan_test.rds", package = "fbClust"))

VERT <- getVertices(PLAN)

## End(Not run)

rte-antares-rpackage/fbClust documentation built on July 4, 2023, 12:06 a.m.