FluidFlowCharacteristics

class FluidFlowCharacteristics

Bases: BaseModel

Represents the flow characteristics of a working fluid in the system.

fluid_type

Type of fluid (e.g., “Hydraulic Oil”, “Fuel”, “Coolant”).

Type:

str

flow_rate

Nominal flow rate in liters per minute.

Type:

float

max_pressure

Maximum operating pressure in pascals.

Type:

float

min_pressure

Minimum operating pressure in pascals.

Type:

float

temperature_range

Operating temperature range in Celsius (min, max).

Type:

Tuple[float, float]

viscosity

Kinematic viscosity in centistokes at operating temperature.

Type:

float

density

Fluid density in kg/m³ at operating temperature.

Type:

float

Attributes Summary

model_config

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

Methods Summary

validate_temperature_range(v)

Validate that the minimum temperature is less than the maximum temperature.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}

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

Methods Documentation

classmethod validate_temperature_range(v)

Validate that the minimum temperature is less than the maximum temperature.

Parameters:

v (Tuple[float, float])

Return type:

Tuple[float, float]

Methods:

validate_temperature_range(v)

Validate that the minimum temperature is less than the maximum temperature.

Attributes:

__pydantic_setattr_handlers__

__setattr__ handlers.

classmethod validate_temperature_range(v)

Validate that the minimum temperature is less than the maximum temperature.

Parameters:

v (Tuple[float, float])

Return type:

Tuple[float, float]

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

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