SEARCH WITHIN CONTENT
Citation Information : Architecture, Civil Engineering, Environment. Volume 11, Issue 4, Pages 151-159, DOI: https://doi.org/10.21307/ACEE-2018-061
License : (BY-NC-ND-4.0)
Received Date : 18-June-2018 / Accepted: 02-October-2018 / Published Online: 08-February-2019
The article presents an integrated (inferential) system of computer assistance in waste management designed in component-based technology. The system allows for the implementation of individual elements (system components) with native and managed programming languages and performance technologies, ensuring easy integration of those components into one coherent, cooperating whole. One of the key issues involves the placement of the objects, events and conducted spatial (geographical) analyses in the system through the application of GIS technology (ability to use digital (vector or halftonebased) terrain maps), execution of spatial analyses, data visualization on maps, etc., using also commonly available spatial data available as part of the Infrastructure for Spatial Information (established under the Act on Infrastructure for Spatial Information).
The methodology of modelling and object analysis of management systems includes, inter alia, operations connected with the definition of special object types being an imitation of components (objects – sources of waste generation, objects for waste neutralisation, networks of roads, natural environment components, waste substances, etc.) [4, 6–7]. Since the systems are investigated in the GIS technology, some objects are assigned attributes of spatial representation (location coordinates, geometric and graphic attributes used for their recording on a map). Operations performed on the models of individual-class objects (e.g. topological operations) are interpreted (using object-related terminology) as the so-called methods (functions and procedures) which are in fact computer implementations of a range of algorithms used in system analyses (e.g. optimisation analyses). The definition of the object-related model is preceded by a range of operations applied to determine general assumptions (conceptual model) and to formulate the topology of the model, interaction method with the environment, dynamics of the system, variables of the state, etc. [1–3, 10–14, 19].
The most significant factor in the definition of the component model is the use of connection elements with physical databases (definition of database aliases in the ODBC standard) and with external applications (the concept of IT environment integration) by way of using elements of COM technology (Microsoft Component Object Model), which introduces a standard for the definition of component models whereof structure allows for the communication between objects created in different programmes (launched in different area spaces). As an example we can name most GIS environments (MapInfo, ArcGIS), sharing a range of object component categories recorded in runtime libraries (DLL or EXE) which can serve to develop own programmes through the direct application of predefined interfaces or by defining derived objects. The management of extensive data sets is provided by a geo-relational database comprising a range of visual (corresponding to the content of thematic numerical map layers) and non-visual component categories recorded in correlated tables, where spatial elements are assigned a special data format with the description of geometric properties and with spatial representation parameters [8, 17, 22].
The conceptual model of waste management system comprises the definition of assumptions determining the representation method of real components (objects and processes) in the form of simplified computational models implemented numerically with competent-oriented methodology. The topology of the model comprises a logical space of the models of classes of individual elements and processes in the waste management system, including also the processes of contamination propagation in the natural environment taking place during particular technological operations of waste processing [5, 9, 11].
A key element is the application of the geo-relational data model (geo-relational database) to store the attributes of individual system components. The use of an open connection in the ODBC standard (database alias) allows us to share database resources through various IT environments and to represent them in the form of data modules providing access to the data from the programme code of the developed application (Fig. 2.1 and Fig. 2.2). The definition of geo-relational database in the ArcGIS standard covers a range of visual (corresponding to the content of thematic map layers) and non-visual component categories recorded in correlated tables, where spatial elements are assigned a special data format with the description of geometric properties and spatial representation parameters. The logical structure of the geo-relational database contains basic tables with the attributes of graphic spatial elements (Feature class) ordered and arranged into datasets (Feature Dataset), tables with the attributes of relations occurring between objects of different classes (Relationship class) and tables with the attributes of elements without spatial representation (Object class) [18, 20, 21].
The numerical model of the waste management system was developed with component-oriented methods which implement most object paradigms whereof core is made up by a system of events and emergencies characterising the dynamics of individual processes and COM technology (Component Object Model) employed to provide communication between various IT environments. Open topology of the system allows for the modification of the programme code within individual classes defined within the system, implementing the specialisation process of model modules. It is a model of adaptation nature (the system modifies its data structures on its own so as to adapt to the actual process most efficiently, i.e. to minimise the mean squared error (MSE)) and of reactive nature, i.e. it is controlled with events (assigned to given elementary processes and objects) of modular structure, based on grouping the definitions of classes of individual submodule objects into separate modules. The topology of the global model is characterised by a modular structure which integrates the set of component models of objects and processes that can be used as independent, autonomous runtime models, or as elements of global structure of the application model.
The system is based on a predefined component environment – ProWasteObjects. NET, which is one of the ProWasteEnterpriseSolutionFramework. NET environment (author’s solution). The real-time HPC (nVidia CUDA) system is a component-oriented environment with a specialized datebase of knowledge representing the elements of technological processes in the area of waste management system, considered as control objects. All variables related to the supported devices are updated on-line through the OPC UA servers of the monitoring and control system [10, 12].
The definition of the mathematical model of the waste management system results from the logical decomposition into components (subsystems, variants in systems/subsystems, processes and objects of various classes) and covers a set of parameters unambiguously identifying a given element and a set of algebraic expressions for data processing. They constitute a basis for the construction of algorithmic models in a series of system analyses.
In the descriptions of mathematical system components, a discreet, deterministic system was adopted. The definition of the data set corresponds to the adopted logical model of waste management system, and its structure comprises the following :
A) definition of objects of individual classes (objects – waste sources, objects of waste treatment, objects of logistic processes and other),
B) definition of global elements, i.e. system variants (K),
C) definition of waste management subsystems (subsystems K-A(B, C,D,..)-S) (acc. to a waste group) in different variants,
D) definition of component processes (K-S-L) in variant subsystems,
E) definition of set covers in processes (K-S-L-P) of variant subsystems,
F) definition of separable subsets (K-S-L-P-D) of a given cover in processes of variant subsystems,
G) definition of topology (on the basis of parametrised planar graphs), topological relations,
H) definitions of parameters of cost components of individual variants, subsystems, processes and objects (model of costs and analyses of economic effectiveness),
I) definition of ecological parameters – environment quality indicator for variants (environment analysis model),
J) definition of quantitative and qualitative parameters of streams of waste in individual groups.
The concept of the mathematical model assumes the definition of categories of models (sub-models) dedicated to individual system components and issues under analysis.
The general classification of mathematical models includes:
– Models of objects.
– Models of system variants.
– Models of waste management processes.
– Models of environment processes.
– Topological models.
– Geometric models.
– Optimisation models.
– Models of environment analyses.
– Models of economic analyses and economic effectiveness.
– Models of multi-variant analyses.
The basis for the development of the component model is made up by the discreet deterministic mathematical model expressed with known functional relations obtained through the discretisation of ordinary and partial differential equations of the continuous model.
The component model is a result of the following sequence of transformations:
CONTINUOUS MATHEMATICAL MODEL (REPRESENTED BY A SET OF ORDINARY AND PARTIAL DIFFERENTIAL EQUATIONS) → (DISCRETISATION OPERATIONS) DISCRETE MATHEMATICAL MODEL → DETERMINISTIC MATHEMATICAL MODEL → (IMPLEMENTATION OPERATIONS) COMPONENT-ORIENTED MODEL
The global (component) model of the system contains general definitions of classes and basic methods being design templates for defining derived classes. The topology of the system model is composed of three logically linked parts imitating computational methods (the abstract part of the model) of the graphic user interface and relational database.
The component-oriented model of the waste management system is a computer implementation of mathematical models (data sets and algebraic expressions) describing individual components (objects, processes and relations). The key point of the object definition is the use of special class types whereof structure allows for the imitation of specific properties of object components and performed operations on data structures in the form of so-called fields and methods. The fields of an object have another important advantage allowing (through correct assignments) to refer to object components (COM: Component Object Model) created in other programmes, e.g. Surfer Application, ArcGIS, which are launched in different address spaces. The purpose of those referrals is to use the properties and methods (of object components of the Arc Objects library) in (topological, geostatistical, etc.) operations performed on objects of the waste management system model, stored in the geo-relational data model (geo-relational database) and represented (visualised) in the content of layers of thematic maps in the ArcGIS application.
The fundamental element of GIS systems is the object-relational model of data developed with the use of the library of object components in the COM technology. It introduces a definition of visual (corresponding to the content of thematic map layers) and non-visual component categories recorded in correlated tables, where spatial elements are assigned a data format with the description of geometric properties and spatial representation parameters. Figure 2.3 illustrates a logical structure of geo-relational database, which distinguishes basic tables with attributes of graphic spatial elements (Feature class), ordered and arranged into datasets (Feature Dataset), tables with the attributes of relations occurring between the objects of different classes (Relationship class) and tables with the attributes of elements without spatial representation (Object class).
The data structure of the component model of the waste management system is represented by the socalled data modules, which are a set of components of access to the resources of geo-relational database created in the ArcGIS system. Therefore, it is an element of representation of the GIS system model in the form of correlated tables containing attributes of objects which have and do not have their spatial representation (Fig. 2.3.). All database components are interlinked and form a structure within which they communicate with a system of events and methods. Communication is most frequently carried out between control objects of data edition and a physical data set .
Geo-relational database resources are managed by way of using standard methods, predefined in the object library of the BDS2006 environment and methods of the ArcObjects library interfaces, grouped in the category of Geodatabase Component Object Model, of the ArcGIS environment.
The structure of the geo-relational database model, consisting in recording the attributes of individual system elements in entries of correlated tables by way of defining the so-called aliases, allows obtaining access to data resources from the programme code of the application developed in the Microsoft Visual Studio environment for the component model of the waste management system.
The geo-relational database (Fig. 2.4) can store datasets recorded in various formats, and individual datasets are grouped in proper categories, as follows:
– Feature class – spatial objects (having parameters of spatial representation and geometric attributes symbolising classes of objects in numerical thematic maps).
– Feature dataset – a dataset containing classes of spatial objects,
– Object class – a class of objects without spatial representation (e.g. models of components of waste substances).
– Raster Datasets – sets of halftone primes for thematic maps.
– TIN Datasets – sets of numerical land models based on an irregular network of triangles.
What corresponds to the basic model of object component table (in the hierarchical tree) in the relational record is a table in the geo-relational database structure. Derived classes in relation to the Table object, i.e. classes of Objectclass, Featureclass, Relationshipclass, are also represented by tables containing the attributes of object components in records (lines), where each component is linked with a proper column in the table. In such defined tables, other lines represent the attributes of other objects identified by the proper field (attribute), OID in this case. As opposed to tables representing specific objects of the waste management system, the Attributed relationshipclass tables store parameters of inter-object relations in successive records.
The library of object components of the waste management system model has been logically divided into two main categories (Fig. 2.5):
Category of data management component.
Category of models of application components of the waste management system.
System component modelling is performed by using a predefined Visual Component Library (VCL) in the environment of Borland Development Studio 2006 (BDS2006) for the models of application forms, a library of classes of objects of the described categories, with the use of component object models (COM) of the environments of ArcGIS (the ArcObjects library) and Surfer Application Object Model. The starting point for the modelling of all components is to develop diagrams of classes with the UML notation in the programmes Microsoft VISIO or BDS2006 and the Borland Together Control tool as a module supporting the creation of object application based on structural records. The use of COM technology, or object components developed in that technology to be exact, boils down to creating special links by defining proper references to specific interfaces, being instances of classes implementing them (the ArcObjects environment), of objects in the fields of class types of the environment of the SGO model. The references pertain to the access to properties and methods performing a series of operations on objects of components in the environment of the ArcGIS programme and the ArcCatalog programme. Each and every operation of reference to individual interface elements requires access to MxDocument in the ArcMap application, which manages data representation. The ArcMap application automatically creates that object after it is launched. In the object model of the ArcMap application, the component of MxDocument creates a new instance of the object of the Application, which in turn creates MxDocument of the object. In each session of the ArcMap application, one object of MxDocument is initiated. The object component of MxDocument manages the following objects: PageLayout, TOCCatalogView, TOCDisplayView, StyleGallery and TableProperties (details are included in the documentation of ArcGIS). The access to the MxDocument component is allowed by a reference, e.g. in C++: IApplication: Document.
The paper presents the modelling methods of adapting, reactive computer assistance systems for issues involving modelling variants of waste management systems, taking into consideration contamination propagation (in terms of environment contamination analysis) generated in effect of technological processes of integrated waste management systems with the use of object-oriented methods (Object Oriented Analyses & Design). It presents also the development of design templates for the class library defined in high-level programming languages (Object Pascal, C++) which represents the actual systems, objects and processes in the form of numerical computational models.
The solution presented in the paper consists in the integration of programmers’ environments, using the Microsoft Component Object Model technology (COM). The structure of the global model is characterised by modular structure, which integrates the set of component models of objects and processes which can be used as independent, autonomous runtime models or as elements of global structure of the application model. The definition of the model contains the elements of connection (through a database alias) with the geo-relational database (Geodatabase) developed in the ArcGIS environment (by ESRI). The definition of class type of component models (model of economic and optimisation analyses, model of environment analyses, model of multi-variant analyses) comprises fields and methods referring to the methods of interfaces of the Arc Objects environment (ESRI) and the Surfer Application Object Model, developed in the COM technology. This solution, consisting in the integration of several programming environments, allows using advanced tools defined in individual programmes along with the possibility to expand them, through the definition of polymorphic derived types or the definition of own component object models (the COM technology), compiled into runtime libraries DLL and added to the existing tools.
Certainly, the proposed model is a valuable contribution to the development of advanced ICT methods in managing municipal waste management. Systems based on graph algorithms will allow you to pass from your current passive waste management position to a more active one. This will facilitate decision-making when solving planning problems related to accurate recognition of the quantity and quality of waste generated in dispersed sources, the organization of a logistics system, distribution and solving problems related to the location of new facilities for transforming this waste group.
The research topic presented in the paper is one of the elements stimulating the development of the socalled smart cities (SMART Cities) in the scope of ensuring the safety of health and life of residents and reducing negative changes in all components of the environment.