From 2a8bc0bab98cb2a4e111545a40e2d3acb0542eb2 Mon Sep 17 00:00:00 2001 From: Calvin Date: Sat, 12 Jul 2025 17:09:57 +0200 Subject: [PATCH 1/3] BUG: fix StochasticNoseCone powerseries issue by adding power parameter to constructor --- rocketpy/stochastic/stochastic_aero_surfaces.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rocketpy/stochastic/stochastic_aero_surfaces.py b/rocketpy/stochastic/stochastic_aero_surfaces.py index 5e3750f48..b3912b359 100644 --- a/rocketpy/stochastic/stochastic_aero_surfaces.py +++ b/rocketpy/stochastic/stochastic_aero_surfaces.py @@ -54,6 +54,7 @@ def __init__( base_radius=None, bluffness=None, rocket_radius=None, + power=None, ): """Initializes the Stochastic Nose Cone class. @@ -84,6 +85,7 @@ def __init__( base_radius=base_radius, bluffness=bluffness, rocket_radius=rocket_radius, + power=None, name=None, ) From 7143ad3ac3ea1c4e77f50752f01e3b651c9868d3 Mon Sep 17 00:00:00 2001 From: Calvin Date: Sat, 12 Jul 2025 18:35:49 +0200 Subject: [PATCH 2/3] DOC: Add bug fix #838 to changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f78b34edb..6e3670606 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -306,6 +306,7 @@ You can install this version by running `pip install rocketpy==1.3.0` ### Fixed +- BUG: Fixes StochasticNoseCone powerseries issue #838 [#839](https://github.com/RocketPy-Team/RocketPy/pull/839) - MNT: Alter PYPI classifier naming. [#615](https://github.com/RocketPy-Team/RocketPy/pull/615) - DOC: Solve Dependencies Conflicts and pyproject build [#613](https://github.com/RocketPy-Team/RocketPy/pull/613) - BUG: Fixes nose cone bluffness issue #610 [#611](https://github.com/RocketPy-Team/RocketPy/pull/611) From 5de3ee751c942dc4793d261cb2849edf920fc876 Mon Sep 17 00:00:00 2001 From: Calvin Date: Mon, 14 Jul 2025 10:20:07 +0200 Subject: [PATCH 3/3] BUG: pass power parameter into StochasticModel to allow variation --- rocketpy/stochastic/stochastic_aero_surfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocketpy/stochastic/stochastic_aero_surfaces.py b/rocketpy/stochastic/stochastic_aero_surfaces.py index b3912b359..07c50f8ee 100644 --- a/rocketpy/stochastic/stochastic_aero_surfaces.py +++ b/rocketpy/stochastic/stochastic_aero_surfaces.py @@ -85,7 +85,7 @@ def __init__( base_radius=base_radius, bluffness=bluffness, rocket_radius=rocket_radius, - power=None, + power=power, name=None, )