OBJECTIVE:
----------
This example demonstrates the co-simulation of SDL with SCADE via FMI 2.0 Model-Exchange.
*Windows only*


DESCRIPTION:
------------
The system defines the cruise-control of a car, and is composed of two parts:
1. The SDL model defines the driver's interface (cockpit of the car) and a 
   simple model of the speed of the car. The cockpit controls include acceleration, 
   brake, and cruise-control.
2. The SCADE model is an external FMU that defines a system to automatically 
   control the speed of a car. The driver sets the speed and the system will 
   take over the throttle of the car to maintain the same speed.


SIMULATION:
-----------
Select the CuiseControl system diagram and click on the "Execute" quick button.
Once the Simulator is started, "Start the prototyping GUI" via the quick button.
Make sure the Timers are set to automatic or real time.
Click on the "Run the system" quick button.
Play around with the acceleration, brake, and cruise-control buttons while
observing the speed, throttle, cruise-control speed value, and cruise-control
state LED (grey=OFF, green=ON, yellow=STAND_BY, red=INTERRUPTED).

Example scenario:
Push the acceleration 80 button and let the speed rise.
Push the I/O button to turn on cruise-control. (LED will turn yellow)
Push the acceleration 0 button. (LED will turn green)
Push the brake 40 button, then the brake 0 button. (LED will turn red)
Push the Res button to resume cruise-control. (LED will turn green)
Observe how the speed and throttle change after each action.
