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

1 次查看(过去 30 天)
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!

回答(1 个)

Abhinav Aravindan
Abhinav Aravindan 2024-9-13
编辑:Abhinav Aravindan 2024-9-13
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!

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by