Skip to content

Microgrid Configuration

Costas Yiallourides edited this page Jan 22, 2025 · 1 revision

The Microgrid Configuration Module provides a structured framework for configuring microgrids, including metadata, component specifications, and asset details. It aims to serve as a critical building block for applications, enabling consistent and reusable configuration management across workflows.

The microgrid configuration module can be found in frequenz/lib/notebooks/config.py.

Purpose and Intended Usage

This module is designed to:

  • Define the structure of a microgrid configuration in a clear and extensible way.
  • Support the integration of various microgrid components such as photovoltaic (PV) systems, wind turbines, and batteries.
  • Enable the retrieval and aggregation of configuration details.
  • Allow seamless loading and management of configurations from external files, making it easier to adapt to different microgrid setups.
  • The module ensures compatibility and validation of configuration data, providing users with a reliable interface to query and utilise microgrid settings.

Key Features

  1. Component Configuration
    • Allows defining the configuration of individual microgrid components such as PV systems, batteries, and wind turbines.
    • Supports the association of components with unique IDs for various categories like meters, inverters, and other elements.
    • Provides mechanisms to calculate or retrieve specific metrics related to these components.
  2. Asset Management
    • Introduces a structured way to manage key assets in a microgrid, including their capacities, ratings, and other critical parameters.
    • Supports detailed configurations for assets like:
      • Solar PV systems: Peak and rated power.
      • Wind turbines: Model details, rated power, and physical dimensions.
      • Batteries: Storage capacity.
    • Can be easily extended to include more assets and with any parameters.
  3. Metadata Integration
    • Includes microgrid-level details such as the name, geographic location, delivery area, and unique identifiers.
    • Provides a standardised structure for high-level information about the microgrid, making it easier to integrate with other modules.
  4. Dynamic Configuration Loading
    • Supports loading configurations from external files in TOML format.
    • Ensures that configurations are validated during the loading process and handles updates seamlessly when multiple files are loaded.
  5. Extensibility and Reusability
    • Built with extensibility in mind, the module allows easy adaptation to new requirements, such as adding support for new component types or asset classes.
    • Provides a standardised interface for querying configurations, ensuring reusability across different parts of the application.
Clone this wiki locally