>> help compare
COMPARE Compares two solved power flow cases.
compare(case1, case2)
Compares two solved power flow (or optimal power flow) cases and
prints
a summary of the differences.
For example, runcomp() can be used to solve an OPF using two different
methods and compare the results.
>> opt = mpoption('OUT_ALL', 0, 'VERBOSE', 0);
>> opt1 = mpoption(opt, 'OPF_ALG', 500);
>> opt2 = mpoption(opt, 'OPF_ALG', 520);
>> runcomp('case9', opt1, opt2)
---------------- -------------- -------------- -------------- -----
matrix / col case 1 case 2 difference row
---------------- -------------- -------------- -------------- -----
bus
VA 3.24954 3.24956 2.24e-05 3
MU_VMAX 75.4312 75.4292 0.002 6 *
gen
PG 89.7987 89.7985 0.0002 1 *
QG 12.9656 12.9657 0.0001 1
branch
PT 89.7987 89.7985 0.0002 1 *
QT 12.9656 12.9657 0.0001 1
MU_SF -89.7987 -89.7985 0.0002 1
MU_ST 0.0318 0.0319 0.0001 7
On Jun 12, 2008, at 1:03 PM, hamid tahery2009 wrote:
please help me about this instruction at matpower:compare(case1,case2)
thanks.