Error while using fundamental blocks from Simscape\Power system

5 次查看(过去 30 天)
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

回答(1 个)

Sabin
Sabin 2025-8-12
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.

类别

Help CenterFile Exchange 中查找有关 Variable Initialization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by