Template Class BusPV
Defined in File BusPV.hpp
Inheritance Relationships
Base Type
public GridKit::BaseBus< ScalarT, IdxT >(Template Class BaseBus)
Class Documentation
-
template<class ScalarT, typename IdxT>
class BusPV : public GridKit::BaseBus<ScalarT, IdxT> Implementation of a PV bus.
Voltage V and phase theta are variables in PV bus model. Active and reactive power, P and Q, are residual components.
Public Functions
-
virtual int setAbsoluteTolerance(RealT)
Compute the absolute tolerance for each variable in the model.
This represents a “noise” level close to zero for which pure relative error cannot be used.
- Parameters:
rel_tol – The relative tolerance which can be used to pick the absolute tolerance.
- Returns:
int 0 if successful, non-zero otherwise.
-
virtual int setAbsoluteTolerance(RealT)