A GIS Software Module for Environmental Impact Assessment of the Open Pit Mining Projects for Small Mining Operators in Kazakhstan

: This research article presents a software module for the environmental impact assessment (EIA) of open pit mines. The EIA software module has been developed based on the comprehensive examination of both country-speciﬁc (namely, Kazakhstan) and current international regulatory frameworks, legislation and EIA methodologies. EIA frameworks and methods have been critically evaluated, and mathematical models have been developed and implemented in the GIS software module ‘3D Quarry’. The proposed methodology and software module allows for optimised EIA calculations of open pit mines, aiming to minimise the negative impacts on the environment. The study presents an original methodology laid out as a basis for a software module for environmental impact assessment on atmosphere, water basins, soil and subsoil, tailored to the context of mining operations in Kazakhstan. The proposed software module offers an alternative to commercial off-the-shelf software packages currently used in the mining industry and is suitable for small mining operators in post-Soviet countries. It is anticipated that applications of the proposed software module will enable the transition to sustainable development in the Kazakh mining industry.


Introduction
Sustainable development of mining regions is often a challenge, since mining operations are one of the largest sources of environment pollution and CO 2 emissions [1]. Open pit mines create environmental risks, including the pollution of the atmosphere, noise exposure, contamination of surface and ground waters, impacts on biodiversity due to natural land transformation and loss of habitat, as well as community and cultural impacts, such as displacement of livelihoods and economic effects [2][3][4].
Mining companies are increasingly scrutinised by legislative and industry standards to minimise the negative impact on the environment by adhering to the tenets of environmental impact assessment (EIA) frameworks. EIA is usually undertaken at the initiation of the mining project and business case submission to relevant authorities. It outlines the anticipated scale of environmental impact and lays out initiatives for reducing and addressing negative impacts and achieving rational use of natural resources. Acceptance of the EIA report or Environmental Impact Statement (EIS) is one of the necessary conditions for the government to authorise exploration and mine design activities and for the mining company to obtain a social license to operate [5]. To get a social license to operate, mining companies have demonstrate measures taken to minimise negative impacts and risks and show contribution to the local economic and community development [6,7]. Therefore, EIA plays an important part in quantitative evaluation of the sustainability of mining projects and operations [8]. Key aspects for the EIA evaluation include the negative impacts of the considered mining activity on the environment, such as pollution of atmospheric air, surface and underground water, soil and subsoil [9].
In Kazakhstan, the mineral exploration activities are currently expanding [10], which puts the environmental protection at the forefront of the country's agenda. One of the key strategic priorities for the country is the implementation of an effective and responsible state environmental policy that aligns with the global sustainable development goals and national economic priorities [11]. For efficient EIA reporting across the country, reliable and timely information is required. Therefore, automation of the EIA calculations is of utmost strategic importance [12,13].
Previous research literature discussed EIA methodologies and frameworks pertaining to the country-specific legislative frameworks and best industry practices [14,15]. A number of models evaluated the impact on the atmosphere, water basins [16], soil and subsoil [3,17]. A number of EIA frameworks have been proposed by scholars in a variety of geographical and mining operation contexts [18,19]. The literature also identifies gaps and inefficiencies of the EIA frameworks, particularly in developing countries, discussing challenges and barriers for sustainable mine design, operation and closure [18,20]. However, there is limited research that offers models for small mining operators to meet the requirements of regulatory compliance for EIA reporting.
This research paper presents the results of the software module development for automated calculations of the EIA parameters and EIA reporting, which is tailored to the needs of small open pit mining operators. An extensive review of the current literature, legislative and regulatory documents enabled the proposal of a methodological framework as a basis for the software module development. This paper provides a case study of the EIA parameter calculations using the proposed EIA software module within the integrated GIS '3D Quarry' system.

Methodologies for the Environmental Impact Assessment (EIA) for Open Pit Mines
An environmental impact assessment (EIA) is a legally binding procedure for the mining companies to comply with that requires evaluating the environmental impacts of a mining project on the environment [1]. The EIA tools vary depending on the type of mineral and mining technology, usually involving identification, assessment and reporting of environmental impacts and developing mitigation measures.
Environmental impacts and risks are quantified based on specific indicators used to characterise the environmental quality [19]. These indicators and their acceptable norms vary depending on the country's legislative frameworks, and international standards and regulations. For open pit mining of mineral deposits, the environmental impacts and risks include but are not limited to pollution of the atmosphere by emissions of gaseous and suspended substances, noise exposure, contamination of surface and ground waters, changes in hydro geological conditions, sewage and waste, impacts on biodiversity, flora and fauna, natural land transformation and loss of habitat, and community and cultural impacts, such as displacement of livelihoods and economic effects [2][3][4].
A range of methodologies and frameworks for EIA analysis are available, pertaining to the specificity of local legislative frameworks and best industry practices of environmental compliance. Among operation sustainability reporting frameworks, the most well-known is the Global Reporting Initiative (GRI) [21]. GRI includes mining and extractive sectorspecific indicators. However, the effectiveness of the GRI reporting system has been criticized for covering unsustainable actions at the mining site level [22].
The life cycle assessment (LCA) framework [23] is a holistic approach that considers all potential environmental impacts generated by organisational activity, including mine sites [14,15]. LCA has been applied to evaluate the EIA of the mining industry production processes, mining and mineral processing sector [14,15,24].
An integrated EIA approach to the Rosia Montana mining site in the northwest of Romania was described in [19]. Researchers [18] focusing on the mine design and plan phase discussed the challenges of Polish mines to meet the targets of sustainable development. Salom and Kivinen [20], conducting EIA, identified challenges and barriers for sustainable mine closures drawing on the case from Namibia.
Lyu [16] developed an analytical approach for EIA of mining activities on groundwater, drawing on a case study of a copper mine in Jiangxi Province, China. Rahimi and Ghasemzadeh [17] and Rashidinejad et al. [3] offered models for calculating optimum cut-off grades that incorporated EIA parameters to minimise the environmental impact while optimising economical aspects to achieve maximum resource value. Bojórquez-Tapia et al. [25] offered an approach based upon mathematical matrices to determine the significance of environmental impacts in the mining industry.
In post-Soviet countries, including Kazakhstan, the EIA methodologies that largely inform current regulatory and legislative frameworks are based on methods and technologies for managing dust and gas pollution of the atmosphere that were established in the fundamental works of Rzhevsky [26], Trubetskoy [27,28], Chanturiya [29] and others.

