Having trouble understanding connections within the same modeling domain in Simscape

3 views (last 30 days)
Gideon Prior
Gideon Prior on 27 Apr 2022
Answered: Dakai Hu on 5 May 2022
I recently aquired Simscape electrical and I have watched a few tutorials on getting started. I have a few models I am customizing for a motor controller and I am unable to connect certain elements and dont understand why. For example, I have an igbt based inverter and I would like to add a current measurement. I want to open the circuit and place a current sensor in the path, and then use a ps-s converter at the I port on the sensor to connect it to a scope. However the current sensor will not connect to the circuit. Being that they are in the same domain I dont understand why. I see the outputs of the inverter are Physical Modeling connection ports, and the current sensor says conservative electrical ports but I dont know in what ways they differ. Can someone help me understand the connection constraints better? Thanks

Answers (1)

Dakai Hu
Dakai Hu on 5 May 2022
Hi Gideon,
The light blue current sensor is from Simscape component library, while the rest of your inverter circuit is from "specialized Power Systems" sub-library. These are two different modeling paradigms. There are ways to interface the two together, but in your case it will be easier to replace the current sensor by the "current measurement" block under Specialized Power Systems/Sensors and Measurements.

Community Treasure Hunt

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

Start Hunting!

Translated by