Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Application of Computers and Operations Research in the Mineral Industry –

Dessureault, Ganguli, Kecojevic & Dwyer (eds)


© 2005 Taylor & Francis Group, London, ISBN 04 1537 449 9

Object-oriented analysis and modeling for the mining production


system of fully mechanized sub-level caving

J. Li, H. Song, D. Geng & Q. Ma


Shandong Institute of Business and Technology Teachers, Yantai Shandong Province, China

ABSTRACT: On the basis of the ideas of object-oriented software development, author introduces the advanced
mechanism of object-oriented technology and analyzes the MSCPS. Besides, the objects are classified as two
catalogs: physical objects and logical objects. The main classes, attributes and services of each class are defined
and described. The object-oriented model of MSCPS is also constructed. Finally, with the development of
reliability simulation software of MSCPS, the object-oriented method is feasible for the reusing of the object-
oriented model. Evidently, it is valuable for further research of the software design and development.

1 INTRODUCTION 2 BASIC IDEAS OF OBJECT-ORIENTED


TECHNOLOGY
Since the fully mechanized sub-level caving technol-
ogy had been firstly applied in China, it had played The object-oriented method is the way of analyzing,
an important role in the coal production. The manage- thinking and designing. It is proceeded from things
ment and automation of the mining production have (namely the object) which objectively existed, and
become more and more important in the modern min- used to construct the software system in a way like
ing. Any research that related to the fully mechanized the human thinking as much as possible. Comparing
sub-level caving production system (abbreviated in: with Process-Oriented method, it has the following
MSCPS) is undoubtedly very beneficial. Regarding advantages:
to the predicaments existed in the development coal
mines software, author brings out his own views at a (1) Separating the problems into components or basic
different angle in this paper. elements. The problem model can be set up in
Because of its highly productive and efficient char- a way closer to human thinking, and simulation
acteristics, the MSCPS is wildly used in Chinese min- of the objective entity can be carried out. This
ing industries. Being a human-machine-environment designed software can describe the real world
system, the MSCPS is complicated and uneasy to directly as much as possible.
manage. Nowadays, many managers of coal mines (2) Easing to develop. It can be developed in shorter
(especially some high production and high efficiency time and more efficiently, and reusable. There are
ones) have recognized the importance of choosing many kinds of class libraries to use, thus, the
software to facilitate the management and decision- period of development can be shortened.
making. In fact, there is already lots of software (3) Easing to upgrade. The application program is
designed for coal mines. Unfortunately they had not easier to maintain and upgrade. Inheritance and
been performed fully. Some are used once and then encapsulation make the modification of the appli-
put away. That causes lots of wastes. The reason for cation program become more feasible.
this situation is that the software is designed with a
Above-mentioned advantages had object-oriented
process-oriented method. With further researches and
method have, because it has a great deal of advanced
various requirements, the shortcomings in design are
mechanisms and excellent features that traditional
exposed, and the upgrading and reusing of the soft-
method does not possess:
ware become very difficult. To meet the challenge of
these, a method called Object-oriented technology has (1) Object. The object is a basic entity in the system,
been proposed in recent years, and it is regarded as which has attributes and services. The attribute
the “best way” to deal with the so-called “software shows the static characteristics of things; Service
crisis”. Accordingly, more attentions are paid to the shows the dynamic characteristic of the object and
Object-oriented technology. allows various kinds of operations.

631

Copyright © 2005 Taylor & Francis Group plc, London, UK


