Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions...
Transcript of Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions...
![Page 1: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/1.jpg)
Getting State-Space Models
from
FEM Simulations
Jos van Schijndel
![Page 2: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/2.jpg)
Overview
• Background on my work
• State-Space models, WHAT and WHY
• How to get them from FEM
PAGE 1 26-10-2017
![Page 3: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/3.jpg)
Overview
• Background on my work
• State-Space models, WHAT and WHY
• How to get them from FEM
PAGE 2 26-10-2017
![Page 4: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/4.jpg)
PAGE 3 26-10-2017
Assistant professor
Since 1998 COMSOL® User
Entrepreneur
Since 2015
Background
![Page 5: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/5.jpg)
The Built Environment is Multiscale
PAGE 4 26-10-2017
Material mm
Construction m
Building 10 m
Urban Area 1 km
![Page 6: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/6.jpg)
PAGE 5 26-10-2017
Material ~ mm Material Physics
•Durability
•Energy
Physics of the Built Environment
Scale level [mm]
![Page 7: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/7.jpg)
PAGE 6 26-10-2017
Construction ~ m Construction Physics
•Safety
•Durability
•Energy
Physics of the Built Environment
Scale level [m]
![Page 8: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/8.jpg)
PAGE 7 26-10-2017
Building ~ 10 m Building Physics
•Indoor Climate (T,RH,v,Pollutant)
•Building systems
•Health
•Energy
Physics of the Built Environment
Scale level [10 m]
![Page 9: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/9.jpg)
PAGE 8 26-10-2017
Urban Area ~ km Urban Physics
•Urban Climate (Pollutant, Wind)
•Urban Systems
•Aquifer
•Energy
Physics of the Built Environment
Scale level [km]
![Page 10: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/10.jpg)
PAGE 9 26-10-2017
Modeling the Built Environment
Physics and Scales
Physics
Scales
Heat
Moisture
Air
Pollutant
Stress
~ mm
~ m
~ 10m
~ km
![Page 11: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/11.jpg)
Overview
• Background on my work
• State-Space models, WHAT and WHY
• How to get them from FEM
PAGE 10 26-10-2017
![Page 12: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/12.jpg)
What are State-Space models?
PAGE 11 26-10-2017
![Page 13: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/13.jpg)
Why are State-Space models so handy?
PAGE 12 26-10-2017
A(1,1)=(-1/(R1*C1)-1/(R2*C1));
A(1,2)=( 1/(R2*C1));
A(2,1)=(1/(R2*C2));
A(2,2)=(-1/(R2*C2)-1/(R3*C2));
A(2,3)=( 1/(R3*C2));
A(3,2)=(1/(R3*C3));
A(3,3)=(-1/(R3*C3)-1/(R4*C3));
A(3,4)=( 1/(R4*C3));
A(4,3)=(1/(R4*C4));
A(4,4)=(-1/(R4*C4))
%B calc
B(1,1)=(1/(R1*C1));
B(2,1)=0;
B(3,1)=0;
B(4,1)=0;
%C calc
C=[0 0 0 1];
%D calc
D=0;
![Page 14: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/14.jpg)
Why are State-Space models so handy?
PAGE 13 26-10-2017
![Page 15: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/15.jpg)
• Compact notation of dynamic systems
• The availability of high quality public domain solvers
for state-space systems (Octave, Python, R, …)
• These State-Space model solvers are extremely
efficient in simulating dynamic responses.
PAGE 14 26-10-2017
Why are State-Space models so handy?
![Page 16: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/16.jpg)
Overview
• Background on my work
• State-Space models, WHAT and WHY
• How to get them from FEM
PAGE 15 26-10-2017
![Page 17: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/17.jpg)
State Space systems from FEM
PAGE 16 26-10-2017
![Page 18: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/18.jpg)
State Space systems from FEM
COMSOL MatLab functionality
PAGE 17 26-10-2017
%Extract full SS model
M2 = mphstate(model,'sol1','out',{'A' 'B' 'C'
'D' 'x0'},...
'input','mod1.var1', 'output',
'mod1.dom1');
%Create system in MatLab
sys2= ss(M2.A,M2.B,M2.C,M2.D);
%Simulate full SS
y2=lsim(sys2,u,t,M2.x0);
%Reduce order
Options = balredOptions();
sys2Reduced2 = balred(sys2,8,Options);
%Simulate reduced SS
y3=lsim(sys2Reduced2,u,t);
![Page 19: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/19.jpg)
State Space systems from FEM
Identification MatLab Toolbox
PAGE 18 26-10-2017
![Page 20: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/20.jpg)
State Space systems from FEM
First principles
PAGE 19 26-10-2017
![Page 21: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/21.jpg)
State Space systems from FEM
Results
PAGE 20 26-10-2017
![Page 22: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/22.jpg)
State Space systems from FEM
Results
PAGE 21 26-10-2017
![Page 23: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/23.jpg)
State Space systems from FEM
Results
PAGE 22 26-10-2017
![Page 24: Getting State-Space Models from FEM Simulations · State Space systems from FEM Conclusions 26-10-2017 PAGE 23 • All three approaches: are capable of significantly reduce computation](https://reader033.fdocuments.in/reader033/viewer/2022043003/5f83534c5263f765a4492a71/html5/thumbnails/24.jpg)
State Space systems from FEM
Conclusions
PAGE 23 26-10-2017
• All three approaches: are capable of significantly reduce
computation duration time without loss of accuracy.
• Comparing the three approaches from a physical point of
view, the lumped parameter model is preferable
• because its parameters (state-space matrices) have a
physical meaning
• therefore parameters studies can be done without the
necessity to simulate the FEM model over and over again.
• Finally, notice that no general conclusions can be obtained
from this rather limited study.