Connecting Simscape Electrical Blocks to Simulink

38 views (last 30 days)
Hello, i need to connect the inverter circuit to Synchronous Reluctance Motor. I've made the SynRM motor in simulink as well as the three phase to two phase convertor. I cant connect between the subsystems. Any work around or help will be appreciated.

Answers (2)

Cris LaPierre
Cris LaPierre on 18 Jun 2021
You likely need to use either a PS-Simulink block or a Simulink-PS block.
If you haven't done so yet, consider going through Simscape Onramp.
  4 Comments
Murtaza Udaipurwala
Murtaza Udaipurwala on 18 Jun 2021
Yeah, i've attached the model to the original post
Cris LaPierre
Cris LaPierre on 18 Jun 2021
Ok, I'm maybe a little over my head here. It looks like these specialized power systems cannot be directly connected to Simulink. You need to use a converter block. For example, you could use the Three-Phase V-I Measurement block.
You might find the 2nd example on this documentation page helpful for what you are trying to do.

Sign in to comment.


Ding Li
Ding Li on 18 Jun 2021
Hi Murtaza,
It looks like your inverter output (abc) side is not connected to anything. Therefore, it is being treated by Simscape as an open circuit. You will likely only see open-circuit voltage if you connected the two sides together as-is.
I recommend using the Controlled Current Source to feedback the current from your Simulink model to complete the circuit. Essentially, your Simscape model will see the motor phase as a current source
As Cris mentioned, you can use the Three-Phase VI Measurement block to read the abc voltage and send that to the Simulink model to complete the loop
The challenge you are faced with is you are connecting blocks from different modeling paradigms - Simulink, analytical models versus Simscape, physical signals. Alternatively, you can consider replacing the Simulink model of the synchronous reluctance machine with this block in the Simscape Electrical library? Not sure if this would be easier. To connect these two sides together, use this connector.
All the best,
Ding Li

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!