File Exchange

image thumbnail

Optimal Power Flow by Vector PSO

version (41.6 KB) by RMS Danaraj
OPF by Vector PSO


Updated 27 Aug 2015

View License

This program solves the OPF by vectorised PSO

Cite As

RMS Danaraj (2020). Optimal Power Flow by Vector PSO (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (16)


please share the reference paper of this work

asm fawzy

i need help to write code of Inequality constraints to minimize power loss and voltage deviation
to get optimal sizing and location of dg

Can someone please provide me simulink model for optimal load flow and unit comittment, it is very urgent for my project work...

Hello Mr. RMS Danaraj,

I'm Naremi from Malaysia.I need your help. I really need latest modification for psoopf26.m file. It dont have lineflow limit (LF). Please help me sir. This is my email

Thanks You Sir

my mailid

think you ... where is equation which write this code or where is the refreance paper for this code ... and have you optimal sizing and location to reduce power losses in radial distribution system my email

xiang gao

Dear Sir/Madam,

Could you possible send me the email?


Dear sir,
May I get the source code? I would be so much grateful if you kindly send this code to me . I'm doing a project related to it.
My maid address
Siddique Tomal

I want to apply PSO algo to optimally place the upfc fact devive in a 30-IEEE bus system.can u please help me with that.

Dear sir, I want to "optimal location of statcom among various IEEE bus system by pso" ------urgently

sinoy john


The psoopf26.m file need some modifications. It is not having lineflow limits(LF) data.It is included in this update.

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Particle Swarm Optimization Toolbox