Ran
|
Files
88
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
github
Fix LoadControlLimits in OPEV and OSCEV not filtering for unit (#142) As per [[1]](https://www.eebus.org/wp-content/uploads/2023/04/EEBus_UC_TS_OptimizationOfSelfConsumptionDuringEVCharging_V1.0.1b.pdf#page=34) & [[2]](https://www.eebus.org/wp-content/uploads/2023/04/EEBus_UC_TS_OverloadProtectionByEVChargingCurrentCurtailment_V1.0.1b.pdf#page=35), the load control limit descriptions for OSCEV and OPEV shall have their "unit" fields equal to "A". In the implementation of the function LoadControlLimits for both [OSCEV](https://github.com/enbility/eebus-go/blob/<a class=hub.com/enbility/eebus-go/commit/cec369509aff4f41f006a53620bf3189f210cbcd">cec369509/usecases/cem/oscev/public.go#L65) and [OPEV](https://github.com/enbility/eebus-go/blob/cec369509aff4f41f006a53620bf3189f210cbcd/usecases/cem/opev/public.go#L69), the filter is missing the unit field.
6894 of 7223 relevant lines covered (95.45%)
12.58 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|