Converting Simscape DC Voltage Source to Simulink
40 views (last 30 days)
Show older comments
Mitchell Hagar
on 28 May 2019
Answered: Arvind Sathyanarayanan
on 4 Jun 2019
My team and I are researching different tools to use for modeling and simulation. I am working on a small model to showcase what Mathworks has to offer. I've ran into a problem with trying to convert the DC Voltage Source from Simscape into Simulink using the PS-Simulink Converter. After some quick research the converter should be the answer I'm looking for, but it is not letting me connect the source to the converter. Any ideas on how to fix this problem?
0 Comments
Accepted Answer
Arvind Sathyanarayanan
on 4 Jun 2019
Mitchell, thanks for the screenshot.
If I understand you correctly, you're trying to use Simscape foundation library. The best way to "convert" simscape to simulink is to measure the voltage/current source using the appropriate sensor, followed by a PS to Simulink converter and then sending this signal to your stateflow chart.
Please see the attached model.
0 Comments
More Answers (2)
Arvind Sathyanarayanan
on 29 May 2019
Mitchell,
Can you attach the model or post a screenshot so we can see the blocks you're trying to connect?
If you're using the DC votlage source from the specialized technology library and trying to interface it with the Simscape electrical blocks you'll need Current-Voltage Simscape Interface. There are some examples available here.
2 Comments
Arvind Sathyanarayanan
on 30 May 2019
It is a part of the Simscape Electrical toolbox.
Could please show what block(s) you're trying to connect to your DC voltage source?
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!