Template Class GeneratorPQ

Inheritance Relationships

Base Type

Class Documentation

template<class ScalarT, typename IdxT>
class GeneratorPQ : public GridKit::GeneratorBase<ScalarT, IdxT>

Implementation of a PV generator.

Public Functions

GeneratorPQ(bus_type *bus, GenData &data)

Constructor for a constant load model.

Calls default ModelEvaluatorImpl constructor.

virtual int allocate()

allocate method computes sparsity pattern of the Jacobian.

virtual int initialize()

Initialization of the grid model

virtual int evaluateResidual()

Contributes to the bus residual.

Must be connected to a PQ bus.