Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-david committed Apr 26, 2023
1 parent 568aedd commit 0939b08
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/documentation/mission_module/mission_file/segments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ The parameters for this segment are the same as for its 3 components, except tha
segment: takeoff
wheels_friction: 0.03
rotation_equivalent_airspeed:
value: data:mission:operational:takeoff:Vr
value: data:mission:operational:takeoff:Vr
rotation_rate:
value: 0.0523
units: rad
rotation_alpha_limit_truc:
units: rad/s
rotation_alpha_limit:
value: 0.3489
units: rad
end_time_step: 0.05
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ phases:
landing_gear_height:
value: data:geometry:landing_gear:height
unit: m
induced_drag_coef:
induced_drag_coefficient:
value: data:aerodynamics:aircraft:low_speed:induced_drag_coefficient
k_winglet:
value: tuning:aerodynamics:aircraft:cruise:CD:winglet_effect:k
Expand Down Expand Up @@ -67,11 +67,11 @@ phases:
- segment: takeoff
wheels_friction: 0.03
rotation_equivalent_airspeed:
value: data:mission:operational:takeoff:Vr
value: data:mission:operational:takeoff:Vr
rotation_rate:
value: 0.0523
units: rad
rotation_alpha_limit_truc:
units: rad/s
rotation_alpha_limit:
value: 0.3489
units: rad
end_time_step: 0.05
Expand All @@ -93,7 +93,7 @@ phases:
landing_gear_height:
value: data:geometry:landing_gear:height
unit: m
induced_drag_coef:
induced_drag_coefficient:
value: data:aerodynamics:aircraft:low_speed:induced_drag_coefficient
k_winglet:
value: tuning:aerodynamics:aircraft:cruise:CD:winglet_effect:k
Expand Down
4 changes: 2 additions & 2 deletions src/fastoad/models/performances/mission/polar_modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GroundEffectRaymer(AbstractPolarModifier):
landing_gear_height: float

#: Induced drag coefficient, multiplies CL**2 to obtain the induced drag
induced_drag_coef: float
induced_drag_coefficient: float

#: Winglet effect tuning coefficient
k_winglet: float
Expand Down Expand Up @@ -112,7 +112,7 @@ def modify_polar(self, polar: Polar, flight_point: FlightPoint) -> Polar:
) / self.span
k_ground = 33.0 * h_b ** 1.5 / (1 + 33.0 * h_b ** 1.5)
cd_ground = (
self.induced_drag_coef
self.induced_drag_coefficient
* polar.definition_cl ** 2
* self.k_winglet
* self.k_cd
Expand Down

0 comments on commit 0939b08

Please sign in to comment.