0% found this document useful (0 votes)
103 views3 pages

Contigencia 1

This document appears to be output from running a power flow simulation in MATLAB. It provides output on the power flow convergence, system details like the number of buses and branches, bus data including voltages and power injections/loads, and branch data including power flows and losses. The simulation encountered an error with the OSQP solver but was still able to complete.

Uploaded by

keveny2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views3 pages

Contigencia 1

This document appears to be output from running a power flow simulation in MATLAB. It provides output on the power flow convergence, system details like the number of buses and branches, bus data including voltages and power injections/loads, and branch data including power flows and losses. The simulation encountered an error with the OSQP solver but was still able to complete.

Uploaded by

keveny2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MATLAB Command Window Page 1

>> runpf ('case30peru');


Warning: The following error was caught while executing 'osqp' class destructor:
Undefined function 'osqp_mex' for input arguments of type 'char'.

Error in osqp/delete (line 40)


osqp_mex('delete', this.objectHandle);

Error in osqp (line 34)


this.objectHandle = osqp_mex('new', varargin{:});

Error in have_feature_osqp (line 23)


o = osqp();

Error in have_feature (line 135)


[TorF, vstr, rdate] = feval(fcn);

Error in mpoption_info_osqp (line 31)


if have_feature('osqp')

Error in mpoption>mpoption_default (line 1638)


opt = nested_struct_copy(opt, feval(fname, 'D'));

Error in mpoption (line 643)


opt = mpoption_default();

Error in runpf (line 88)


mpopt = mpoption; %% use default options
> In osqp (line 34)
In have_feature_osqp (line 23)
In have_feature (line 135)
In mpoption_info_osqp (line 31)
In mpoption>mpoption_default (line 1638)
In mpoption (line 643)
In runpf (line 88)
OSQP Error!

MATPOWER Version 7.1, 08-Oct-2020 -- AC Power Flow (Newton)

Newton's method power flow (power balance, polar) converged in 3 iterations.

Converged in 16.61 seconds


================================================================================
| System Summary |
================================================================================

How many? How much? P (MW) Q (MVAr)


--------------------- ------------------- ------------- -----------------
Buses 30 Total Gen Capacity 335.0 -95.0 to 405.9
Generators 6 On-line Capacity 335.0 -95.0 to 405.9
Committed Gens 6 Generation (actual) 191.7 103.9
Loads 20 Load 189.2 107.2
Fixed 20 Fixed 189.2 107.2
Dispatchable 0 Dispatchable -0.0 of -0.0 -0.0
MATLAB Command Window Page 2

Shunts 2 Shunt (inj) -0.0 0.2


Branches 40 Losses (I^2 * Z) 2.53 9.45
Transformers 0 Branch Charging (inj) - 12.6
Inter-ties 7 Total Inter-tie Flow 32.5 26.9
Areas 3

Minimum Maximum
------------------------- --------------------------------
Voltage Magnitude 0.961 p.u. @ bus 8 1.000 p.u. @ bus 1
Voltage Angle -5.60 deg @ bus 19 0.00 deg @ bus 1
P Losses (I^2*R) - 0.34 MW @ line 1-3
Q Losses (I^2*X) - 2.09 MVAr @ line 12-13

================================================================================
| Bus Data |
================================================================================
Bus Voltage Generation Load
# Mag(pu) Ang(deg) P (MW) Q (MVAr) P (MW) Q (MVAr)
----- ------- -------- -------- -------- -------- --------
1 1.000 0.000* 26.06 1.69 - -
2 1.000 -2.558 60.97 32.94 21.70 12.70
3 0.983 -2.808 - - 2.40 1.20
4 0.980 -3.356 - - 7.60 1.60
5 0.982 -3.791 - - - -
6 0.973 -3.962 - - - -
7 0.968 -4.439 - - 22.80 10.90
8 0.961 -4.420 - - 30.00 30.00
9 0.981 -4.670 - - - -
10 0.984 -5.037 - - 5.80 2.00
11 0.981 -4.670 - - - -
12 0.986 -3.150 - - 11.20 7.50
13 1.000 -0.137 37.00 11.26 - -
14 0.977 -3.927 - - 6.20 1.60
15 0.980 -3.937 - - 8.20 2.50
16 0.977 -4.278 - - 3.50 1.80
17 0.977 -5.046 - - 9.00 5.80
18 0.968 -5.116 - - 3.20 0.90
19 0.965 -5.604 - - 9.50 3.40
20 0.969 -5.521 - - 2.20 0.70
21 0.993 -5.149 - - 17.50 11.20
22 1.000 -5.053 21.59 39.54 - -
23 1.000 -3.226 19.20 7.92 3.20 1.60
24 0.989 -4.287 - - 8.70 6.70
25 0.990 -3.360 - - - -
26 0.972 -3.809 - - 3.50 2.30
27 1.000 -2.507 26.91 10.51 - -
28 0.975 -3.959 - - - -
29 0.980 -3.808 - - 2.40 0.90
30 0.968 -4.721 - - 10.60 1.90
-------- -------- -------- --------
Total: 191.73 103.88 189.20 107.20

