**4.2 The results in LabVIEW**

The designed strategy is implemented in the LabVIEW VI environment, and simulation results are presented to validate the proposed controller in **Figure 23**. Where it appears from Figure monitoring the central station of three stations, the design assumes the following in each station:

1.Monitoring the fuel level inside the storage tanks for three products. Where a visual alert appears represented by a green LED indicating an acceptable level of fuel rise inside the storage tank, while if the fuel level drops below 20%, a visual alert represented by a red LED appears indicating the necessity of refilling the fuel to the indicated tank.


In **Figure 24**, The fire alarm system consists of a thermometer for smoke and a thermometer for heat. The logic gate AND was used to verify the two conditions of high temperature and smoke to a level higher than the threshold limit. A fire alarm is triggered, but if one of the two conditions is met, the alarm is triggered by a red LED.

It is possible to place more than one temperature sensor in different locations of the same station and to show the data represented by a waveform. When an on signal arrives, the alert is done by text and using a red LED. But when there is no fire, there is no signal and the text is no fire. It is possible to show these functions in LabVIEW in **Figure 25**.

#### **4.3 Practical implementation results**

In the practical implementation of the project, two main outcomes can be observed. The first output is the hardware of an automated fuel pump station, which interacts with the second outcome, the petrol station monitor system, which is

**Figure 24.** *Alarm fire protection.*

**Figure 25.** *Alarm fire protection from different locations.*

#### **Figure 26.** *The proposed model of the hardware system.*

represented by the Internet of Things platform (ThingsBoard) installed on a Raspberry Pi as a local server. In this section, the functioning and interface of both are elaborated. **Figure 26** shows the implemented model of the hardware system.
