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:
kacker_okapuu : loss model according to [Kacker and Okapuu, 1982].
moustapha : loss model according to [Moustapha et al., 1990].
benner : loss model according to [Benner et al., 1997], [Benner et al., 2006] and [Benner et al., 2006].
isentropic : Loss coefficient set to zero (isentropic).
custom : Constant loss coefficent according to user. Require loss_model_options[“custom_value”].
- 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.