Research Article | Open Access

Xuefeng Yan, Yong Zhou, Yan Wen, Xudong Chai, "Qualitative and Quantitative Integrated Modeling for Stochastic Simulation and Optimization", *Journal of Applied Mathematics*, vol. 2013, Article ID 831273, 12 pages, 2013. https://doi.org/10.1155/2013/831273

# Qualitative and Quantitative Integrated Modeling for Stochastic Simulation and Optimization

**Academic Editor:**Neal N. Xiong

#### Abstract

The simulation and optimization of an actual physics system are usually constructed based on the stochastic models, which have both qualitative and quantitative characteristics inherently. Most modeling specifications and frameworks find it difficult to describe the qualitative model directly. In order to deal with the expert knowledge, uncertain reasoning, and other qualitative information, a qualitative and quantitative combined modeling specification was proposed based on a hierarchical model structure framework. The new modeling approach is based on a hierarchical model structure which includes the meta-meta model, the meta-model and the high-level model. A description logic system is defined for formal definition and verification of the new modeling specification. A stochastic defense simulation was developed to illustrate how to model the system and optimize the result. The result shows that the proposed method can describe the complex system more comprehensively, and the survival probability of the target is higher by introducing qualitative models into quantitative simulation.

#### 1. Introduction

Stochastic simulation has become a highly effective and essential part of all scientific fields to analyze, reconstruct, and optimize the objective world without the need to perform experiments on a physical product or an actual system. In theoretical and experimental research, it has become another important way to reveal the internal and essential laws of the real world. To study and gain insight into real phenomena, a stochastic model should be constructed for some particular purpose at an appropriate level of abstraction or fidelity.

In the field of stochastic simulation, whenever we mention “qualitative model,” the phrase “quantitative model” will naturally come to mind. In fact, “simulation model” generally refers to a quantitative model if not particularly described, and most research is based on the mathematical model [1]. Precise mathematical models are built to describe the system structure and behavior, especially the logic and functionality on the timeline. The simulation is carried out by solving the equations in a numerically calculated fashion. The simulation results rely on the accuracy of the models. However, the mathematical perfection is not representative of the authenticity of the system and the subtle experiential meaning of the real world cannot be modeled by mathematical equations. On the other hand, the objects we studied, such as aircraft, weapons, and space systems, are increasingly complex. This is particularly true of giant, complex system. We can only have or create some of the mathematical models with certain accuracy. It is almost impossible to construct all the quantitative models and complete their Verification, Validation and Accreditation (VVA). Furthermore, not all of the simulation requires a precise mathematical model. For example, sometimes we are only interested in the macroevolution trend of a system, rather than time-specific values.

The symbol qualitative model can contain various forms of information and has reasoning and learning ability. The structure and behavior of the actual system are described in an abstract form, focusing on the causality and not on mathematical equations. It is widely used in many fields associated with physics, chemistry, ecology, biology, fault diagnosis, mechanical manufacturing, industrial systems, and Artificial Intelligence (AI) [2]. We can see that the combination of qualitative and quantitative attributes shows promise for stochastic simulation. Many scholars have made important progresses in this field [3–9]. Due to the direct usage of existing expertise, qualitative and quantitative integrated methods have many significant advantages.(1)When it is difficult to build all the quantitative models and the stochastic simulation cannot be constructed because some models are lacking, the qualitative model could be a necessary complement.(2)Qualitative modeling is effective for some fields where most of the knowledge is expressed by symbols, language, or graphics directly.(3)When we are just interested in the macroevolution or the essential qualitative phenomenon, it is not necessary to occupy a large number of computing time and resources for quantitative simulation.(4)The static structure of the simulation can be organized based on qualitative models and at run-time, qualitative models can intelligently choose the better execution branch or data based on the schedule engine. Different Detail of Level (DOL) resolution can be constructed for a system at different abstraction levels.(5)The traditional evaluation and optimization can be innovated because the qualitative mode is a part of the simulation and online assessment could be made.

We can see that the qualitative model brings an unprecedented opportunity to improve traditional stochastic simulation. But it also faces with the following challenges.(1)There are a large number of different types of qualitative models in different application fields, and the requirements, interfaces, and forms are varied.(2)The qualitative modeling methods and symbolic languages are also diverse in different applications fields. These heterogeneous models are incompatible with each other and it is difficult to simulate together.(3)The loose and redundancy qualitative models should be integrated with the rigorous quantitative models to form the stochastic simulation with a precise logical structure. Many effects are needed in qualitative and quantitative hybrid simulation engines [10].

There are lots of classic researches in quantitative modeling, such as the specification named Discrete Event Systems Specification (DEVS) for discrete event systems and COllaborative SIMulation (COSIM) for multidisciplinary virtual prototype modeling and simulation [11–16]. In order to deal with expert knowledge, uncertain reasoning, and other qualitative information, a qualitative and quantitative integrated modeling specification and the theoretical framework for stochastic simulation and optimization are significant. In this paper, a hierarchical model structure is proposed, including meta-meta model, meta-model, and the high-level model. The qualitative and quantitative heterogeneous model and integrated relationship were described at a higher abstraction level. The description logic system is defined for the framework based on the formal description and verification of the modeling specification.

