How to add initial states to a circuit simulation using powerlib.
Afficher commentaires plus anciens
I am having trouble adding initial states to inductors/capacitors on simulations using powergui for all the circuits I have tried to simulate. I had all kinds of issues:
- Adding the initial current/voltage directly at the RLC branch block culminates into an error message when I run the simulation that states that the initial value is being ignored.
- The powergui: "initial settings" menu either says that "There is no state variable at this model" or gets stuck at "Calculating stating variables" and displays a long warning message at the command window.
Please bear in mind that I have been struggling with this for hours and I have read the documentation on it and it has been of no help since it simply doesn't work as shown in the explanation.
Thank you in advance!
1 commentaire
Francio
le 23 Avr 2013
Réponses (1)
Joel Van Sickel
le 11 Déc 2020
0 votes
This often happens if you specify too many initial states and the system cannot actually find a way to realistically start at those states. There are tools in powergui to help calculate initial states for certain devices. However, if your system is complex enough, you may not be able to control all of the initial states and must settle for driving the system to the correct operating point during simulaiton. Howevef, you should try removing all initial states, and slowly adding them in one at a time, and find out which ones are problematic.
Catégories
En savoir plus sur Electrical Systems dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!