1 % testing a pumpspeicherkraftwerk: charge over max
7 % define max charging power
10 % define control i1 to charge
13 % define control i2 to 45KW (we are storing 45 KW)
16 % define control is to half-full
20 % expecting i1 to be charge
21 expect_c(psh,i1,charge).
23 % expecting i2 to be 10
26 % expecting is to be half-full
27 expect_c(psh,is,half_full).
29 % and therefore we shall return 15KW