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

1 visualización (últimos 30 días)
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!

Respuestas (1)

Abhinav Aravindan
Abhinav Aravindan el 13 de Sept. de 2024
Editada: Abhinav Aravindan el 13 de Sept. de 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!

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by