BalencedGenDem: Balance Power network

Description Usage Arguments Examples

View source: R/BalencedGenDem.R

Description

Ensures that the demand and generation of the power network are balanced. This is used before power flow is calculated.

Usage

1
BalencedGenDem(g, DemandVar, GenerationVar, OutputVar = "BalencedPower")

Arguments

g

An igraph object representing a power network. A character vector.

DemandVar

The variable in g that contains the demand of each node. A character vector.

GenerationVar

The variable in g that contains the generation of each node. A character vector.

OutputVar

The desired output variable for the balanced net power demand of each node. A character vector the default is set to "BalencedPower".

Examples

1
BalencedGenDem(g, DemandVar, GenerationVar, OutputVar = "BalencedPower")

JonnoB/PowerGridNetworking documentation built on Aug. 7, 2021, 3:04 a.m.