File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/frequenz/data/microgrid Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1111## New Features
1212
1313* Add fields to ` WindConfig ` for microgrid configuration.
14+ * Add microgrid and enterprise ID to microgrid metadata config.
1415
1516## Bug Fixes
1617
Original file line number Diff line number Diff line change @@ -172,13 +172,20 @@ class AssetsConfig:
172172 """Configuration of the batteries."""
173173
174174
175+ # pylint: disable=too-many-instance-attributes
175176@dataclass (frozen = True )
176177class Metadata :
177178 """Metadata for a microgrid."""
178179
179180 name : str | None = None
180181 """Name of the microgrid."""
181182
183+ microgrid_id : int | None = None
184+ """ID of the microgrid."""
185+
186+ enterprise_id : int | None = None
187+ """Enterprise ID of the microgrid."""
188+
182189 gid : int | None = None
183190 """Gridpool ID of the microgrid."""
184191
You can’t perform that action at this time.
0 commit comments