Title: Optimal Utilization of Smart Grid Ressources to Offer Social Welfare. Theory, Concept and Implementation