Template Class Load

Inheritance Relationships

Base Type

Class Documentation

template<class ScalarT, typename IdxT>
class Load : public GridKit::ModelEvaluatorImpl<ScalarT, IdxT>

Declaration of a passive load class.

Public Functions

Load(bus_type *bus, ScalarT P, ScalarT Q)

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.