Error while using fundamental blocks from Simscape\Power system

5 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Sabin
Sabin il 12 Ago 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.

Categorie

Scopri di più su Variable Initialization in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by