AlphaBetaToDq0Transform

class AlphaBetaToDq0Transform : public vslib::Component

Public Functions

inline AlphaBetaToDq0Transform(std::string_view name, Component &parent, const uint64_t number_points = 1000)

Creates the alpha-beta to dq0 transformation Component.

Parameters:
  • name – Name of the Component

  • parent – Parent of this Component

  • number_points – Number of points for the sine and cosine lookup tables

std::tuple<double, double, double> transform(const double f_alpha, const double f_beta, const double f_0, const double wt, const bool a_alignment = true) noexcept

Performs alpha-beta-zero to dq0 transform.

Parameters:
  • f_alpha – alpha-component of alpha-beta-zero-frame component

  • f_beta – beta-component of alpha-beta-zero-frame component

  • f_0 – zero-component of alpha-beta-zero-frame component

  • wt – angle (in radians) between q and alpha

  • a_alignment – Whether the frame alignment at t=0 is aligned with A-axis (true) or 90 degrees behind A-axis (false)

Returns:

Tuple of d, q, 0 values