![]() ![]() This can be followed up by starting a Solid Motor object. setAtmosphericModel ( type = 'Forecast', file = 'GFS' ) To learn more about it, you can use: help ( Environment )Ī sample code is: Env = Environment ( railLength = 5.2, latitude = 32.990254, longitude =- 106.974998, elevation = 1400, date = ( 2020, 3, 4, 12 ) # Tomorrow's date in year, month, day, hour UTC format ) Env. The following image shows how the four main classes interact with each other:Ī typical workflow starts with importing these classes from RocketPy: from rocketpy import Environment, Rocket, SolidMotor, Flight Flight - Runs the simulation and keeps the results.Rocket - Keeps data related to a rocket.Hybrid motor support is coming in the next weeks. SolidMotor - Keeps data related to solid motors.Environment - Keeps data related to weather.To do this, let's see how to use RocketPy's four main classes: ![]() Otherwise, you may want to create your own script or your own notebook using RocketPy. Open Getting Started - Examples.ipynb and you are ready to go. In order to run your first rocket trajectory simulation using RocketPy, you can start a Jupyter Notebook and navigate to the nbks folder. To learn more about RocketPy's requirements, visit our Requirements Docs. To install RocketPy's latest stable version from PyPI, just open up your terminal and run: pip install rocketpyįor other installation options, visit our Installation Docs. When you are ready to run RocketPy locally, you can read the Getting Started section! You can preview RocketPy's main functionalities by browsing through a sample notebook in Google Colab. If you want to be a part of this and make RocketPy your own, join our Discord server today! And this is all thanks to a great community of users, engineers, developers, marketing specialists, and everyone interested in helping. The number of stars and forks for this repository is skyrocketing. RocketPy is growing fast! Many university groups and rocket hobbyist have already started using it. MissionĬheck out documentation details using the links below: The table below shows a comparison between experimental data and the output from RocketPy.įlight data and rocket parameters used in this comparison were kindly provided by EPFL Rocket Team and Notre Dame Rocket Team. RocketPy's features have been validated in our latest research article published in the Journal of Aerospace Engineering. Convert RocketPy results to MATLAB® variables so that they can be processed by MATLAB®.Straightforward way to run RocketPy from MATLAB®.Custom continuous and discrete control laws.apogee and lifting off speed as a function of mass) Straightforward engineering analysis (e.g.Burn rate and mass variation properties from thrust curve.Sensor data can be augmented with noise.Parachutes with external trigger functions Drag coefficients can be easily imported from other sources (e.g.Barrowman equations for lift coefficients (optional).International Standard Atmosphere (1976).Solved using LSODA with adjustable error tolerances.Rigorous treatment of mass variation effects.Main features Nonlinear 6 degrees of freedom simulations Furthermore, the implementation facilitates complex simulations, such as multi-stage rockets, design and trajectory optimization and dispersion analysis. Weather conditions, such as wind profile, can be imported from sophisticated datasets, allowing for realistic scenarios. The code is written as a Python library and allows for a complete 6 degrees of freedom simulation of a rocket's flight trajectory, including high fidelity variable mass effects as well as descent under parachutes. RocketPy is the next-generation trajectory simulation solution for High-Power Rocketry. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |