Package pypower :: Module totcost
[hide private]
[frames] | no frames]

Module totcost

source code

Computes total cost for generators at given output level.

Functions [hide private]
 
totcost(gencost, Pg)
Computes total cost for generators at given output level.
source code
Variables [hide private]
  __package__ = 'pypower'
Function Details [hide private]

totcost(gencost, Pg)

source code 

Computes total cost for generators at given output level.

Computes total cost for generators given a matrix in gencost format and a column vector or matrix of generation levels. The return value has the same dimensions as PG. Each row of gencost is used to evaluate the cost at the points specified in the corresponding row of Pg.

Authors:
Ray Zimmerman (PSERC Cornell), Carlos E. Murillo-Sanchez (PSERC Cornell & Universidad Autonoma de Manizales), Richard Lincoln