Disable a Simpower block using a logic block
Afficher commentaires plus anciens
All switches and circuit breakers in Simpower specialized tech blocks have leakage due to their snubbers and/or parallel resistors, etc. which actually keep the disconnected circuits in simulation profile. How can I disconnect them like a real world contactor/relay out of a circuit?
Réponses (2)
Sebastian Castro
le 31 Mar 2016
Modifié(e) : Sebastian Castro
le 31 Mar 2016
0 votes
You should be able to set the snubber values of inf, which makes them ideal. Even the block icons should change to remove the snubbers!
Alternatively, if your model is running in Continuous mode (as per the powergui block), there is an "Enable use of ideal switches" option available in that block.
Under the hood, Simscape Power Systems won't get rid of the components when you open a breaker, but it will decouple the state-space matrices on either side of the switch so you're effectively solving two separate systems.
- Sebastian
Mason Karbassian
le 1 Avr 2016
0 votes
Catégories
En savoir plus sur Get Started with Specialized Power Systems dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!