The rest of this paper is organized as follows. Section 2 briefly introduces the related researches of qualitative and quantitative modeling for stochastic simulation. In Section 3, a qualitative and quantitative integrated modeling specification is presented, including the modeling framework, description logic system, and formal definitions. Section 4 proves the self-close feature of the models. In Section 5, a qualitative and quantitative mixed stochastic defense system is modeled and simulated. Section 6 draws related conclusions and points out future work.

#### 2. Related Works

##### 2.1. Qualitative Model in Stochastic Simulation

A complex stochastic simulation is always composed of various subsystems. To analyze and optimize the performance, qualitative models have been investigated and applied to more and more fields [17]. In [1], tactical decision making based on fuzzy logic was applied to an underwater vehicle in an engagement-level simulation. A light torpedo and a submarine were modeled based on DEVS and the submarine model calls the fuzzy logic model to conduct a tactical decision. The fuzzy logic was implemented as the Python script tactic description file. By adopting the fuzzy logic, a smoother result was obtained than fixed established tactics and the survival possibility of the submarine was enhanced. SHAO Chen-xi believed that qualitative modeling and simulation makes it feasible to deal with incomplete information. He summarized classic technologies such as fuzzy qualitative simulation, reduction reasoning, noncausal reasoning, causal-based reasoning, diagram-based reasoning, structural data-based modeling, and qualitative space-based reasoning. The application fields were also introduced, including ecology, mechanical manufacturing, medical research, and hybrid nonlinear systems [18]. In [19], a modeling method based on the relationship and transmission of effect between nodes was introduced. Based on the strength of the definition of cause and effect, a flexible modeling method was designed for graph-based qualitative systems. Nonautonomous systems changing with time can be analyzed using the new method. A causal relationship chart model of the quality risk based on integrating casual is proposed in [20]. An example is used to demonstrate the entire risk evolution triggered by changes in one quality factor, simulating the evolution process in accordance with reality. The application indicates that the proposed method can serve as a useful experimental tool for decision making in facing risks by highway construction project teams. A qualitative simulation model of changing processes of customer churn is constructed based on the causality graph in [21]. The qualitative simulation and random behavior extraction can be executed repeatedly to predict the changing process of customer churn. After analyzing three qualitative simulation methods, noncausality reasoning, causality reasoning, and cellular automata, Hu and Xiao discussed the complexity characteristics of a management system and introduced their qualitative simulation [22].

##### 2.2. Qualitative and Quantitative Integrated Modeling in Stochastic Simulation

Many important theories and applications show that qualitative and quantitative combined methodologies have extremely important significance and promote value for stochastic simulation. A considerable amount of researches have been performed in recent years and many meaningful outcomes have been put forward in different domains. In [23], the proposal and recent development of the “meta-synthetic methodology from qualitative to quantitative” were introduced in detail. Subsequently, many researchers concentrated on qualitative and quantitative combined modeling for stochastic simulation.

FAN Shuai proposed a qualitative and quantitative synthetic modeling method by extending the System High Level Modeling Language for multidiscipline virtual prototype. The qualitative knowledge is modeled based on a cause and effect diagram [3]. Then, the qualitative and quantitative integration simulation architecture was designed, including mixed schedule strategies, time management, and date interaction methods [4]. Qualitative models can be built using the Fuzzy Inductive Reasoning paradigm in Modelica. The qualitative models make use of fuzzy inductive reasoning. The qualitative and quantitative models can be combined to simulate concurrently. A textbook example of a hydraulic position control system and the human cardiovascular system were adopted to demonstrate the approach. The hemodynamics was modeled by quantitative models and the central nervous system was described using qualitative FIR models [5]. In [6], a qualitative and quantitative hybrid model was established for business factors evaluation. Statistical values based on propagation and combination of effects of business factors were introduced in the simulation. Li et al. proposed architecture of qualitative and quantitative comprehensive modeling and studied joint simulation technology for complex systems. In [7], a visualized fuzzy qualitative knowledge modeling method fuzzy causal directed graph was designed, which included the grammar, reasoning, and conversion of qualitative and quantitative models. In [8], a new technique, Q2, was proposed to combine qualitative and quantitative models and was demonstrated in the case of a Finnish transport sector that faces severe pressure to cut CO_{2} emissions. Liu et al. studied the integration of qualitative reasoning and quantitative simulation including the acquisition, management, and expression of qualitative and quantitative knowledge. Then, an integrated diagnosis inference method was proposed and validated with the test-fire data of complicated systems [9].

Some of the previous studies can be applied to continuous systems, discrete systems, or continuous discrete hybrid system modeling, respectively. They focus on the combination of qualitative and quantitative models from specific application fields. Some researchers achieve qualitative and quantitative combined modeling and simulation based on commercial software tools.

