Fix previous bug (about message)
Test with 1 battery, 1 TE, 1 PE, 1 SREC. It looks to work.
I have to run some tests again.