def f_ac_power(inverter, v_mp, p_mp):
    """
    Calculate AC power

    :param inverter:
    :param v_mp:
    :param p_mp:
    :return: AC power [W]
    """
    return pvlib.pvsystem.snlinverter(v_mp, p_mp, inverter).flatten()