================================================================================
MATLAB Command Window Page 3

| 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 3 26.06 1.69 -25.71 -2.36 0.343 1.30
2 2 4 10.81 6.87 -10.70 -8.52 0.107 0.30
3 3 4 23.31 1.16 -23.26 -0.93 0.056 0.23
4 2 5 12.05 4.93 -11.96 -6.53 0.090 0.36
5 2 6 16.40 8.45 -16.19 -9.75 0.215 0.65
6 4 6 27.70 9.87 -27.61 -9.51 0.090 0.36
7 5 7 11.96 6.72 -11.86 -7.42 0.101 0.24
8 6 7 10.98 2.64 -10.94 -3.48 0.041 0.11
9 6 8 24.81 24.44 -24.68 -23.93 0.128 0.51
10 6 9 5.62 -3.29 -5.62 3.38 0.000 0.09
11 6 10 3.21 -1.88 -3.21 1.96 0.000 0.08
12 9 11 0.00 0.00 0.00 0.00 0.000 0.00
13 9 10 5.62 -3.38 -5.62 3.43 0.000 0.05
14 4 12 -1.34 -2.02 1.34 2.03 0.000 0.02
15 12 13 -37.00 -9.17 37.00 11.26 0.000 2.09
16 12 14 5.42 0.87 -5.39 -0.79 0.037 0.08
17 12 15 9.62 -1.09 -9.55 1.22 0.068 0.13
18 12 16 9.42 -0.14 -9.34 0.32 0.082 0.18
19 14 15 -0.81 -0.81 0.82 0.82 0.003 0.00
20 16 17 5.84 -2.12 -5.81 2.20 0.032 0.08
21 15 18 9.25 0.73 -9.15 -0.54 0.099 0.20
22 18 19 5.95 -0.36 -5.93 0.41 0.023 0.05
23 19 20 -3.57 -3.81 3.58 3.83 0.009 0.02
24 10 20 5.83 4.66 -5.78 -4.53 0.052 0.12
25 10 17 3.22 8.06 -3.19 -8.00 0.023 0.06
26 10 21 -2.26 -11.64 2.30 11.74 0.044 0.10
27 10 22 -3.77 -8.47 3.83 8.60 0.062 0.13
28 21 22 -19.80 -22.94 19.89 23.13 0.093 0.19
29 15 23 -8.71 -5.27 8.82 5.48 0.108 0.22
30 22 24 -2.13 7.82 2.21 -7.70 0.079 0.12
31 23 24 7.18 0.84 -7.11 -0.70 0.068 0.14
32 24 25 -3.80 1.73 3.83 -1.68 0.034 0.06
33 25 26 3.55 2.37 -3.50 -2.30 0.046 0.07
34 25 27 -7.38 -0.70 7.44 0.81 0.062 0.12
35 28 27 -6.17 -6.03 6.17 6.34 -0.000 0.31
36 27 29 6.17 1.68 -6.08 -1.51 0.090 0.17
37 27 30 7.12 1.67 -6.95 -1.35 0.171 0.32
38 29 30 3.68 0.61 -3.65 -0.55 0.035 0.07
39 8 28 -5.32 -6.07 5.35 4.32 0.036 0.12
40 6 28 -0.82 -2.65 0.82 1.71 0.001 0.00
-------- --------
Total: 2.528 9.45
>>

You might also like