How to access / configure Simscape parameters from Multiple Simulations configuration?

1 view (last 30 days)
I am looking at the Fuel Cell / EV reference application (as an example) and multiple simulations.
The model includes Simscape blocks. Can I configure/access parameters of those Simscape blocks from the Multiple Simulations dialog? (I can successfully configure Simulink parameters (for example, vehicle mass) within the Multiple Simulations dialog.)
As an example, in the model, under FCElectricPlant, there is a DC-DC Converter Simscape model. There is an "efficiency" setting under "Losses" that I would like to change using a Multiple Simulations setting.
Thanks!

Answers (1)

Abhinav Aravindan
Abhinav Aravindan on 13 Sep 2024
Edited: Abhinav Aravindan on 13 Sep 2024
Hi Mark,
To access the “Percentage efficiency at rated output power” parameter, you can follow the steps provided below:
  1. Find the parameter name by hovering over the value. The parameter name for “Percentage efficiency at rated output power” is “eff_rated”.
  2. Change the parameter to a “Run-Time” parameter.
  3. In the “Multiple Simulations” panel, add a “Block Parameter” in the “Design Study” tab and enter the block path, parameter name, and values for your simulation.
Further, you may refer to the link below wherein a similar query has been resolved.
Please find below the related documentation for your reference.
I hope this answers your question!

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!