Skip to content

Commit c51beb0

Browse files
committed
ENH: added radius and porosity to parachute
1 parent 857c4f4 commit c51beb0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

rocketpy/rocket/parachute.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def __init__(
191191
self.sampling_rate = sampling_rate
192192
self.lag = lag
193193
self.noise = noise
194+
self.porosity = porosity
194195
self.noise_signal = [[-1e-6, np.random.normal(noise[0], noise[1])]]
195196
self.noisy_pressure_signal = []
196197
self.clean_pressure_signal = []

rocketpy/simulation/flight.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,6 @@ def u_dot_parachute(self, t, u, post_processing=False):
20032003

20042004
# Get the mass of the rocket
20052005
mp = self.rocket.dry_mass
2006-
20072006
# to = 1.2
20082007
# eta = 1
20092008
# Rdot = (6 * R * (1 - eta) / (1.2**6)) * (

0 commit comments

Comments
 (0)