• Keine Ergebnisse gefunden

Modellreduktion mit Proper Orthogonal Decomposition

N/A
N/A
Protected

Academic year: 2021

Aktie "Modellreduktion mit Proper Orthogonal Decomposition"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Universität Konstanz

Fachbereich Mathematik und Statistik Prof. Dr. Stefan Volkwein

Martin Gubisch

Modellreduktion mit Proper Orthogonal Decomposition

3. Programmierblatt – Abgabe: Dienstag, 22.01.2013, 8:15 Uhr per Email

Ziel ist es, einen Löser SolverOpt für das folgende linear-quadratische Optimierungsproblem mit PDE-Beschränkungen zu implementieren:

min

(y,u)J(y, u) = σQ 2

T

Z

0

||y(t)−yQ(t)||2L2(Ω)dt+σ

2 ||y(T)−y||2L2(Ω)+κ 2

T

Z

0

||u(t)||2L2(Ω)

unter der Nebenbedingung

˙

y(t)−σ∆y(t) = βu(t)in Ω, y(t) = 0 auf ∂Ω, y(0) =y0 in Ω.

1. Das Minimum u soll mittels Banachscher Fixpunktiteration aus dem Optimalitätssystem gewonnen werden.

2. Funktionsaufruf: data = SolverOpt(data).

3. Eingabe- und Ausgabeparameter:

data.input.u0 ... NxxNyxNt initial control data.input.sigmaQ ... 1x1 Q weight of J

data.input.sigmaOm ... 1x1 Om weight of J

data.input.zQ ... NxxNyxNt desired Q state data.input.zOm ... NxxNy desired Om state

data.input.kappa ... 1x1 regularization parameter data.input.beta ... 1x1 right-hand side scalar data.input.sigma ... 1x1 diffusion coefficient data.input.z0 ... NxxNy initial value

data.input.Max ... 1x1 maximal iteration number data.input.Tol ... 1x1 termination tolerance data.output.U ... NxxNyxNt optimal control data.output.Z ... NxxNyxNt optimal state

data.output.P ... NxxNyxNt optimal adjoint state data.output.Count ... 1x1 number of required iterates data.output.Res ... 1xCount residuals max(abs(Fu-u)) data.output.Success ... char in {TRUE,FALSE}

4. Terminierung: Die Iteration soll enden, wenn die maximale Iterationszahl Maxerreicht ist – in dem Fall soll dem Anwender durch die Flag Success=FALSE mitgeteilt werden, dass der erhaltene Punkt U noch nicht nahe genug beim gesuchten Minimum liegt – oder wenn die Differenz zwischen dem aktuellen und dem vorherigen Punkt kleiner als Tol ist – in dem Fall wird natürlich Success=TRUE gesetzt.

(2)

5. Zum Lösen der Zustandsgleichung und der adjungierten Gleichung soll die bereits imple- mentierte Funktion SolverPde (mit Rannacher-Smoothing) aufgerufen werden. Benutzen Sie hierbei Aufgabe 9.4.

6. Schreiben Sie ein Script program03, um Ihren Löser mit den folgenden Daten zu testen:

(x, y) ∈ [0,1]×[0,1], t ∈ [0,1], Nx = 100, Ny = 100, Nt = 100, u0(t, x, y) = 1, σQ = 1, σ = 1, β = 1, σ= 1, z0(t, x, y) =χ2[0.25,0.75](x, y), zQ(t, x, y) =e−tz0(x, y), z(x, y) = 0 und κ ∈ {0.1,0.03,0.01}. Setzen Sie Max=25 und Tol=1.0e-05.

7. Visualisieren Sie zu jedem Wertκdie erhaltenen Residuen. Kommentieren Sie das Ergebnis.

Referenzen

ÄHNLICHE DOKUMENTE

Wenn (es nicht der Fall ist, dass Melly einflussreiche Leute kennt und es nicht der Fall ist, dass Rita einflussreiche Freude hat), dann Erhält Nana den Posten. Wenn es nicht der

Universität Konstanz WS 11/12 Fachbereich Mathematik und

Formuliere die Matrix Riccati Gleichung für das diskretisierte Zielfunktional (2) und die diskretisierte

Given the parameter n, number of inner points, this function return the discretization of the Laplace operator, the discretization size h and the discretization grid X1 and

The input variables are Y the matrix containing the snapshots excluding the boundary points, pod the method for computing the POD basis (’eig’,’svd’), W the weight matrix for

The return values are a matrix Y with columns containing the initial condition and solution to (1) of Program 1 in the inner points and time a vector containing the timesteps. For

The same procedure was done with the Lax-Wendroff discretization method, and different values where presented in the table: the final solid mass m sol , the final dissolved mass m

hochdimensionale Optimalsteuerprobleme durch niedrigdimensionale zu ap- proximieren, die mit weniger Aufwand (oder ¨ uberhaupt) numerisch l¨ osbar sind.Heute existiert eine