The Normative Frameworks for Mining Industry EIA
One of the first environmental laws-The National Environmental Policy Act (NEPA)-was enacted in the United States on 1 January 1970 [36]. This environmental law promotes the enhancement of the environment and established the President's Council on Environmental Quality (CEQ). Legal and environmental authorities in each state of the United States developed their own legislation based on NEPA for the implementation of the EIA procedures. More than 100 nations around the world have been using NEPA as a guide to develop their national environmental policies [37].
In the European Union, legislative initiatives to protect the environment are based on the UN Directive 85/337/EEC for member countries of the European Economic Community (EEC) 'On the environmental impact assessment of selected public and private projects' [38]. Based on this document, the EU countries and Japan have developed their own legislative acts [39]. The regulation is carried out by the EU Eco-Management and Audit Scheme (EMAS). EMAS is a premium management instrument developed by the European Commission for companies and other organisations to evaluate, report, and improve their environmental performance [40].
The main international instrument is the United Nations Economic Commission for Europe's Convention on Environmental Impact Assessment in a Transboundary Context [41]. The main provisions of these documents are presented in the form of international standards in the field of environmental activities of the ISO 14000 series. The requirements for the environmental management system are established by the international standard ISO 14001: 2016 [42].
Environmental legislation in Australia is presented at Federal and State levels. The National Environment Protection Council Act 1994 [43] defines National Environment Protection Measures (NEPMs), which are a broad framework setting statutory instruments and outlining agreed national objectives for protecting or managing particular aspects of the environment.
At the state level, the Environment Protection Act 1993 [44], for example, provides the regulatory framework to protect South Australia's environment, including land, air and water. The environment protection activities in the state are administered by the Environment Protection Authority. The South Australia Mining Act [45] regulates and controls mining licensing, operations and other activities.
Legislative regulation of open pit mining in the Republic of Kazakhstan is based on the Constitution and is regulated by the following Codes: (1) The Code 'On Subsoil and Subsoil Use' dated 5 January 2021 [46]; (2) [48]; and (4) The Water Code dated 9 July 2003 [49].
If an international treaty ratified by the Republic of Kazakhstan establishes rules different from those contained in the Codes, then the rules of the international treaty are applied.
The ISO 14000 standards in Kazakhstan operate on a voluntary basis. For these purposes, mining companies' environmental management systems must comply with the Kazakhstan Standard ST RK ISO 14001-2016. The certification is aimed at reducing the risk of emergency situations; minimisation of the negative impact of the organisation's activities on the environment; saving natural resources through their more rational use; reducing industrial and mining waste; improving the efficiency of internal management by systematising and documenting organisational procedures related to the environmental protection.
The ISO 14001-2016 standard in the Republic of Kazakhstan [50] is seen as the industry best practice, while the European Union Environmental Management and Auditing Scheme (EMAS) standard is imposed by government regulations. Both ST RK ISO 14001-2016 and EMAS are voluntary. According to the ST RK ISO 14001-2016 standard the certification is required every three years, while according to the EMAS standard the re-certification is not required. An audit according to the EMAS is carried out yearly or every two to three years. Inspection control of the compliance of the environmental management certificate to the ST RK ISO 14001-2016 is carried out once a year [51].
In the EIA procedure in the Republic of Kazakhstan and the EU, there are both significant similarities (in particular, regarding public participation) and significant differences (for example, in the stages of the EIA process) [52]. Table 1 demonstrates the comparison of the International and Kazakhstan environmental legislation procedures.

Public participation
Mandatory informing the public, including consultations with stakeholders and arranging public meetings and hearings.
Informing the public through publication in official media, which indicates all the necessary information, in particular the name, the purpose of the planned activity, approximate timing and intended form of public discussion (poll, hearings, referendum, etc.).

Assessor
Project developer with the involvement of environmental consultants Customer (performer)-an individual orlegal entity Therefore, the EIA methods and technologies used in Western countries and the Republic of Kazakhstan, although different, require compliance to the mandatory legal requirements of the country and international standards at the voluntary discretion of the mining enterprise. Although there is a plethora of studies dedicated to the EIA in Western countries, much less has been known about the under-researched context of the post-Soviet environment, where EIA methodologies and regulations have been stemming from Soviet environmental science.
The next section looks at the aspect of EIA as a part of mine design and planning, as well as production control systems, outlining the current state of software available for mining enterprises to meet EIA requirements.

