Custom Library containing SimPowerSystems switches?

1 vue (au cours des 30 derniers jours)
Abhijit K
Abhijit K le 30 Août 2017
Commenté : Abhijit K le 7 Sep 2017
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:

Réponses (1)

Julia Antoniou
Julia Antoniou le 7 Sep 2017
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.
  1 commentaire
Abhijit K
Abhijit K le 7 Sep 2017
Then is it impossible to create a library of circuits? I'm trying to make a library of some circuits (for instance two-level and three-level inverters) that can be dropped into models as required.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Creating Custom Components and Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by