JetPowerProperties

class JetPowerProperties

Bases: CommonBaseModel

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

validate_non_negative(v)

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'json_schema_extra': {'example': {'ambient_static_pressure': 101325.0, 'ambient_temperature': 288.15, 'centerline_buttline': 0.5, 'exhaust_diameter': 0.6, 'exhaust_exit_angle': 15.0, 'exhaust_exit_velocity': 300.0, 'exhaust_static_temperature': 1500.0, 'exhaust_station': 3.0, 'exhaust_total_pressure': 101325.0, 'exhaust_waterline': 1.0, 'inlet_area': 1.2, 'inlet_station': 2.0, 'qty_engines': 2, 'thrust_coefficient': 0.8, 'thrust_incidence_angle': 5.0}}, 'protected_namespaces': (), 'validate_assignment': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

classmethod validate_non_negative(v)

Attributes:

__pydantic_setattr_handlers__

__setattr__ handlers.

__pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__