Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Simulink | Using Tunable Parameters
With the tunable parameters, you are able to modify model parameters on HYPERSIM without regenerating the model code on Simulink.
Note: a variable cannot be set as a tunable parameter if it is used in the initialization of a mask.
On the Configuration panel go to Optimization/Signals and Parameters.
Then go to the Default parameter behavior line. (Inline is set by default.)
Click Configure and select Referenced workspace variables as Source list.
Select the parameters you want to be tunable. In this case, let's select H and K then click Add to table (Below the window state after this action).
Then click Apply and OK.
In HYPERSIM you can modify these parameters through the device form. For instance, here K is a complex and H a matrix (e.g. K = 3.0+5.0i and H = [1.0 2.0 ; 3.0 4.0] for initialization).
On this form, you can set the real and imaginary parts of K (K_param_re and K_param_im) and set the matrix parameters of H (coefficients are written by column within a vector).
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter