You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENH: Add the Coriolis Force to the Flight class (#799)
* wind factor bug corrected
the wind factor wasn't applied to the env.wind_velocity properties
* BUG: StochasticModel visualize attributes of a uniform distribution
It showed the nominal and the standard deviation values and it doesn't make sense in a uniform distribution. In a np.random.uniform the 'nominal value' is the lower bound of the distribution, and the 'standard deviation' value is the upper bound. Now, a new condition has been added for the uniform distributions where the mean and semi range are calculated and showed. This way the visualize_attribute function will show the whole range where the random values are uniformly taken in
* variable names corrections
* Corrections requested by the pylint test
* ENH: add multiplication for 2D functions in rocketpy.function
Added the ability to multiply functions with 2D domains in the __mul__ function
* ENH: StochasticAirBrakes class created
The StochasticAirBrakes class has been created. The __init__.py files in the stochastic and rocketpy folders have also been modified accordingly to incorporate this new class
* ENH: set_air_brakes function created
This functions appends an airbrake and controller objects previuosly created to the rocket
* ENH: add StochasticAirBrake to rocketpy.stochastic_rocket
Some functions has been modified and other has been created in order to include the new StochasticAirBrakes feature into the StochasticRocket class. A new function named 'add_air_brakes' has been created to append a StochasticAirBrakes and Controller objects to the StochasticRocket object. A new function '_create_air_brake' has been introduced to create a sample of an AirBrake object through a StochasticAirBrake object. Enventually, the 'create_object' function has been modified to add the sampled AirBrakes to the sampled Rocket
* BUG: StochasticAirBrake object input in _Controller
When defining the _Controller object a StochasticAirBrake was input. This is already corrected and a AirBrake object is now introduced
* ENH: add time_overshoot option to rocketpy.stochastic_flight
Since the new StochasticAirBrake class is defined, we need the 'time_overshoot' option in the Flight class to ensure that the time step defined in the simulation is the controller sampling rate. The MonteCarlo class has had to be modified as well to include this option.
* DOC: StochasticAirBrakes related documentation added
Documentation related to the StochasticAirBrakes implementation has been added in StochasticAirBrakes, StochasticRocket and Rocket classes.
* ENH: pylint recommendations done
* ENH: Reformatted files to pass Ruff linting checks
* ENH: Update rocketpy/stochastic/stochastic_rocket.py
Unnecessary comment
Co-authored-by: Gui-FernandesBR <[email protected]>
* ENH: more intuitive uniform distribution display in StochasticModel
Co-authored-by: MateusStano <[email protected]>
* DOC: improve drag curve factor definition in StochasticAirBrakes
* ENH: Change assert statement to if
Co-authored-by: Gui-FernandesBR <[email protected]>
* DOC: better explanation of __mul__ function
Co-authored-by: MateusStano <[email protected]>
* ENH: delete set_air_brakes function for simplicity
* ENH: inertial foreces added to u_dot_generalized
* ENH: define Earth's angular velocity vector in Environment
* ENH: some corrections to the Flight class
* ENH: modifications in the Flight class
* DOC: improving Environment documentation
* DOC: more improvements in the Environment class
* ENH: format changes done
* DOC: env.earth_rotation_vector improved
Co-authored-by: Gui-FernandesBR <[email protected]>
* ENH: Coriolis acceleration added to u_dot
* BUG: print left
* ENH: ruff changes
* ENH: CHANGELOG updated
* ENH: remove unecessary frame rotation
* ENH: remove rotation from solid prop udot
* ENH: add coriolis to parachute
* TST: fix tests values
* MNT: remove debug functions
* DEV: changelog
---------
Co-authored-by: Gui-FernandesBR <[email protected]>
Co-authored-by: MateusStano <[email protected]>
Co-authored-by: MateusStano <[email protected]>
Co-authored-by: MateusStano <[email protected]>
0 commit comments