Dynamic Control Surface deflection Generator
The object generates a deflection in radians based on the time series given as a single vector in the input data. A first order finite-differences scheme is used to calculate the deflection rate based on the provided time step increment.
To call this generator, the
generator_id = DynamicControlSurfacekey shall be used for the setting control_surface_deflection in the
One instance of this generator will be created for each control surface, thus, a group of settings should be defined for each control surface (
cs1_settings… in the example below). All of these groups of settings should be collected as values in a dictionary which keys are the associated control surface number in string format. This dictionary should be parsed to the variable
AerogridLoader. This is shown better in the example below:
deflection (np.array): Array of deflection of the control surface deflection_dot (np.array): Array of the time derivative of the cs deflection. Calculated using 1st order finite differences.
This generator takes the following inputs:
Time step increment
Path to the file with the deflection information