I do not have the code to do it, and as I’ve said before<https://www.mail-archive.com/[email protected]/msg01271.html>, I’m not sure there is “one correct way” to do it for an AC OPF result. Reference [1] below may provide some insight.
Here is a response<https://www.mail-archive.com/[email protected]/msg05751.html> to a post from Sarmad Hanif where he indicated that he may have such code in MATPOWER … maybe you can follow up with him. It would be nice to include something in MATPOWER if you do find code that does the job. Best, Ray [1] https://doi.org/10.1109/59.982191 On Feb 28, 2020, at 9:59 AM, Jubeyer Rahman <[email protected]<mailto:[email protected]>> wrote: Hi, Does anyone here knows about any open source code to decompose the LMPs got from optimal power flow solution? Regards, Jubeyer