##### 2.3. The COllaborative SIMulation Modeling Theory

COSIM is actually an application of Model Driven Architecture (MDA) for stochastic modeling and simulation. It is mainly a framework for simulation of complex systems, especially complex product virtual prototypes based on heterogeneous models of different fields. In [16], the modeling specification was proposed as the infrastructure of COSIM which is referred to as the Meta Modeling Framework (M^{2}F). Here, the meta-meta-model, meta-model, and model of different levels were defined to describe the systems. The modeling specification is independent of the realization, which means were that various modeling methods could be involved in the simulation and can be unified with the M^{2}F without considering implementation issues. Meanwhile, M^{2}F serves as a shield to the differences of the modeling methods and forms with higher abstraction than the heterogeneous model.

##### 2.4. Summary

We can see from the aforementioned that there are many researches on optimization of complex stochastic simulation based on qualitative models. The latest research involves the study of a specific application in a given a field based on a selected theory. Many theories such as reduction reasoning, noncausal reasoning, and causal-based reasoning are considered, respectively. Some researchers achieve qualitative and quantitative combined modeling and simulation based on a commercial software tools. There are mainly two ways to integrate the qualitative and quantitative models, microintegration and macrointegration. The former one extended quantitative description method for qualitative knowledge, usually in the form of qualitative and quantitative mixed algebra equation, such as interval values expression and fuzzy mathematical. Although some qualitative knowledge is used, they are not the systematic qualitative modeling approaches. The later one is the integration of qualitative models and quantitative models of the different parts of the system. For example, qualitative model and quantitative model can be organized together to form the whole simulation system. These methods are mainly integrating different models in particular application, and few of them consider the problem from the aspects of modeling specification. So, a further solution is needed based on the existing theories and techniques.

#### 3. Qualitative and Quantitative Integrated Modeling Specification

##### 3.1. General View of the Qualitative and Quantitative Integrated Model

Before further details, let us first briefly illustrate the general view of the qualitative and quantitative integrated model to be built. We describe a system from the perspectives of static structure and dynamic behavior, based on three types of *Interface* which is the solid basis of our modeling methodology. The static structure refers to the internal factors, their structure, and interrelationship, for example, the input and output interfaces and their connection relation and the organization structure of the subsystem, and so forth, as shown in Figure 1. The data exchange between the models is archived through the *PortItems*, and the collection of *PortItems* with same type is called *Port*. The set of Ports is called *Interface*. The three *Interfaces* (qualitative, quantitative, and event interface, resp.) will have complex internal and external relations with each other, and this is one of the focus points in this paper. To describe the temporal logic and simulation process with the time advancing, the state and its transfer, interaction situation, and event flow will be modeled as dynamic behavior, and the reasoning or evaluation functionality will also be involved if needed. We can observe a corresponding output segment from the output interface when some data is set from the input interface, taking the data context into account.

A complex system as a whole is composed by many interconnected and interacted parts, and it can be further divided into smaller and simpler subsystems. It is modeled by component-oriented models with a hierarchy structure. Two types of component model with different structure and size are defined to describe the system, named the element model () and composition model (). is the smallest one which cannot be divided any more, while the is assembled by and/or smaller according to specific simulation logic by connecting their *Interfaces*, and then they can collaborate with each other based on an accurate information flow with specific semantics, as shown in Figure 2. In fact the entire simulation system itself is the biggest CM, with a special reasoning component to optimize the simulation process and policy decision based on execution data, history data, and expertise.

##### 3.2. Qualitative and Quantitative Integrated Meta Modeling Framework

Based on M^{2}F, a Qualitative and Quantitative Integrated Meta Modeling Framework (Q^{2}M^{2}F), consistent with (MDA) and the rationale of a layered model structure in Meta Object Function (MOF), is defined as a four-layer model framework, as shown in Figure 3. The descriptions of the layers are as follows.(1)*Meta-Meta Model Layer*. The prototypes and rules of the meta-model are defined with the highest abstraction level, including *Port*, *Association*, *Constrain* (CAP). The basic factor and its semantics to describe the data structure and knowledge are also defined, just as the basic data type is defined in a programming language. (2)*Meta-Model Layer*. The instance of the meta-meta model, *Mapping*, *Interface*, *Coupling* (CIM), defines the basic factor to define a qualitative and quantitative mixed model. It is similar to defining a data structure or class.(3)*Model Layer*. The instance of the meta-model, is used to describe the models (so called *High-Level Model*, HLM) of a specific application field. For example, class “Pilot,” a model of the reasoning portion of an expert system, and so forth.(4)*Instance*. The instance of the model defines the value of specific parameter or the reasoning part with specific rules, for example, “Pilot Obama.”

