FlightConditions
- class FlightConditions
 Bases:
CommonBaseModelRepresents flight conditions for aerodynamic calculations.
- loop_control
 Loop Control: 1 - Altitude and Mach, 2 - Mach Only, 3 - Altitude Only.
- Type:
 Optional[int]
- qty_machs
 Number of Mach numbers.
- Type:
 Optional[int]
- machs
 Ascending order of Freestream Mach numbers.
- Type:
 List[Optional[float]]
- velocities
 Ascending order of Freestream Velocities.
- Type:
 List[Optional[float]]
- qty_alphas
 Number of angles-of-attack.
- Type:
 Optional[int]
- alphas
 Ascending order of angles-of-attack.
- Type:
 List[Optional[float]]
- reynolds_indicies
 Reynolds number per unit length at Freestream conditions.
- Type:
 List[Optional[float]]
- qty_altitudes
 Number of altitudes.
- Type:
 Optional[int]
- altitudes
 Geometric Altitudes.
- Type:
 List[Optional[float]]
- static_pressures
 Freestream static pressure.
- Type:
 List[Optional[float]]
- static_temperatures
 Freestream static temperature.
- Type:
 List[Optional[float]]
- transonic_mach
 Transonic Onset Mach number.
- Type:
 Optional[float]
- supersonic_mach
 Supersonic Onset Mach number.
- Type:
 Optional[float]
- hypersonic_flag
 Hypersonic flag: true - Hypersonic analysis at all Mach > 1.4.
- Type:
 Optional[bool]
- transition_flag
 Transition flag: 0 - None, 1 - Transition Strips or Full Flight.
- Type:
 Optional[bool]
- weight
 Aircraft Weight.
- Type:
 Optional[float]
- flight_path_angle
 Flight path Angle.
- Type:
 Optional[float]
Attributes Summary
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Summary
Validate that all list values are non-negative.
validate_list_lengths(values)Validate that the length of lists matches their corresponding quantity fields.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'protected_namespaces': (), 'validate_assignment': True}
 Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod list_must_be_non_negative(v)
 Validate that all list values are non-negative.
- Parameters:
 v (List[Optional[float]]) – The list to validate.
- Returns:
 The validated list.
- Return type:
 List[Optional[float]]
- Raises:
 ValueError – If any value in the list is negative.
- classmethod validate_list_lengths(values)
 Validate that the length of lists matches their corresponding quantity fields.
- Parameters:
 values (dict) – The current values of the model.
- Returns:
 The validated values.
- Return type:
 dict
- Raises:
 ValueError – If the length of a list doesn’t match its corresponding quantity field.
Methods:
Validate that all list values are non-negative.
validate_list_lengths(values)Validate that the length of lists matches their corresponding quantity fields.
Attributes:
__setattr__ handlers.
- classmethod list_must_be_non_negative(v)
 Validate that all list values are non-negative.
- Parameters:
 v (List[Optional[float]]) – The list to validate.
- Returns:
 The validated list.
- Return type:
 List[Optional[float]]
- Raises:
 ValueError – If any value in the list is negative.
- classmethod validate_list_lengths(values)
 Validate that the length of lists matches their corresponding quantity fields.
- Parameters:
 values (dict) – The current values of the model.
- Returns:
 The validated values.
- Return type:
 dict
- Raises:
 ValueError – If the length of a list doesn’t match its corresponding quantity field.
- __pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}
 __setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__