Error while using fundamental blocks from Simscape\Power system

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

Answers (1)

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.

Categories

Asked:

on 4 Jun 2018

Answered:

on 12 Aug 2025

Community Treasure Hunt

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

Start Hunting!