def calc_other_costs(scenario, opex_staff, years):
    """Calculate Other costs Function

    Args:
       scenario (object): The farm scenario
       opex_staff (list): The operational costs for salaries as a time series
       years (int): The no. of years the simulation will analyse

    Returns:
        opex_other_costs (list): Operational expenditure on other costs as a time series for each year
    """
    opex_other_costs = [0]

    for y in range(1, years+1):

            opex_other_costs.append(scenario.other_costs_pilot * opex_staff[y])

    return opex_other_costs