(2) Message-passing. It is a concept that displays 1 2
interrelations of each entity. 5 6 7 8 9 10 11 12
(3) Abstract. Abstract means to neglect those aspects 3 4
unrelated to the themes and pay attention to the
aspects related at present. Figure 1. Sketch map of fully mechanized sub-level caving
(4) Encapsulation. Encapsulation indicates that the production system. 1-Coal-mining machinery; 2-Front Con-
design details are hided while services are pro- veyer; 3-Draw-Hole; 4-Back Conveyer; 5-Crusher; 6-Trans-
vided outwards. Encapsulation can reduce com- fer Conveyer; 7-Set; 8-Section Conveyer; 9-Pump Station;
plexity of problem and make us needn’t care about 10-Electrical Equipment; 11-Environment Factor; 12-Human
and find out details of the software. factor.
(5) Inheritance. It is a mechanism which shows similar
natures of the object and a good way for the pro-
as a part alone or merged into a part. Its sketch map
grammer to utilize efficiently: functions of father
can be shown in Figure 1.
class can be used by son class directly.
On basis of the sketch of MSCPS, object analy-
Because of data abstract and adopting encapsulation sis can be fulfilled through entity analysis. It should
technology, the object-oriented method has reduced follow the principles that Coad and Yourdon had put
the interrelations from each module. Thus interactions forward.
among the programmers are also reduced. With data Accordingly, the MSCPS can be screen out and each
type being defined by the object-oriented method in entity in Figure 1 can be regarded as an object. The
detail, the higher utilizing ratio of code can be achieved objects are mining machinery, front conveyer, draw-
by encapsulating them together. That can make people hole, back conveyer, crusher, transfer conveyer, set,
solve the problem progressively while needn’t go to section conveyer, pump station, electrical equipment,
revise the design work already finished and reduce environment factor and human factor respectively.
costs greatly for changes in the future. Then objects are divided into two kinds: physics and
logic objects. Physics objects point to the material
component; the logic objects refer to the invisible com-
3 OBJECT-ORIENTED ANALYSIS AND ponent of the system. Based on entity analysis, the
MODELING OF MSCPS physics classes include mining machine class (CCM),
front conveyer class (CFC), draw-hole class (CDH),
The object-oriented analysis is an important technol- back conveyer class (CBC), crusher class (CCR),
ogy in the modern software engineering. It includes not transfer conveyer class (CTC), set class (CST), sec-
only recognizing technology of objects, also services tion conveyer class (CSC), pump station class (CPS),
and attributes recognition and modeling. The correct electrical equipment class (CEE), environment factor
usage of object-oriented analysis technology will make class (CEF) etc. In fact, to simulate the production sys-
the goal systems well reusable and performances trans- tem comprehensively, there are other classes needed
plantable and shorten the development period of the to be constructed including working face class (CWF)
software. (to describe attributes of the Working Face), time class
According to the systematic views, the MSCPS can (CTM) (to reproduce all kinds of time needed to sim-
be regarded as a human-machine-environment system ulate), input class (CIP), output class (COP) (to output
and it includes the human factors, the equipment of results), stat. and analysis class (CSA) (to stat. and ana-
mining and transporting, supporting, powering, and lyze), human interface class (CHI), help class (CHP)
environmental conditions. The mining and transport- (to provide help) etc. These kinds of classes and human
ing equipment includes the mining machinery, front factors (CHF), environmental factors (CEF) belong to
conveyer, draw-hole, back conveyer, crusher, trans- the logic classes.
port conveyer, set and sector transport; roof control After confirming the classes, the object’s attributes,
equipment includes hydraulic pressure bracket and end services, and information interface should be defined
bracket; electric equipment mainly refers to supply with intact and succinct code. The attributes must
power equipments, including voltage transformer, feed be able to fully and accurately describe the physical
switch and relays, etc; environmental factors include parameters , performance parameters of the objects in
roof, gas, water, diversification of coal seam, fault- actual systems and some parameters needed in the sim-
age and subside pole etc; human factors include many ulation system. The services should describe various
misacts against the regulations of mining operation, kinds of behaviors and operations of the objects accu-
such as supporting delay, displacing cutting or mal- rately; the information interface permits the object
organizing, etc. Above situations and conditions are state and process of information can be inquired
relative with the mining working face regarded as by outside classes. As shown in Table 1 concretely.
“part”. According to the influences to the production, Entity’s attributes, service and information interface,
all the equipment and conditions are either regarded are all encapsulated in the class, some of the attributes

632

Copyright © 2005 Taylor & Francis Group plc, London, UK


Table 1. Object class of fully mechanized sub-level caving production system.

Object
catalog Entity Class Attribute Service

Mining machinery CCM Model, Mining speed, Mining Mining coal, Breakdown, Maintain,
mode, Feed Mode, Empty Mining Feed, Move, etc.
Speed, Incline Feed Speed, etc.
Physical Front Conveyer CFC Model, Number, Position, etc. Convey, Push, Breakdown, Maintain, etc.
Draw-hole CDH Model, Position, Opened Number, Draw, Breakdown, Maintain, etc.
Draw Step, Draw mode, etc.
Object Back Conveyer CBC Model, Number, Position, etc. Convey, Push, Breakdown, Maintain, etc.
Class Crusher CCR Model, Position, etc. Crush, Breakdown, Maintain
Transfer CTC Model, etc. Convey, Breakdown, Maintain, etc.
Conveyer Set CST Model, Position, Push speed, Set, Breakdown, Maintain
Push mode, Set Mode, etc.
Section Conveyer CSC Model, Number, Position, etc. Convey, Breakdown, Maintain, etc.
Pump Station CPS Model, Number, Position, etc. Work, Breakdown, Maintain, etc.
Electrical Equipment CEE Model, Number, Position, etc. Work, Breakdown, Maintain, etc.
Environment Factor CEF Water Amount, Gas density,
Fault age condition, etc.
Logic Human Factor CHF Failure time to mine, Failure Time Fail to Draw, Fail to mine,
to craw, Failure time to push etc. Fail to push etc.
Object Working Face CWF Working face length, Advance
Length, Recovery ratio, Output,
Coal thickness, Coal rigidity, etc.
Class Control CCT Control parameter, Arithmetic, etc. Compute, Simulate
Time CTM Breakdown time, Maintain time, Produce time
Work time, etc.
Input CIP Input Parameter Needed Input Parameter
Output COP Output parameter Output result
Stat. Analysis CSA Compute parameter Stat. and Analyze, etc.
Human Interface CHI Provide interface
Help CHP Provide help

