Problems with load flow analysis using Simscape Electrical Specialized Technology
6 次查看(过去 30 天)
显示 更早的评论
I am trying to perform a load flow of a simple power system (synchronous machine + load), implemented with Simscape Electrical Specialized Technology blocks.
When I type in the command line of matlab:
power_loadflow('model name','solve');
the “power_loadflow” function operates normally, converges and updates the initial states of the model without problems.
However, when I write the same command in a Model Callbacks (InitFcn or StartFcn), the “power_loadflow” function does not work, indicating that there is no “Load Flow Bus” block in the model that allows performing the load flow analysis.
I need that the function power_loadflow initializes the synchronous machine parameters automatically every time the simulation is started. What should I do?
Grateful
2 个评论
Joel Van Sickel
2023-6-2
Hello Julio,
I took the example : LF = power_loadflow('-v2','power_LFnetwork_5bus','solve') and put that in the model's initFcn and it worked on my side. What version are you using and can you share the model that is causing problems?
Regards,
Joel
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Sensors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!