LinControlSurfaceDeflector
- class sharpy.linear.assembler.lincontrolsurfacedeflector.LinControlSurfaceDeflector[source]
Subsystem that deflects control surfaces for use with linear state space systems.
Note
The control surface sign convention is different to the convention in the nonlinear solver. See https://www.github.com/imperialcollegelondon/sharpy/issues/193 for more details.
In the linear implementation, the control surface deflection sign convention follows the \(x_B\) vector, thus, in order to have symmetric control surface deflections, additional inputs may be required compared to the implementation in the nonlinear solver.
The current version supports only deflections. Future work will include standalone state-space systems to model physical actuators.
- apply(ss)[source]
Applies the control surface deflection to the UVLM state space
- Parameters:
ss (libss.StateSpace) – UVLM state space
- Returns:
UVLM state-space with control surfaces and control surface deflection rate as inputs
- Return type:
- generate()[source]
Generates a matrix mapping a linear control surface deflection onto the aerodynamic grid.
This generates two matrices:
Kzeta_delta maps the deflection angle onto displacements. It has as many columns as independent control surfaces.
Kdzeta_ddelta maps the deflection rate onto grid velocities. Again, it has as many columns as independent control surfaces.
- Returns:
Tuple containing Kzeta_delta and Kdzeta_ddelta.
- Return type:
tuple