Those command work fine on 7.1 for me. I suspect that maybe something got messed up with your installation. You might try reinstalling a fresh cope of MATPOWER. Does test_matpower pass all of the tests for you?
And if you are going to reinstall, I suggest trying MATPOWER 8<https://matpower.org/matpower-8-0-launch/> since it does include a fix for an incompatibility with newer versions of MATLAB’s optimization toolbox (which can cause some test failures on 7.1). Hope this helps, Ray On Jun 29, 2024, at 8:58 AM, Dr. Aamir Nawaz <[email protected]> wrote: Dear Dr. Ray, I am trying to do a very simple task as given in your manual. I am using matpower 7.1 version. I want to perform the following: mpc = loadcase('t_case30_userfcns'); mpc = toggle_iflims(mpc, 'on'); results = runopf(mpc); but I am constantly getting the error message as below: Unrecognized field name "mu". Error in toggle_iflims>userfcn_iflims_printpf (line 241) if results.if.mu.l(k) > ptol Please can you tell where could be the problem. Does the matpower 7.1 has same problem on your MATPOWER while running the above commands? Best Regards, Dr. Aamir Nawaz -- Regards, Engr. Dr. Aamir Nawaz, (HEC Approved PhD Supervisor) Lecturer, Department of Electrical Engineering, Faculty of Engineering & Technology, Gomal University, Dera Ismail Khan-29050, Pakistan.
