BalencedGenDem: Balance Power network

Description Usage Arguments

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".


JonnoB/PowerGridNetworking documentation built on Aug. 21, 2019, 8:42 a.m.