Open PonySubway opened 12 months ago
Have you read the read-me file and followed the instruction? Please double check. Also the error message says that SimulinkMATPOWERbase.slx cannot be found. Make sure that this file is on the Matlab path.
I have add this on MATLAB path, and replaced the existing blocks with ones in "SimulinkMATPOWERbase.slx". There is a new error message about the block itself.
Error:Simulink cannot determine sizes and/or types of the outputs for block 'example/MATPOWER in Simulink/Extracting Power Flow Results/get_tap_ratios1' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
There was a broken reference. I fixed the bug and pushed a new version. Please download a clean new version and try it again. Please provide feedback whether it now works or not.
Currently, I have added SimulinkMATPOWER folder to MATLAB path, and ran the “ac_testbed_setup.m” file. However, when running the “example.slx”, it fails to load library. Error message shown below, and the blocks can’t be found in simulink library.
Error:Failed to load library 'SimMATPOWERbase' referenced by 'example/MATPOWER in Simulink/Solve Power Flow/ACPF'.
Could you please provide more information on how to install this useful tool? I suspect that I didn’t install it properly.