this might help
On 3 September 2013 22:50, <[email protected]> wrote:
> May I have the possibility to get the .mdl file of the cases ? F.E Case 9?
> ****
>
> ** **
>
> Thank you again ****
>
> ** **
>
> Andres Felipe Quiceno Ayala****
>
> Power Supply and Reliability ****
>
> Occidental Andina , LLC****
>
> Tel : +(571)6288796****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Yi Liang
> *Sent:* Tuesday, September 03, 2013 1:33 PM
> *To:* MATPOWER discussion forum
> *Subject:* Re: LMP Question****
>
> ** **
>
> use runopf function and you will see it in the output results. ****
>
> ** **
>
> ** **
>
> Yi ****
>
> ** **
>
> On Mon, Sep 2, 2013 at 9:54 AM, <[email protected]> wrote:****
>
> Good Morning ,****
>
> ****
>
> I would like to know how can I get the LMP’s on an OPF in the IEEE 9 Bus
> example .****
>
> ****
>
> Thank you, ****
>
> ****
>
> Andres Felipe Quiceno Ayala****
>
> Power Supply and Reliability ****
>
> Occidental Andina , LLC****
>
> Tel : +(571)6288796****
>
> ****
>
> ****
>
> ****
>
>
>
> ****
>
> ** **
>
> --
> Yi Liang, Master Candidate****
>
> ** **
>
> Room 403, Coordinated Science Laboratory****
>
> Department of Electrical and Computer Engineering****
>
> University of Illinois at Urbana Champaign****
>
> 1308 W Main Street, Urbana, IL, 61801-2307 ****
>
> ** **
>
--
*Fred Kanjelesa.
*Zambia/Lusaka.
Mobile: +260967880912
"Go as far as you can see. When you get there, you'll be able to see
farther!" *Thomas Carlyle* ** ****
>> test_matpower
t_loadcase..........ok
t_ext2int2ext.......ok
t_jacobian..........ok
t_hessian...........ok
t_totcost...........ok
t_modcost...........ok
t_hasPQcap..........ok
t_mips..............ok
t_qps_matpower......ok (180 of 288 skipped)
t_pf................ok
t_opf_fmincon.......not ok
##### Ran 101 of 101 tests: 65 passed, 36 failed
t_opf_mips..........ok
t_opf_mips_sc.......ok
t_opf_dc_mips.......ok
t_opf_dc_mips_sc....ok
t_opf_dc_ot.........ok
t_opf_userfcns......ok
t_runopf_w_res......ok
t_dcline............ok
t_makePTDF..........ok
t_makeLODF..........ok
t_total_load........ok
t_scale_load........ok
t_off2case..........ok
t_auction_mips......ok
t_runmarket.........ok
Ran 2006 of 2006 tests: 1790 passed, 36 failed, 180 skipped
Elapsed time 120.03 seconds.
>> runpf(case9)
MATPOWER Version 4.1, 14-Dec-2011 -- AC Power Flow (Newton)
Newton's method power flow converged in 4 iterations.
Converged in 0.06 seconds
================================================================================
| System Summary |
================================================================================
How many? How much? P (MW) Q (MVAr)
--------------------- ------------------- ------------- -----------------
Buses 9 Total Gen Capacity 820.0 -900.0 to 900.0
Generators 3 On-line Capacity 820.0 -900.0 to 900.0
Committed Gens 3 Generation (actual) 320.0 34.9
Loads 3 Load 315.0 115.0
Fixed 3 Fixed 315.0 115.0
Dispatchable 0 Dispatchable -0.0 of -0.0 -0.0
Shunts 0 Shunt (inj) -0.0 0.0
Branches 9 Losses (I^2 * Z) 4.95 51.31
Transformers 0 Branch Charging (inj) - 131.4
Inter-ties 0 Total Inter-tie Flow 0.0 0.0
Areas 1
Minimum Maximum
------------------------- --------------------------------
Voltage Magnitude 0.958 p.u. @ bus 9 1.003 p.u. @ bus 6
Voltage Angle -4.35 deg @ bus 9 9.67 deg @ bus 2
P Losses (I^2*R) - 2.46 MW @ line 8-9
Q Losses (I^2*X) - 16.74 MVAr @ line 8-2
================================================================================
| Bus Data |
================================================================================
Bus Voltage Generation Load
# Mag(pu) Ang(deg) P (MW) Q (MVAr) P (MW) Q (MVAr)
----- ------- -------- -------- -------- -------- --------
1 1.000 0.000* 71.95 24.07 - -
2 1.000 9.669 163.00 14.46 - -
3 1.000 4.771 85.00 -3.65 - -
4 0.987 -2.407 - - - -
5 0.975 -4.017 - - 90.00 30.00
6 1.003 1.926 - - - -
7 0.986 0.622 - - 100.00 35.00
8 0.996 3.799 - - - -
9 0.958 -4.350 - - 125.00 50.00
-------- -------- -------- --------
Total: 319.95 34.88 315.00 115.00
================================================================================
| 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 4 71.95 24.07 -71.95 -20.75 -0.000 3.32
2 4 5 30.73 -0.59 -30.55 -13.69 0.174 0.94
3 5 6 -59.45 -16.31 60.89 -12.43 1.449 6.31
4 3 6 85.00 -3.65 -85.00 7.89 -0.000 4.24
5 6 7 24.11 4.54 -24.01 -24.40 0.095 0.81
6 7 8 -75.99 -10.60 76.50 0.26 0.506 4.29
7 8 2 -163.00 2.28 163.00 14.46 -0.000 16.74
8 8 9 86.50 -2.53 -84.04 -14.28 2.465 12.40
9 9 4 -40.96 -35.72 41.23 21.34 0.266 2.26
-------- --------
Total: 4.955 51.31
>> runopf(case9)
MATPOWER Version 4.1, 14-Dec-2011 -- AC Optimal Power Flow
MATLAB Interior Point Solver -- MIPS, Version 1.0, 07-Feb-2011
Converged!
Converged in 0.15 seconds
Objective Function Value = 5296.69 $/hr
================================================================================
| System Summary |
================================================================================
How many? How much? P (MW) Q (MVAr)
--------------------- ------------------- ------------- -----------------
Buses 9 Total Gen Capacity 820.0 -900.0 to 900.0
Generators 3 On-line Capacity 820.0 -900.0 to 900.0
Committed Gens 3 Generation (actual) 318.3 -9.6
Loads 3 Load 315.0 115.0
Fixed 3 Fixed 315.0 115.0
Dispatchable 0 Dispatchable -0.0 of -0.0 -0.0
Shunts 0 Shunt (inj) -0.0 0.0
Branches 9 Losses (I^2 * Z) 3.31 36.46
Transformers 0 Branch Charging (inj) - 161.1
Inter-ties 0 Total Inter-tie Flow 0.0 0.0
Areas 1
Minimum Maximum
------------------------- --------------------------------
Voltage Magnitude 1.072 p.u. @ bus 9 1.100 p.u. @ bus 8
Voltage Angle -4.62 deg @ bus 9 4.89 deg @ bus 2
P Losses (I^2*R) - 1.39 MW @ line 8-9
Q Losses (I^2*X) - 9.36 MVAr @ line 8-2
Lambda P 24.03 $/MWh @ bus 2 25.00 $/MWh @ bus 9
Lambda Q -0.00 $/MWh @ bus 3 0.11 $/MWh @ bus 9
================================================================================
| 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.100 0.000* 89.80 12.94 - - 24.756 -
2 1.097 4.893 134.32 0.05 - - 24.035 -
3 1.087 3.249 94.19 -22.62 - - 24.076 -
4 1.094 -2.463 - - - - 24.756 0.004
5 1.084 -3.982 - - 90.00 30.00 24.998 0.027
6 1.100 0.602 - - - - 24.076 -
7 1.089 -1.197 - - 100.00 35.00 24.254 0.036
8 1.100 0.905 - - - - 24.035 -
9 1.072 -4.616 - - 125.00 50.00 24.999 0.112
-------- -------- -------- --------
Total: 318.31 -9.63 315.00 115.00
================================================================================
| 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 4 89.80 12.94 -89.80 -9.02 -0.000 3.92
2 4 5 35.22 -3.90 -35.04 -13.87 0.181 0.98
3 5 6 -54.96 -16.13 55.97 -22.18 1.010 4.40
4 3 6 94.19 -22.62 -94.19 27.28 -0.000 4.66
5 6 7 38.22 -5.10 -38.07 -18.68 0.149 1.26
6 7 8 -61.93 -16.32 62.21 0.82 0.279 2.36
7 8 2 -134.32 9.32 134.32 0.05 -0.000 9.36
8 8 9 72.11 -10.14 -70.72 -18.94 1.394 7.01
9 9 4 -54.28 -31.06 54.58 12.92 0.295 2.51
-------- --------
Total: 3.307 36.46
================================================================================
| Voltage Constraints |
================================================================================
Bus # Vmin mu Vmin |V| Vmax Vmax mu
----- -------- ----- ----- ----- --------
1 - 0.900 1.100 1.100 8.384
6 - 0.900 1.100 1.100 75.329
8 - 0.900 1.100 1.100 77.457
>>