As @smartie2076 remembers the feed-in tariff might have to be a negative value in the 'energyProvider.csv'. We verified that by looking into a json_input_processed.json where the dispatch_price of DSO_feedin in energyConsumption was only negative (earn money by feed-in) when the feed-in tariff in 'energyProvider.csv' was negative.
This needs to be changed in C0, define_dso_sinks_and_sources(), here
This will affect also check_feedin_tariff() in C1.