We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d5de2 commit 38e2e08Copy full SHA for 38e2e08
src/frequenz/data/microgrid/config.py
@@ -155,12 +155,12 @@ class BatteryConfig:
155
class Metadata:
156
"""Metadata for a microgrid."""
157
158
+ microgrid_id: int
159
+ """ID of the microgrid."""
160
+
161
name: str | None = None
162
"""Name of the microgrid."""
163
- microgrid_id: int | None = None
- """ID of the microgrid."""
-
164
enterprise_id: int | None = None
165
"""Enterprise ID of the microgrid."""
166
@@ -184,7 +184,7 @@ class Metadata:
184
class MicrogridConfig:
185
"""Configuration of a microgrid."""
186
187
- meta: Metadata | None = None
+ meta: Metadata
188
"""Metadata of the microgrid."""
189
190
pv: dict[str, PVConfig] | None = None
0 commit comments