In Q^{2}M^{2}F, the basic factors in the meta-meta layer are the same as COSIM, but the connotations are redefined to support qualitative and quantitative combined modeling. *Logical Relation* () is added to the meta-model layer to describe the relation of qualitative knowledge. The interaction between qualitative knowledge and quantitative data is added in *Mapping* and *Coupling*. Accordingly, in the model layer instance these factors are also defined.

##### 3.3. The Description Logic System for Q^{2}M^{2}F

Description logic is used to represent the domain knowledge using a group of structural operators. Knowledge is expressed by concepts and relationships based on the formal reasoning which can be achieved [24–26]. In order to describe the basic factors and their relationships in , a description logic system, , is defined based on the classical description logic language, Attributive concept Language with Complements (ALC). The syntactic and semantic facets of ALC_{C} are defined as follows: , where : the elementary concept. In , the term “element” refers to the smallest atomic model, : the elementary binary relation, : the universal concept, : the bottom concept, : the negative concept of C, : the intersection of C and D, : the union of C and D, : restricted universal quantification, : restricted existential quantification.

The knowledge base of is composed of . is a finite set of inclusion assertion (), and it is also known as a set of terminology axioms. is a finite set of instance assertion (). It is composed of elementary conception (*ElemC*) and elementary relationship (*ElemR*), as follows: . , (streig, which means “tied or bound” in ancient Latin. Here it is used to represent a constraint.), , , , where *Data, Knowledge *and *Event*: quantitative data, qualitative knowledge and event, respectively; *Input* and *Output*: the direction of information flow; *Time*: the effective time of the information flow; *Real* is the real numbers; *Pattern*: the overall scheme of information; *Association* and *streig*: the *Association* relationship and constraint, respectively; : the initial time; and *statTF*: the state and its transfer, respectively; : the index set of the subcomponents; : the set of subcomponents; *has_a *and* part_of:* two inverse elementary relationships, expressing the belonging relationship between the elements of the sets; *domain_of *and* range_of*: the domain and range of the relation; *isa_function*: a common function; *isa_relation_on*: a binary relation; *content_of*: the information of a meta-meta model; *direction_of*: the direction of the information; *element_of*: the relationship between EM and CM.

More complex conceptions and relationships can be derived from the basic definition mentioned earlier, and the factors at each level in can be described and verified formally.

##### 3.4. Meta-Meta Model (CAP)

Qualitative and quantitative meta-meta model is the top level of abstraction of the system model. *Port *is a meta-port composed by *Content, Direction, Time, and Pattern* and is used to describe the information interaction with other simulation models or the external environment. *Content* is all the information interacting between the simulation models through the *Port* which will affect the simulation process or result. *Content* can be quantitative data, event, or qualitative knowledge. *Direction* indicates the transfer direction of the information. *Time* refers to the position and effective range on the timeline. The value range is a subset of the positive real numbers . *Pattern* describes the overall pattern of information contained by meta-ports throughout the simulation timeline. It is an enumerable sequence of a set of numerable/innumerable *〈**content, time**〉* couples. The formal definition of *Port* is as follows: *.*

*(Meta) Association* is used to describe the numerical/symbolic relationship of information contents between *meta-ports*. The *association* represents the direction of the *Content*, and most of the *association* is a one-to-one mapping. In quantitative models, the *association* is reflected as a *mapping* relationship between quantitative data on the meta-ports. In qualitative models, it is the *connecting* relationship between qualitative knowledge. Multiple associated *ports* may also exist, which represent the convergence or distribution of the information flow. The formal definition is *.*

*Constrain* describes the properties of specific *Port*, including differences in *Direction*, *Time,* and *Pattern*, especially for the ports where *Association* exists. There are two *Constraints*, *Quantitative Constraint* and *Qualitative Constraint*. By setting constraints on the *Direction*, *Time*, and *Pattern*, the solution logic, temporal order, and modeling mechanism of heterogeneous models can be unified in one simulation system. *Constraint* will be implemented according to the interior physical mechanism or the state transfer function in the lower layer *HLM*. The conception of *Constrain* is defined as *.*

In summary, the concept of CAP is defined formally as *.*

##### 3.5. Meta-Model (CIM)

We define *PortItem, Ports, and Interface* as instances of *Port* in the model. *PortItem* is consistent with *Port*, *Ports* are defined as a collection of *PortItems* of the same type, and the *Interface* is defined as a group of *Ports* with similar properties. This is formally defined as *.*

*Association* and *Constrain* are essentially interdependent of each other. The former characterizes the existence of the information relationship between the *Ports*, while the latter adds a limitation on the relationship. There are three instances, *Mapping*, *Logical Relation*, and *Coupling*, in the meta-model inherited from both *Association* and *Constrain*.

*Mapping,* a coinstance of *Association* and *Constrain, *is a relationship between the input and output sets of an element model (). Figure 4 shows three typical *Mappings*, the state transfer functions between quantitative *PortItems *(*map*), logical relationship between qualitative *PortItems *(*connect*), and *transform* between quantitative and qualitative *PortItems*. The definition is as follows:

*.*

