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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Variable Initialization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!