Can I run a parameter sweep for Load-Flow Analysis programmatically when using a powergui block?

7 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2023-4-16
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulation and Analysis 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by