Sunteți pe pagina 1din 8

Functional model

The functional model shows how values are computed, without regard for sequencing, decisions, or object structure


The functional model shows which values depend on which other values and the functions that relate them.


Data flow diagrams are useful for showing functional dependencies.




Data Flow Diagram




Processes-transform data Data flow movement of data Actors consume or produce data Data store objects-store data

Whether Pilot
adjust controls
engine speed

4
control surfaces, engine speed

wind velocity, pressure, temperature

controls

compute forces

Weight
compute weight

acceleration, torque altitude, velocity, orientation, rotation

integrate motion
position, velocity, orientation, rotation

consume fuel

airspeed

Spatial parameters
Position, orientation geometry

Fuel
transformed image gauge image

transform view display view

Terrain database Cockpit database

color outline

display gauges

terrain image gauge layout

Screen

background image

display cockpit

Functional model of flight simulator

orientation Wind velocity Velocity Climb angle

Compute Relative motion Relative pitch angle Angle of attack

Relative orientation to air

Compute angle Temperature altitude Pressure Aileron angle Role rate Elevator angle Pitch rate Engine speed Compute density Compute Roll torque

--Air density

Compute Pitch torque

Compute drag drag Vector sum Force vector

Compute lift lift

Compute thrust Roll torque

Thrust Pitch torque

Weight Acceleration vector

Expansion of compute forces processes

stick extension Read elevator angle

value

adjust elevator

stick angleRead Pilot value aileron angle throttle engine speed


Read value

adjust ailerons

Adjust engine

Expansion of adjust controls process

Transform view process Terrain database Polygon(3D) position Subtract vectors Plane-centered Polygon(3D) orientation Rotate vectors Apparent Polygon(3D) Transform perspective Projected Polygon(2D)

Display view process Projected polygon(2D) Clip polygon to view port Cockpit database

View port outline

Clipped polygon(2D) Draw polygon color Terrain database

Terrain image screen

Display gauges process

Cockpit database heading Spatial parameters airspeed altitude

display compass

display altimeter

display airspeed

screen

Fuel
display fuel Expansion of display

processor

S-ar putea să vă placă și