The relationship between the qualitative *Ports* is not necessarily expressed via functions; general logical relationships may exist.* Logical Relations* mainly depicts the qualitative relationship between *Ports* and the static logical structure of an . Consider *LogRelation **connect ∣ connect **. Content **. Content*}, *, **, *.

*Coupling* is the interaction between the *Ports* containing the* Associations* and *Constraints*. In addition, it should be noted that the ports associated by *Coupling* are not just the ports of the submodels within a composite model. *Associations* could also exist between the output ports of the submodels and the output ports of its superior composite model. Similarly, the input ports of a composite model can be associated with the input of its submodel. The formal definition of *Coupling* is *.*

In summary, the concept of CIM is defined formally as *.*

##### 3.6. The Hierarchy Model of a Simulation System (HLM)

A variety of heterogeneous simulation functionalities are described as standard models using an interface-based modeling strategy. Simulation is achieved via the combination and collaboration of components. In the model layer, the simulation model, named high level model (HLM), will be instanced from three basic factors defined at the meta-model layer. There are two types of qualitative and quantitative mixed simulation models, the Element Model () and the Composite Model ().

As the smallest model which cannot be divided any more, , consists of *Interface*, *Mapping*, *and Connecting*, the definition is: .

More specifically, *,*

*where* *.*

represents a specific mapping between the input and output *Ports*. At any time on the timeline , the simulation model has only one state, *csModelState *, and the formal definition is , where : state transfer refers to the migration process stimulated by external action or internal factors; .

A *Composite Model * is composed of several and/or with smaller granularity as shown in Figure 5*.* The formal definition is as follows:

*.*

Similarly with , also has a parametric interface, initialization interface, data input and output interfaces, event input and output interfaces, knowledge input and output interfaces, the state and its transfer, and the time-base. They are defined as earlier. has three other factors, , , , , and , which do not appear in , as follows: : the index set of the sub-/sub- in a *, * : the set of sub-*s* and sub-*s* in a *, * *s*: the *Coupling* sets in a , : the sets of interaction situation, : event flow in a .

We can see that is a self-nested composite model. Besides the element model, *,* which can no longer be divided, it can also include other composition models. In fact, the whole simulation system itself is the largest .

#### 4. The Self-Closed Feature of Qualitative and Quantitative Integrated Model

We can find that the essential difference between the and is whether or not an internal structure exists. describes the internal content of a model via mappings, while describes its interior structure and interactions among subcomponents. Formally, there are few differences between the two models, but we can note that the formalism of a actually has a self-closed structure. Although the internal structure of a might be very complicated, a should be reused just like an in a more complex . Therefore, in order to ensure reusability, we need to affirm the self-closed feature between the and . That is, a complicated combined by sub- and/or sub- has the same schema as its subcomponents. On the contrary, the subcomponents decomposed from a has the same schema with the original .

*Definition 1 (Component Communication Graph ()). *Assume is a simulation component ( or ). Let directed graph be the of . Consider *,* ,
is the set of all input interfaces of . If itself is a , all input interfaces of the internal subcomponents are the same as well, .

The edge set is

.

The previous definition shows that the vertex set () of is composed of all input and output *Interfaces* of the high level model, and is composed of all the *Mappings edges* and *Coupling edges*. If there is a *Mapping* or *Coupling* between two Interfaces, the two vertices are adjacent.

*Definition 2 ( and of ). *Consider the following: if component is an , *, *; if component is a , *, *.

*Deduction **1*. The underlying graph of is a bipartite graph.

Ignoring the direction of all the edges of the directed , we can get its underlying graph. We can prove that the underlying graph of is a bipartite graph.

Let input_interface, output_interface, => and , =>* and * is 2-partition of .

According to Definition 1, *.*

According to Definition 2, => , => is a bipartite graph.

The previous deduction means that the *Mapping* connects the input and output *Interfaces* of an , and *Coupling* connects the input and output *Interfaces* between *s *and/or *s*. The vertices of are independent of each other, and vertices of are also independent.

*Definition 3 (Information Tracking). *Let be the of , , , if*.*

Then * is Information Tracking* in . and are the start and end points of , referred to as and respectively*. *

Using the terminology of graph theory, *Information Tracking* can be described as follows:

Vertex and belong to , and is a primary path from to without repetitive vertices. If any adjacent vertex of is from the same with , then it is an *Information Tracking* of .

When there are only two vertices in the or , we can easily get the following deduction.

*Deduction **2*. *Mapping* and *Logical Relation* are both a kind of *Information Tracking*.

We can see from Definition 3 that *Information Tracking* is a directed path, the direction of is always from the input *Interface* to the output *Interface*, while the direction of is from output to input. In the *Information Tracking *, the edges of and appear alternately.

*Deduction **3*. *Information Tracking ** and **, *; if then * if and only if ** and ** if and only if **;* if then * if and only if ** and ** if and only if **. * Deduction 1=> the underlying graph of is a bipartite graph, Deduction 2=> in *Information Tracking *, the edges of and appear alternately.

