Clear Filters
Clear Filters

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

60 views (last 30 days)
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.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 27 Apr 2023
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.

Products

Community Treasure Hunt

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

Start Hunting!