Malaysian
Journal of Analytical Sciences Vol 19 No 5 (2015): 1056 - 1064
APPLICATION OF EXCEL-VBA FOR COMPUTATION OF WATER
QUALITY INDEX AND AIR POLLUTANT INDEX
(Penggunaan Excel-VBA untuk Pengiraan Indeks Kualiti
Air dan Indeks Pencemaran Udara)
Ismail Zainal Abidin, Hafizan Juahir*, Azman Azid, Ahmad
Dasuki Mustafa,
Fazureen
Azaman
East Coast
Environmental Research Institute (ESERI),
Universiti
Sultan Zainal Abidin,
Gong Badak
Campus, 21300 Kuala Terengganu, Terengganu, Malaysia
*Corresponding author: hafizanjuahir@unisza.edu.my
Received:
14 April 2015; Accepted: 9 July 2015
Abstract
In
Malaysia, there are two main indices which are Water Quality Index (WQI) and
Air Pollutant Index (API). These indices are used as an indicator for the water
quality and ambient air quality status of the environment. In conducting
research regarding water and air quality, lots of time has been used to conduct
other activities, an application to calculate the indices might come in handy.
This project aims to construct an application for the computation of WQI and
API using Visual Basic for Applications (VBA) available in Microsoft Excel. VBA
is actually a programming language of Microsoft Excel and can be used to write
programming and run through in an Excel workbook. The user only required to
enter the value for each parameter and then press “OK” to automatically
calculate the index. This will provide instance result without wasting time
just to refer to the class standard and other formula. The application also has
been used as a teaching tool for the secondary students. An environmental based
race game called Young Environmental Scientist (YES) Explorace was conducted by
Environmental East Coast Research Institute (ESERI) where secondary student are
invited as the participant. The application not only provides early exposure to
the environmental pollution, but also exposure to the application of computer
sciences to the student.
Keywords: water quality
index, air pollution index, visual basic application, environment, programming
Abstrak
Di
Malaysia terdapat dua indek utama iaitu Indek Kualiti Air (IKA) dan Index
Pencemar Udara (IPU). Indek ini digunakan sebagai penunjuk bagi status kualiti
air dan udara alam sekitar. Ketika
melakukan penyelidikan berkaitan kualiti air dan udara, banyak masa akan
digunakan untuk melakukan aktiviti-aktiviti lain, satu applikasi untuk mengira
kualiti indek pasti akan membantu penyelidik. Projek ini bertujuan untuk
mencipta satu aplikasi untuk pengiraan IKA dan IPU mengunakan “Visual Basic for
Application (VBA)” yang terdapat di dalam Microsoft Excel. VBA merupakan bahasa
pemprograman di dalam Microsoft Excel yang digunakan untuk mencipta applikasi
dengan hanya menggunakan buku kerja Excel. Pengguna hanya perlu memasukkan
nilai untuk setiap parameter dan seterusnya menekan butang “OK” untuk mengira
indek secara automatik. Ini akan memberikan keputusan dengan pantas seterusnya
mengelakkan masa terbuang dengan terpaksa merujuk kepada formula-formula.
Aplikasi ini juga telah digunakan sebagai alat pembelajaran untuk pelajar
sekolah menengah. Satu permainan eksplorasi yang dipanggil Eksplorasi Saintis
Alam Sekitar Muda (YES) telah dilaksanakan oleh Institut Penyelidikan Alam
Sekitar Pantai Timur (ESERI) di mana pelajar ini dijemput untuk menyertainya.
Aplikasi ini bukan sahaja digunakan untuk memberikan pendedahan mengenai
pencemaran alam sekitar, bahkan untuk memberi pendedahan mengenai sains
komputer kepada pelajar terbabit.
Kata
kunci:
indeks kualiti air, indeks penemaran udara, applikasi visual asas, alam sekitar,
pemprograman
References
1.
Gazzaz, N. M.,
Yusoff, M. K., Aris, A. Z., Juahir, H. and Ramli, M. F. (2012). Artificial
neural network modeling of the water quality index for Kinta River (Malaysia)
using water quality variables as predictors. Marine Pollution Bulletin (64): 2409-2420.
2.
Toriman, M. E.,
Kamarudin, M. K. A., Gasim, M. B., Jaafar, M., Aziz, N. A. A. and Lun, P. I.,
(2012). Water quality status and hydrological analysis in upper tropical river,
Malaysia. International Journal of
Agriculture and Crop Sciences 4(2): 33-39.
3.
Minhas, P. S. and
Samra, J. S. (2004). Wastewater Use in Peri-urban Agriculture: Impacts and
Opportunities. Central Soil Salinity Research Institute, Karnal, India, pp. 75.
4.
Minhas, P. S.,
Lal, K., Yaday, R. K., Dubey, S. K. and Chaturvedi, R. K. (2014). Long term
impact of waste water irrigation and nutrient rates: I. Performance,
sustainability and produce quality of peri urban cropping systems. Agricultural Water Management (156):
100-109.
5.
Zandbergen, P. A.
and Hall, K. G. (1998). Analysis of the British Columbia water quality index
for watershed managers: a case study of two small watersheds. Water Quality Research Journal of Canada
33 (4): 519–549.
6.
Tsuzuki, Y.
(2015) Relationships between pollutant discharge and water quality in the
rivers from “better” to “worse” water quality. Ecological Indicators (52): 256-269.
7.
Kaurish, F.W. and
Younos, T. (2007). Developing a standardized water quality index for
evaluating surface water quality. Journal of the American Water Resources
Association 43 (2): 533–545.
8.
Afroz, R.,
Hassan, M. N. and Ibrahim, N. A. (2003). Review of air pollution and health
impacts in Malaysia. Environment Research
92: 71-77.
9.
Dominick, D.,
Juahir, H., Latif, M. T., Zain, S. M. and Aris, A. Z. (2012). Spatial assessment of air quality patterns in
Malaysia using multivariate analysis. Atmospheric
Environment 60: 172-181.
10.
Hughes, G. (1997). Can the
Environment Wait? Priority Issues for East Asia. World Bank, Washington, DC,
United States.
11.
Mabahwi, N. A.,
Leh, O. L. H. and Omar, D. (2014). Human Health and Wellbeing: Human health
effect of air pollution. Procedia – Social
and Behavioral Sciences (153): 221-229.
12.
United Nations
(UN) – Department of Economic and Social Affairs, Population Division. (2001). World Population
Monitoring 2001– Population, environment and development. New York: UN.