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

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

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 2월 20일
편집: 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개)

카테고리

제품

릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by