Jump to content

Double Tank multimode problem: Difference between revisions

From mintOC
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Dimensions
{{Dimensions
|nd        = 1
|nd        = 1
|nx        = 3
|nx        = 2
|nw        = 3
|nw        = 3
|nre      = 2
|nre      = 2
Line 37: Line 37:


<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2">
<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2">
  Image:MmlotkaRelaxed_12000_120_1.png| Optimal relaxed controls and states determined by an direct approach with ampl_mintoc (Radau collocation)  and <math>n_t=12000, \, n_u=100</math>.
  Image:MmdoubletankRelaxed 12000 120 1.png| Optimal relaxed controls and states determined by an direct approach with ampl_mintoc (Radau collocation)  and <math>n_t=12000, \, n_u=100</math>.
  Image:MmdoubletankCIA_12000_120_1.png| Optimal binary controls and states determined by an direct approach (Radau collocation) with ampl_mintoc and <math>n_t=12000, \, n_u=100</math>. The relaxed controls were approximated by Combinatorial Integral Approximation.
  Image:MmdoubletankCIA_12000_120_1.png| Optimal binary controls and states determined by an direct approach (Radau collocation) with ampl_mintoc and <math>n_t=12000, \, n_u=100</math>. The relaxed controls were approximated by Combinatorial Integral Approximation.
</gallery>
</gallery>




== Source Code ==


Model description is available in
* [[:Category:AMPL | AMPL code]] at [[Double Tank multimode problem (AMPL)]]




Line 54: Line 57:
[[Category:Chattering]]
[[Category:Chattering]]
[[Category:Sensitivity-seeking arcs]]
[[Category:Sensitivity-seeking arcs]]
[[Category:Population dynamics]]
 





Latest revision as of 07:37, 14 March 2020

Double Tank multimode problem
State dimension: 1
Differential states: 2
Discrete control functions: 3
Interior point equalities: 2

This site describes a Double tank problem variant with three binary controls instead of only one control.

Mathematical formulation

The mixed-integer optimal control problem is given by

minx,w0Tk1(x2k2)2dts.t.x˙1=i=13ciwi,x1,x˙2=x1x2,x(0)=(2,2)T,1=i=13wi(t),wi(t){0,1},i=13.


Parameters

These fixed values are used within the model.

T=10,c1=1,c2=0.5,c3=2,k1=2,k2=3.

Reference Solutions

If the problem is relaxed, i.e., we demand that w(t) be in the continuous interval [0,1] instead of the binary choice {0,1}, the optimal solution can be determined by means of direct optimal control.

The optimal objective value of the relaxed problem with nt=12000,nu=100 is 2.59106823. The objective value of the binary controls obtained by Combinatorial Integral Approimation (CIA) is 2.59121008.


Source Code

Model description is available in