Connecting Simscape Electrical Blocks to Simulink

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)

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

I've tried doing that, did'nt work. Specifically the connection between voltage port of the two blocks.
Can you share your model? You can attach it to your post using the paperclip icon.
Yeah, i've attached the model to the original post
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.

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

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Products

Release

R2020b

Asked:

on 18 Jun 2021

Answered:

on 18 Jun 2021

Community Treasure Hunt

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

Start Hunting!