Integrating distributed power into a supply network