File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 2020
2121- The ` Fuse ` class has been moved to the ` frequenz.sdk.timeseries ` module.
2222
23+ - ` microgrid.grid() `
24+ - A ` Grid ` object is always instantiated now, even if the microgrid is not connected to the grid (islanded microgrids).
25+ - The rated current of the grid fuse is set to ` Current.zero() ` in case of islanded microgrids.
26+ - The grid fuse is set to ` None ` when the grid connection component metadata lacks information about the fuse.
27+ - Grid power and current metrics were moved from ` microgrid.logical_meter() ` to ` microgrid.grid() ` .
28+
29+ Previously,
30+
31+ ``` python
32+ logical_meter = microgrid.logical_meter()
33+ grid_power_recv = logical_meter.grid_power.new_receiver()
34+ grid_current_recv = logical_meter.grid_current.new_receiver()
35+ ```
36+
37+ Now,
38+
39+ ```python
40+ grid = microgrid.grid()
41+ grid_power_recv = grid.power.new_receiver()
42+ grid_current_recv = grid.current.new_receiver()
43+ ```
44+
2345# # New Features
2446
2547< !-- Here goes the main new features and examples or instructions on how to use them -- >
You can’t perform that action at this time.
0 commit comments