InstantaneousPowerThreePhase
-
class InstantaneousPowerThreePhase : public vslib::Component
Public Functions
-
inline InstantaneousPowerThreePhase(std::string_view name, Component &parent)
Creates the abc to alpha-beta transformation Component
-
std::tuple<double, double> calculate(const double v_a, const double v_b, const double v_c, const double i_a, const double i_b, const double i_c) const noexcept
Performs the calculation of the active and reactive power of the a-b-c input
- Parameters:
v_a – a-phase voltage value
v_b – b-phase voltage value
v_c – c-phase voltage value
i_a – a-phase current value
i_b – b-phase current value
i_c – c-phase current value
- Returns:
Tuple of P, and Q: active and reactive power
-
inline InstantaneousPowerThreePhase(std::string_view name, Component &parent)