Skip to content

Add function to convert coefficients from MSA matrix to RP csv

  • The MSA toolkit stores aerodynamic coefficients as a nd matrix (15, alpha, mach, beta, altitude, abk, xcg)
  • RocketPy loads coefficients as a (1, alpha, beta, mach, Re, p, q, r) csv for each coefficient

It is necessary to implement a parser to convert the nd matrix to a compatible csv.

Necessary modifications:

  • [CA, CY, CN] must be converted to [CQ, CL, CD] (RP uses aerodynamic reference frame)
  • Altitude must be converted to Re (Using standard air hypothesis)
  • Xcg is ignored
  • Abk is ignored (Will be added separately)
  • Dependency on p,q,r is negligible