Can I run a parameter sweep for Load-Flow Analysis programmatically when using a powergui block?
7 views (last 30 days)
Show older comments
MathWorks Support Team
on 20 Jan 2023
Edited: MathWorks Support Team
on 16 Apr 2023
Can I run a parameter sweep for Load-Flow Analysis programmatically when using a powergui block?
Accepted Answer
MathWorks Support Team
on 20 Feb 2023
Edited: MathWorks Support Team
on 16 Apr 2023
Load-Flow Analysis can be performed programmatically using the “power_loadflow” function. Please refer to the following link for further information:
For the case in which you would like to run a parameter sweep with subsequent Load-Flow Analysis programmatically, you can either add this line to the for loop that simulates the model or in the callbacks of the model. Please refer to the following links for more information on model callbacks:
Depending on whether you would like to run the Load-Flow Analysis before or after each simulation, you can choose to add the command for Load-Flow Analysis in the “StartFcn” or “StopFcn” model callback.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!