View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Power System State Estimation using WLS

4.5 | 14 ratings Rate this file 51 Downloads (last 30 days) File Size: 6.74 KB File ID: #23052 Version: 1.0

Power System State Estimation using WLS


Praviraj PG (view profile)


Power System State Estimation using Weighted Least Square Method

| Watch this File

File Information

Power System State Estimation using Weighted Least Square Method. Measurements are voltage magnitude, power injection and power flows.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (24)
09 Feb 2017 Mahbubur Rahman

Very good code. But for the 30 bus case the output is showing for bus 1 -27, bus 28,29 and 30 is missing. What can be the reason?

08 Feb 2017 Hasnae Bilil

I apologize, there is no mistake in the file wls.m, as mentioned on my previous message. Congrats

Comment only
08 Feb 2017 Hasnae Bilil

Thank you, the code is very good. However, I think the code has a littre mistake in file wls.m, line 60, defining the function of the active power flow as
"h4(i) = -V(m)^2*G(m,n) - V(m)*V(n)*(-G(m,n)*cos(del(m)-del(n)) - B(m,n)*sin(del(m)-del(n)));"
The minus before V(m) needs to be removed. This the correct function,
"h4(i) = V(m)^2*G(m,n) - V(m)*V(n)*(-G(m,n)*cos(del(m)-del(n)) - B(m,n)*sin(del(m)-del(n)));"

27 Nov 2016 nirali rathod

06 Sep 2016 Preeti Jain

thanku sir

Comment only
23 Aug 2016 Freddy Santander

hi i want to use this program with more grip I do?

Comment only
20 Jun 2016 Korleone

Does someone maybe has an example for WLS Topology Error Detection And Identi fication???
It would mean me a lot...
Thank you.

Comment only
02 Jun 2016 Fiaz Ahmad

What is the problem Ammara

Comment only
21 Apr 2016 Ammara Gul

Is there anyone to help me. I could not run this file, I dont know why..

Comment only
07 Mar 2016 zahid

zahid (view profile)

Hello all
Anybody know how to run decouple state estimation or its code? in matlab

Comment only
06 Mar 2016 yuxingxing

thanks for your help

11 Feb 2016 EMI

EMI (view profile)

Thank you, very useful and perfectly developed

29 May 2015 juliana Klas

Very nice, congrats and many thanks!

02 Feb 2014 abujem

abujem (view profile)

Great work, but i need some info on how to incorporate PMU measurements.

22 Nov 2013 meysam

meysam (view profile)

Thanks for Benevolence

17 Jun 2013 Mahdi

Mahdi (view profile)

thanks alot

09 Jun 2012 Umar

Umar (view profile)

Apologies for above comment but still the output for 14 bus system gives only 13 results while that for 30 bus system only 27 results are being obtained

Comment only
01 Jun 2012 Umar

Umar (view profile)

Dear Sir, For 30 Bus System there is an error [In wls at 230
Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN. ] Also there is no measurement file for 57 bus system

12 Apr 2012 Venkatesh Yadav

the calculation of H12(element of Jacobian Matrix) is incorrect.

Comment only
22 Jun 2011 Mehdi Davoudi

It was useful.
You are legend :)

05 May 2011 Nacer Hussam

It is very good, but i'm very happy to get the WLS method with Hypothesis Testing instead of Normalized Residuals, for my final year project.
pleas help me, I'll so thankful.

05 Apr 2011 Qian

Qian (view profile)

Hi Pravi, coded neat and clean. Just wondering how come ur ans doesnt match with LF ones? thx

15 Mar 2010 gb8

gb8 (view profile)

someone has a version of the state estimator in C language ????

Comment only
26 May 2009 Erdal Bizkevelci

Contact us