Commit 9eafb3e
Revert ValueError for NaN values SMA (openWB#2887)
* Handle invalid power_total by resetting values
Set power_total to 0 and currents to [0, 0, 0] when power_total is not valid.
* Helptext improved
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
---------
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>1 parent 3a43ad2 commit 9eafb3e
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments