DISTRIBUTED ENERGY RESOURCES AND SMART ENERGY NETWORKS