Clear Filters
Clear Filters

How to connect simscape subsystems together?

1 view (last 30 days)
I am trying to create an electric powertrain testbench in Simulink and am having issues connecting subsytems for the line diagram attached.Assembly A Line Diagram.JPG
  • We have created a signal for mains connection:
Mains Power Connection.JPG
  • And are using a downloaded file for the charger which rectifies the 230V AC mains to 48V DC:
Charger.JPG
  • And finally we are using this system as motor controller and motor:
Motor Drive.JPG
The graph for motor results is wrong however the main problem we are facing is connecting these subsystems. Is it possible to actually do this? And if not, are there any recommendations how to go about creating this system shown in line diagram? Thanks in advance.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 2 Sep 2020
Hello Ewan,
in general, it is discouraged to combine the two technologies together, as it can lead to some solver convergence issues and add's decoupling which makes the models less accurate than if they were implemented in a single technology (simulink for the black wires, and simscape for the blue wires). For this, I would recreate the model all in one technology. If you really want to connect them though, here are blocks to help with that:
Regards,
Joel

Categories

Find more on Powertrain Reference Applications in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!