![]() For larger models, accelerated simulations take less time toĮxecute than normal simulations. To perform many simulations that each use different parameter values, you can use accelerated Of each parameter value, see Decide How to Visualize Simulation Data. To visualize simulation output data so you can compare the effect For more information, see Save Simulation Data. You can capture these outputs in variables and objects for laterĪnalysis. Such as signal values from Outport blocks and from SetVariable(simIn, 'myVar',15.23, 'Workspace', 'myModel') Capture and Visualize Simulation ResultsĮach simulation run during a parameter sweep produces outputs, The model now acquires the relative slip setpoint from this variable.Īlternatively, you can use these commands at the command prompt to create the variable and configure the block: A variable, whose value is 0.2, appears in the base workspace. In the Create New Data dialog box, set Value to 0.2 and click Create. While editing the value, next to relSlip, click the action button (with three vertical dots) and select Create. Use the Value column to set the parameter value to relSlip. The Model Data Editor highlights the row that corresponds to the Constant value parameter of the block. In the model, select the Constant block labeled Desired relative slip. In the Model Data Editor, select the Parameters tab. When you simulate the model, you can collect and later inspect the values of these signals by using the Simulation Data Inspector. The Log Data column shows that the signals yout (which is a virtual bus) and slp are configured for logging. Set the Change view drop-down list to Instrumentation. In the Model Data Editor, select the Signals tab. On the Modeling tab, click Model Data Editor. Sweep Parameter Value and Inspect Simulation Results Simulating a model, such as by using a script, see Run Simulations Programmatically. For basic information about programmatically Values as you design a model, see Set Block Parameter Values. Process of creating a model, see Tune and Experiment with Block Parameter Values.įor basic information about accessing and setting block parameter To learn how to manipulate parameter values during the iterative Sweeping require that you set block parameter values by creating workspace Several features and products that facilitate parameter optimization, estimation, and Value of the variable instead of locating or identifying the block in the model. You can use the Model Explorer or programmatic commands to change the If you want to repeatedly change the value of a block parameter, consider creating a variable The command prompt, or scripts to change parameter values between simulation Tab, under Design, click Property Inspector), Use the Parameters tab on the Model DataĮditor (on the Modeling tab, click Model DataĮditor), the Property Inspector (on the Modeling ![]() You can sweep block parameter values or the values of workspace variables that you use to set Robustness of a control algorithm by taking into consideration uncertainty Use parameter sweeping to tuneĬontrol parameters, estimate unknown model parameters, and test the You change their values between simulation runs, and compare and analyze Optimize, Estimate, and Sweep Block Parameter Values ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |