turboflow.axial_turbine.loss_model module

turboflow.axial_turbine.loss_model.LOSS_COEFFICIENTS = ['stagnation_pressure', 'kinetic_energy']

Available loss coefficients.

turboflow.axial_turbine.loss_model.LOSS_MODELS = ['kacker_okapuu', 'moustapha', 'benner', 'isentropic', 'custom']

Available loss models.

turboflow.axial_turbine.loss_model.apply_tuning_factors(loss_dict, tuning_factors)[source]

Apply tuning factors to the loss model

The tuning factors are multiplied with their associated loss component.

Parameters:
loss_dictdict

A dictionary containing loss components.

tuning_factorsdict

A dictionary containing the multiplicative tuning factors.

Raises:

KeyError: If a key from tuning_factors is not found in loss_dict.

turboflow.axial_turbine.loss_model.evaluate_loss_model(loss_model_options, input_parameters)[source]

Calculate loss coefficient based on the selected loss model.

The avaialble loss models are:

Parameters:
loss_model_optionsdict

Options for the loss calculation.

input_parametersdict

Input parameters required for loss model calculation.

Returns:
dict

A dictionary containing loss components.