Template Class BusSlack

Inheritance Relationships

Base Type

Class Documentation

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

Implementation of a slack bus.

Slack bus sets voltage V and phase theta as constants. Active and reactive power, P and Q, are component model outputs, but are computed outside the BusSlack class.

Public Functions

inline virtual ScalarT &V()

Todo:

Should slack bus allow changing voltage?

inline virtual ScalarT &theta()

Todo:

Should slack bus allow changing phase?

inline virtual ScalarT &lambdaP()

Todo:

Should slack bus allow changing voltage?

inline virtual ScalarT &lambdaQ()

Todo:

Should slack bus allow changing phase?