
|
1
|
|
2
|
In the Select Physics tree, select Mathematics > ODE and DAE Interfaces > Global ODEs and DAEs (ge).
|
|
3
|
Click Add.
|
|
4
|
Click
|
|
5
|
|
6
|
Click
|
|
1
|
|
2
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Global ODEs and DAEs (ge) click Global Equations 1 (ODE1).
|
|
2
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
Select the Manual axis limits checkbox.
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
Go to the Add Study window.
|
|
3
|
|
4
|
Click the Add Study button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Objective Function section. In the table, enter the following settings:
|
|
5
|
|
1
|
|
2
|
|
3
|
In the Model Builder window, expand the Study 2 > Solver Configurations > Solution 2 (sol2) > Optimization Solver 1 node, then click Time-Dependent Solver 1.
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|