Template Class BaseBus

Inheritance Relationships

Base Type

Derived Types

Class Documentation

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

Base class for all power flow buses.

Derived bus types: 0 - swing bus (V and theta are constants) 1 - PV bus (P and V are constants) 2 - PQ bus (P and Q are constants)

Todo:

Consider static instead of dynamic polymorphism for bus types. Create Bus class that takes template parameter BusType.

Subclassed by GridKit::BusPQ< ScalarT, IdxT >, GridKit::BusPV< ScalarT, IdxT >, GridKit::BusSlack< ScalarT, IdxT >