80 likes | 384 Views
Flight Simulation: A Case Study in an Architecture for Integrability. Prepare by : Ihab shahtout &. Contents. Architectural Solution TREATMENT OF TIME IN A FLIGHT SIMULATOR THE STRUCTURAL MODEL ARCHITECTURAL PATTERN. Overview.
E N D
Flight Simulation: A Case Study in an Architecture for Integrability Prepare by : Ihabshahtout &
Contents • Architectural Solution • TREATMENT OF TIME IN A FLIGHT SIMULATOR • THE STRUCTURAL MODEL ARCHITECTURAL PATTERN
Overview • a Flight simulator is divided into three roles : • air vehicle. • environment. • Instructor
Properties • The logical division between the instructor station and the other two portions is clear • The instructor station supports the instructor's control and monitoring of the actions of the crew. • The other two portions perform the simulation • The division between the air vehicle and the environment is not as clear
Different ways of managing time Treatment of Time • Periodic time management • A fixed time quantum based on frame rate • Non-preemptive cycle scheduling – invokes each process for a fixed time quantum • Event-based time management • “Interrupt” based • Adds new events into event queue • Does in order of soonest needed • But all messages from a single source must be done in order! • Mixed-time systems • The two above systems must interact
THE STRUCTURAL MODEL ARCHITECTURAL PATTERN • ARCHITECTURAL PATTERN : • is a description of element and relation types together with a set of constraints on how they may be used. • it consists of a collection of element types and a configuration of their coordination at runtime. Structural Model Architectural Pattern • Executive • Handles the coordination issues • Application • Handles computation of the simulation • Functions are implemented by subsystems
Modules • Executive • Timeline Synchronizer • Periodic Sequencer • Event handler • Surrogate • Connects air vehicle model to environment model • Application • Subsystem controller • Controller children