Web Based Fleet Management System: A Dissertation Submitted For The Degree of Master of Information Technology
Web Based Fleet Management System: A Dissertation Submitted For The Degree of Master of Information Technology
Web Based Fleet Management System: A Dissertation Submitted For The Degree of Master of Information Technology
HDN SILVA
i
Web Based Fleet Management System for CEB
Declaration
The thesis is my original work and has not been submitted previously for a degree at this or any other
university/institute.
To the best of my knowledge it does not contain any material published or written by another
person, except as acknowledged in the text.
_____________________
Signature: Date:
Mr. /Ms.
under my supervision. The thesis has been prepared according to the format stipulated and is of
acceptable standard.
Certified by:
_____________________
Signature: Date:
ii
Web Based Fleet Management System for CEB
Abstract
Ceylon Electricity Board (CEB) is the national power utility and is a statutory body established
by the Act Number 17 of 1969, with reflecting a monopoly in electricity power sector in Sri
Lanka. CEB core business processes include power generation, transmission,
distribution and retailing. CEB operates with nearly 6.1 million customers as of 2016 and
responsible for provide electricity continuously to the customers without any issues.
At present, the management and monitoring of the vehicles in CEB is done manually. Thus
problems such as data duplication, lack of integrity, data inconsistency and missing data has
become a major problem. To overcome the above mentioned problems web based system was
implemented.
Requirements were gathered referring web resources, onsite observation and conducting
interviews with CEB management and staff members. To enhance the more features similar
systems were used. Based on the above facts gathering techniques, users of the system were
identified. The entire system was divided as Vehicle Registration Management, Vehicle
Allocation, Booking Details, Running & Fuel Management, Vehicle Management and Report
Generation. This was completely replaced by the current manual system and provided an
advanced closed monitoring and proper management of vehicles.
The three-tier architecture with XAMPP, MySQL workbench 6.0 community edition and .NET
technology were used to develop this system. The object oriented concept was used to draw use
case diagrams, sequence diagrams, class diagrams, etc. Microsoft Visio 2013 were used as the
modeling software at the analyzing and designing stage of the project. After preparing a test
plan, testing was initiated. Unit test was developed in the implementation for the solution and
further solution was done against test cases. Acceptance testing was carried out after
implementing the onsite. And questionnaire was given to the selected users in the evaluation.
The aim of the project is to provide a web based Fleet Management System (FMS) to increase
efficiency and productivity of the vehicle management activities in a smooth manner in CEB.
iii
Web Based Fleet Management System for CEB
Acknowledgements
While taking the opportunity of presenting this study illustrating and implementing the Web
based Fleet Management System for Ceylon Electricity Board. I wish to convey a note the
assistance given to me various people who came across me during my tenure of completing this
study. Therefore it is my unbound duty to offer my appreciation with great pleasure to the
following personnel.
Further thanks also Mr. Kanishka Jayasekara (former DGM/IT), Dr Rohan Abeysekara
(DGM/IT) and all the staff members of the Ceylon Electricity Board. Without those help and
support I could not have manage and complete this study on time.
My colleagues for sharing their knowledge and views on this problematic area. Last but not
least, I would like to convey my gratitude to my parents and my friends for their inspiration and
guidance during this period of study.
iv
Web Based Fleet Management System for CEB
Table of Contents
Declaration …………………………………………………………………………………………………………………. i
Abstract …………………………………………………………………………………………………………………….. ii
: Introduction .......................................................................................................................... 1
1. Background ................................................................................................................................. 1
1.1. Motivation ............................................................................................................................... 2
1.2. Aims & Objectives .................................................................................................................. 2
1.3. Methodology ........................................................................................................................... 3
1.3.1. Waterfall Model .................................................................................................................. 3
1.3.2. Incremental Model .............................................................................................................. 4
1.4. Scope of the project ................................................................................................................. 4
1.5. Limitations of the project ........................................................................................................ 5
1.6. Structure of Dissertation.......................................................................................................... 6
: Background........................................................................................................................... 7
2. Introduction ................................................................................................................................. 7
2.1. Similar Systems ....................................................................................................................... 7
2.1.1. Vehicle Fleet Manager ........................................................................................................ 7
2.1.2. Fleet Maintenance Pro ......................................................................................................... 9
2.1.3. Fleetio Manage .................................................................................................................. 11
2.1.4. Fuel consumption and collision prevention systems modules .......................................... 14
2.1.5. Introduction to the Basis of Fleet Management Technology ............................................ 15
2.1.6. Best practice fleet management and priority actions ......................................................... 16
: Requirement Analysis ......................................................................................................... 18
3. Information Gathering Method ................................................................................................. 18
3.1. Current System ...................................................................................................................... 18
3.2. Analysis ................................................................................................................................. 19
3.3. Present users of the system.................................................................................................... 19
3.4. Functional Requirements....................................................................................................... 20
3.4.1. Vehicle Registration Management .................................................................................... 20
3.4.2. Vehicle Allocation............................................................................................................. 20
3.4.3. Booking Details ................................................................................................................. 20
3.4.4. Running & Fuel Management ........................................................................................... 20
3.4.5. Vehicle Management ......................................................................................................... 21
3.4.6. Report Generation ............................................................................................................. 21
v
Web Based Fleet Management System for CEB
vii
Web Based Fleet Management System for CEB
List of Figures
ix
Web Based Fleet Management System for CEB
List of Tables
Table 2.1: Differences between Fleet Mgt. software system and Fleet Mgt. for CEB system................ 9
Table 2.2: Differences between Fleet Mgt. Pro system and Fleet Mgt. for CEB system ...................... 11
Table 2.3: Differences between Fleetio manage system and Fleet Management system for CEB ....... 13
Table 4.1: Use case description of login process .................................................................................. 25
Table 4.2: Use case description of Fleet management system .............................................................. 27
Table 4.3: Use case description of Vehicle registration ........................................................................ 29
Table 4.4: Use case description of Vehicle allocation .......................................................................... 31
Table 4.5: Use case description of Vehicle booking ............................................................................. 33
Table 4.6: Use case description of Running & fuel management ......................................................... 34
Table 4.7: Use case description of Report generation ........................................................................... 36
Table 6.1: Sampling test case format .................................................................................................... 48
Table 6.2: Test case for login ................................................................................................................ 52
Table 6.3: Test case for CEB vehicle registration ................................................................................. 53
Table C.1: Test case for vehicle allocation ........................................................................................... 74
Table C.2: Test case for vehicle transfer ............................................................................................... 74
Table C.3: Test case for vehicle parking ............................................................................................... 75
Table C.4: Test case for fuel order ........................................................................................................ 75
Table C.5: Test case for running chart management ............................................................................ 76
x
Web Based Fleet Management System for CEB
List of abbreviations
xi
Web Based Fleet Management System for CEB
: Introduction
1. Background
Ceylon Electricity Board (CEB) is the national power utility and is a statutory body established
by the Act Number 17 of 1969, with reflecting a monopoly in electricity power sector in Sri
Lanka. CEB core business processes include power generation, transmission,
distribution and retailing. Electricity demand is currently met by nine thermal power stations,
fifteen large hydroelectric power stations, and fifteen wind farms, with a smaller share
from small hydro facilities, a coal power station and other renewables such as solar[1]. CEB
operates with nearly 6.1 million customers as of 2016.
All functions are operated in island wide nearly 800 CEB workstations. Each workstation comes
under division, branch, unit or sub unit and also can be named as a cost centre. Each cost centre
has number of vehicles.
There are many divisions function under by Chief Executive Officer (CEO). Each division
functions separately and CEO is responsible for all divisions. The hierarchy of the CEB is
attached (Annexure 1).
The vehicles are monitored by head of each hierarchy level in CEB and Additional General
Manager/Asset Management (AGM/AM) is responsible for monitor all vehicles. As CEB does
not have a proper system to identify or monitor total number of CEB vehicles, vehicle types,
hired vehicles, fuel consumption, maintenance cost, ownership of the vehicle, vehicle parking
location, vehicle transfer history etc. AGM/AM could not been able to get exact information on
vehicles.
Some vehicles are restricted to specific projects, some are strictly organizational driver driven
and others self-staff based on administration policies related to CEB. The function of vehicle is
dependent on CEB policies and structures.
1
Web Based Fleet Management System for CEB
1.1. Motivation
CEB is the licensee which is responsible for generating, transmitting, distribution and sale of
electrical energy in Sri Lanka. It is responsible for provide electricity continuously to the
customers without any issues. The system will optimize the use of vehicle in accordance with
the organizations operating needs, enhance the quality of the service and develop efficiencies
to make the service more effectively.
The main aim of the project is to develop a web based Fleet Management System (FMS) to
increase efficiency and productivity of the CEB vehicle management activities in a smooth
manner except the emergency situation activities (natural disaster situation, breakdown services
etc.).
Further this system will provide the facilities such as identification information of the vehicle,
details of vehicle location, allocation to officer(s) and driver(s), vehicle transfer history, vehicle
booking, monitor the details of manage renting dates of hired vehicles, revenue license and
insurance date etc. Also possible to determine the number of excess or shortage of vehicles in
unit wise, sub unit wise etc.
In addition to the above functionalities, the system will generate following reports.
Summary of refueling by vehicle and average fuel consumption
Summary mileage of each vehicle
Services and maintenance
Accident details.
The main objectives of this project will generate information in connection with the decision
making activities in the followings.
To determine the maintenance cost whether is it high or low.
To determine whether fuel consumption is economical or not.
To provide the recommendation whether the vehicle is further maintenance or dispose.
To provide statistics details like total fuel consumption, maintenance cost (unit wise,
sub unit wise, etc.) and required information for the next year budget estimation.
2
Web Based Fleet Management System for CEB
1.3. Methodology
Fact finding method is an important activity in a system design. There are various methods use
for fact findings. Referring web resources, onsite observation, conducting interviews and
studying the similar systems were used as fact gathering techniques in this system.
There are several methodologies available in software development. They are agile software
development, waterfall method, incremental model, spiral method, rapid application
development etc. To develop this system, incremental model was used.
The following Figure 1.1 shows the waterfall life cycle model.
3
Web Based Fleet Management System for CEB
Incremental Model is a process of software development. In this mode, requirements are broken
down into small multiple builds [3]. This each build passes through the requirements, design,
coding and testing phases until the product is finished.
The following Figure 1.2 represents the Incremental life cycle model.
Waterfall method is good when requirements are very well documented, clear and fixed. And
also have are no ambiguous requirements. To develop the system incremental model was used
because it helped to generates working software quickly and early during the software life cycle,
more flexible, less costly to change scope and requirements and easier to test and debug during
a smaller iteration. It is easier to manage risk because modules are handled separately and risky
pieces are identified and handled during its cycle. During the incremental life cycle, developer
can closely work with customer.
4
Web Based Fleet Management System for CEB
Vehicle Allocation
o Allocation to the Officer/ Officer In Charge
o Vehicle Transfer and Allocation Parking
Booking Details
Running & Fuel Management
o Fuel Usage and Running Chart Management
Vehicle Management
o Services
o Accident Details
o Spare Part Details
o License & Insurance
Reports
o Vehicle Details
o Summary Mileage of each Vehicle
o Statistics and budget estimation
As the limitations of the project period the following identified areas are also not included in
this project.
Payments
Vehicle disposal
GPS (Global Positioning System)
Mobile/Android application
CEB letters & forms
CEB vehicle usage related circulars
Assumptions:
All vehicle details are registered in Fleet Management System after vehicle purchasing
(Purchasing methods and procedures are not included here) for this project.
5
Web Based Fleet Management System for CEB
The second chapter consists of similar systems and literature review. This clearly shows the
comparison between existing systems and proposed system. The third chapter describe
requirement specifications (Functional and Non Functional requirement). The fourth chapter
provides design part with contains use cases, class diagrams, etc. The fifth chapter consists of
Implementation of the project. The sixth chapter consists of testing and evaluation.
6
Web Based Fleet Management System for CEB
: Background
2. Introduction
There are various online similar systems and journal publications related to the fleet
management system. But similar systems and after studies related to the CEB are very difficult
to find. But this review extended to the study of the existing systems and journal publications
used by similar organizations to analyze the features that were exposed through them. This
review helped to formulate the functional and non-functional requirements based on the need
and availability of technical resources.
Vinity Soft Business Solutions is a Canadian company, provides a solution for vehicle
management system. Their unique approach to developing products is based on real world
experience. This fleet management solution provides vehicle and driver maintenance records,
fuel maintenance, accident detail maintenance, inventory management, maintenance
scheduling, Parts Management, track vehicle expenses, track vehicle expenses and
depreciation, etc.
There is a detailed module for reports generated, which includes 3 categories as vehicle,
personal and vendors [4].
7
Web Based Fleet Management System for CEB
Work orders – create work orders and keep track of their progression. Convert them to
‘completed services’ once they are closed.
The following Figure 2.1 shows the main menu of the Vehicle Fleet Manager system. It shows
registered vehicle details and other menus such as vehicle payments, insurance payments,
service schedule, work orders, etc.
The Figure 2.2 shows Vehicle registration details entry form in the Vehicle fleet manager system.
8
Web Based Fleet Management System for CEB
The following Table 2.1 elaborate the current situation against the CEB.
Table 2.1: Differences between Fleet Mgt. software system and Fleet Mgt. for CEB system
As a summary, this system has much more functionalities such as parts inventory, notes & issue
tracking, work orders, deliveries, etc. which are not relevant to the users present expectation.
But most of the features which are suitable for the future development system, hired vehicle
history maintenance, vehicle transfer from one workstation to another workstation with or
without officer or/and driver, emission test, luxury tax maintenance, etc. not available in this
Fleet management software system.
Fleet Maintenance Pro will track an unlimited number of fleet vehicles and equipment. It can
track most of the descriptive details that need to manage fleet, including the vehicle
specifications, purchase details, loan/lease details and most of the information. Even have user-
definable fields for tracking additional equipment facts that are important [5].
9
Web Based Fleet Management System for CEB
The Figure 2.3 shows Vehicle registration details entry form in the Fleet maintenance pro
system.
10
Web Based Fleet Management System for CEB
The following Table 2.2 elaborate the current situation against the CEB.
Table 2.2: Differences between Fleet Mgt. Pro system and Fleet Mgt. for CEB system
This is closer to the proposed system but this has much more functionalities such as parts
inventory, tire inventory, Preventative Maintenance, work orders, etc. which are not relevant to
the proposed system. But most of the features which are suitable for the proposed system, hired
vehicle history maintenance, vehicle transfer from one workstation to another workstation with
or without officer or/and driver, emission test, luxury tax maintenance, etc. not available in this
Fleet management pro system.
Fleetio is an Alabamian company launched in January 2012, and today thousands of people use
Fleetio to manage hundreds of thousands of vehicles, equipment, parts, drivers and more.
Fleetio Manage gives everything need to manage a fleet, whether have 10 or 10,000 vehicles
and equipment. Fleet operations are complex and difficult to manage. People start out trying to
use spreadsheets but quickly outgrow them. Many companies do not actively manage their fleet
operations at all, hoping people will drive safely and be responsible for their vehicles [6].
Inspections
Issues – Capture issues as soon as they arise.
Remainders
Services – Keep detailed service.
11
Web Based Fleet Management System for CEB
Vehicle management
Fuel management
Contacts & users – Manage information and documents about everyone that touches
fleet
Parts & inventory
Manager-level control – Keep detailed service records and identify which vehicles are
regularly in the shop as well as their associated maintenance costs.
Work orders – Plan, schedule and carry out detailed maintenance tasks and costs.
Viewer access – Allow specific Users to view specific data in Fleetio but prevent them
from being able to create or edit records.
The Figure 2.4 shows Main menu & Vehicle registration details entry form in the Fleetio
manage system. It shows menus such as dashboard, work orders, inspections, issues, etc.
Figure 2.5 shows one of fuel consumption report for a vehicle. It’s clearly indicate average
usage, price, and total fuel cost, etc.
12
Web Based Fleet Management System for CEB
The following Table 2.3 elaborate the current situation against the CEB.
Table 2.3: Differences between Fleetio manage system and Fleet Management system for CEB
This has much more functionalities such as parts inventory, work orders, manage GPS devices,
inspections, etc. which are not relevant to the proposed system and some of the basic
information of the vehicle cannot identify in this system. Some important information about
vehicle such as hired vehicle history maintenance, vehicle transfer from one workstation to
another workstation with or without officer or/and driver, emission test, luxury tax
maintenance, etc. not available in this Fleetio manage system.
13
Web Based Fleet Management System for CEB
According to the journal paper [7], it described about Fuel consumption and collision
prevention systems modules. This uses GPS based technology, General Packet Radio Service
(GPRS) and cloud computing infrastructure. The vehicle used GPS device with a GPRS
module, sensors for identifying fuel level/status, driver identification and collision prevention
system. This paper discussed different kind of embedded devices used to capture data. It
includes sending, receiving, storing and processing of measured information and all kinds of
actions needed for controlling devices remotely.
The sensors are used to monitor the fuel level of the vehicle, how much fuel was filled into the
tanks, set alerts to specify fuel levels & sends information to the device about the fuel level
changes in the tank. When the fuel level reaches critical level it notifies the driver and the
administrator of the system.
In driver identification module, it prevents unauthorized usage of the fleet that is owned by the
company. When an unauthorized usage detected the system notifies the owner which vehicle
and the location of the vehicle is being used [7]
The Figure 2.6 shows overview of fleet management system, combining machine to machine
with cloud computing.
14
Web Based Fleet Management System for CEB
Network Operation
Fleet Management
Cloud solution
According to the research paper [8], there are different types of fleets as motor vehicles, aircraft,
marine vessels and trains. Basically this paper focus on about fuel savings via GPS tracking
(monitor idling, speed and other vehicle performance), productivity improvements with route
optimization tools (appointments and deliveries across the service area), driver accountability
with GPS tracking and geo-fencing tools and automatic repair/maintenance alerts. This is used
GPS, RFID (Radio Frequency Identification) and telematics devices to gather information and
data.
In [8], it is described the usage and importance of embedded devices. GPS or RFID provide
time and location data. Telematics provides more data than GPS or RFID devices such as engine
temperature, oil pressure, engine speed in rpm, engine warning lights, etc. This also focus on a
variety of real and hypothetical case studies of transportation (ground and air), retails services,
home healthcare, agriculture and field services.
According to “W.G Wenzel (2016) [8] report”, it is mainly focus on the advanced computing
technology to help make save money. This used embedded devices to capture data for different
opportunities to improve operations, maintain vehicles, enhance safety and driver performance,
manage and train staff, serve customers and analyze big economic picture. This paper described
much more functions about the fleet management but the proposed system needs to identify
basic functions such as hired vehicle history maintenance, vehicle transfer from one workstation
to another workstation with or without officer or/and driver, emission test, luxury tax
maintenance, etc.
In this research paper [9], discussed about the workplace road safety policies and procedures.
Some of the selected company managers reported that road trauma is a social, human, financial,
reputation, efficiency and operational risk to an organization.
According to “Best practice fleet management and priority actions[9] report” ,it is mainly focus
on the workplace road safety policies and procedures. But the functions described in this paper
is not related to the proposed system. The proposed system needs to identify basic functions of
16
Web Based Fleet Management System for CEB
vehicle, driver, history maintenance, vehicle transfer from one workstation to another
workstation with or without officer or/and driver, emission test, luxury tax maintenance, etc.
According to the expectations of similar systems and research papers in the internet, unable to
identify the CEB hierarchy. Therefore a user login authority levels and module permissions
cannot be created according to CEB hierarchy. Also Work flow path for the recommendations
and approvals cannot be defined. The above systems provide basic understanding of the
requirements and help to clarify certain functions of the system. These functions of the
following systems can be used for the proposed system.
17
Web Based Fleet Management System for CEB
: Requirement Analysis
In this study, requirement gathering is a very comprehensive process due to the existing manual
adhoc procedure of CEB Fleet Management System. As the ways of fact gathering techniques
interviews and onsite observation techniques were used in this study. Interviewing the Deputy
General Manager/Asset Management (DGM/AM), other Deputy General Managers (DGMs)
and staff members who are handling vehicle related document files were supported to gather
information which were needed for analyzing the requirement. After meeting managers and
staff members observation method was used to understand the manual process.
Based on the outcome of the above data gathering techniques, all the administrative functions
were identified.
The current system is manually operated. It is very complex, inefficient, time consuming due
to data duplication, lack of data integrity and data inconsistency, etc. also it is decentralized and
flat file method is being used.
18
Web Based Fleet Management System for CEB
3.2. Analysis
According to the present situation, the system is categorized under following modules. It was
as Vehicle Registration Management, Vehicle Allocation, Booking Details, Running & Fuel
Management, Vehicle Management and Report Generation.
AGM/AM is responsible for all CEB vehicles and other senior managers (DGMs) are
responsible for vehicles in their own cost centers.
Subject Clerk/Data Entry Operator (DEO) – person who handles the vehicle details in the
system
Chief Clerk (CC) – person who checks the vehicle details
Driver
Authorized Officer
GM/AGMs/DGMs – person who views management reports
Administrator – person who administrates the system
Officers who are allocated for CEB Vehicle
19
Web Based Fleet Management System for CEB
Vehicle number is the primary key will help to identify a record uniquely.
Editing details should be updated in master table and history record should be maintained.
View facility should be provided hired vehicle historical details such as contract period
details, fuel rates, etc.
Only single record should be added to the master table.
Facility should be provided for add, edit, delete, validate, approve and search a vehicle.
20
Web Based Fleet Management System for CEB
21
Web Based Fleet Management System for CEB
Resource constraints (memory, disk space) – system should have proper response
time and processing time without delay. Also should have proper back procedure on
the system.
The present system is done by a manual process in the adhoc manner based on each cost centre.
Therefore, data is decentralized and flat file method has been used. In this system, all vehicle
details were gathered to the excel sheet. As nearly 800 cost centres in CEB, it is difficult to
collect details in proper time in appropriate way. Therefore, it was realized that data duplication,
lack of integrity, inconsistency, etc. are arising.
In this study, it was found in difficult to identify vehicle history details in several years. It was
identified some valuable data and records are missing at this stage (ex. Hired vehicle details,
running charts, etc.).
According to the above considerations it was realized this process is inefficient, complex and
consumes duration of time.
22
Web Based Fleet Management System for CEB
: Design of Solution
4. Introduction
As the way of eliminating the existing difficulties of the system and to achieve above mentioned
objectives, the new system can be designed as follows. To design the new system, the following
techniques used in this study. They are main architecture diagram, use cases, sequence
diagrams, activity diagrams and class diagram. Fleet Management System (FMS) architecture
diagram and it’s related users can be represented using the following Figure 4.1 and Figure 4.2.
Intranet
(Application Server)
Head Quarters
Database
Server
Chief Clerk
23
Web Based Fleet Management System for CEB
Use case diagrams are high level user requirement analysis of a system. This can be used to
gather system requirement, get an outside view of a system, identify the external and internal
factors influencing the system and identify the actors, etc. [10].
4.1.1. Login
Following use case diagram (Figure 4.3) & description (Table 4.1) helps to identify the user
login process of the system.
24
Web Based Fleet Management System for CEB
25
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.4) & description (Table 4.2) helps to identify the Fleet
management system process of the system.
26
Web Based Fleet Management System for CEB
27
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.5) & description (Table 4.3) helps to identify the vehicle
registration process of the system.
28
Web Based Fleet Management System for CEB
29
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.6) & description (Table 4.4) helps to identify the vehicle
allocation process of the system.
30
Web Based Fleet Management System for CEB
31
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.7) & description (Table 4.5) helps to identify the vehicle
booking process of the system.
32
Web Based Fleet Management System for CEB
33
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.8) & description (Table 4.6) helps to identify the running
and fuel management process of the system.
34
Web Based Fleet Management System for CEB
Following use case diagram (Figure 4.9) & description (Table 4.7) helps to identify the report
generation process of the system.
35
Web Based Fleet Management System for CEB
36
Web Based Fleet Management System for CEB
The following shows the sequence diagrams of vehicle registration (Figure 4.10), vehicle
allocation (Figure 4.11) and, vehicle booking (Figure 4.12).
37
Web Based Fleet Management System for CEB
38
Web Based Fleet Management System for CEB
Activity diagrams in UML is a flowchart to represent the flow from one activity to another
activity. Activity is an operation of the system and it captures the dynamic behavior [12].
Following activity diagrams show the process of CEB vehicle registration (Figure 4.13), hired
vehicle registration (Figure 4.14) and vehicle transfer (Figure 4.15).
Registration No
N
Validate
N
Whether CEB
Active N
Validate
39
Web Based Fleet Management System for CEB
Registration No
N
Validate
Y
Whether Hiring Active
N
Availability
Y Y
N Y
N
Wet
Leased
With
Driver
Y
N
Validate
40
Web Based Fleet Management System for CEB
Registration No
Enter Data
N
With Driver
With OIC
Y N
Recommendation
Y
Validate
N
Recommend
Transfer Vehicle
41
Web Based Fleet Management System for CEB
Class diagrams in Unified Modeling Language (UML) is used for construction of software
applications and represents the static view of an application. Class diagram describes the
attributes and operations of a class on the system. This is very useful for analysis and design of
the static view of an application and describe the responsibilities of the system [13].
The following diagram show the database relationship of the proposed Fleet management
system.
42
Web Based Fleet Management System for CEB
User interface (UI) design is a major part of the design process. It is the front-end application
view to which user interacts in order to use the software. By using UI user can manipulate and
control the software and hardware. UI can be graphical, text-based, audio-video based, or
hardware and software combination or both [14].
User interface design is very important. If the design is not clear then cost of software
development and training will be high. The steps of user interface design in proposed FMS is
as follows.
43
Web Based Fleet Management System for CEB
: Implementation
5. Introduction
This chapter describes the implementation of the proposed system.
Microsoft visual studio 2015 Community Edition is the main programming language presently
used in CEB. It is an open source free programming language. Source codes and tutorials are
freely available in the internet. Visual studio is familiar version to anyone and can use simple
code with live assistance for develop projects. The object structure of code easily with inline
object browsing in the Solution Explorer and easily search files in the project.
In this study, MySQL workbench 6.0 community edition was used as the database. It was more
flexible to installed and work with .net environment. Presently used in CEB and users are more
familiar and it is a requirement of a client. MySQL act as a simple database implementation. It
was easy to redesign, rewriting application code. This is an open source software. Using
MySQL developers and DBAs can quickly and easily convert existing applications to run on
44
Web Based Fleet Management System for CEB
MySQL both on Windows and other platforms. Migration also supports migrating from earlier
versions of MySQL to the latest releases.
XAMPP is an open source software and it is easy to handle and installed. Most actual web
server deployments use the same components as XAMPP, it makes transitioning from a local
test server to a live server extremely easy as well.
Before entering the vehicle details, the system checked the validation of vehicle number. The
following sample of the source code represents the vehicle number validation. Vehicle
information are added into the system by subject clerk or chief clerk.
connection.Open()
sql = "INSERT INTO vehicle_master (costcode, prov_code, reg_no, id, sid, v_class,
load_capacity, t_class, make, model, color1, color2, type_of_fuel, chassis_no,
engine_no, c_capacity, s_capacity, tyre_size, unladen_weight, gross_weight,
year_of_manu, usage,date_of_reg, date_of_purchase, purchase_price, type,
status,remarks, exist, enuserid, endatime) Values
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
com.Parameters.AddWithValue("sid", vsid)
com.Parameters.AddWithValue("v_class", vcode)
com.Parameters.AddWithValue("load_capacity", lccode)
com.Parameters.AddWithValue("t_class", tclass)
com.Parameters.AddWithValue("make", mcode)
com.Parameters.AddWithValue("model", model)
com.Parameters.AddWithValue("color1", ccode1)
com.Parameters.AddWithValue("color2", ccode2)
com.Parameters.AddWithValue("type_of_fuel", fcode)
com.Parameters.AddWithValue("chassis_no", chassis)
com.Parameters.AddWithValue("engine_no", engineno)
com.Parameters.AddWithValue("c_capacity", cylinder)
com.Parameters.AddWithValue("s_capacity", seating)
com.Parameters.AddWithValue("tyre_size", tyre_size)
com.Parameters.AddWithValue("unladen_weight", unladen)
com.Parameters.AddWithValue("gross_weight", grossweight)
com.Parameters.AddWithValue("year_of_manu", manuyear)
com.Parameters.AddWithValue("usage", ucode)
If regdate1 = "" Then
com.Parameters.Add("date_of_reg", OleDbType.Char).Value = regdate1
Else
com.Parameters.Add("date_of_reg", OleDbType.Date).Value = regdate
End If
com.ExecuteNonQuery()
lblMessage.Visible = True
lblMessage.Text = "Record Inserted......"
connection.Close()
Other selected source code segments related to this system is provided in Appendix B.
Microsoft Visual Studio 2015 Community Edition and MySQL Workbench 6.0 Community
Edition used for the entire system. The entire selected code segments are included in Appendix
B and described their importance.
46
Web Based Fleet Management System for CEB
A proper test plan is needed for software testing. In this stage, all possibilities have been
checked and errors were identified and corrected.
User Login
Vehicle Registration Vehicle Allocation Booking details Running & Fuel Vehicle Reports
management management
Allocation to the
CEB Vehicle officer
registration Fuel order Maintenance
Vehicle transfer
Hired vehicle Accident details
Running chart
registration Parking management Spare part details
Accessory details
License details
The complete system tested is based on the test plan. It is mainly targeted to user interface and
validation according to the CEB system requirement.
Executing test cases – Execute test case and the result is documented.
47
Web Based Fleet Management System for CEB
Unit Testing – The first test in the development process is the unit test. The source code is
manually divided into several modules. These each module have a specific function. Unit test
ensure that each module perform the function correctly to the documented specification.
System Testing – Once all the modules are integrated, system testing is done at this stage. This
testing ensures that all the entire integrated points meet requirement.
Alpha & Beta Testing – These tests are done under the real usage of customer environment.
Acceptance Testing – This is the final stage of the testing process. This testing was done in
live environment after releasing the customer site.
Login process
CEB vehicle registration
Vehicle allocation
Vehicle transfer
Vehicle parking
Fuel request management
Running chart management
Accident details
Reports
48
Web Based Fleet Management System for CEB
The basic steps taken of the testing process as follows. Software testing process is an iterative
process and all the testing were done by according to the test plan.
Once the test plan is created, unit test was started as starting point. Integration testing can be
performed after unit test of the separate modules. It is based on the functional specification of
the software. After this separate module testing, system testing was done. It included functional
and non-functional requirements. Acceptance testing in the system was done after
implementation of customer site. Customer can analyze the system and accept to the test plan.
When entering data into the system, alpha & beta testing were conducted in this stage.
49
Web Based Fleet Management System for CEB
Validation messages
Login Page
Login Id should be EPF number of the each employee. EPF number should contain 6 digits.
Figure 6.2 represented the user id validation message.
Vehicle Registration
All vehicle numbers are checked according to the following format. In the number formats X
denotes alphabetical character and 9 denotes as number. All validations are done by according
to the format.
Data entry enter form (Vehicle addition) validation messages are shown in the following Figure
6.3 and Figure 6.4.
50
Web Based Fleet Management System for CEB
This Figure 6.4 represented the date validation for vehicle parking location.
Successful messages
After all data validation, record is inserted or updated into the database.
The Figure 6.5 and Figure 6.6 represented the “Data updated” and “Data Insert” message.
51
Web Based Fleet Management System for CEB
The test cases for CEB vehicle registration are displayed below Table 6.3.
52
Web Based Fleet Management System for CEB
6.2. Evaluation
Acceptance testing is performed by the customer after system testing. The evaluation is useful
for this system which is suited for the CEB. This measures the customer satisfaction of the
implemented system. In this evaluation, following users were used to enter data. There were
different 5 types of users access the system with different login permission. Most of them were
data entry operators and staff members. The selected candidates answered the questionnaire.
The following Table 6.4 shows the questionnaire of the user evaluation.
53
Web Based Fleet Management System for CEB
User category 1 2 3 4 S
id Functionality Rating
1 2 3 4 5
1 Is the system concerned on major functionalities?
2 Is the system relevant to your work?
3 Do you get benefits other than manual work?
4 Is the system functionalities enough to your work?
5 Are the system user interfaces help to understand
quickly?
6 Are the system design is help to understand quickly?
7 Are the system functionalities helpful to your work?
8 Can effectively complete your work using this system?
9 Is it feel comfortable using this system?
10 Are the system give error messages that clearly how to
fix problems?
11 When you make mistakes, can recover easily and
quickly?
12 Is the information provided for the system easy to
understand?
13 Is the organization of information on the system screen
is clear?
54
Web Based Fleet Management System for CEB
In the above questionnaire (Table 6.4), there is a rating method which is range from 1 to 5. The
rating value 5 is the highest and the rating value 1 is the lowest. User can evaluate the system
in various ways as its functionality, appearance, usability etc.
Average score:
∑𝑛
𝑖=1 𝑆𝑖
S= 𝑛
S - Score value for each question: 0 ≤ S ≤ 5
n – Number of questions related to the functionality
Explore
This is a function of SPSS. The produces detailed univariate statistics and graphs for numeric
scale variables.
During the analyzing of the evaluation, the total average of the above functionalities of the
questionnaire was weighted between rating value 3 to 4. Following shows the evaluation
analysis using Explore function in SPSS.
55
Web Based Fleet Management System for CEB
In the case processing table (Figure 6.7), shows the valid values and missing values of the
sample. Id represented the id number of the above questionnaire.
In descriptive table (Figure 6.8), it shows the mean value of the id 1 is 3.93, id 2 is 3.64 and id
11 is 3.09.
56
Web Based Fleet Management System for CEB
Histograms
Histograms provide a visual interpretation of numerical data by indicating the number of data
points that lie within a range of values.
57
Web Based Fleet Management System for CEB
The following histograms (Figure 6.9, Figure 6.10, and Figure 6.11) show the frequency of the
categorical data against in id.
58
Web Based Fleet Management System for CEB
Box – plot
The box-plot representing distribution of feedback of the functionality. The minimum rate is 2
and maximum rate is 5. The following Figure 6.11 presented the distribution of selected id’s in
given above questionnaire. The X-axis presented the id and Y-axis presented the rate of the id.
59
Web Based Fleet Management System for CEB
6.3. Results
Administrator, staff officers and subject clerks can view reports. The following reports can
generate data as Summary of vehicle expenditure (Figure 6.12 and Figure 6.13). This shows
records in detailed view and graphical representation.
60
Web Based Fleet Management System for CEB
61
Web Based Fleet Management System for CEB
: Discussion
7. Introduction
Fleet management system was successfully completed, all the objectives of the system
achieved. Almost all the functional requirements were completed.
All the required functions were implemented according to the customer needs. The system was
verified & validated.
This study has been solved many issues faced in CEB. Using this system, CEB management
could be identified vehicle details, number of vehicle in a cost center, division wise vehicle
details and total expenses. Furthermore this could be provided the facilities such as
identification of vehicle location, allocation to officer(s), vehicle transfer history, vehicle
booking, monitor the revenue license date etc. Also possible to determine the number of excess
or shortage of vehicles in unit wise, sub unit wise.
The main achievement of this project is to generate information in connection with the decision
making activities in the followings.
To determine the maintenance cost whether is it high or low.
To determine whether fuel consumption is economical or not.
To provide the recommendation whether the vehicle is further maintenance or dispose.
To provide statistics details like total fuel consumption, maintenance cost (unit wise,
sub unit wise, etc.) and required information for the next year budget estimation.
62
Web Based Fleet Management System for CEB
The entire project was a lesson to the developer. Developer learnt how to gather requirements,
analyze, design and implementation large organizations such as CEB. It was very difficult to
gather requirements because there are 10 divisions under CEB that functions separately and
different operation (ex: Distribution divisions, generation, projects, etc).
User Interface simplification is very important to CEB. Developer was very concern about the
user interface simplification due to number of software system trainings (other than FMS). This
study was mainly targeted to insert data to the system and generate reports with graphical
representation.
The system has connect with MySQL database to insert data, retrieve data, and transfer data,
etc. When implementing the system, design and implement the CEB structure and handling cost
centers was learnt. It was done at the very first stage. Also user identification and user roles
were defined at different levels.
The developer learnt how to analyze the data and view information in statistically. It was mainly
highlighted to view information and get the decisions very easily.
The user interfaces could be improved. In order to improve this study, the following identified
areas are also be developed.
63
Web Based Fleet Management System for CEB
When booking a vehicle, sending a SMS message to driver is accepted. And also better to
handle minimum flow paths for letter approvals. Error and warning messages displayed by this
study could be improved. The system should be improved whether database connection is
available or offline.
64
Web Based Fleet Management System for CEB
References
[4] "Vehicle Fleet and Asset Management Solutions," Vinitysoft Business Solutions, 2017. [Online].
Available: www.vinitysoft.com/fleet-management-software-4-0/. [Accessed 05 2017].
[5] "Fleet Maintenance Pro," Innovative Maintenance Systems, 1994 - 2017. [Online]. Available:
http://www.mtcpro.com. [Accessed 05 2017].
[7] D. Istrefi and B. Çiço, "Fleet Management Solution," Fuel consumption and collision prevention
system modules, Vols. 3,No.3, no. June, 2013.
[8] W. G. Wenzel, "Using Fleet Management to Make and Save Money," Introduction to the Basis
of Fleet Management Technology, pp. 1-18, 2016.
[9] Bailey, Lydon, Davern, Best practice fleet management and priority actions, no. 28th - 30th
August, Brisbane, Queensland., 2013.
65
Web Based Fleet Management System for CEB
The Figure A.1 shows the CEB vehicle table that was design to enter all CEB vehicle details.
The Figure A.2 shows the vehicle allocation table that was design to enter all vehicle allocation
details.
66
Web Based Fleet Management System for CEB
The Figure A.3 shows the vehicle booking table that was design to enter all vehicle booking
details.
The Figure A.4 shows the vehicle fuel management table that was design to enter all fuel
management details.
67
Web Based Fleet Management System for CEB
The Figure A.5 shows the vehicle running chart management table that was design to enter all
running details.
The Figure A.6 shows the vehicle accident details table that was design to enter all accident
management details.
68
Web Based Fleet Management System for CEB
Try
connection.Open()
sql = "INSERT INTO cebvehicle (costCode, provCode, regNo, classId, vClass, tClass,
make, model, color, typeFuel, chassisNo, engineNo, cCapacity, sCapacity, tyreSize,
yearManu, usage1,dateReg, datePurchase, purchasePrice, type, remarks, isActive,
enuserid, endatime) Values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
com.ExecuteNonQuery()connection.Close()
Catch ex As Exception
lblMessage.Visible = True
lblMessage.Text = ex.Message
End Try
69
Web Based Fleet Management System for CEB
2. Vehicle transfer
Try
objdb_connection.db_connection()
trans = objdb_connection.con.BeginTransaction()
trans.Commit()
lblMessage.Visible = True
lblMessage.Text = "Record Inserted......"
ddlRegno.SelectedItem.Text = ""
objdb_connection.con.Close()
Catch ex As Exception
trans.Rollback()
lblMessage.Visible = True
lblMessage.Text = ex.Message
End Try
70
Web Based Fleet Management System for CEB
comm.Parameters.AddWithValue("isActive", v_exist)
comm.Parameters.AddWithValue("provCode", provCode)
comm.Parameters.AddWithValue("regNo", regno)
comm.ExecuteNonQuery()
End Sub
3. Booking cancellation
'----DB values----
objdb_connection.db_connection()
objvar.sql = "Select * from vehicle_booking where id='" & ID & "'"
objdb_connection.openquery(objvar.sql)
If objdb_connection.rs.Read Then
If objdb_connection.rs.HasRows Then
e_flag = objdb_connection.rs("isActive")
End If
End If
objdb_connection.con.Close()
'----Datagrid Values------
Dim flag As String = (CType((row.Cells(10).Controls(0)), TextBox)).Text
Try
objdb_connection.db_connection()
trans = objdb_connection.con.BeginTransaction()
trans.Commit()
objdb_connection.con.Close()
71
Web Based Fleet Management System for CEB
dt = New VehicleExpenditure.DataTable4DataTable
dt = New DataTable
dt.Columns.Add(New DataColumn("Date"))
dt.Columns.Add(New DataColumn("Fuel"))
dt.Columns.Add(New DataColumn("Services"))
dt.Columns.Add(New DataColumn("SpareParts"))
dt.Columns.Add(New DataColumn("Insurance"))
i = 0
yearMonth(0) = ""
Try
objdb_connection.db_connection()
sql = "Select * from fuel_register where regNo='" & regNo & "' and
(fDate>='" & fromDate1 & "' and fDate<='" & toDate1 & "') order by fDate, odoMeter"
objdb_connection.openquery(sql)
While objdb_connection.rs.Read
If objdb_connection.rs.HasRows Then
dtrow = dt.NewRow()
72
Web Based Fleet Management System for CEB
dtrow = dt.NewRow()
dtrow(0) = yearMonth(i - 1)
dtrow(1) = totPrice(i - 1).ToString("###,###.#0")
dtrow(2) = servicePrice(k - 1).ToString("###,###.#0")
dtrow(3) = partsPrice(j - 1).ToString("###,###.#0")
dtrow(4) = ""
dt.Rows.Add(dtrow)
servicePrice(k - 1) = 0
partsPrice(j - 1) = 0
Dim totalPrice As Decimal = objdb_connection.rs("price")
totPrice(i) = totalPrice.ToString("###,###.#0")
Else
totPrice(i) = totPrice(i - 1) + objdb_connection.rs("price")
End If
End If
i = i + 1
End While
objdb_connection.con.Close()
Catch ex As Exception
Message_label(ex.Message)
End Try
73
Web Based Fleet Management System for CEB
The test cases for vehicle allocation are displayed below Table C.1.
The test cases for CEB vehicle transfer are displayed below Table C.2.
74
Web Based Fleet Management System for CEB
The test cases for CEB vehicle parking are displayed below Table C.3.
The test cases for fuel order are displayed below Table C.4.
75
Web Based Fleet Management System for CEB
The test cases for vehicle running chart management are displayed below Table C.5.
76
Web Based Fleet Management System for CEB
The purpose of this document is to provide all essential information for a user to assist and
make comprehensive use of administration application. This document includes most important
description of interfaces and its functionality.
1. Login Page
Login page is the first user interface to log in to the system. By typing the valid user name and
password user can log in to the system. The following Figure D.1 shows the login page.
After Login to the system, Home page will be displayed. According to the user login users are
categorized in to different user levels.
User Levels
Administrator – person who administrates the system
Subject Clerk/Data Entry Operator (DEO) – person who handles the vehicle details in the
system
GM/AGMs/DGMs – person who views management reports
Driver
Username: enter your EPF Number with leading zero (6 number text)
The following Figure D.2, figure D.3 and figure D.4 show the dynamic menu according to the
user profile.
77
Web Based Fleet Management System for CEB
78
Web Based Fleet Management System for CEB
Driver
This is a subject clerk or data entry function which is used to add vehicle details to the system.
Steps to add vehicle details
The following Figure D.5 and Figure D.6 shows the CEB vehicle registration form.
1
2
5
7
9
15
16
1
1 2
4
3. Vehicle Allocation
This is a subject clerk or data entry function which is used to add vehicle allocation details to
the system.
81
Web Based Fleet Management System for CEB
10
4. Reports
4.1 CEB vehicle details
1- Select type from the dropdown (All – all details of given authority level, Only
branch – view vehicle details of selected or authority level cost center, province-
view only province level vehicle details)
2- Select cost center or province according to given type in above.
3- Click on view button.
1 2
2
3
82
Web Based Fleet Management System for CEB
5. Logout
In the fleet management system, on the top of the home page there will be a logout button
with the text of “Logout” (Figure D.9). By clicking logout button user can logout from the
system.
83
Web Based Fleet Management System for CEB
Appendix E – Results
The following Figure E.1 and Figure E.2 shows in detailed view and graphical representation
of running chart in the given period.
84
Web Based Fleet Management System for CEB
The following Figure E.3 shows the total fuel expenditure of the cost center and Figure E.4
shows the fuel expenditure of a vehicle in a given period.
85
Web Based Fleet Management System for CEB
The following Figure E.5 shows the class wise vehicle details report.
86
Web Based Fleet Management System for CEB
Annexure 1
Annexure 1
87