Geographic Information Systems (GIS) and Software for EIA
Minimising environmental impacts of an open pit mine can be achieved through the effective mine design and planning process. The complexity of these processes has increased over the last decades with increased reliance on the specialised software to set up mine parameters that meet the requirements for sustainable mining operations.
Currently the software packages used for mine design, planning and production control often contain advanced tools for 3-dimensional geometric modelling and visualisation, such as geographic information systems (GIS). The GIS-based software is used for both mine project planning and mining operation, including the assessment of mining-induced hazards [12,13].
According to one of the market leaders ESRI [53], the GISs equipped with a global positioning system (GPS) include many activities starting from mineral exploration through to mine planning and operation. As scholars claim [18], the market leading commercial software, including DataMine, GEOVIA Surpac package, MineScape by ABB's Intelligent Mining Solutions, or Maptek's Vulcan, offer solutions for planning, management and optimisation of mining projects and operations across the entire mining value chain, starting from exploration geology, geostatistics, modeling of deposits, planning, economic analysis and life-of-mine optimisation that involves minimisation of environmental impact. Mine planning and development software packages, such as ArcGIS Pro, GeoSoft, Vulcan, MineSight, SURPAC Range, or Mining Visualization System (MVS), can also be used to integrate recent survey data with block models or mine design data from other software.
A higher level of production control is achieved by integrating GIS/GPS systems with hardware and Internet of Things (IoT) devices used to control production in near real-time. Mining equipment, including mining vehicles, excavators and drilling rigs, become part of the integrated control system. One of the largest mining equipment manufacturers, Caterpillar, actively utilises GPS in machine control systems [54,55]. It has integrated autonomous trucks and drilling rigs into comprehensive open pit and underground mines automation technologies by using MineStar Edge platform [56].
The GIS and GPS integrated platforms are being widely applied for modelling mininginduced hazards and their environmental impact assessment and control. These applications include but are not limited to mine planning, operation, and environmental management [12]; deforestation assessment and forest reclamation procedures in mining; soil contamination and water pollution mappings in mining areas [13]; air pollution dispersion [4]; landslide susceptibility assessment [57]; and groundwater well potential mapping [58].
The current literature review shows that there is a limited research focused on developing GIS for EIA for open pit mines. Most available commercial solutions are integrated into mine planning and scheduling software, e.g., DataMine, Surpac and ArcGIS. The current research addresses this gap by developing an EIA framework for small open pit mines to efficiently design, plan, track and report EIA performance based on the best practice methodologies and the EIA standards tailored to the specific context of the Republic of Kazakhstan.
The first step in developing a software module for environmental impact assessment (EIA) was the critical evaluation of the existing methods for EIA and preventive measures related to atmosphere, water basin, land and subsurface for the open pit mines. This informed the development of a system architecture and a software module for open pit mines' EIA to meet Kazakhstan's laws and regulations.

Methodology
Since environmental impacts of open pit mines on the surrounding ecosystems are strictly regulated by both local legislation and international standards, a thorough analysis of the laws and regulations in Kazakhstan was conducted to identify critical parameters and values to be captured in the proposed software architecture solution. Environmental impact assessment was developed based on the analysis process which provided sufficient information for decision making [59].
Key environmental impacts of open pit mines (See Table 2) include impacts on water and air basins, earth and subsoil, and also flora, fauna, human health and recreational areas. The focus of this research is on the impact mining projects have on water and air basins, earth and subsoil.

Elements of the Biosphere Impact on the Elements of the Biosphere Impact Result
Water: -ground water As a measure of preventing the occurrence of an emergency in the open pit mine (e.g., spill of gasoline from the gas tank of vehicles and machinery), it is recommended to carry out technical inspection of vehicles before leaving the site and conduct timely repairs and replacement of spent consumables (oil, filters, etc.), damaged and worn-out parts and components of equipment.

EIA Regulatory Frameworks in Kazakhstan
Assessment of the qualitative and quantitative composition of the expected harmful emissions to the atmosphere from open pit mines was carried out in accordance with the current regulatory and technical documents of the Republic of Kazakhstan [59].
To reduce the negative impact on atmospheric air, all measures can be divided into three groups: (1) replacing existing technology and equipment with more environmentally friendly ones; (2) equipping and retrofitting technological equipment with gas cleaning plants; and (3) more efficient use of the scattering capacity of the atmosphere.
To reduce the negative impact on the atmospheric air during mining operations, it is necessary that the following activities are performed regularly: (1) moistening dirt roads, mining ledges and dumps in the dry and hot season; (2) carrying out refuelling and maintenance of mobile equipment at the nearest gas station, or at a slightly remote private base with a hard surface; (3) monitoring the compliance of vehicle exhaust emissions before leaving the construction site in accordance with the established technical standards; and (4) collecting and temporarily storing waste in specialised containers and containers with subsequent transfer specialised third party service providers to process, neutralise or dispose of solid household waste (SHW) to landfills [59].
The size of the established sanitary protection zone (SPZ) can be reduced by minimising the content of harmful substances in the atmospheric air to an acceptable level as a result of environmental protection measures.

