The thesis provides different opportunities and ideas to face some current challenges in the electricity systems. It focuses on the effective and efficient integration of distributed low carbon technologies in the grid of the future. Planning and operation problems for different clean solutions, such as market bidding strategies for intermittent energy producers, demand side management algorithms for smart buildings, and electrical storage options for network operators, are studied for facilitating the integration of renewable energy sources in the power system chain.