Dear Ray,

Maybe it would be useful for you. I found how to stop the deviations of the wind
values. I do not know the reason for this, but I got the result.

I have the following wind profile (250 MW wind power, determenistic case):

111.25

125.5

136.25

145

165

158

165

171.5

179.5

188.5

194.25

202.75

213

217.5

214

204.5

194.75

178.25

163

150.5

101

55.25

73.75

132.75

--

With a wind profile in MOST (I did it for using in stochastic cases):

[

0.378 0.445 0.512;

0.427 0.502 0.577;

0.463 0.545 0.626;

0.493 0.580 0.667;

0.561 0.660 0.759;

0.537 0.632 0.727;

0.561 0.660 0.759;

0.583 0.686 0.789;

0.610 0.718 0.825;

0.641 0.754 0.867;

0.660 0.777 0.893;

0.689 0.811 0.932;

0.724 0.852 0.979;

0.739 0.870 1.000;

0.728 0.856 0.984;

0.695 0.818 0.940;

0.662 0.779 0.895;

0.606 0.713 0.820;

0.554 0.652 0.750;

0.511 0.602 0.692;

0.343 0.404 0.465;

0.188 0.221 0.254;

0.251 0.295 0.340;

0.451 0.531 0.611;

];

I've got the following result (with a storage, just example. In other cases I
have the same):

#

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

1

450.23

450.23

450.23

450.23

445

445

410

386.7

372.66

372.66

372.66

372.66

372.66

372.66

372.66

372.66

372.66

372.66

372.66

423.58

465

465

465

436.08

2

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

3

72

72

72

72

72

72

72

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

35.34

57

57

62.75

62.75

62.75

4

-681

-671

-666

-681

-681

-676

-647

-587

-572

-576

-580

-574

-576

-572

-578

-569

-571

-562

-571

-631

-663

-663

-651

-641

5

111.25

125.5

136.17

145

165

158

165

171.5

179.42

188.5

194.17

202.67

212.92

217.42

214

204.42

194.67

178.25

163

150.42

101

55.25

73.83

132.75

6

47.52

23.27

7.6

13.77

-1

1

0

0

-8.88

-13.96

-15.63

-30.13

-38.38

-46.88

-37.46

-36.88

-25.13

-17.71

0

0

40

80

49.41

9.41

In some periods the calculate wind profile not equal the original (deference is
0.008, but in other cases can be much more larger).

After setting in a wind profile all columns with the same values:

[

0.445 0.445 0.445;

0.502 0.502 0.502;

0.545 0.545 0.545;

0.580 0.580 0.580;

0.660 0.660 0.660;

0.632 0.632 0.632;

0.660 0.660 0.660;

0.686 0.686 0.686;

0.718 0.718 0.718;

0.754 0.754 0.754;

0.777 0.777 0.777;

0.811 0.811 0.811;

0.852 0.852 0.852;

0.870 0.870 0.870;

0.856 0.856 0.856;

0.818 0.818 0.818;

0.779 0.779 0.779;

0.713 0.713 0.713;

0.652 0.652 0.652;

0.602 0.602 0.602;

0.404 0.404 0.404;

0.221 0.221 0.221;

0.295 0.295 0.295;

0.531 0.531 0.531;

];

I've got the resulted wind profile the same as the original:

1

450.75

450.75

450.75

450.75

445

445

410

386.7

372.4

372.4

372.4

372.4

372.4

372.4

372.4

372.4

372.4

372.4

372.4

423.5

465

465

465

436

2

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

3

72

72

72

72

72

72

72

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

28.8

35.6

57

57

62.75

62.75

62.75

4

-681

-671

-666

-681

-681

-676

-647

-587

-572

-576

-580

-574

-576

-572

-578

-569

-571

-562

-571

-631

-663

-663

-651

-641

5

111.25

125.5

136.25

145

165

158

165

171.5

179.5

188.5

194.25

202.75

213

217.5

214

204.5

194.75

178.25

163

150.5

101

55.25

73.75

132.75

6

47

22.75

7

13.25

-1

1

0

0

-8.7

-13.7

-15.45

-29.95

-38.2

-46.7

-37.2

-36.7

-24.95

-17.45

0

0

40

80

49.5

9.5

Vlad .

---------- Пересланное сообщение ----------

Dear Ray,

Again I have a problem with a wind profile values. Before I started simulation
and everythng was ok.

Now I changed my wind profile with the same power and again it started to
dispatch my wind. Even I've set very high reserve quantity about 1000000 and 
zero
prices. How to stop it? I have the power of the wind 250 MW and the following
profile:

[

0.378 0.445 0.512;

0.427 0.502 0.577;

0.463 0.545 0.627;

0.493 0.580 0.667;

0.561 0.660 0.759;

0.537 0.632 0.727;

0.561 0.660 0.759;

0.583 0.686 0.789;

0.610 0.718 0.826;

0.645 0.759 0.873;

0.695 0.818 0.941;

0.754 0.887 1.020;

0.810 0.953 1.096;

0.823 0.968 1.113;

0.787 0.926 1.065;

0.734 0.864 0.994;

0.681 0.801 0.921;

0.609 0.716 0.823;

0.554 0.652 0.750;

0.512 0.602 0.692;

0.343 0.404 0.465;

0.188 0.221 0.254;

0.251 0.295 0.339;

0.451 0.531 0.611;

];


And for the Restrict ramping and add ramp reserve costs I've got the following
result:

========== PG ==========

Gen t = 1 t = 2 t = 3 t = 4 t = 5 t = 6 t = 7 t = 8 t = 9 t =10 t =11 t =12 t 
=13
t =14 t =15 t =16 t =17 t =18 t =19 t =20 t =21 t =22 t =23 t =24

---- ------- ------- ------- ------- ------- ------- ------- ------- -------
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
------- ------- ------- ------- -------

1 346.50 322.25 312.75 312.75 294.75 294.75 258.75 192.25 192.25 186.00 186.00
186.00 186.00 186.00 186.00 186.00 190.75 203.00 228.00 300.50 351.50 397.25
397.25 328.25

2 223.25 223.25 223.25 223.25 223.25 223.25 223.25 223.25 200.25 200.25 189.50
180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 210.50 210.50
180.00 180.00

3 - - - - - - - - - - - - - - - - - - - - - - - -

4 -681.00 -671.00 -666.00 -681.00 -681.00 -676.00 -647.00 -587.00 -572.00 
-576.00
-580.00 -574.00 -576.00 -572.00 -578.00 -569.00 -571.00 -562.00 -571.00 -631.00
-663.00 -663.00 -651.00 -641.00

5 111.25 125.50 130.00 145.00 163.00 158.00 165.00 171.50 179.50 189.75 204.50
208.00 210.00 206.00 212.00 203.00 200.25 179.00 163.00 150.50 101.00 55.25 
73.75
132.75


Wind profile is changing. With a storage it's ok:

========== PG ==========

Gen t = 1 t = 2 t = 3 t = 4 t = 5 t = 6 t = 7 t = 8 t = 9 t =10 t =11 t =12 t 
=13
t =14 t =15 t =16 t =17 t =18 t =19 t =20 t =21 t =22 t =23 t =24

---- ------- ------- ------- ------- ------- ------- ------- ------- -------
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
------- ------- ------- ------- -------

1 450.75 450.75 450.75 450.75 445.00 445.00 410.00 386.70 363.70 360.53 360.53
360.53 360.53 360.53 360.53 360.53 360.53 360.53 379.20 451.70 459.25 465.00
465.00 436.00

2 - - - - - - - - - - - - - - - - - - - - - - - -

3 72.00 72.00 72.00 72.00 72.00 72.00 72.00 28.80 28.80 28.80 28.80 28.80 28.80
28.80 28.80 28.80 28.80 28.80 28.80 28.80 62.75 62.75 62.75 62.75

4 -681.00 -671.00 -666.00 -681.00 -681.00 -676.00 -647.00 -587.00 -572.00 
-576.00
-580.00 -574.00 -576.00 -572.00 -578.00 -569.00 -571.00 -562.00 -571.00 -631.00
-663.00 -663.00 -651.00 -641.00

5 111.25 125.50 136.25 145.00 165.00 158.00 165.00 171.50 179.50 189.75 204.50
221.75 238.25 242.00 231.50 216.00 200.25 179.00 163.00 150.50 101.00 55.25 
73.75
132.75

6 47.00 22.75 7.00 13.25 -1.00 1.00 - - - -3.08 -13.83 -37.08 -51.58 -59.33
-42.83 -36.33 -18.58 -6.33 -0.00 -0.00 40.00 80.00 49.50 9.50


But I've noticed one thing. In a wind profile we have 3 variants for the
stochastic case. But in my case only the second column should be used:

wp = ex_wind_profile;

windprofile.values(:, :, 1) = mean(wp.values, 2);

But it seems that for some periods the program used the values from the second
columns. Because I changed

the value in the first column to make an experiment and the value of the wind in
the result changed. What do you think about it?

Another question, why the program is doing double calculation and I have the
double result which is different?


--

Vlad .

Reply via email to