Water: Surface and Groundwater
The open pit mine design located near a water body has to comply with the conditions of the regime of water protection zones of watercourses and the Water Code of the Republic of Kazakhstan [49].
Environmental protection of surface waters includes the following measures: (1) mandatory collapse of the zone of the side ledge, which is the border of the coastal protective strip of the considered watercourse, which prevents surface runoff from the open pit mine; (2) compliance when working in the water protection zone of the nearest watercourse; (3) surface water monitoring, aimed at controlling the pollution of the watercourse during the transportation and haulage within the sanitary protection zone; (4) a rational water use regime that allows the use of imported water only for drinking needs and the intake of river water for irrigation of dirt roads only in dry and windy weather; (5)

Soil and Subsoil
To reduce negative impacts on the soil, waste generated by the mine production has to be temporarily accumulated in metal containers on a specially designated area with a hard surface, followed by export to organizations that have licenses for its storage and disposal.
The land disturbed during mining operations should be reclaimed for subsequent use. Regardless of the usage, it is necessary to recultivate the adjacent territory, including land for temporary use for auxiliary facilities, storage sites for overburden dumps and the placement of a shift camp.
Overburden removal operations are carried out without first removing the soil layer due to low humus content and high salinity. In the future, the lithostrat of existing dumps can be used as a potentially fertile layer during the biological stage of recultivation and greening of overburden dumps.
The main requirements for the rational use and protection of subsoil and mineral resources are: (1) strict compliance with mine design decisions; (2) maintaining the geological survey documentation; (3) ensuring the complete extraction of raw materials; (4) reliable accounting of the reserves extracted and left in the subsurface, and producing mining plans and schedules; (5) protection of mineral deposits from flooding, fires and other factors that reduce the quality of minerals and the industrial value of deposits or complicate their extraction; (6) avoiding excessive losses, dilution and selective mining of minerals; (7) compliance with the requirements for the safe conduct of mining operations related to the use of subsurface resources; (8) conducting blasting operations below the level of underground water in a clamped environment, or extraction of minerals by the non-explosive method; (9) prevention of subsurface pollution by industrial waste or waste water.
These guidelines informed the selection of parameters to develop the EIA software module back-end and front-end architecture.

