Professional Documents
Culture Documents
Simulation and Modelling PDF
Simulation and Modelling PDF
Lecture 3:
Modeling and Simulation
1
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
MSDO Framework
today
Design Vector Simulation Model Objective Vector
x1 J1
Discipline A Discipline B
x2 J2
Discipline C
xn Jz
Coupling
Multiobjective
Optimization
Approximation
Optimization Algorithms Methods
2 Special Techniques
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Today’s Topics
Definitions of Modeling and Simulation
- physics-based modeling
- empirical modeling
Computational Issues
- coupling disparate CAE/CAD tools
3
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Definitions
4
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Definitions
Definition: Model (as used in this class)
A model is a mathematical object that has the ability
to predict the behavior of a real system under a set of
defined operating conditions and simplifying assumptions.
5
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
From the Reference
System
Physical Mathematical
Model Model
Analytical Simulation
Solution
Law & Kelton (2000), Simulation Modeling and Analysis 3rd ed., McGraw-Hill, Inc.
6
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Additional Detail – Next Chart
Models should not include all the details for all purposes
• They quickly become unwieldy & expensive
7
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Analysis Methods
Purpose:
System Analysis/Design
Prediction
Training
Experiment with Experiment with
Actual System Model of System Testing
Entertainment
9
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Model Development Process
Start Process Define
Master Table
DSM
N2 Diagram
Objectives
Governing Define
Constraints
Equations Modules
Design Variables
Integrate Benchmark
Code Modules
Modules Sanity Check
Test Code
Ready For Use
10
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Objectives, Constraints, Design
Variables
• Define Objectives J This is how we want system to behave
Influence Matrix
x1 … xn
+ influence
Ji + + o
o no
gj + o + influence
11
model relationships
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Physics Based Modeling
12
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Governing Equations
Continuum (Structural) Mechanics
x xy xz
stress
S yx y yz tensor
zx zy y
F3
F1
F2 x
u
strain
x
-Equilibrium Equations Fi 0
-Constitutive equations x E x
-Compatibility equations x
dx' dx
dx
13
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Example: Finite Element Model
Mx Cx Kx F
Geometry
Mass and
Connectivity
Inertia Matrix
Material
Properties Deflections,
Stress, Strain
Boundary Z
Conditions X
Y Natural
Loads Frequencies
Mode Shapes
Assumptions
Discretization
Time as Variable:
Static Steady State Transient
14
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Empirical Modeling
15
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Example: Empirical Modeling
Engi ne Si z e v s . HP
250
200
… could do physics-
150 Based modeling of
100 this in-line 4 engine,
50
0
but instead do …
0. 0 2. 0 4. 0 6. 0
Engi ne Si z e ( Li t er s )
Linear Regression
HP ED
HP = 51.48*ED + 23.12
16
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
How to decompose a system
X1 X2 X3 X4 X5 X2 X5 X4 X1 X3
E1 1 1 1 E2 1 1
Module 1
E2 1 1 E4 1 1
E3 1 1 1 1 E5 1 1 1 Module 2
E4 1 1 E3 1 1 1 1
Module 3
E5 1 1 1 E1 1 1 1
x1 y1
... Module “A” ...
xn ym
19
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Modules for Simulation
• A module within a simulation architecture may be defined
as a piece of computer code which:
– Performs a compact set of calculations.
– Contains a single entry point and exit point.
– May be tested in isolation.
• Attributes of a good modular unit within a simulation
architecture include:
– High internal coupling within the module
• All sub-functions within the module contribute to form a single primary
function.
– Low coupling between modules
• Minimize the number of variables that flow between modules.
– Minimization of feedback loops
• Data flow is processed sequentially from input to output.
20
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Module Inputs and Outputs
Info fed to
Info coming
upstream
from upstream
(feedback)
(feed-forward)
Input
Output Output
Module i
Input
21
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Module Example
sensors
actuators pointing requirement
(e.g. CMGs) vehicle inertia matrix I
disturbance torques d
Input
power required
Example:
propellant amount
Spacecraft Design
22
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
The N2 Diagram
23
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Initial random sequencing
feedforward
24
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Ordered sequence
The Need The Solution
Identify coupling between discipline or Automatic identification of subsystems
subsystems in a complex system. based on interdependence of design variable
and constraints.
Actuators
Sensors
Dynamics
Controls
e.g. = output = mode shapes
Design Vector 1 2,3,4 2,4 1,2,3 2,3,4 2,3 1 2,3,4 2,3,4 1,2,3,4 3 1 1,2,3 1,2 2 2,3,4 1,2,3,4
Architecture Constants Vector 11 2 2,3 3 1,2 4 13,14 14,31 15,16 11,32-40 3 5 to 11 2,12 all
Environment 1 1,2,3
Aperture Configuration 1 1 1 1
Payload 3,4 1,2 1,2
Power 1,6 6,7 6,7 2,3
2,3,5,6 Thermal 1,4
4 Propulsion 3
6 Communications
1 to 5
8,10 6 Structure 6,10 3,4,5 6,9 6
Sub-Modules Truss Design 1,2 1
Design Vector State-Space Plant Model
1 1,2
Architecture Constants Vector Attitude Determination and Control
Environment Model Integration
3
Aperture Configuration Performance Assesment 1
Payload Orbit Transit1,2,3 4
Power Launch 2
Thermal Operations 2 1
Propulsion Capability 7,8,9
Communications Performance 4
Structure Cost 6
Truss Design
State-Space Plant Model
Inputs Cost Per Function
1
Adaptability
Attitude Determination and Control
Model Integration
Performance Assesment
Outputs m-file Outputs
Orbit Transit
Launch
Operations
Capability Inputs
Performance
Cost
Cost Per Function
Adaptability
26
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Coding - Benchmarking
27
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Recap
Start Process Define
Master Table
DSM
N2 Diagram
Objectives
Governing Define
Constraints
Equations Modules
Design Variables
Integrate Benchmark
Code Modules
Modules Sanity Check
Test Code
Ready For Use
28
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Example
29
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Example: Communications Satellites
Design
(Input)
Vector
Simulator
Performance
Capacity
Cost
C: 'walker'
h: 2000 This results in a 1440
X1440=
emin: 12.5000 full factorial, combinatorial
Pt: 2400
DA: 3 conceptual design space
MA: 'MFCD'
ISL: 0
31
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Objective Vector (Output) J
Consider
• Performance (fixed)
– Data Rate per Channel: R=4.8 [kbps] Cs: 1.4885e+005
Clife: 1.0170e+011
– Bit-Error Rate: pb=10-3 J1440=
LCC: 6.7548e+009
– Link Fading Margin: 16 [dB] CPF: 6.6416e-002
• Capacity
– Cs: Number of simultaneous duplex channels
– Clife: Total throughput over life time [min]
• Cost
– Lifecycle cost of the system (LCC [$]), includes:
• Research, Development, Test and Evaluation (RDT&E)
• Satellite Construction and Test
• Launch and Orbital Insertion
• Operations and Replenishment
– Cost per Function, CPF [$/min]
32
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Multidisciplinary Simulator Structure
Input Constants
x p
Vector Vector
msat
h, min
msat Launch LV
Constellation Spacecraft Cost
Module
T, p nspot nGW
LCC
ISL Satellite Link
Rs Cs
Capacity
Network Budget
Pt , Da , MA
b) Empirical 0.51
Models msat 38 0.14 Pt mprop
(Spacecraft)
Scaling models
derived from
FCC database
34
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Benchmarking
Benchmarking is the process of validating a model or simulation
by comparing the predicted response against reality.
5.00
of the constellation
120,000
4.00
100,000
Number of
actual or planned
80,000 actual or planned 3.00
simulated
60,000 simulated 2.00
40,000
20,000 1.00
0 0.00
1 Iridium 2 Globalstar 1 Iridium 2 Globalstar
Iridium and Globalstar Iridium and Globalstar
Benchmarking Result 3: Satellite mass Benchmarking Result 4: Number of satellites in the constellation
1,400.0 70
Number of satellites in the
1,200.0
Satellite mass (kg)
60
1,000.0 50
constellation
35
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Simulation Results
1
Lifecycle Cost [B$]
10 Iridium actual
Iridium simulated
Globalstar actual
Globalstar simulated Pareto
Front
0
10
3 4 5 6 7
10 10 10 10 10
37
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Example: Communications Satellite
Design of a geosynchronous communications satellite
Satellite
Earth
S ηA
Pbus
ηt
θ D A
Ground Main Lobe
Station Antenna Bus
Solar
Panel
r = 6378 [km]
p Orbits Comm R
S
41
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Comsat N2 Diagram
In p D A D,A
Orbits S
Comm R
Pt Powe Pt
r
Pbus Bus Pbus
Cost C
Out
iterative block
42
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Computational
Implementation
43
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Computational Issues
• Computer technologies have been changing the
environment of engineering design - enabling MDO
* Interface files
45
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Implementation and Ownership (II)
Case 3: In a LAN or WAN environment
Owner“ C
”
in Map out
A BB
#
# #
“ ”
“ ”
C D E
# Server Owner G
46 Owner B
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Modeling-Simulation Environments
• Integrated Modeling & Simulation
– Write functions and integrate via Master script
– MATLAB, Mathematica® are popular environments
• ICEMaker
– Developed at Caltech/JPL
– linked spreadsheets (client server)
• DOME (MIT) - CO (Oculus)
– DOME based peer-peer system
– API’s into numerous Engineering applications
• FIPER (Simulia – Dassault Systems)
– Client-server enterprise system
– Targeted at the corporate environment
• PHX Model Center
– Phoenix Integration – Flagship Product
– Desktop Integration Environment
47
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Lecture Summary
48
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
N2 and DSM References
49
Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.