propulsion
- class Propulsion
Bases:
CommonBaseModel
Represents the propulsion system within an air vehicle system, detailing its specifications, functionalities, and interrelations.
- name
The name of the propulsion system, acting as a unique identifier.
- Type:
Optional[str]
- description
A brief description of the propulsion system purpose and functionality.
- Type:
Optional[str]
- geometry
Geometric information of the component, if applicable.
- Type:
Optional[Dict[str, Any]]
- parameters
Cycle or physical parameters associated with the propulsion system.
- Type:
Optional[Dict[str, Any]]
- metadata
Additional metadata providing context or details about the propulsion system.
- Type:
Optional[Metadata]
- subcomponents
A list of sub-components, if any, within the propulsion system.
- Type:
Optional[List[Propulsion]]
- requirements
Specific requirements associated with the propulsion system.
- Type:
Optional[List[Requirement]]
- performance
List of disciplines analyzing the propulsion system.
- Type:
Optional[List[Discipline]]
- behavior
Specific behaviors for the propulsion system.
- Type:
Optional[List[Behavior]]
- Raises:
ValueError – If any string field is empty, ensuring all components have meaningful identifiers and descriptions.
Methods:
validate_non_empty_string
(value)Validates that the name and description fields are not empty or whitespace only.
Attributes:
__setattr__ handlers.
- classmethod validate_non_empty_string(value)
Validates that the name and description fields are not empty or whitespace only.
- Parameters:
value (Optional[str]) – The value to validate.
- Returns:
The validated string value.
- Return type:
Optional[str]
- Raises:
ValueError – If the input value is empty or consists only of whitespace.
- class Config
Bases:
object
Pydantic model configuration.
- __pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}
__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__
Classes
Represents the propulsion system within an air vehicle system, detailing its specifications, functionalities, and interrelations. |
|
Represents a complete engine cycle. |