Estimation of Harmful Emissions into Atmosphere for Open Pit Mining
The estimation of the open pit mine impact on the atmosphere is determined by a comprehensive calculation of gross emissions of harmful substances from the drilling operations, blasting operations, rock loading and unloading, and the transportation of rock mass, transfer points and dumps. The methodology and formulas for these calculations are given in [59,60].
Calculation of gross emissions of harmful substances during drilling operations is determined by the mass of dust emitted during blast hole drilling.
The dust mass m dm emitted during blast hole drilling can be determined by the following formula: where Q vp is the volumetric productivity of the i-th rig for drilling out the rock from the blast hole, m 3 /h; q i -specific dust emission from 1 m 3 of drilled rock with the i-th machine tool, kg/m 3 ; T i -annual net operating time of the drilling rig, h/year; n-the total number of working machines in the section; K 2 -coefficient that considers the moisture content of the material.
The calculation of gross emissions of harmful substances during blasting operations is determined by the mass of harmful substances released during explosions during the year.
The mass of harmful gases m g1 (carbon monoxide, nitrogen oxides) emitted with a dust and gas cloud (DGC) is determined by the following formula: where K is the conversion factor depending on the harmful gas to be determined (for example, for carbon monoxide CO K = 1.25 g/L, for NO x K = 1.4 g/L); q gsc -the specific content of harmful gases in DGC formed during the explosion of 1 kg of explosives, L/kg; A-the quantity of blasted explosives, kg.
The mass of harmful gases m g2 remaining in the blasted rock mass (RM) and gradually released into the atmosphere is calculated by the following formula: where C gci is the concentration of harmful gases in the blasted rock mass, mg/m 3 ; Q rm -the volume of the blasted rock mass, m 3 .
The formula for calculating the concentration of harmful gases in the blasted rock mass is as follows: where q gri is the specific content of harmful gases in the blasted rock mass (RM), depending on the hardness of the rocks and the explosive formulation, L/kg; K p -the coefficient of the rock mass fragmentation.
The total mass M g of hazardous gases released during the blast is determined by the Formula (4) (expressed as carbon oxide CO): where 6.5 is the conversion factor of NO x to CO. Below is the formula for calculating the mass m d of solid particles (dust) emitted from DGC: where q d is the specific dust emission from 1 m 3 of rock mass, depending on the rock hardness and the explosive formulation: for example, for emulsion explosives at f = 5 − 6 q d = 0.02 kg/m 3 ; for other dry explosives, the data can be found in the relevant reference literature. The total mass M ∑ of harmful substances released during one explosion can be determined by the following formula: The calculation of gross emissions of harmful substances during loading and unloading operations is determined as the sum of harmful substances emitted during the excavation operations, the rock transportation or dumping, and during the engine operation of mining trucks.
The mass m ed1 of dust emitted during the operation of single-bucket excavators is determined by the formula: where q se is the specific emission of solid particles (dust) from 1 ton of loaded or reloaded material, g/t; γ-rock density, t/m 3 ; E-excavator bucket capacity, m 3 ; T ex -the net operating time of the excavator per year, h; K ex -excavation ratio; t c -excavator cycle time, s; K 1 -coefficient that takes into account the wind speed, (m/s), and is determined by the most typical value of the wind speed for a given area; K 2 -coefficient considering material moisture.
The maximum one-time emission m es1 of harmful substances during loading operations with a single-bucket excavator is calculated by the Formula (9): Another source of gas and dust emission are bulldozers used for cleaning the top of mineral layers, planning sites, layer-by-layer excavation of rocks and their transportation for a distance of 100-150 m, as well as for work on dumps, etc. The emission of dust and harmful gases into the atmosphere is calculated by the Formulas (10)- (13).
The mass m bm of the dust emitted during the rock excavation or dumping with a bulldozer is determined by the following formula: where q se is the specific emission of solid particles from 1 ton of transported material, g/t; The formula for calculating the maximum one-time emission m be of harmful substances during rock excavation or dumping with a bulldozer is: The emission of pollutants from fuel combustion by a bulldozer depends on the mode of its operation. On average, a bulldozer diesel engine runs 40% of its net shift time at full power, 40% of the time it uses partial power (30-40%) and 20% of the time it is idle. The mass m beni of the i-th harmful substance emitted during the diesel engine operation of the bulldozer is calculated by the following formula: where q sei is the specific emission of the i-th harmful substance when the engine is running in the appropriate mode, kg/h; t xx , t 40% , t 100% are the engine operation time during the shift at the idle speed, with partial use of engine power and at full power, respectively, %. The total mass m ben of harmful substances emitted during the operation of the bulldozer engine is determined as follows: The mass of sulphur oxides SO 2 emitted during the diesel engine operation is determined by the sulphur content in the fuel and in the exhaust gases. The latter is calculated from the measured values of air and fuel consumption.
The calculation of gross emissions of harmful substances during the transportation of rock mass is determined by the mass of gross emissions during fuel combustion in internal combustion engines (e.g., from dump trucks, diesel trolley trucks, diesel locomotives and traction units) and the mass of harmful substances emitted during vehicle traffic.
The mass of the annual emission of harmful substances from fuel combustion in the engines of cars or diesel locomotives is calculated as: where n is the total number of impurities released into the atmosphere.
i-types of impurities emitted by the source (i = 1 ... n); m aei is the mass of the i-th harmful substance emitted during the operation of the truck or diesel locomotive, t/year and is calculated by: where m ik is the mass of the i-th harmful substance emitted by the engine during the operation in various modes, kg/day; k-engine operating mode; n days -the number of days of machine operation per year; N tr -the number of working dump trucks or locomotive trains; k t -coefficient of influence of climatic conditions of work; k 1 -coefficient that depends on the age and technical condition of the trucks.
The mass m ik of the i-th harmful substance is determined by the following formula: where q ik is the specific emission of the i-th harmful substance when the engine is operating in the k-th mode for engines of diesel locomotives, traction units and for diesel engines of trucks; t k -the engine operation time in k-th mode per day, h, which is determined based on the engine operating time in this mode during the run and the total operating time of the machine per day.
The mass m dr of annual dust formation on roads on the vehicles' run is calculated by Formula (17): where K 5 is a coefficient that takes into account the average speed of dump truck traffic in the open pit mine; q dr.t , q dr.p -the specific dust emission formed when one truck passes 1 km on temporary and permanent roads, respectively, kg/km; L t , L p -the length of temporary and permanent roads, respectively, km; n runs -the number of runs of each dump truck per year; N tr -the number of dump trucks in operation.
The mass m dl of solid particles (dust) emitted during all types of loading and unloading operations is determined by the following formula: where n 1 is the number of loading and unloading operations of the rock mass; K 3 -coefficient that takes into account local conditions and the degree of protection of the unit from external influences; K 4 -coefficient that takes into account the height of unloading of the material; q se -specific emission of solid particles of the shipped (reloaded) material, g/t; Q re -the annual amount of reloaded or unloaded material, t/year.
The gross emission of harmful substances (dust) on the overburden dumps is carried out by point, linear and surface sources. Point sources include sites for rock storage, linear sources are transport communications located on the dump, including auxiliary ones, and surface sources include dusty dump surfaces. An additional source of air pollution at the dump are mobile sources-trucks and technological trains.
The mass m do of harmful substances formed on overburden dumps is calculated by Formula (19): where m u.l is the mass of solid particles emitted in the zone of unloading and laying of rocks, t/year; The concentration of emissions in the atmosphere is calculated using the amount of air to ventilate the open pit. The last step is to check whether the emissions do not exceed the maximum permissible concentration (MPC) of harmful substances. If MPC is exceeded, the mining enterprise must develop an action plan to reduce emissions to permissible levels.
The amount of air required to ventilate the open pit using recirculation is Q w , m 3 /s, calculated by the formula: where where α is the angle of inclination of the leeward side of the open pit in degrees; H-the pit depth, m.
The concentration of harmful impurities in the atmosphere, C, mg/m 3 , is determined by the formula: where K r is a coefficient that takes into account a decrease in the concentration of dust and gas in the upper layers of the atmosphere, usually K r = 0.5-0.8.
J-the volume of emissions of harmful substances, mg/sec;

