3 % In case i1 > c_max, it generates an amount of energy equal to its maximal capacity c_max, so op = c_max.
4 % The windmill can only generate power if the wind speed iw is between 5 and 40 (including these values).
11 % define control i1 to 25KW (we request 25KW)
14 % define control iw to 10 windspeed
18 % expecting i1 to be 25
21 % expecting iw to be 10
24 % and therefore we shall produce 15KW