Effacer les filtres
Effacer les filtres

Change a parameter (initially given by input) across the length of the simulation

2 vues (au cours des 30 derniers jours)
Oliver  Ford
Oliver Ford le 29 Mar 2022
Commenté : Cedric RAFT le 9 Avr 2024
Apologies for the difficulty in how the question is phrased, but I wish to change the Omega (angular rotation) across the length of the dynamic gross-pitaevskii simulation given by this toolbox http://gpelab.math.cnrs.fr/downloads.htm. Although, I am not sure how to change it during the simulation itself, I've tried to implement a loop in RSP_DS2d.m to change it, but the parameter is unaffected since it is given by the user and then stored in Physics2D_Var2d.m. If you need any clarification on what I mean then don't hesistate to ask. Thanks for any help given!
  1 commentaire
Cedric RAFT
Cedric RAFT le 9 Avr 2024
Bonjour, j'aimerais simuler les condensats de Bose Einstein. Comment faire ? C'est pour mon mémoire de Master 2

Connectez-vous pour commenter.

Réponses (1)

Lokesh
Lokesh le 16 Jan 2024
Hi Oliver,
I see that you're looking to dynamically change the value of the angular rotation parameter (Omega) during your Gross-Pitaevskii equation simulation.
To achieve this, it's essential to determine if the parameter is tunable during the simulation runtime.Some block parameters, especially mathematical parameters, can be defined as "tunable" parameters. It is possible to change the value of a 'tunable' parameter while the simulation is running from the block's dialog parameter, the model explorer, or using the 'set_param' command.
Refer to this blog to know more about changing parameters during simulation:
Please refer to the following documentation to know more about :

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by