PropellerPowerProperties

class PropellerPowerProperties

Bases: CommonBaseModel

Attributes Summary

model_config

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

Methods Summary

check_non_negative(v)

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'json_schema_extra': {'example': {'blade_angle': [15.0, 20.0, 25.0], 'blade_chord_ratio': [0.1, 0.2, 0.3], 'counter_rotating': True, 'hub_buttline': 0.5, 'hub_station': 2.0, 'hub_waterline': 1.0, 'normal_force_factor': 1.2, 'prop_radius': 1.5, 'qty_blades': 4, 'qty_engines': 2, 'rotation_direction': True, '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 check_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__