Assume that and are two adjacent edges of , a primary path. So, .

If , then and are the input and output of an . The vertices and are adjacent to . => In and , one must belong to , and . =>must not be the Interface of , and it must belong to other .

The underlying graph of is a bipartite graph, and in *Information Tracking *, the edges of and appear alternately. => is a input *Interface*. =>.

If , then and are the input and output of two different *components*. Assume that belongs to *. * => In and , there must be one belonging to , and . => must not be the Interface of , and it belongs to the other *. *

The underlying graph of is a bipartite graph, and, in *Information Tracking *, the edges of and appear alternately.=> is a output *Interface*.=> is a *Mapping* of the other , .=> is an uninterrupted path composed of alternative *Mapping* and *Coupling*. It can also be expressed by alternative input and output* Interface*, as shown in Figure 6.

The vertices in are independent of each other and , and . => is a directed path without repetitive edges and there is no closed loop in *. * => If , * if and only if * and * if and only if **,* and if , * if and only if * and * if and only if *.

*Definition 4 ( Derivable Port and Underivable Port). * is the of , . If

*, then is a*

*Derivable Port*of , or is an

*Underivable Port*(

*referred to as DerivablePorts*

*and UnderivablePorts*

*, resp.*)

*.*

Both

*Derivable Ports*and

*Underivable Ports*are output

*Ports*. For output

*Ports*, there are input

*Ports*connected to it through an

*Information Tracking*, but there is no such input for an

*Underivable Port*. The internal mechanism and status of a black-box model are normally undetectable. Some outputs might be generated without any inputs and the only reason for this is due to the internal state transfer driven by time. That is why an underivable

*Port*is needed.

*Deduction **4*. is the of , *DerivablePort*s(C). e (e EM element_of (e,C) ) or e (e EM element_of(e,C) P(P InfoPath(C) startPoint_{P} endpoint_{P})).

In a* white-box *, let be the *Underivable Port *of . Every output *Port* of is connected with an output* Port* of an internal by* Coupling*. Assume that *Port * of is connected with output *Port * of , as shown in Figure 4. We will prove that *Port * is an *Underivable Port* by reducing it to absurdity*. *

Assume that *Port * is a *derivable Port*, and then there is an *Information Tracking* in . *Port * is the endpoint of .

*Port * is the output *Port* of . => The last edge of must belong *to * (Deduction 3). => is another *Information Tracking* in and at least one input *Port* of comes from . => The end point of is a derivable *Port*. This is contradictory. =>*Port * is an *Underivable Port. * =>*Underivable Port* exists in an , and *a Port* connected to an *Underivable Port* by* Coupling* is also an *Underivable Port. *

In summary, we can see that =>*.*

This means that and have the same schema, and the is self-closed.

#### 5. A Stochastic Defense Simulation System

##### 5.1. The Scenario and Integrated Models

In the simulation, the attacker and the target patrol in the same area, and both of them have detecting ability. As the distance between the two sides becomes shorter, the attacker will find the target and launch its offense weapon which will seek the target using its detector. The offense weapon will rush out with full speed when it detects the target. After detecting the offense weapon, the target will launch decoy or evade with different direction and speed according to the defense strategy. The scenario is as follows (Figure 7). Many previous researches carried out the same scenario; however, most of them focused on using fuzzy logic to make the decision [1] in a specific application or evading in a fixed manner [27].

The system is modeled using the proposed specification**. **We designed nine *s* as shown in Figure 8. There are three *s*, *Attacker*, *Target,* and *Offense Weapon*, which are composed by two models, respectively. The data, event, and knowledge interactions among the are also given in the figure. Different shapes are used to describe different types of *Ports*. The circle, square, triangle, and oval *Ports* represent initialize port, event port, data port, and knowledge port, respectively. What should be pointed out is that only *Ports* and *Couplings* are given in the figure, not the *PortItems* and *Mapping*. *Mappings* are inside the and are invisible from the outside. Due to the space, the dynamic behavior and schedule of will be treated as a black-box and will be discussed in the future.

##### 5.2. Optimization of the Defense Simulation

In our simulation, defense strategy and simulation operation strategy are decided by reasoning based on the real-time battlefield situation and expert experience to optimize the simulation result. We have several evasion strategies, such as launching a decoy at specific position with a reasonable direction and moving mutely with higher speed alone against_direction, depending on the battlefield situation, the decoy status, and distance between the offence weapon and target. Different simulation strategies could be adopted in different situations to optimize the operating efficiency. When the attacker is far away from the target and any other special task, the simulation can run with super-real-time speed (in speedup status); only some staple detectors in work and many functionalities will not be executed or executed in less time (in light_caculate status). The simulation time will slow down when the attacker gets closer to the target and more powerful detector will be on duty.

