You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialize a Grid object with a given Fuse limit (#610)
Calling `microgrid.initialize()` now also initializes the microgrid's
grid connection point as a singleton object of a newly added type
`Grid`. This object can be obtained by calling `microgrid.grid.get()`.
This object exposes the max current that can course through the grid
connection point, which is useful for the power distribution algorithm.
The max current is provided by the Microgrid API, and can be obtained by
calling `microgrid.grid.get().fuse.max_current`.
Note that a microgrid is allowed to have zero or one grid connection
point. Microgrids configured as islands will have zero grid connection
points, and microgrids configured as grid-connected will have one grid
connection point.
A new class `Fuse` has been added to represent fuses. This class has a
member variable `max_current` which represents the maximum current that
can course through the fuse. If the current flowing through a fuse is
greater than this limit, then the fuse will break the circuit.
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,13 @@
12
12
13
13
<!-- Here goes the main new features and examples or instructions on how to use them -->
14
14
15
+
- Calling `microgrid.initialize()` now also initializes the microgrid's grid connection point as a singleton object of a newly added type `Grid`. This object can be obtained by calling `microgrid.grid.get()`. This object exposes the max current that can course through the grid connection point, which is useful for the power distribution algorithm. The max current is provided by the Microgrid API, and can be obtained by calling `microgrid.grid.get().fuse.max_current`.
16
+
17
+
Note that a microgrid is allowed to have zero or one grid connection point. Microgrids configured as islands will have zero grid connection points, and microgrids configured as grid-connected will have one grid connection point.
18
+
19
+
- A new class `Fuse` has been added to represent fuses. This class has a member variable `max_current` which represents the maximum current that can course through the fuse. If the current flowing through a fuse is greater than this limit, then the fuse will break the circuit.
20
+
21
+
15
22
## Bug Fixes
16
23
17
24
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
0 commit comments