def time_to_emulsion(eml_type, wave_height):
    """
    Return the time before the emulsion formation [s]
    source : (Fingas, 2015)

    Parameters
    ----------
    eml_type : Emulsion type
    wave_height : Wave height [m]


    """
    wave_height = wave_height *100
    param = []
    if eml_type == 'entrained':
        param = [27.1, 7.52]
    elif eml_type == 'mesostable':
        list_visc = [47, 49.1]
    elif eml_type == 'stable':
        list_visc = [30.8, 18.3]
    elif eml_type == 'unstable':
        raise Exception("Unstable stability do not lead to emulsion!")

    return 60*(param[0] + param[1]/wave_height**1.5)