Skip to content

Commit 6a4dc01

Browse files
authored
Remove default for curtailable flag in PV config (#84)
Allows to detect if the flag was not set by the user and let downstream decide how to handle the unset case.
2 parents b56b8cc + 0de04cd commit 6a4dc01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Upgrading
88

9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9+
* Change the `curtailable` flag default of the PV config to `None`.
1010

1111
## New Features
1212

src/frequenz/gridpool/_microgrid_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class PVConfig:
117117
rated_power: float | None = None
118118
"""Rated power of the inverters in Watt."""
119119

120-
curtailable: bool = False
120+
curtailable: bool | None = None
121121
"""Flag to indicate if PV system can be curtailed."""
122122

123123

0 commit comments

Comments
 (0)