How do I get the total impedance for one circuit of impedances?
Afficher commentaires plus anciens
I'm trying to get to total impedance where the impedance measurement block is but I can't connect it to the circuit. Even the PS converter don't seem to work to connect it to the block or the circuit. Any suggestion on how to make it work or which library and components use just putting the impedances and getting the total one?

Réponses (2)
Isha
le 20 Mar 2026
Hello,
The 'Impedance Measurement' block does not directly connect with Simscape language-based blocks as it is from the Specialized Power Systems library. Elements from this library are implemented as Simulink blocks and not directly compatible with Simscape language blocks.
When modeling with the SPS library, you can using the 'powergui' block to measure the impedance. In 'powergui', browse to the ‘Tools>>Impedance measurement’ option. You then need to connect the 'Impedance measurement’ block across the load you would like to measure. You can then select your desired options/settings to view the ‘Impedance Vs Frequency’ graph and load the data to workspace.
To find the impedance of a complex circuit with Simscape Electrical blocks with RLC, another workaround would be to represent the following mathematical equation in Simulink and then extracting the impedance:
Z = R+j*X = Phasor_V / Phasor_I = |V|/|I| * exp(j*(Vang - Iang))
= |V|/|I| * ( cos(Vang - Iang) +1j*sin(Vang - Iang) )
Phasor_V = |V|exp(j*Vang)
Phasor_I = |I|exp(j*Iang)
Set the initial conditions of the denominator i.e. the current to a small value so that you do not end up with a 'x/0' condition. Thus, the actual output would begin after the initial condition has ended. Attached is a model that represents the above equation in Simulink.
Hope this helps.
1 commentaire
Michel
le 20 Mar 2026
CHANDRA BABU GUTTIKONDA
le 23 Mar 2026
0 votes
Use only Specialized Power Systems (SPS) blocks and avoid Simscape impedance blocks entirely. Insert a Voltage Measurement block across the two nodes where you want the equivalent impedance, and place a Current Measurement block in series with that same branch. Feed both outputs into Simulink and compute the impedance using a simple Divide block as Z=V/IZ = V/IZ=V/I.
Catégories
En savoir plus sur Electrical Block Libraries dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!