v0.18.0
Release Notes
Summary
Upgrading
New Features
- A new class
OrderedRingBuffer
is now available, providing a sorted ring buffer of datetime-value pairs with tracking of any values that have not yet been written. - Add logical meter formula for EV power.
- A
MovingWindow
class has been added that consumes a data stream from a logical meter and updates anOrderedRingBuffer
. - Add EVChargerPool implementation. It has only streaming state changes for ev chargers, now.
- Add 3-phase current formulas:
3-phase grid_current
and3-phase ev_charger_current
to the LogicalMeter.
Bug Fixes
- Add COMPONENT_STATE_DISCHARGING as valid state for the inverter. DISCHARGING state was missing by mistake and this caused the power distributor to error out if the inverter is already discharging.
What's Changed
- Clean release notes by @ela-kotulska-frequenz in #179
- Add 3-phase current formulas by @shsms in #164
- Sorted Ringbuffer by @mathias-baumann-frequenz in #139
- Use MockMicrogridClient instead of a MockMicrogridServer in LogicalMeter tests by @shsms in #180
- Battery status with channel communication by @ela-kotulska-frequenz in #171
- Update code to pass newly-released
black v23.1.0
by @shsms in #192 - Update to work with newly-release
pylint v2.16
by @shsms in #193 - Use
Sample
type with the RingBuffer by @mathias-baumann-frequenz in #186 - Add logical meter formula generator for EV power by @daniel-zullo-frequenz in #185
- Add an
EVChargerPool
implementation by @shsms in #194 - Add 3.11 to the supported Python versions by @leandro-lucarella-frequenz in #195
- Add a Moving Window Class by @matthias-wende-frequenz in #190
- Move dev dependencies to pyproject.toml by @leandro-lucarella-frequenz in #199
- Add COMPONENT_STATE_DISCHARGING to valid inverter states by @ela-kotulska-frequenz in #202
New Contributors
- @matthias-wende-frequenz made their first contribution in #190
Full Changelog: v0.17.0...v0.18.0