The first block, modeled as a current source, cannot be connected in series with the inductive element of the second block.

62 ビュー (過去 30 日間)
The following two blocks cannot be connected in series:
Block 1: 'A_stator: Asynchronous Machine SI Units'
Block 2: 'Series RLC Branch2'
The first block, modeled as a current source, cannot be connected in series with the inductive element of the second block.
Add a high-value resistance in parallel with one of the two block. You can also specify high-value resistive snubbers if the blocks have a snubber device.You can avoid the use of the snubber by selecting the 'Continuous' simulation type in the Solver tab of the Powergui and deselecting the 'Disable ideal switching' option in the Preferences tab of Powergui block.

回答 (1 件)

Joel Van Sickel
Joel Van Sickel 2023 年 4 月 27 日
I am only repeating the error message, but the error message tells you the solution. In circuit modelling, you cannot put two current sources in series which each other. It't not physically or even mathematically possible to have two different currents flowing the same wire. This limits how you can model things in specialized power systems because some of their blocks are modelled as current sources. When this is the case, one alternative is to add a resistive path to ground between them, known as a snubber resistor. This larger this snubber resistor, the more accurate, but more slow, the simulaiton will be. If you make the value smaller, the simulation will be faster but less accurate.

カテゴリ

Help Center および File ExchangeSimulation and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by