Calculation of the Gross Discharges of Harmful Substances into Water Bodies by Mine Transportation Vehicles
To identify the most suitable methodology for calculating the gross discharge of harmful substances into reservoirs from various types of open pit mine transport, an analysis of the methods for assessing the impact on water basin and regulatory documents was conducted. The methodology described in [60] was selected as it most comprehensively reflects the impact of open pit mines on the water basin, and this method was used as a basis for software implementation to calculate the impact of open pit mines on the water basin, including the following parameters: • the pollution of wastewater provided that the wastewater is discharged into the reservoir from the estimated source with mixing of wastewater from other sources and that the concentration of the i-th impurity in the wastewater entering the reservoir is not constant during the year; • the impact of various open pit mine transports on wastewater pollution; • the pollution due to household needs of mining enterprises; • the impact of an open pit mine on the water basin based on comprehensive estimation of gross discharges of harmful substances from various types of transport: • vehicles and motor depots • railway transport • conveyor transport The total mass M W I of the annual discharge into water bodies of the i-th impurity is determined depending on the nature of the input into the water body of pollutants from the assessed source. If wastewater is discharged into a reservoir from the assessed source without preliminary mixing with wastewater from other sources, then it is determined by the formula: where C I is the concentration of the i-th impurity in the wastewater coming from the source, g/m 3 ; V W -the annual volume of wastewater discharged by one type of transport into the water management area, million cubic meters (m 3 /y).

Calculation of the Negative Impact of an Open Pit Mine on Soil and Subsoil
The estimation of the impact on soil and subsoil is based on identifying losses and dilution at open pit mines, determined by direct and indirect methods. Direct methods are preferable since they are based on actual measurements of the quantity and quality of ore lost during the production phase and dilution. If direct measurement of the components and types of losses and dilution is possible, they are simply summed up.
Losses of minerals η are determined by the expression: where V u is the volume of the extracted mineral from the mineral reserves Z; C-the content of the useful component in the original mineral ore in the ore mass or in mineral reserves, %; C -the content of the useful component in the excavated ore, %.
The ore dilution index ρ is the loss of the quality of the useful mineral during the extraction process, which is determined by the formula: In the mining of iron ore deposits, an indicator ρ is used, called the contaminating factor, which is a special case of the dilution factor and is calculated by the formula: where V dr is the amount of diluting rocks that litter the mineral, t or m 3 ; V mr -the amount of mined rock mass, t or m 3 ; ρ = ρ -if the distribution of useful components in the mineral is uniform and the contaminating rocks are waste rock.
The indicators of losses and dilution are interrelated: the lower the dilution the higher the losses, and vice versa. However, the economic effect of reducing losses and dilution is usually not the same. It depends on the value of useful components, and the structure and conditions of occurrence of ore deposits. Therefore, when designing an open pit mine a rational level of losses and dilution are determined and planned at which the maximum economic effect and minimum environmental impact could be achieved.
The mathematical model outlined served as a basis for developing a web-based application to track environmental impact assessment for open pit mines.

EIA Web Application Architecture
The analysis of methods for calculating the impact of mining workings on the subsurface allowed us to develop a software module for open pit mine EIA, identify parameters to be monitored and predicted, as well as methods for software implementation in the '3D Quarry' software.
The result of the research is a development of the software module 'EIA' a part of the web application '3D Quarry' (See Figures 1 and 2). Module 'EIA' contains calculations of the impacts on the atmosphere, water basin, soil and subsoil. Calculation of the environmental impact on the atmosphere includes calculation of pollution from drilling operations, pollution blasting operations, pollution from rock load and dumps, pollution from rock mass haulage, and pollution at rock transfer points and dumps. Calculations of the impact on the water basin consists of assessing the impact of drains from the auto transport, drains from the rail transport and drains from the conveyor transport. The impact on the soil and subsoil is assessed by calculating mineral loss and dilution to assist in dump surface planning.
A proposed conceptual solution defines the system as a cloud-based web application, which imposes its own limitations on the development tools of this information system and involves the use of web-based development tools.
Although development tools such as high-level languages allow for developing cloud products, they require significantly more time resources for implementation due to a different orientation. The accepted division of the resource functionality into the server side of the interface (back-end) and the client side of the interface (front-end) of the web resource also imposes restrictions on the development tools.
For the implementation of the back-end server, the scripting programming language PHP was used. For the front-end applications, multi-paradigm programming language javascript, javascript framework jQuery and asynchronous data exchange technology Ajax were used.
For the implementation of the database, the analysis of freely distributed web-oriented DBMS was carried out. It was decided to abandon the use of proprietary DBMS for commercial reasons. The analysis of the compliance of the DBMS capabilities allowed to identify and select the MySQL relational DBMS as one of the most common for web projects.
Algorithmically, the methods were implemented using php and javascript programming languages:

Cloud Solution Implementation and User Interface Development
The information system '3D Quarry' has been implemented as a web application [61], and including module 'EIA' was also implemented based on the previously adopted concept: • the concept of Software as a Service (SaaS) or 'program as a service' for the end user • data opacity for the resource administrator or storing only data encrypted with the user's personal password in the database • selectable modularity of the application for the end user • transparency of the methods used for the end user.
Using the SaaS cloud computing model allows for reducing the cost of software maintenance on the user side by eliminating self-administration of the resource and providing users with ease of operation due to the cross-platform nature of the resource and independence from the hardware and software resources used on the client side. An additional requirement for implementing this approach is the implementation of an adaptive interface (for the screen resolution of the device used by the user).
Important factors for choosing SaaS as a promotion model included the economic parameters for the resource owner of the '3D Quarry' system: the convenience of controlling the monetisation of the resource, the convenience of protecting against the use of unauthorised copies compared to the Application Service Provider (ASP) concept, and the elaboration of mechanisms for promotion of the resource as a web site. It is anticipated that this decision will help to reduce the share of pirate software copies in the market.
The cyber security aspect is critical for cloud-based software solutions handling highly sensitive data. The opacity of the data for the resource administrator and their storage in the encrypted master key allows the end user to transparently implement the secrecy of his commercial activities. The use of strong encryption algorithms allows the user to protect their data, both from external attacks on the resource and from possible potential attempts to 'pressure' the resource owner to disclose customer information. Symmetric encryption algorithms, such as the Advanced Encryption Standard (AES) algorithm with client-side encryption/decryption and hashing algorithms, MD5 or SHA3, have been applied. The only drawback of this solution is the significant increase in computational load, both on the client's hardware resources and on the communication channel. However, the increased performance of both stationary and mobile computing devices, as well as the widespread introduction of high-speed communication networks, at least based on the LTE standard, allow to successfully address the issues associated with transmitting and processing large amounts of data.
The modular architecture allows to flexibly manage the necessary structure of the resource, build up and upgrade it (including with the possibility of attracting third-party developers), as well as evaluate the contribution of each of the modules to the profitability of the resource, and quite simply and transparently determine the share of the total profit for the developer of each of the modules.

