Curve Fitting

Navigation:  Toolboxes > Time Domain Toolbox >

Curve Fitting

Previous pageReturn to chapter overviewNext page

Using the Parameter Sweep option of the Time Domain Toolbox, you can fit your model to a given result using variation of parameters / initial values.

Optimization Method

1.From the Tools menu select the Time Domain Toolbox and then Curve Fittting.

A window opens asking you which optimization method should used for curve fitting:


2.Select the Optimization method that should be used.
3.Select the Tolerance (accuracy of the found fit) that should be used and click Next.

Parameters / Initial Values

A window opens asking you which parameters / initial values should be varied during curve fitting:


4.Add the parameters / initial values of your choice:
5.Click the Next button.


A window opens asking you which result should minimized to fit your model (variable 1) to a given result (variable 2):


6.Enter the result here using the various options of the window.
7.Click the Next button.

Run options

A window opens asking some simulation run options:


8.Select the desired run options and click the Next button.

A window opens with a summary of the chosen options. If your are not satisfied you can use the Back button to go to a previous window and change settings.

9.Click the Finish button to close the Multiple Run Wizard.
10.From the Simulation menu click the Multiple Run command to perform the Curve Fitting.

Optimization Results

After simulation has been done, the Optimization Results window will open, showing the minimum value of the result and corresponding parameters:


You can select the following items:

Values: Choose this button to open the list that shows the numerical output of the curve fitting runs.
Matlab: Export the results to Matlab.
OK: Close the Optimization Results Window.


You can always re-open the Multiple Run Results window, by selecting the Multiple Run Results command of the View Menu.

11.By choosing the Values button, a new window is opened, showing the numerical results of the parameter sweep.

In the Results list of this window the subsequent runs are shown and the value of the chosen result:


You can select the following items:

Set Values: Choose the values of the selected run, as new parameter values of your model.
Create Datafile: Use this button to store the values of the selected variables on file. Use the control-key and shift-key to make multiple selections.