aerosandbox.dynamics.point_mass.point_1D.horizontal
#
Module Contents#
Classes#
Dynamics instance: |
Attributes#
- class aerosandbox.dynamics.point_mass.point_1D.horizontal.DynamicsPointMass1DHorizontal(mass_props=None, x_e=0, u_e=0)[source]#
Bases:
aerosandbox.dynamics.point_mass.point_3D.cartesian.DynamicsPointMass3DCartesian
Dynamics instance: * simulating a point mass * in 1D, oriented horizontally (i.e., the .add_gravity() method will have no effect)
- State variables:
x_e: x-position, in Earth axes. [meters] u_e: x-velocity, in Earth axes. [m/s]
- Control variables:
Fx_e: Force along the Earth-x axis. [N]
- Parameters:
mass_props (aerosandbox.weights.mass_properties.MassProperties) –
x_e (Union[float, aerosandbox.numpy.ndarray]) –
u_e (Union[float, aerosandbox.numpy.ndarray]) –
- property state: Dict[str, float | aerosandbox.numpy.ndarray][source]#
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]]