Re: Matrix is singular to working precision.

2019-10-21 Thread Sabhan Kanata
, Sabhan Kanata menulis: Dear Prof Ray.. How do I check with the case_info command, sir? Please the instructions myfiledata : casejawabali.m RegardsSabhan Pada Senin, 21 Oktober 2019 22.23.34 WIB, Ray Zimmerman menulis: Did you check the output of case_info() for your case?   Ray

Re: Matrix is singular to working precision.

2019-10-21 Thread Sabhan Kanata
10:04 AM, Sabhan Kanata wrote: > > Dear Prof Ray, > > Thank you for responding > My branch data, There are no R and X parameters that are 0.  Where do you > think the problem is? > > " OutmailID: 124038130, List: 'matpower-l', MemberID: 28632318 SCRIPT: "bran

Re: Matrix is singular to working precision.

2019-10-21 Thread Sabhan Kanata
to see if you see anything unusual.     Ray On Oct 20, 2019, at 11:59 PM, Sabhan Kanata wrote: Dear Prof Ray, I get a warning when running the power flow as below: What do you think is the solution? Error using  \ Matrix is singular to working precision. Error in newtonpf (line 100)    dx

Matrix is singular to working precision.

2019-10-20 Thread Sabhan Kanata
Dear Prof Ray, I get a warning when running the power flow as below: What do you think is the solution? Error using  \ Matrix is singular to working precision. Error in newtonpf (line 100)    dx = -(J \ F); Error in runpf (line 148)     [V, success, iterations] = newtonpf(Ybus, Sbus,

Re: ORPF on the Case 118

2019-09-19 Thread Sabhan Kanata
This is an example for defining variables Hope you can be helped [PLOSS] = runpf(casename,AA) the reactive power source installation bus(5,6)=2*AA(55); bus(34,6)=2*AA(56); bus(37,6)=2*AA(57); bus(44,6)=2*AA(58); bus(45,6)=2*AA(59); bus(46,6)=2*AA(60); bus(48,6)=2*AA(61);

Re: the previous iteration that was overwritten

2019-09-19 Thread Sabhan Kanata
of the results struct for the best solution so far, replacing it each time you find an improved solution. Then at the end, use printpf() to re-print the output of the best solution.    Ray On Sep 18, 2019, at 10:11 PM, Sabhan Kanata wrote: Dear Prof Ray Zimmerman, I did the optimization process using

Re: the previous iteration that was overwritten

2019-09-18 Thread Sabhan Kanata
September 2019 20.21.56 WIB, Ray Zimmerman menulis: Use the printpf() function to print the results of a previously run solution that you’ve saved in a results struct. For example … results = runpf('case118');...printpf(results); Hope this helps,     Ray On Sep 18, 2019, at 5:50 AM, Sabhan Kanata

the previous iteration that was overwritten

2019-09-18 Thread Sabhan Kanata
Dear Prof Ray Zimmerman, How to display the entire matpower power flow in the matlab command from the previous iteration that was overwritten? Thanks RegardsSabhan K

Discrete variable

2019-02-27 Thread Sabhan Kanata
Dear Prof. Ray and matpower discussion forum How can I implement the ratio tap trafo as discrete variable (not fixed or continue variable) in MATPOWER runpf ? I want to implement matpower to calculate losses in heuritic optimization Regards Sabhan

The voltage stabilty index in power system

2019-02-12 Thread Sabhan Kanata
Dear Prof. Ray Zimmerman I am taking a reseach on Optimazation of Power System to investigate the way to minimalize the voltage stabilty index (Lindex). Has there been a calculation in searching for Lindex in Matpower? Thanks youSabhan

Re: Change objective function of losses to deviation Voltage

2018-08-31 Thread Sabhan Kanata
= runpf(mpc);total_losses = sum(get_losses(results));sum_of_V_deviations = sum(abs(results.bus(:, VM) - 1.0)); Hope this helps,     Ray  On Jul 28, 2018, at 12:03 AM, Sabhan Kanata wrote: Dear Mr. Ray Zimmerman, I am Sabhan Kanata,  a Doctoral Student of Bandung Institute of Technology

Update runpf to formula voltage deviation, not PLOSS

2017-11-21 Thread Sabhan Kanata
Dear Ray Zimmerman, if function [PLOSS] = runpf(casename,AA)To find the value of the function of the voltage deviation on the load bus : deviation voltage = (IVi-1.0I) how to update runpf coding? Thank youSabhan K