are private, some are public. So as to guarantee the void JinDao(void); // incline feed
information is hidden effectively, the private attributes float Getm_twork(); //worktime of
are only available for inside member functions, and //coal-mining machine
unable to be used by external object services. float Getm_lwork(); //mining length
Taking CCM class as an example, to show how the ...... ...... //etc.
attributes and services of the CCM class are added CCM(); //
(described in C++ language, developed with Visual virtual ∼CCM(); //
C++ 6.0). };
// Page_ CCMJ.h : header file In view of the above, the object-oriented analysis
Class CCM: public CTM //public inheritance model of MSCPS can be set up with Coad/Yourdon
{ method. The Figure 2 shows the inheritance relation
Private: //private attributes of the classes. Class CCM, CFC, CDH, CBC, CCR,
float m_vwork; //cutting speed CTC, CST, CSC, CPS, CEE, CEF, CHF are inher-
float m_vkongdao; //empty cutting speed ited from class CTM; class CHI is inherited from CIP,
float m_vxieqie; //incline feed speed COP, CHP, CSA.. The arrow expresses the messages
bool b_work; //work state passing among objects. Instance and attribute and
bool b_brkdwn; //break down state service are transferred between all kinds of classes.
str fm; //cut mode
str JDFS; //feed mode
Public: //public attribute 4 PRACTICAL APPLICATIONS AND
...... ...... //etc. CONCLUSION
Public: //public function
void Breakdown(void); //break down function According to above the object-oriented analysis
void Mining(void); //mining function model of MSCPS, the author had developed an

633

Copyright © 2005 Taylor & Francis Group plc, London, UK


CCM in the CCM class rather than in CCT class. Thus the
interferences among the modules and the developing
CFC costs can be reduced in this way. These also indicate
that the model shown in figure 2 is practical, feasible
CDH and flexible. So that it is significant to research and
CBC develop the software of fully mechanized sub-level
CIP caving production system.
CCR In this paper, we designed an object-oriented analy-
COP sis model of MSCPS. With its applications, the model
CTC CCT CHI was proven technology. Unfortunately, authors have
CSJ CHP not used it in other areas of coal mining, it will be
CST
CSA
much proper to broaden the boundaries of the model
CSC CWF to examine its flexibility. Authors plan to expand the
boundaries of the model to cover other areas and make
CPS it modularized to be integrated to other software. It
is also aimed to improve the model with adding a
CEE user-friendly interface.
CEF

CHF REFERENCES

Figure 2. Object-oriented analysis model of the fully mech- Yongqi Xu. 1993. Coal Mining (in Chinese). Xuzhou: China
anized sub-level caving production system. University of Mining and Technology Press.
Ronald J. Norman. 1999. Object oriented System Analysis
and Design. Beijing: Tsinghua University Press.
object-oriented reliability simulation software to Coad P, Yourdon E. 1990. Object oriented System Analysis.
New York: Yourdon Press.
simulate the conditions of the MSCPS. Although Yan Wang. 1999. Object-oriented theory and practices of
attributes and services analyzed in the model are dif- C++ (in Chinese). Beijing: Tsinghua University Press.
ferent with those described in Figure 2 to some extent, Yongjian Wang. 1995. Reliability engineering of coal mine
the model in Figure 2 is constructed by the object- system (in Chinese). Xuzhou: China University of Mining
oriented method. It is easy to be extended or changed. and Technology Press.
In this case only the attributes and services of the Yan Wang. 1999. Object-oriented theory and practices of
“part” need to be revised. Taking CCM as exam- C++ (in Chinese). Beijing: Tsinghua University Press.
ple, other parts will not be discussed into details Jinke Li & Yongjian Wang. 2002. Research on computer
one by one: m_workcount(work counts of mining simulation of fully mechanized sub-level caving produc-
tion system with parallel operation reliability software
machinery), m_brkcount(counts of mining machin- development. Proceedings on Mining Science and Safety
ery breakdown), m_ladd(added length of mining), Technology.
m_tadd(added work time of mining machinery) etc. Jinke Li. 2002. Object-oriented Analysis of the mining pro-
The attributes are added in the CCM class. If the ser- duction system of fully mechanized sub-level caving. Coal
vices are changed, the code modification is needed Engineering: 54–55.

634

Copyright © 2005 Taylor & Francis Group plc, London, UK

You might also like