Case Study: The Kurzhunkul Deposit
The model and parameters of the Kurzhunkul iron ore deposit were used as a demonstration example of automated EIA calculations using the CIA module of the '3D Quarry' system. Due to information confidentiality of the company's activities, the input data used for mine plans was changed.
The mineral deposit is located in the North of the Kostanay region of the Republic of Kazakhstan. The structure of the Kurzhunkul iron ore deposit includes andesites, their tuffs with interlayers of limestones, siltstones (Sarbaiskaya suite); limestones with interlayers of andesites (Sokolovskaya suite); extrusive-blanket formations of quartz porphyries; and subvolcanic formations represented by diorite porphyrites. Dikes composed of diabase porphyrites, rarely spessartites, diorite porphyrites, and granite-porphyries are widely developed. The rocks are hard and very hard, interspersed with unclassified minerals. The hardness of the rocks on the Protodyakonov scale is more than f = 14 [62].
The rotary cutter drilling rigs SBSH-250MNA-32 and their Chinese-originated analogues are used in the mining operations. The number of rigs in the field is N = 5. The machine productivity experimentally confirmed on the rocks of the Kurzhunkul deposit is about 100 running meters per shift, or approximately 8.33 running meters per hour. The machines work in two shifts. The nominal working hours are 280 days per year. The volumetric productivity of one rig for drilling out the rock from the blast hole is 0.41 m 3 /h. The method reference book provides a value of 1.29 m 3 /h; however, in the '3D Quarry' application this value is adjusted according to the experimental values obtained for the iron ore deposit under consideration. Such a low productivity of the rigs is due to the operation of the equipment on hard and very hard rocks. The air-water method is used for dust suppression.
The calculated volume of the blasted rock mass is taken on the basis of the experimentally determined value that corresponds to the output of 40 m 3 of blasted mass per one running meter of the blast hole and is equal to 5 × 280 × 8.33 × 12 × 2 = 11,195,520 m 3 /year, which correlates with the actual production volume of 11,000,000 m 3 /year. The simplest and inexpensive explosives based on ammonium nitrate with the addition of various additives are used at the deposit. Therefore, the most appropriate reference type-ANFO (Ammonium Nitrate/Fuel Oil)-explosives were chosen for the calculations.
In the automated calculation of the EIA module of the system, the input data were taken from the database based on the results of the operation of the modules 'Model' and 'Mine Planning'. The results were obtained through the SQL queries and are summarised in the 'Input data' table (See Figure 3). The calculation of gross emissions of harmful substances during drilling operations is determined by the mass of dust released during drilling, according to the formulas presented in Section 3.2.1.
Thus, the mass of dust released during well drilling is determined by Formula (1) given in Section 3.2.1: where Q vpi = 0.41 m 3 /h; q i = 3.5 kg/m 3 (taken for the air-water method of dust collection from the reference handbook for hard rocks); T i = 2 × 12 × 280 = 6720, h/year; n = 5; K 2 = 0.1 (taken from the reference handbook for hard rocks).
When the dry dust collection method is used, q i = 4.4 kg/m 3 (taken from the reference handbook for hard rocks); and therefore, the value of the mass of dust released during well drilling is equal: Emergency operation (no dust collection) is prohibited by law. In this mode, the machines could emit 30.42 tons of dust per year.
To ensure flexibility, the interface for the end user provides the ability to manually correct similar data and reference values [63]. The application policy allows the user to create their own database from the base source directories adapted for each specific field.
The user can choose to work with the multiple deposits using the dropdown list. In this case, the user works with only one mine site-the Kurzhunkul field, which was selected for this case study.
The initial data for the EIA calculations are automatically generated by the application based on reference data from the other system modules 'Deposit', 'Model' and 'Production Planning'. The user has rights to manually modify reference data (See Figure 3). To distinguish between different users, the modification of the reference data is applied only for this deposit. This is implemented by creating copies of data directories.
Calculations of emissions to the atmosphere are formed for three methods of dust suppression at once, with the possibility of choosing the optimal mode for the user (See Figure 4). The results of calculations of the influence of drilling operations are summarised in the table presented in Figure 4. In the system of the '3D Quarry' app, calculations were carried out for three possible modes of dust collection (including emergency). The mode with the minimum dusting is highlighted in green.
The calculation of gross emissions of harmful substances during blasting operations is determined by the mass of harmful substances released during explosions during the year.
The mass of harmful gases is calculated for two main compounds: carbon monoxide and nitrogen oxides, emitted with a dust and gas cloud (DGC).
Formula (2) is used to calculate emissions for carbon monoxide.
When calculating emissions for NO x gases, the coefficients are K = 1.4 g/L (reference data for ANFO); q gsc = 4.5 L/kg (reference data for ANFO); The gross emission of NO x by the Formula (2) is the following: The concentration of harmful gases remaining in the exploded rock mass (RM) and gradually released into the atmosphere according to Formula (4): where q gri = 3.8 mg/m 3 (reference data for CO) and q gri = 1.3 mg/m 3 (reference data for NO x ); Q rm = 11,195,520 m 3 , K p = 1.6 (reference data for hard rocks).
The calculation of the total mass of harmful gases released during the explosion (expressed as carbon oxide CO) was carried out according to Formula (5); m g = m g1CO + m g2CO + (m g1NOx + m g2NOx ) × 6.5 = 226.7 + 0.16 + (126.95 + 0.061) × 6.5 = 1052.07 t where 6.5 is the conversion factor of NO x to CO.
The mass of solid particles (dust) emitted from the DGC is determined by Formula (6), where q d = 0.1 g/m 3 : The total mass of harmful substances released during explosions for the year is determined by Formula (7). The impact of blasting operations is summarised in the table presented in Figure 5. The total impact of the emitted gases (according to the methodology) is concerted to CO. Then the thickness of the jet is calculated by Formula (21)  When using the dry dust collection method, the dust concentration in the open pit atmosphere is: C = 0.022 mg/m 3 .
In the emergency mode of the open pit operation, without dust collection, the dust concentration in the open pit atmosphere is: C = 0.543 mg/m 3 .
The MPC for dust containing less than 10% SiO 2 is 4 mg/m 3 . The initial dust concentration in the mode without dust collection exceeds the MPC. Consequently, even despite the liability applied to mining operations without dust collection, there is a need to apply additional dust suppression or collection measures. Both methods of dedusting can achieve an acceptable result.
Formula (22) is also used to determine the initial concentrations of CO and NO x gases. The initial concentration of the CO gas, C, mg/m 3 is equal to: The MPC for NO X is 5 mg/m 3 . The concentration of N 2 O 5 does not exceed the norm.
The obtained results show that the maximum permissible concentration of pollutants in the atmosphere is acceptable (see Figure 6), which indicates the effectiveness of natural ventilation, with no need for artificial ventilation.
This research offers a methodology [59,60] as a basis for development of the software module for open pit mining projects. To develop the software module for EIA calculations for open pit mining projects, critical evaluation of existing frameworks and methods for EIA was conducted. As a result, the most suitable methodologies were selected [59,60]. In this research, original algorithms for assessing the environmental impact of open pit mining of mineral deposits were developed with reference to the country-specific regulatory frameworks [26][27][28][29], adding to the international body of knowledge dedicated to the EIA approaches in the mining industry [14][15][16][17][18][19][21][22][23][24][25]. The proposed software module enables calculation and reporting of the impacts of mining operations on the surrounding atmosphere, water basin, soil and subsoil.
The example demonstrates the application of the developed software module for the case of the Kurzhunkul iron ore deposit, located in North Kazakhstan.

Conclusions
This research paper addresses the pressing need for the small open pit mining operators to make environmental impact assessment more accurate and efficient. Based on the critical analysis of the current literature, as well as international and country-specific legislative and regulatory documents for the Environmental Impact Assessment (EIA), a methodological framework was selected and used as a basis for development of a software module to automate calculations of the impact of open pit mines on the environment. The proposed software module is an affordable alternative to commercial off-the-shelf software packages used for mine planning and design, which are often expensive and have functional features that sometimes are not used by small mining enterprises.
The case study demonstrates that the developed algorithms and their implementation in the EIA module are adequate for the selected methods, while integration of the EIA module into the '3D Quarry' system allows for improving the quality of mine planning, assessing environmental risks based on adequate measures to reduce negative impacts.
Calculation and prediction of EIA parameters for open pit mines involve analysis of multiple influencing factors based on sparce and imperfect field datasets. Mathematical methods and models, including correlation analysis, approximation and probabilistic analysis, were used to simulate the missing data points. This significantly increases the cost of calculations and reduces their accuracy.
Future research will be focused on capturing and analysing the dynamics of the inflow of pollutants into the environment, informing the dynamic formation of strategic and tactical measures to reduce the negative impact of open pit mines on the environment.

Conflicts of Interest:
The authors declare no conflict of interest.