aerosandbox.dynamics.point_mass.point_2D
#
Submodules#
Package Contents#
Classes#
Dynamics instance: |
|
Dynamics instance: |
- class aerosandbox.dynamics.point_mass.point_2D.DynamicsPointMass2DCartesian(mass_props=None, x_e=0, z_e=0, u_e=0, w_e=0, alpha=0)[source]#
Bases:
aerosandbox.dynamics.point_mass.point_3D.cartesian.DynamicsPointMass3DCartesian
Dynamics instance: * simulating a point mass * in 2D * with velocity parameterized in Cartesian coordinates
- State variables:
x_e: x-position, in Earth axes. [meters] z_e: z-position, in Earth axes. [meters] u_e: x-velocity, in Earth axes. [m/s] w_e: z-velocity, in Earth axes. [m/s]
- Indirect control variables:
alpha: Angle of attack. [degrees]
- Control variables:
Fx_e: Force along the Earth-x axis. [N] Fz_e: Force along the Earth-z axis. [N]
- Parameters:
mass_props (aerosandbox.weights.mass_properties.MassProperties) –
x_e (Union[float, aerosandbox.numpy.ndarray]) –
z_e (Union[float, aerosandbox.numpy.ndarray]) –
u_e (Union[float, aerosandbox.numpy.ndarray]) –
w_e (Union[float, aerosandbox.numpy.ndarray]) –
alpha (Union[float, aerosandbox.numpy.ndarray]) –
- property state: Dict[str, float | aerosandbox.numpy.ndarray]#
Returns the state variables of this Dynamics instance as a Dict.
Keys are strings that give the name of the variables. Values are the variables themselves.
- This method should look something like:
>>> { >>> "x_e": self.x_e, >>> "u_e": self.u_e, >>> ... >>> }
- Return type:
Dict[str, Union[float, aerosandbox.numpy.ndarray]]
- property control_variables: Dict[str, float | aerosandbox.numpy.ndarray]#
- Return type:
Dict[str, Union[float, aerosandbox.numpy.ndarray]]
- class aerosandbox.dynamics.point_mass.point_2D.DynamicsPointMass2DSpeedGamma(mass_props=None, x_e=0, z_e=0, speed=0, gamma=0, alpha=0)[source]#
Bases:
aerosandbox.dynamics.point_mass.point_3D.speed_gamma_track.DynamicsPointMass3DSpeedGammaTrack
Dynamics instance: * simulating a point mass * in 2D * with velocity parameterized in speed-gamma space.
- State variables:
x_e: x-position, in Earth axes. [meters] z_e: z-position, in Earth axes. [meters] speed: Speed; equivalent to u_w, the x-velocity in wind axes. [m/s] gamma: Flight path angle. [rad]
- Indirect control variables:
alpha: Angle of attack. [degrees]
- Control variables:
Fx_w: Force along the wind-x axis. [N] Fz_w: Force along the wind-z axis. [N]
- Parameters:
mass_props (aerosandbox.weights.mass_properties.MassProperties) –
x_e (Union[float, aerosandbox.numpy.ndarray]) –
z_e (Union[float, aerosandbox.numpy.ndarray]) –
speed (Union[float, aerosandbox.numpy.ndarray]) –
gamma (Union[float, aerosandbox.numpy.ndarray]) –
alpha (Union[float, aerosandbox.numpy.ndarray]) –
- property state: Dict[str, float | aerosandbox.numpy.ndarray]#
Returns the state variables of this Dynamics instance as a Dict.
Keys are strings that give the name of the variables. Values are the variables themselves.
- This method should look something like:
>>> { >>> "x_e": self.x_e, >>> "u_e": self.u_e, >>> ... >>> }
- Return type:
Dict[str, Union[float, aerosandbox.numpy.ndarray]]
- property control_variables: Dict[str, float | aerosandbox.numpy.ndarray]#
- Return type:
Dict[str, Union[float, aerosandbox.numpy.ndarray]]