def get_flow_att(row, ts):
    """

    Parameters
    ----------
    row : pd.Series
        Series with all attributes given by the parameter table (equal 1 row)
    ts : pd.DataFrame
        DataFrame with all input time series for the oemof-solph model.

    Returns
    -------
    dict : All Flow specific attribues.
    """
    row = row.copy()
    row.dropna(inplace=True)
    att = list(row.index)
    fa_list = [x.split('.')[1] for x in att if x.split('.')[0] == 'flow']

    flow_attr = {}

    for fa in fa_list:
        if row['flow.' + fa] == 'series':
            flow_attr[fa] = ts[row['label'] + '.' + fa].values
        else:
            flow_attr[fa] = float(row['flow.' + fa])

    return flow_attr