Error while using fundamental blocks from Simscape\Power system
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hello, I'm trying to run a simulink model using fundamental blocks from Simscape\Power system library but I'm getting an error: the following inductors... are connected to the following voltage source. What does that mean and how can I fix it? Thanks
0 commentaires
Réponses (1)
Sabin
le 12 Août 2025
It looks like you’re using Specialized Power Systems. This is because an ideal voltage source in a loop with only inductors (or an ideal current source in a loop with only capacitors) can lead to an infinite current or voltage change, which is not physically realizable. You can place a large resistor between the inductors and the ground. Start with 1e6 ohms. Check the current going through the resistor and if above 1% increase the resistor value. The simulation will be more accurate with a larger resistor, but the model will be slower.
0 commentaires
Voir également
Catégories
En savoir plus sur Variable Initialization 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!