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
Copy file name to clipboardExpand all lines: README.md
+80-58Lines changed: 80 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,10 @@ RocketPy is the next-generation trajectory simulation solution for High-Power Ro
59
59
</details>
60
60
61
61
<details>
62
-
<summary>Solid motors models</summary>
62
+
<summary>Solid, Hybrid and Liquid motors models</summary>
63
63
<ul>
64
64
<li>Burn rate and mass variation properties from thrust curve</li>
65
+
<li>Define custom rocket tanks based on their flux data</li>
65
66
<li>CSV and ENG file support</li>
66
67
</ul>
67
68
</details>
@@ -156,12 +157,12 @@ To learn more about RocketPy's requirements, visit our [Requirements Docs](https
156
157
157
158
## Running Your First Simulation
158
159
159
-
In order to run your first rocket trajectory simulation using RocketPy, you can start a Jupyter Notebook and navigate to the _nbks_ folder. Open _Getting Started - Examples.ipynb_ and you are ready to go.
160
+
In order to run your first rocket trajectory simulation using RocketPy, you can start a Jupyter Notebook and navigate to the _docs/notebooks_ folder. Open _getting_started.ipynb_ and you are ready to go.
160
161
161
162
Otherwise, you may want to create your own script or your own notebook using RocketPy. To do this, let's see how to use RocketPy's four main classes:
162
163
163
164
- Environment - Keeps data related to weather.
164
-
-SolidMotor - Keeps data related to solid motors. Hybrid motor support is coming in the next weeks.
165
+
-Motor - Subdivided into SolidMotor, HybridMotor and LiquidMotor. Keeps data related to rocket motors.
165
166
- Rocket - Keeps data related to a rocket.
166
167
- Flight - Runs the simulation and keeps the results.
167
168
@@ -175,6 +176,12 @@ A typical workflow starts with importing these classes from RocketPy:
175
176
from rocketpy import Environment, Rocket, SolidMotor, Flight
176
177
```
177
178
179
+
An optional step is to import datetime, which is used to define the date of the simulation:
180
+
181
+
```python
182
+
import datetime
183
+
```
184
+
178
185
Then create an Environment object. To learn more about it, you can use:
179
186
180
187
```python
@@ -188,9 +195,14 @@ env = Environment(
188
195
latitude=32.990254,
189
196
longitude=-106.974998,
190
197
elevation=1400,
191
-
date=(2020, 3, 4, 12) # Tomorrow's date in year, month, day, hour UTC format
0 commit comments