Template Class Load
Defined in File Load.hpp
Inheritance Relationships
Base Type
public GridKit::ModelEvaluatorImpl< ScalarT, IdxT >(Template Class ModelEvaluatorImpl)
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.
-
Load(bus_type *bus, ScalarT P, ScalarT Q)