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

1 visualizzazione (ultimi 30 giorni)
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!

Risposte (1)

Abhinav Aravindan
Abhinav Aravindan il 13 Set 2024
Modificato: Abhinav Aravindan il 13 Set 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!

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by