sir
since the cost is negative,the total load will curtailed irrespective of
incentive and also the cost.The load should be curtailed according to the
incentive.for example below two are the two codes with different
curtailement cost.
mpc=loadcase('case14d');
>> mpc0=load2disp(mpc,'m',4,-22);
>> runopf(mpc0)
mpc=loadcase('case14d');
>> mpc0=load2disp(mpc,'m',4,-32Converged in 0.09 seconds
Objective Function Value = 2854.63 $/hr
================================================================================
| System Summary
|
================================================================================
How many? How much? P (MW) Q (MVAr)
--------------------- ------------------- -------------
-----------------
Buses 14 Total Gen Capacity 842.7 -52.0 to 208.0
Generators 8 On-line Capacity 842.7 -52.0 to 208.0
Committed Gens 8 Generation (actual) 216.1 53.3
Loads 11 Load 211.2 77.4
Fixed 10 Fixed 211.2 77.4
Dispatchable 1 Dispatchable 0.0 of 47.8 -0.0
Shunts 1 Shunt (inj) -0.0 21.1
Branches 20 Losses (I^2 * Z) 4.94 21.72
Transformers 3 Branch Charging (inj) - 24.7
Inter-ties 0 Total Inter-tie Flow 0.0 0.0
Areas 1
Minimum Maximum
------------------------- --------------------------------
Voltage Magnitude 1.019 p.u. @ bus 3 1.060 p.u. @ bus 1
Voltage Angle -9.09 deg @ bus 14 0.00 deg @ bus 1
P Losses (I^2*R) - 1.32 MW @ line 1-2
Q Losses (I^2*X) - 5.42 MVAr @ line 2-3
Lambda P 30.57 $/MWh @ bus 1 33.38 $/MWh @ bus 3
Lambda Q -0.13 $/MWh @ bus 6 0.23 $/MWh @ bus 14
================================================================================
| Bus Data
|
================================================================================
Bus Voltage Generation Load
Lambda($/MVA-hr)
# Mag(pu) Ang(deg) P (MW) Q (MVAr) P (MW) Q (MVAr)
P Q
----- ------- -------- -------- -------- -------- -------- -------
-------
1 1.060 0.000* 122.84 0.00 - -
30.572 -0.049
2 1.045 -2.673 22.99 11.69 21.70 12.70
31.497 -
3 1.019 -8.408 0.00 24.25 94.20 19.00
33.383 -
4 1.038 -4.383 47.80 19.92 0.00* -0.00*
31.906 0.004
5 1.033 -3.984 - - 7.60 1.60
31.797 0.090
6 1.060 -7.549 0.00 -6.00 11.20 7.50
31.710 -0.131
7 1.052 -6.860 - - - -
31.953 -0.005
8 1.041 -6.860 0.00 -5.98 - -
31.953 -0.005
9 1.054 -8.172 - - 29.50 16.60
31.977 -0.011
10 1.053 -8.097 9.00 4.80 9.00 5.80
31.967 -
11 1.053 -7.961 - - 3.50 1.80
31.938 -0.016
12 1.050 -8.108 - - 6.10 1.60
32.092 -0.007
13 1.052 -7.986 13.50 4.67 13.50 5.80
31.983 -
14 1.035 -9.093 - - 14.90 5.00
32.637 0.226
-------- -------- -------- --------
Total: 216.14 53.35 211.20 77.40
================================================================================
| Branch Data
|
================================================================================
Brnch From To From Bus Injection To Bus Injection Loss (I^2 *
Z)
# Bus Bus P (MW) Q (MVAr) P (MW) Q (MVAr) P (MW) Q
(MVAr)
----- ----- ----- -------- -------- -------- -------- --------
--------
1 1 2 87.44 -2.53 -86.12 0.71 1.319
4.03
2 1 5 35.40 2.53 -34.79 -5.38 0.616
2.54
3 2 3 54.57 1.14 -53.28 -0.38 1.287
5.42
4 2 4 17.90 -3.21 -17.73 0.04 0.172
0.52
5 2 5 14.94 0.35 -14.82 -3.72 0.119
0.36
6 3 4 -40.92 5.63 42.03 -4.16 1.107
2.82
7 4 5 -12.97 14.98 13.01 -14.82 0.049
0.15
8 4 7 23.06 5.31 -23.06 -4.27 0.000
1.04
9 4 9 13.41 3.76 -13.41 -2.82 0.000
0.94
10 5 6 29.00 22.33 -29.00 -19.58 0.000
2.75
11 6 11 4.72 1.44 -4.70 -1.39 0.021
0.04
12 6 12 5.12 1.82 -5.09 -1.75 0.032
0.07
13 6 13 7.96 2.83 -7.92 -2.74 0.042
0.08
14 7 8 -0.00 6.04 0.00 -5.98 0.000
0.06
15 7 9 23.06 -1.77 -23.06 2.30 0.000
0.53
16 9 10 -1.20 1.41 1.20 -1.41 0.001
0.00
17 9 14 8.17 3.59 -8.08 -3.40 0.091
0.19
18 10 11 -1.20 0.41 1.20 -0.41 0.001
0.00
19 12 13 -1.01 0.15 1.02 -0.15 0.002
0.00
20 13 14 6.90 1.76 -6.82 -1.60 0.078
0.16
--------
--------
Total: 4.936
21.72
================================================================================
| Voltage Constraints
|
================================================================================
Bus # Vmin mu Vmin |V| Vmax Vmax mu
----- -------- ----- ----- ----- --------
1 - 0.940 1.060 1.060 179.120
6 - 0.940 1.060 1.060 116.026
================================================================================
| Generation Constraints
|
================================================================================
Gen Bus Active Power Limits
# # Pmin mu Pmin Pg Pmax Pmax mu
---- ----- ------- -------- -------- -------- -------
3 3 6.617 0.00 0.00 100.00 -
4 6 8.290 0.00 0.00 100.00 -
5 8 8.047 0.00 0.00 100.00 -
6 13 - 0.00 13.50 13.50 43.983
7 4 - 0.00 47.80 47.80 43.906
8 10 - 0.00 9.00 9.00 43.967
Gen Bus Reactive Power Limits
# # Qmin mu Qmin Qg Qmax Qmax mu
---- ----- ------- -------- -------- -------- -------
1 1 0.049 0.00 0.00 10.00 -
4 6 0.131 -6.00 -6.00 24.00 -
5 8 0.005 -6.00 -5.98 24.00 -
7 4 - 0.00 19.92 20.00 0.004
================================================================================
| Dispatchable Load Constraints
|
================================================================================
Gen Bus Active Power Limits
# # Pmin mu Pmin Pg Pmax Pmax mu
---- ----- ------- -------- -------- -------- -------
9 4 - -47.80 -0.00 0.00 29.321
Gen Bus Reactive Power Limits
# # Qmin mu Qmin Qg Qmax Qmax mu
---- ----- ------- -------- -------- -------- -------
9 4 301.324 0.00 0.00 3.90 -
>> );
>> runopf(mpc0)
for these two codes the results are same
On Tue, May 24, 2016 at 1:58 AM, Ray Zimmerman <[email protected]> wrote:
> MATPOWER can handle negative total cost functions. You will have to
> determine whether that accurately models the problem you want to solve .
>
> Ray
>
>
>
> On May 23, 2016, at 10:08 AM, VANJARAPU VENKATARAONAIDU <
> [email protected]> wrote:
>
> then can we represent the cost as negative in the coding.
>
> On Mon, May 23, 2016 at 7:31 PM, Ray Zimmerman <[email protected]> wrote:
>
>> It simply means that even if the energy were free (or they were being
>> paid for it), it would be better for the load to take the incentive payment
>> to curtail rather than to serve it’s load.
>>
>> Ray
>>
>>
>>
>> > On May 23, 2016, at 5:10 AM, VANJARAPU VENKATARAONAIDU <
>> [email protected]> wrote:
>> >
>> > sir
>> > As you mentioned that in direct load control ,the curtailed load is
>> designed as benefit to the load minus incentive payment.If the incentive
>> payment is greater than the marginal benefit then the cost will be
>> negative.Is there any meaning for that or what it means please explain.
>>
>>
>>
>>
>
>