Project 1- Traffic Jam Assistant Feature
- Root System:

Figure 1: Root System
- The above figure is a model of a small part of logic of Traffic Jam Assistant System.
- The model has two subsystems:
- Voltage Subsystem
- Display Unit subsystem
- The figure has three inputs namely Input_Voltage, Input_Switch and Enable_Display and one output port Output_Display.
- Voltage Subsystem:

Figure 2: Voltage Subsystem
- The above figure represents the Voltage_Subsystem.
- The Voltage_Subsystem has one input Input_Voltage and one output Optimum_Voltage.
- The Input_Voltage signal is compared with two constants VOLTAGE_MINIMUM_RANGE & VOLTAGE_MAXIMUM_RANGE and the outputs of these two comparisons is given to a OR block.
- The Input_Voltage must be greater than or equal to VOLTAGE_MINIMUM_RANGE OR less than or equal to VOLTAGE_MAXIMUM_RANGE.
- The output OR block is Optimum_Voltage which is the output and this fed to the Display Unit Subsystem.
- Display Unit System:

Figure 3: Display Unit Subsystem
- The above figure represents the DisplayUnit subsystem.
- The subsystem has three input ports, six constant blocks, a multiport switch block, switch block, logical operator blocks and one output port.
- The constant blocks are ON_MODE, OFF_MODE, STANDBY_MODE.
- The above constant blocks are given to the multiport switch block as inputs.
- The Diagnostic for default case is set to warning and the data port order is set to Zero-based contiguous as shown in Figure 4.

Figure 4: Multiport Switch Setting
f. Interrupt_1 and Interrupt_2 is given to relational operator block.
g.No_Display block is given to the switch block as a second input.
4. Output:

Figure 5: Output
The above figure is the output of the model.