The defense strategy and simulation operation strategy are decided by a reasoning . The detail is as follows (Figure 9). We proposed a new fuzzy-reasoning algorithm based on confidence fuzzy rules and embedded it into Fuzzy CLIPS. The extended Fuzzy CLIPS is encapsulated into the as a reasoning engine. The rules coming from expert knowledge are stored as a file (*.clp) and will be loaded to the rule base. At running time, different strategies will be made according to the battlefield situation. Some of the confidence fuzzy rules are as follows.

*Rule 1. **IF* Weapon_distance_medium *AND* Decoy1_ready *THEN* Change_Direction_with_large_angle AND evade_mutely *AND *Launch_Decoy1, *Confidence:* 0.85.

*Rule 2. **IF* Weapon_distance_ short *THEN* Evade_full_speed, *Confidence:* 0.9.

*Rule 3. **IF *Distance_between_attacker_target_far *THEN* simulation_speedup AND light_caculate, *Confidence:* 0.9.

##### 5.3. Simulation Results and Analysis

The initial speeds of attacker and target are both 18 m/s. When the offence weapon is launched, its initial speed is 20 m/s. The detection range is 1.5 km apart. The initial distance between attacker and target is 8 Km. The simulation is executed in two situations. First, defense strategy is fixed as evade_full_speed or Lauch_Decoy1 or Lauch_Decoy2 randomly and running speed is also fixed. Secondly, the reasoning model will be used. The simulation time and data communication can be saved significantly at the beginning because of simulation_speedup and light_caculate strategy.

In fact, the voyage of the weapon is one of the key factors in the survival probability of the target. If the voyage is long enough, the target will be destroyed with probability 1. If it is short, the weapon will exhaust before catching the target. We set different voyages for the weapon, and the simulation is executed 20 times for each voyage in the two situations. The average survival probability is shown in Figure 10. We can see that when the voyage is shorter than 8140 m, the target will always survive, and if the voyage is longer than 8380 m, the target will be destroyed absolutely. Between 8380 m and 8140 m, the probability of survival is higher, when we simulate based on qualitative and quantitative integrated models.

#### 6. Conclusions and Future Works

In this paper, we have proposed a new specification to modeling qualitative and quantitative hybrid system for stochastic simulation and optimization. The new specification is defined at three levels and its self-closed feature is proven to be self-closed formally. The definition of factors needed to describe the integrated models and corresponding *Mapping* and *Coupling *is presented in detail. This provides a new way to take advantage of qualitative models in stochastic simulation. A stochastic simulation defense system was modeled and realized using the proposed specification; a reasoning engine is encapsulated as a qualitative and interacts with quantitative models at running time. The result shows that the hybrid models can optimize the stochastic simulation significantly on both the execution process and the performance.

As future works, the dynamic behavior and schedule engine of qualitative and quantitative integrated models for stochastic simulation in different application should be a great work that will be promoted in detail and verified. Also, more working on the integration relationship, interaction, and time management of qualitative and quantitative stochastic models are significant for the new specification.

#### Acknowledgments

This work was supported by Major Basis Research under Grant no. C0420110005 in China. The authors acknowledge and appreciate all the team members. They are also grateful to editors and reviewers for their constructive comments, which helped improve this paper greatly.

#### References

