def METHOD_NAME(link: pandas.Series) -> Flow:
    """
        The parameterization of the output flow of the link
        component has been outsourced to this static method.
        :param link: nodes data row of the link in creation
        :type link: pandas.Series
        :returns: **-** (oemof.solph.custom.Flow) - oemof Flow \
            object with the output's parameter given in the link \
            parameter
    """
    # if the link is directed the total costs result from one flow
    # which is the reason for the assignment of the total costs to
    # this output flow
    if link["(un)directed"] == "directed":
        ep_costs = link["periodical costs"]
        ep_constr_costs = link["periodical constraint costs"]
        fix_investment_costs = link["fix investment costs"]
        fix_constr_costs = link["fix investment constraint costs"]
    # if the link is undirected the total costs result from both
    # output flows which is the reason for the assignment of the
    # half costs to each of them
    elif link["(un)directed"] == "undirected":
        ep_costs = link["periodical costs"] / 2
        ep_constr_costs = link["periodical constraint costs"] / 2
        fix_investment_costs = link["fix investment costs"] / 2
        fix_constr_costs = link["fix investment constraint costs"] / 2
    else:
        raise SystemError("Parameter (un)directed not filled correctly "
                          "for the component " + link["label"])
    return Flow(
        variable_costs=link["variable output costs"],
        emission_factor=link["variable output constraint costs"],
        investment=Investment(
            ep_costs=ep_costs,
            periodical_constraint_costs=ep_constr_costs,
            minimum=link["min. investment capacity"],
            maximum=link["max. investment capacity"],
            existing=link["existing capacity"],
            nonconvex=True if link["non-convex investment"] == 1
            else False,
            offset=fix_investment_costs,
            fix_constraint_costs=fix_constr_costs,
        ),
    )