@@ -29,6 +29,8 @@ class HybridMotor(Motor):
2929 "combustion_chamber_to_nozzle".
3030 HybridMotor.nozzle_radius : float
3131 Radius of motor nozzle outlet in meters.
32+ HybridMotor.nozzle_area : float
33+ Area of motor nozzle outlet in square meters.
3234 HybridMotor.nozzle_position : float
3335 Motor's nozzle outlet position in meters, specified in the motor's
3436 coordinate system. See
@@ -147,7 +149,11 @@ class HybridMotor(Motor):
147149 HybridMotor.propellant_I_22 and HybridMotor.propellant_I_33 for
148150 more information.
149151 HybridMotor.thrust : Function
150- Motor thrust force, in Newtons, as a function of time.
152+ Motor thrust force obtained from thrust source, in Newtons, as a
153+ function of time.
154+ HybridMotor.vacuum_thrust : Function
155+ Motor thrust force when the rocket is in a vacuum. In Newtons, as a
156+ function of time.
151157 HybridMotor.total_impulse : float
152158 Total impulse of the thrust curve in N*s.
153159 HybridMotor.max_thrust : float
@@ -181,6 +187,9 @@ class HybridMotor(Motor):
181187 Method of interpolation used in case thrust curve is given
182188 by data set in .csv or .eng, or as an array. Options are 'spline'
183189 'akima' and 'linear'. Default is "linear".
190+ HybridMotor.reference_pressure : int, float
191+ Atmospheric pressure in Pa at which the thrust data was recorded.
192+ It will allow to obtain the net thrust in the Flight class.
184193 """
185194
186195 def __init__ ( # pylint: disable=too-many-arguments
@@ -197,6 +206,7 @@ def __init__( # pylint: disable=too-many-arguments
197206 grain_separation ,
198207 grains_center_of_mass_position ,
199208 center_of_dry_mass_position ,
209+ reference_pressure = None ,
200210 nozzle_position = 0 ,
201211 burn_time = None ,
202212 throat_radius = 0.01 ,
@@ -258,6 +268,8 @@ class Function. Thrust units are Newtons.
258268 The position, in meters, of the motor's center of mass with respect
259269 to the motor's coordinate system when it is devoid of propellant.
260270 See :doc:`Positions and Coordinate Systems </user/positions>`.
271+ reference_pressure : int, float, optional
272+ Atmospheric pressure in Pa at which the thrust data was recorded.
261273 nozzle_position : int, float, optional
262274 Motor's nozzle outlet position in meters, in the motor's coordinate
263275 system. See :doc:`Positions and Coordinate Systems </user/positions>`
@@ -308,6 +320,7 @@ class Function. Thrust units are Newtons.
308320 dry_inertia = dry_inertia ,
309321 nozzle_radius = nozzle_radius ,
310322 center_of_dry_mass_position = center_of_dry_mass_position ,
323+ reference_pressure = reference_pressure ,
311324 dry_mass = dry_mass ,
312325 nozzle_position = nozzle_position ,
313326 burn_time = burn_time ,
@@ -321,6 +334,7 @@ class Function. Thrust units are Newtons.
321334 dry_inertia ,
322335 nozzle_radius ,
323336 center_of_dry_mass_position ,
337+ reference_pressure ,
324338 nozzle_position ,
325339 burn_time ,
326340 reshape_thrust_curve ,
@@ -340,6 +354,7 @@ class Function. Thrust units are Newtons.
340354 grain_separation ,
341355 grains_center_of_mass_position ,
342356 center_of_dry_mass_position ,
357+ reference_pressure ,
343358 nozzle_position ,
344359 burn_time ,
345360 throat_radius ,
@@ -657,6 +672,7 @@ def from_dict(cls, data):
657672 nozzle_radius = data ["nozzle_radius" ],
658673 dry_mass = data ["dry_mass" ],
659674 center_of_dry_mass_position = data ["center_of_dry_mass_position" ],
675+ reference_pressure = data ["reference_pressure" ],
660676 dry_inertia = (
661677 data ["dry_I_11" ],
662678 data ["dry_I_22" ],
0 commit comments