Text this: Coordinated management of electricity storages and distributed generation plant with predictive controllers in a power supply system with reduced electricity quality