Difference between revisions of "Control of Heat Equation with Actuator Placement"
FelixMueller (Talk | contribs) (→Discretization) |
FelixMueller (Talk | contribs) (→Discretization) |
||
Line 69: | Line 69: | ||
==Discretization== | ==Discretization== | ||
− | To solve the problem we apply a "first discretize, then optimize" approach an discretize the | + | To solve the problem we apply a "first discretize, then optimize" approach an discretize the components of the problem. |
− | + | For the heat equation, we use a five-point-stencil in space and the implicit euler in time. | |
For <math>i=1,\dots, N-1</math>, <math>j=1,\dots, M-1</math>, and <math>k=0,\dots, T_n-1</math>, this yields: | For <math>i=1,\dots, N-1</math>, <math>j=1,\dots, M-1</math>, and <math>k=0,\dots, T_n-1</math>, this yields: | ||
− | <math> \frac{1}{h_t}(u_{i,j,k}-u_{i,j,k-1}) - \frac{\kappa_{i,j}}{h_x h_y}(u_{i-1,j,k}+u_{i+1,j,k}+u_{i,j-1,k}+u_{i,j+1,k}-4u_{i,j,k}) = \sum\limits_{l=1}^L(s_{k+1,l}+s_{k ,l} ) | + | <math> \frac{1}{h_t}(u_{i,j,k}-u_{i,j,k-1}) - \frac{\kappa_{i,j}}{h_x h_y}(u_{i-1,j,k}+u_{i+1,j,k}+u_{i,j-1,k}+u_{i,j+1,k}-4u_{i,j,k}) = \sum\limits_{l=1}^L(s_{k+1,l}+s_{k ,l} )f_l(ih_x,jh_y), </math> |
+ | |||
+ | with <math>u_{i,j,k}=u(ih_x,jh_y,kh_t)<\math>, the stepsizes <math>h_x,h_y</math> in space, and the stepsize in time <math>h_t</math>, respectively. | ||
It holds for the source buget with the discretized binary controls <math>w_{l,k}</math> for all <math>k\in \{0,\dots,T_n\}</math>: | It holds for the source buget with the discretized binary controls <math>w_{l,k}</math> for all <math>k\in \{0,\dots,T_n\}</math>: | ||
<math> \sum\limits_{l=1}^L w_{k,l}\leq W. | <math> \sum\limits_{l=1}^L w_{k,l}\leq W. | ||
</math> | </math> | ||
+ | |||
+ | We remark that the number of discretized binary variables does not depend on the space discretization but it depends on the time discretization. Thats why we taged this problem containing mesh-independend and as mesh-dependend integer variables. | ||
==Source Code== | ==Source Code== |
Revision as of 18:11, 23 February 2016
Control of Heat Equation with Actuator Placement | |
---|---|
State dimension: | 1 |
Differential states: | 1 |
Continuous control functions: | 9 |
Discrete control functions: | 9 |
Path constraints: | 3 |
Interior point equalities: | 2 |
This problem is governed by the heat equation and is adapted from Iftime and Demetriou ([Iftime2009]Author: Orest V. Iftime; Michael A. Demetriou
Journal: {A}utomatica
Number: 2
Pages: 312--323
Title: {O}ptimal control of switched distributed parameter systems with spatially scheduled actuators
Volume: 45
Year: 2009
).
Its goal is to choose a place to apply an actuator in a given area depending on time.
The objective function is quadratic, its first term captures the desired final state , the second term regularize the state over time and the third term regularize the continuous controls.
The constraints are a source budget, which limits the quantity of placed actuators, and the two-dimensional heat equation with some source function.
Additionally, we assume Dirichlet boundary conditions and initial conditions.
Originally, the problem formulation was non-convex.
We overcome this issue by substitution of by and adding the Big formulation.
Mathematical formulation
Parameters
We define the source term for all locations and a fix parameter : where is the coordinate of the mesh point of the th possible actuator location.
The parameters used are:
The parameter describes the thermal dissipativity of the material in the domain , it may vary in space: .
The parameter indicates the number of possible actuator locations. They are distributed as indicated in the picture.
The source budget is limited by and denotes the final time.
Discretization
To solve the problem we apply a "first discretize, then optimize" approach an discretize the components of the problem. For the heat equation, we use a five-point-stencil in space and the implicit euler in time. For , , and , this yields:
with Failed to parse (unknown function "\math"): u_{i,j,k}=u(ih_x,jh_y,kh_t)<\math>, the stepsizes <math>h_x,h_y
in space, and the stepsize in time , respectively.
It holds for the source buget with the discretized binary controls for all :
We remark that the number of discretized binary variables does not depend on the space discretization but it depends on the time discretization. Thats why we taged this problem containing mesh-independend and as mesh-dependend integer variables.
Source Code
References
[Iftime2009] | Orest V. Iftime; Michael A. Demetriou (2009): {O}ptimal control of switched distributed parameter systems with spatially scheduled actuators . {A}utomatica, 45, 312--323 |