Custom Library containing SimPowerSystems switches?
4 次查看(过去 30 天)
显示 更早的评论
It appears that the SimPower Systems switches cannot be used in custom library blocks. I'm trying to create a custom library with a block that abstracts a three-phase inverter. When I instantiate the block in my model, I get the error:
Goto/From connections cannot cross nonvirtual subsystem boundaries.
The only exception is when a goto is connected to a state output port
Component: Simulink | Category: Model error
This error stems from a GoTo block in the IGBT Model, seen below:
0 个评论
回答(1 个)
Julia Antoniou
2017-9-7
Hi Abhijit, It seems that the IGBT block in question cannot be placed on its own in a model because it needs other Simscape Power Systems blocks in order to function correctly. For example, to provide the "From" for the "GoTo" causing this error, you would need to use an AC current source.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating Custom Components and Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!