def Ventilator(P1, m1, Eta, V, airDensity, specificHeatCapacityDryAir, calc):
    """
    This function calculates the power of a ventilator as well as the increase in air temperature caused by the ventilator.
    :param P1: float: nominal power of the ventilator [W]
    :param m1: float: nominal air mass flow of the ventilator [kg/s]
    :param Eta: float: efficiency coefficient of the ventilator
    :param V: float: current volume flow of the ventilator [m^2/s]
    :param airDensity: float: air density [kg/m^3]
    :param specificHeatCapacityDryAir: float: specific heat capacity of dry air [J/kg]
    :param calc: float: defines the return value(s). (Power, TemperatureIncrease, Power&TemperatureIncrease)
    :return P float: power demand of the ventilator [W]
    :return delta_T_out: float: temperature increase due to ventilation [°C]
    """

    m = airDensity * V
    P = ((m / m1) ** 3) * P1
    delta_T_out = (P * Eta) / (m * specificHeatCapacityDryAir)
    if calc == 'Power':
        return P
    elif calc == 'TemperatureIncrease':
        return delta_T_out
    elif calc == 'Power&TemperatureIncrease':
        return P, delta_T_out
    else:
        raise Exception('Wrong input for "calc". Allowed are: Power, TemperatureIncrease, Power&TemperatureIncrease')