Unsteady aerodynamics, reduced-order modelling, and predictive control in linear and nonlinear aeroelasticity with arbitrary kinematics