Advanced Real-Time Simulation Laboratory Prof. Gabriel A. Wainer Dept. of Systems and Computer Engineering
Carleton University Centre on Visualization and Simulation (V-Sim) Interdisciplinary research Defence and Emergency Biology Environmental Sciences Mechanical Engineering Aerospace Engineering Cognitive Science Systems and Computer Engineering Architecture and City Planning Traffic Gaming
Research areas Defining advanced modelling and Simulation methodologies Integrating techniques for development of simulations with hardware-in-the-loop M&S as basis for development of embedded Real-Time systems Improved performance and collaboration through parallel and distributed techniques Open-Source model
Middleware/OS (Corba/HLA/P2P/MPI/WS…; Windows/Linux/RTOS…) Execution Engines (Simulators) (single/multi Proc/RT) Models Applications Hardware (Workstations/Clusters/SBC…) Layered View on M&S Visualization
Simulation Techniques
Model-Based Development of Real-Time Systems Integrate M&S in every step of the development of embedded RT systems. M&S-based architecture: models used in simulation are the target for end products. Rapid prototyping Encourages reuse Cost-effective Prototype tools readily available
components: in : activate_in direction_in out : result link : activate_in link : direction_in Time Port Value 00:06:120direction 1 00:06:130activate 1 00:15:930activate 0 00:56:800direction 2 00:56:810activate 1 01:01:130activate 0 01:22:710direction 2 Time Out-port Value 00:06:130 result 1 00:15:930 result 0 00:56:810 result 2 01:01:130 result 0 (…) Model-Based Development of Real-Time Systems - Users develop simulated models - Move components to target platform (no changes in model’s coding)
Model-Based Development of Real-Time Systems - Robot prototype - 6 man-hours to develop the whole controller, test, modify, retest - Simulation-based solution (model controls the robot) - Motor controller - Multi-motor controller
Model-Based Development of Real-Time Systems - Fully developed controller with sensor feedback - Remote control application - Model-based applications - Enhanced facilities for testing - Model execution: guaranteed to be correct (formal specification)
Model-Based Distributed Simulation * see Notes
Modelling and Simulation Methodologies and Tools
Middleware/OS (Corba/HLA/P2P/MPI/WS…; Windows/Linux/RTOS…) Execution Engines (Simulators) (single/multi Proc/RT) Models Applications Hardware (Workstations/Clusters/SBC…) Layered View on M&S Visualization
Main Goals Reuse of simulation software in a different context? Reuse of experiments carried out? Changes/Updates in the model? Engineering approach? How do we validate the results?
Varied methods for modelling - High level specifications translated into executable code * see Notes
Varied methods for modelling
High Level Specifications model circuit Modelica.Electrical.Analog.Sources.PulseVoltage V(V=10, width=50, period=2.5); Modelica.Electrical.Analog.Basic.Resistor R1(R=0.001); Modelica.Electrical.Analog.Basic.Inductor I1(L=500); Modelica.Electrical.Analog.Basic.Inductor I2(L=2000); Modelica.Electrical.Analog.Basic.Capacitor C(C=10); Modelica.Electrical.Analog.Basic.Resistor R2(R=1000); Modelica.Electrical.Analog.Basic.Ground Gnd; equation connect(V.p, R1.p); connect(R1.n, I1.p); connect(R1.n, I2.p); connect(I2.n, C.p); connect(I2.n, R2.p); connect(C.n, I1.n); connect(R2.n, C.n); connect(I1.n, V.n); connect(V.n, Gnd.p); end circuit;
Integrated Development Environment
Applications
Middleware/OS (Corba/HLA/P2P/MPI/WS…; Windows/Linux/RTOS…) Execution Engines (Simulators) (single/multi Proc/RT) Models Applications Hardware (Workstations/Clusters/SBC…) Layered View on M&S Visualization
Current developments
Applications Traffic Modelling
- High-level specification language for traffic M&S -Automated simulation generation - Integration with GIS and Immersive Environment applications - Advanced 3D visualization (work-in-progress)
3D visualization (being updated)
Applications Biology and Medicine
Molecular Biology Metabolic Pathways in human cells Enzyme kinetics Ion channels Synapsin/Vesicle interactions
Heart tissue Liver cells Encapsulated Cancer - Ottawa Heart Institute - UC Berkeley/UCSF - Dept. of Biology, Carleton Biology
Physics and Chemistry Heat Spread Surface Tension Binary solidification
Flow Injection Analysis Model
Applications Environmental Systems Analysis
Landslides Pollution Forest Fires Flooding
Fire Spread Modeling
Applications Networking
Network Performance Analysis
Real time simulation on embedded microcontrollers Rapid design and testing potential network devices Network Prototyping
Applications Defence and Emergency Planning
SAT Building Evacuation: crowds + interoperability Collaboration with School of Architecture (CIMS)
SAT Evacuation Visualization Maya (and other 3D visualization tools) integrated with simulation engine
Summary Well-established team Expertise in M&S Record of collaboration locally, Nationally and Internationally Collaboration with Government, Industry and Academia Truly interdisciplinary The intersection of RCTI with V-SIM for a blend of: real-time systems, virtual and live simulation simulation interoperability engineering methodology military applications of M&S