- M.-J. Son and T.-W. Kim, “Torpedo evasion simulation of underwater vehicle using fuzzy-logic-based tactical decision making in script tactics manager,”
*Expert Systems with Applications*, vol. 39, no. 9, pp. 7995–8012, 2012. View at: Publisher Site | Google Scholar - L. I. Wenwei, “Research on the development and application of the method of qualitative simulation,”
*System Simulation Technology*, vol. 4, no. 2, pp. 71–74, 2008 (Chinese). View at: Google Scholar - S. Fan, B.-H. Li, X.-D. Chai, B.-C. Hou, and T. Li, “Studies on complex system qualitative and quantitative synthetically modeling technologies,”
*Journal of System Simulation*, vol. 23, no. 10, pp. 2227–2233, 2011. View at: Google Scholar - S. Fan, B.-H. Li, X.-D. Chai, and X.-D. Huang, “Studies on qualitative and quantitative integration model computing technology,”
*Journal of System Simulation*, vol. 23, no. 9, pp. 1980–1984, 2011. View at: Google Scholar - F. E. Cellier, “Mixed quantitative and qualitative simulation in modelica,” in
*Proceedings of the 7th Modelica Conference*, pp. 86–95, Como, Italy, September 2009. View at: Google Scholar - M. Samejima, M. Akiyoshi, K. Mitsukuni, and N. Komoda, “Business scenario evaluation using monte carlo simulation on qualitative and quantitative hybrid model,”
*Electrical Engineering in Japan*, vol. 170, no. 3, pp. 9–18, 2010. View at: Publisher Site | Google Scholar - T. Li, B.-H. Li, X.-D. Chai, and S. Fan, “Research on knowledge modeling and joint simulation method of complex qualitative system,”
*Journal of System Simulation*, vol. 23, no. 6, pp. 1256–1260, 2011. View at: Google Scholar - V. Varho and P. Tapio, “Combining the qualitative and quantitative with the Q
_{2}scenario technique—the case of transport and climate,”*Technological Forecasting and Social Change*, vol. 80, no. 4, pp. 611–630, 2013. View at: Publisher Site | Google Scholar - H.-g. Liu, J.-j. Wu, and Q.-z. Chen, “Fault diagnosis reasoning based on integration of qualitative reasoning and quantitative simulation,”
*Journal of System Simulation*, vol. 15, no. 5, pp. 689–692, 2003. View at: Google Scholar - A.-F. Shi, Q.-Z. Wu, K. Huang, and H. Zheng, “Study on characteristic of qualitative models and simulation about complex weapon system,”
*Journal of System Simulation*, vol. 18, no. 2, pp. 591–593, 2006 (Chinese). View at: Google Scholar - K. Ogata,
*Modern Control Engineering*, Prentice Hall, Upper Saddle River, NJ, USA, 5th edition, 2009. - K. Edström, “Simulation of Newton's pendulum using switched bond graphs,” 1998, http://citeseerx.ist.psu.edu/. View at: Google Scholar
- R. David and H. Alla, “On hybrid Petri nets,”
*Discrete Event Dynamic Systems*, vol. 11, no. 1-2, pp. 9–40, 2001. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - D. Karnopp, R. Rosenberg, Perelson, and S. Alan,
*System Dynamics: A Unified Approach*, John Wiley & Sons, New York, NY, USA, 1976. - B. P. Zeigler, H. Praehofer, and T. G. Kim,
*Theory of Modeling and Simulation*, Academic Press, New York, NY, USA, 2nd edition, 2000. - B. H. Li, X. Chai, X. Yan, and B. Hou,
*Multi-Disciplinary Virtual Prototype Modeling and Simulation Theory and Application*, Nova Science, New York, NY, USA, 2012. - L. Ironi and L. Panzeri, “Qualitative simulation of nonlinear dynamical models of gene-regulatory networks.,” in
*Proceedings of the 22nd International Workshop on Qualitative Reasoning*, University of Colorado, Boulder, Colo, USA, 2008. View at: Google Scholar - C.-X. Shao and F.-Z. Bai, “Technology of qualitative simulation and its application,”
*Journal of System Simulation*, vol. 16, no. 2, pp. 202–208, 2004 (Chinese). View at: Google Scholar - Y. Hashiura, T. Fujimoto, and T. Matsuo, “Qualitative simulation models for non-autonomous systems,” in
*Proceedings of the 21st International Conference on Systems Engineering (ICSEng '11)*, pp. 392–397, August 2011. View at: Publisher Site | Google Scholar - H. Yang, B. Hu, and L. Zhang, “Analysis for the quality risk evolution of highway engineering construction based on qualitative simulation,” in
*Proceedings of the International Conference on Computer Science and Service System (CSSS '11)*, pp. 212–215, June 2011. View at: Publisher Site | Google Scholar - H. Wang and W.-J. Li, “Study on the Qualitative simulation-based customer churn prediction,” in
*Proceedings of the International Symposium on Information Engineering and Electronic Commerce (IEEC '09)*, pp. 528–532, May 2009. View at: Publisher Site | Google Scholar - B. Hu and R. Xiao, “Qualitative simulation for complex systems,”
*System Simulation Technology*, vol. 2, no. 1, pp. 1–10, 2006 (Chinese). View at: Google Scholar - R.-w. Dai, “The proposal and recent development of meta-synthetic method from qualitative to quantitative,”
*Chinese Journal of Nature*, vol. 31, no. 6, pp. 311–314, 2009 (Chinese). View at: Google Scholar - F. Baader, D. L. McGuinness, D. Nardi, and P. Patel-Schneider,
*The Description Logic Handbook: Theory, Implementation and Applications*, Cambridge University Press, Cambridge, Mass, USA, 2003. - F. Baader, C. Lutz, M. Miličić, U. Sattler, and F. Wolter, “Integrating description logics and action formalisms: First results,” in
*Proceedings of the 20th National Conference on Artificial Intelligence and the 17th Innovative Applications of Artificial Intelligence Conference (AAAI '05/IAAI '05)*, pp. 572–577, July 2005. View at: Google Scholar - A. Borgida, “On the relative expressiveness of description logics and predicate logics,”
*Artificial Intelligence*, vol. 82, no. 1-2, pp. 353–367, 1996. View at: Publisher Site | Google Scholar | MathSciNet - D.-Y. Cho, M.-J. Son, J.-H. Kang et al., “Analysis of a submarine's evasive capability against an antisubmarine warfare torpedo using devs modeling and simulation,” in
*Proceedings of the Spring Simulation Multiconference and DEVS Integrative Modeling and Simulation Symposium (DEVS)*, pp. 307–315, Norfolk Marriott Waterside, Norfolk, Virginia, USA, 2007. View at: Google Scholar

#### Copyright

Copyright © 2013 Xuefeng Yan et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.