CN114528636A - Ship mission system simulation method under complex constraint condition - Google Patents

Ship mission system simulation method under complex constraint condition Download PDF

Info

Publication number
CN114528636A
CN114528636A CN202210045152.8A CN202210045152A CN114528636A CN 114528636 A CN114528636 A CN 114528636A CN 202210045152 A CN202210045152 A CN 202210045152A CN 114528636 A CN114528636 A CN 114528636A
Authority
CN
China
Prior art keywords
state
ship
task
simulation
running
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210045152.8A
Other languages
Chinese (zh)
Inventor
袁昊劼
邵松世
刘海涛
刘超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Naval University of Engineering PLA
Original Assignee
Naval University of Engineering PLA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Naval University of Engineering PLA filed Critical Naval University of Engineering PLA
Priority to CN202210045152.8A priority Critical patent/CN114528636A/en
Publication of CN114528636A publication Critical patent/CN114528636A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a ship task system simulation method under a complex constraint condition, which comprises the following steps: setting simulation constraint conditions, generating an initial running state of the ship task system, and acquiring the running state of the ship task system at any moment according to an established running state transfer equation of the ship task system for the simulation task; judging whether the simulation task reaches an end condition or not according to the running state of the ship task system at any moment and the running time of the ship task system at the moment; when the simulation task reaches the end condition, executing the next simulation task until the total number of the simulation tasks reaches the simulation times; and calculating the success rate of all simulation tasks. The embodiment of the invention models and simulates the success of the ship task system under various complex constraint conditions, accurately analyzes the main factors influencing the success of the ship task system, and provides a basis for the availability of the ship task system.

Description

Ship mission system simulation method under complex constraint condition
Technical Field
The invention relates to the field of ship equipment, in particular to a ship task system simulation method under a complex constraint condition.
Background
Ship mission systems are subject to a variety of constraints and limitations during mission execution, including usage constraints, maintenance constraints, and security resource constraints, which all affect the success of the mission system.
Therefore, it is necessary to deeply analyze the main use constraints, maintenance constraints and guarantee resource constraints affecting the operation of the ship mission system, and study the success modeling and simulation of the mission system under these constraints so as to quantitatively analyze the main factors affecting the success of the mission.
Disclosure of Invention
The embodiment of the invention provides a ship mission system simulation method under a complex constraint condition, which overcomes the problems or at least partially solves the problems, and can quantitatively analyze main factors influencing the success of a ship mission system.
The ship task system simulation method under the complex constraint condition provided by the embodiment of the invention comprises the following steps:
s1, setting initial simulation parameters, wherein the initial simulation parameters at least comprise use constraint conditions, maintenance constraint conditions, guarantee resource constraint conditions, ending conditions of each simulation task and simulation times of the ship task system;
s2, generating an initial running state of the ship task system, and for the simulation task, obtaining the running state of the ship task system at any moment according to the established running state transfer equation of the ship task system;
s3, judging whether the simulation task reaches the end condition according to the running state of the ship task system at any moment and the running time of the ship task system at the moment;
s4, when the simulation task reaches the end condition, executing the next simulation task, and repeatedly executing S2-S4 until the total number of the simulation tasks reaches the simulation times;
and S5, calculating the success rate of all simulation tasks.
According to the ship task system success simulation method under the complex constraint condition, provided by the embodiment of the invention, the success of the ship task system is modeled and simulated under various complex constraint conditions, main factors influencing the success of the ship task system are accurately analyzed, and a foundation is provided for the availability of the ship task system.
Drawings
Fig. 1 is a flowchart of a method for successfully simulating a ship mission system under a complex constraint condition according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a ship mission system simulation method under a complex constraint condition according to an embodiment of the present invention, and as shown in fig. 1, the simulation method includes: s1, setting initial simulation parameters, wherein the initial simulation parameters at least comprise use constraint conditions, maintenance constraint conditions, guarantee resource constraint conditions, ending conditions of each simulation task and simulation times of the ship task system; s2, generating an initial running state of the ship task system, and for the simulation task, obtaining the running state of the ship task system at any moment according to the established running state transfer equation of the ship task system; s3, judging whether the simulation task reaches the end condition according to the running state of the ship task system at any moment and the running time of the ship task system at the moment; s4, when the simulation task reaches the end condition, executing the next simulation task, and repeatedly executing S2-S4 until the total number of the simulation tasks reaches the simulation times; and S5, calculating the success rate of all simulation tasks.
It will be appreciated that the ship mission system may be subject to a variety of constraints and limitations during mission execution, including usage constraints, maintenance constraints, and security resource constraints, which all affect the success of the mission system. Therefore, it is necessary to deeply analyze the main use constraints, maintenance constraints and guarantee resource constraints affecting the operation of the ship mission system, and study the success modeling and simulation of the mission system under these constraints so as to quantitatively analyze the main factors affecting the success of the mission system.
Based on the above, the embodiment of the invention provides the method for simulating the success of the ship task system under the complex constraint condition, and the initial simulation parameters are set, wherein the initial simulation parameters comprise various complex constraint conditions, the end condition of each simulation task and the total simulation times. When simulation is started, the initial running state of each simulation task is generated, and for any simulation task, the running state of the ship task system at any moment is obtained according to the established running state transfer equation of the ship task system. And for any moment, judging whether the task is finished or not according to the running state of the ship task system and the running time of the ship task system at the moment, and if so, recording whether the task is successful or failed. And after the task simulation is finished, simulating the next task until the number of times of the simulation tasks reaches the set total number of times of the simulation tasks.
And counting the success times and failure times of all the simulation tasks, and calculating the success rate of all the simulation tasks.
In one possible embodiment, it can be understood that the main factors influencing the operation of the mission system during the mission of the ship mission system generally include three aspects of use constraints, maintenance constraints and security resource constraints.
In the process of executing a specified task by a ship task system, an operator needs to efficiently complete the specified task and comprehensively consider the operation of other tasks of a ship, certain use constraints or limitations are often provided for the use of partial units forming the task system, and the use constraints or limitations on the units are often reflected in use rules. Task system usage constraints as common include:
(1) cell state maximum duration. The task system limits the duration of a partial unit in a certain state during the execution of a task. If a redundant task system is formed by a main unit and a spare unit, the spare unit takes over the corresponding functions when the main unit fails, but since the spare unit has a poorer functional accuracy than the main unit, the maximum operation time of the spare unit is usually specified in terms of meeting the task requirements.
These constraints will affect the belief transfer process of the task system when the partial units have a maximum duration specification. Is provided with a unit AiIn a state SiLower duration exceeding Ti,maxThis can result in the task system failing to meet the specified accuracy requirements. If the task system enters the current state
Figure BDA0003471824190000041
While, unit AiTransition from other states to state SiAt this time, the unit AiState S ofiThe actual duration of (c) is:
Figure BDA0003471824190000042
wherein, Ti (k)Is a unit AiIn a state SiCorresponding life of due to unit AiIs influenced by the maximum duration and thus indirectly influences the state transition to the task system.
(2) And the minimum duration constraint of the unit state is to limit the minimum duration of part of the units in the ship mission system in a certain state, such as the minimum starting time of the inertial navigation equipment. Similarly, when cell A isiIn a state SiThe minimum duration is specified as Ti,minIf the system enters the current state
Figure BDA0003471824190000043
While, unit AiTransition from other states to state SiAt this time, the slave state S should be generatediCorresponding distributed random variable Ti (k). At this time, the unit AiState S ofiThe actual duration of (c) is:
Figure BDA0003471824190000044
for maintenance constraint analysis of a ship mission system, in order to effectively improve the success of the mission system, not only the fault unit needs to be maintained in time, but also the maintenance requirements of the unit are specified according to the use and maintenance characteristics of the unit, such as regular maintenance and maintenance, regular maintenance and the like of the unit, and the maintenance requirements of the units can improve the availability of the unit, thereby affecting the success of the mission system. System maintenance constraints as common include:
(1) unit maximum allowed repair time constraints. In a ship system, after some units fail, the maintenance is required to be carried out in time, namely the failed units are repaired within a specified time range, otherwise, the task failure is caused. A maximum allowable maintenance time limit is often specified for such units.
If the system includes such maintenance-restricted units, unit A is not providediHas a maximum allowable maintenance time of TrmaxAdding a state S in the system failure state seti-errorDenotes due to the unit AiFailure to successfully repair within the allowed time. When the unit enters a fault state from other states, the system state is converted into a system state
Figure BDA0003471824190000051
Then, the unit is immediately maintained for a period of time Tir. If Tir≤TrmaxI.e. the cell a is repaired within a specified maximum allowed timeiAt this time, the subsequent state transition of the system is not influenced; if TirTrmax, i.e. cells A are not repaired at the specified maximum allowable timeiThen the system is in the state
Figure BDA0003471824190000052
At most for TrmaxDuration, then enters fault state Si-error
(2) The regular maintenance of the units is restricted, and for important units in the task system, a regular maintenance mode is adopted, so that faults can be prevented in the bud. After regular maintenance, the unit performance is recovered as before, the failure occurrence rate is reduced, and the success of the task system is improved.
For the guarantee resource constraint of the ship mission system, in order to effectively maintain the availability of ship equipment, related maintenance personnel, technical data, spare parts, guarantee equipment and other guarantee resources must be reasonably configured, and support is provided for fully playing the fighting efficiency of the ship equipment. Among the many ship equipment support factors, the spare part support capability is a major factor that affects the availability of equipment/systems and the success of various tasks, relative to factors such as the maintenance capability of maintenance personnel and the maintenance capability of maintenance equipment. Due to the limitation of the internal space environment of the ship, the ship equipment is usually repaired in a piece-changing mode. If the required spare parts cannot be obtained in the equipment maintenance process, the equipment cannot be repaired in time, and therefore the task system is influenced to complete the specified tasks. For a ship mission system, during long-term offshore mission execution far away from the local place, the replenishment of various guarantee resources (particularly spare parts used for maintenance) is often long in period and high in cost, so that the spare parts required for equipment maintenance guarantee are mainly carried along with the ship, and the success of the mission system is directly influenced by the limitation of the spare part resources.
After the use constraint condition and the maintenance constraint condition of the ship task system are defined, the action mechanism of the use constraint condition and the maintenance constraint condition on the task success is introduced.
In the operation process of the ship task system, the operation process of the task system is changed due to the restriction of factors such as use, maintenance, resource guarantee and the like, and the success of the task system is finally influenced. Among these factors, the use factor and the maintenance factor often directly affect the state keeping and the state transition direction of the task system, and the factors such as resource guarantee mainly affect the maintenance activities.
Let the current running state of the ship mission system be
Figure BDA0003471824190000061
Operating state of ship mission system
Figure BDA0003471824190000062
The number of the units in the working state and the fault state is h (h is more than or equal to 1 and less than or equal to n), the units are not considered to be the first h units of the ship mission system, and the corresponding h units are respectively A1,A2,...,Ah
Figure BDA0003471824190000063
The running state of each unit in the h units of the ship mission system is determined; for ship mission system operating state
Figure BDA0003471824190000064
The operating duration of the h units in this operating state is respectively
Figure BDA0003471824190000065
The ship mission system is in operation
Figure BDA0003471824190000066
Duration of operation of
Figure BDA0003471824190000067
The relationship with the usage constraint, the maintenance constraint, the guaranteed resource constraint, and the operation duration of the h units in the operating state can be expressed as:
Figure BDA0003471824190000068
the Use _ restrn, Rep _ restrn, and Res _ restrn respectively represent a Use constraint condition, a maintenance constraint condition, and a guarantee resource constraint condition.
As can be seen from the above formula, although the duration of each unit state is subject to exponential distribution under the unconstrained condition, the task system is in the state at this time because the system state is limited by the constraints of use, maintenance, resource guarantee and the like
Figure BDA0003471824190000069
Duration of
Figure BDA00034718241900000610
The distribution law of (a) does not follow exponential distribution.
Further analysis shows that although the state keeping and the state transition of the task system are influenced by the use constraint conditions, the maintenance constraint conditions, the resource guarantee constraint conditions and other constraint factors, the inherent life rule and the maintenance rule of the units are not influenced, namely, the operation rule of each unit has no memory, so that the operation state transition of the task system still has Markov property, namely, the operation process of the task system actually follows the Markov updating process under the constraint conditions of use, maintenance, resource guarantee and the like.
In one possible embodiment, S2 includes: constructing an expression equation of the state duration of the ship task system in the kth running state; establishing a judgment condition for transferring the ship task system from the kth running state to the (k +1) th running state according to the state duration of the ship task system in the kth running state and the state duration of each unit; and constructing a state transition matrix between every two running states in the running state set of the ship task system based on the established judgment condition for the running state transition of the ship task system, wherein the state transition matrix describes the running state set of the ship task system and whether the running state set can be transferred between every two running states.
It is understood that the above analysis of the operation duration of the task system in each state is performed, and the following analysis of the operation state transition process of the task system at different times is performed.
The task system is composed of n units, which are respectively marked as A1,A2,...,AnWherein the unit AiCo-occurrence of m during a taskiThe species states are respectively recorded as
Figure BDA0003471824190000071
And assuming that all cells are in each stateObey an exponential distribution. At this time, the state of the task system may be represented as Ssystem=(S1,S2,....,Sn). Meanwhile, according to the successful judgment criterion of the task system, the state set { Se) of the task system can be setsystemDivide into success status set { Sw }systemAnd a set of failure states Sfsystem}。
(1) Simulated representation of cell states. For cell AiIn terms of, m is totaliThe exclusive state, the duration of which in a certain state is mainly determined by the performance of the unit itself and the maintenance resources. In particular, if unit AiIf the standby state exists, the time length of the standby state is determined by the states of other units, and as long as other units can successfully complete the system task, the unit AiThe state of the device is not changed; otherwise Unit AiFrom the standby state to the other state to assume the system tasks. Thus, if the unit AiThere is a standby state, m can beiThe state is set as a standby state and m is usedi-1A variable quantity
Figure BDA0003471824190000072
Respectively represents the unit A under the current system stateiIn its 1 st, 2 nd, etci-1The duration of the seed state. Due to the unit AiM ofiSeed states are mutually exclusive, so variables are
Figure BDA0003471824190000073
At most, there is only one non-0 variable, a non-0 variable representing unit AiIn the state corresponding to the variable; if all variables are 0, then the unit A is representediAt m thiThe seed state, i.e., the standby state. If unit AiIf there is no standby state, the number of variables is equal to the number of states of the cell.
(2) A simulated representation of the constraints is used. Under the unconstrained condition, the state duration of the task system is actually the minimum value of the current working condition durations of all units, and the transfer direction of the task system is determined by the unit which changes the state at the earliest. In at least one position ofUnder the condition of the use limitation, the duration of the unit composing the task system in the system state should also satisfy the use constraint condition. Thus, the usage constraint may be expressed in terms of the life or service time of the unit. For example, for a heading measurement system, to maintain measurement accuracy, a single maximum duration T is proposed for the gyrocompassC,maxThe starting time of the inertial navigation equipment is not less than Ts,min. At this time, the use constraint of the task system is:
Use_restrn={min(TAs,TBs)≥Ts,min,TC≤TC,max};
wherein, TAs,TBs,TCRespectively, the start-up time of the inertial navigation device A, B and the single operation time of the gyrocompass.
(3) A simulated representation of the repair constraint. In contrast, the maintenance constraint and the guaranteed resource constraint not only involve a plurality of factors, but also have various constraint forms, and a representation method of the maintenance constraint and the guaranteed resource constraint needs to be determined according to different task system characteristics. As for a certain heading measuring system, from the viewpoint of improving the availability of the gyrocompass, the gyrocompass is usually overhauled regularly, and the overhaul interval is TCrI.e. when the cumulative failure-free running time of the gyrocompass exceeds TCrAnd carrying out maintenance in time. When the gyrocompass is in the state
Figure BDA0003471824190000081
In the working state, the state is
Figure BDA0003471824190000082
The cumulative operating time of the gyrocompass at the end is as follows:
Figure BDA0003471824190000083
if it is
Figure BDA0003471824190000084
The gyrocompass is stopped and overhauled to make TC,op0, gyrocompassWorking TC,wRegenerating; if it is
Figure BDA0003471824190000085
The gyrocompass compass is not overhauled. If the gyrocompass is in the next state
Figure BDA0003471824190000086
And if the gyroscope compass is still in a working state, the gyroscope compass is not overhauled.
(4) A simulated representation of the guaranteed resource constraint. The method is characterized in that the guarantee resource is used as a main restriction factor influencing the success of a task, due to the complexity of a spare part configuration scheme, the influence of each kind of spare parts on the success of the task is analyzed one by one, so that not only is a model extremely complex, but also military requirements of different tasks are difficult to be simply converted into the guarantee requirements of ship spare parts, and as a result, the current ship carrying spare parts are mainly configured according to experience and cannot be configured according to the military requirements, which is an important reason that the guarantee capability of the ship-following spare parts is generally not high.
In order to better establish a system task success model, the embodiment of the invention enables ship spare parts to be equivalent to complete machine backup of equipment (units) so as to simplify the complexity of task success modeling. Suppose that the task system is composed of n units, and the complete machine redundancy of the ith unit is ni(i ═ 1, 2.., n), then the spare part resource constraint can be expressed as:
Figure BDA00034718241900000912
wherein, Fi (k)Indicating that the task system is in a state
Figure BDA0003471824190000091
Time unit AiThe accumulated number of failures. Obviously, when Fi (k)>niWhen the unit i fails, the accumulated failure frequency of the unit i exceeds the redundancy of the whole machine, namely no spare part can be used for maintenance, and the unit i is always in a failure state and cannot work.
When the system is in the state
Figure BDA0003471824190000092
At the beginning, the state of each unit in the state is obtained, h (h is more than or equal to 1 and less than or equal to n) units are set to be in working or maintenance state, and the corresponding state duration time is respectively
Figure BDA0003471824190000093
If unit AiState S ofi (k)Is SijThen T isi (k)=Tij. According to the competition model of the running state of the task system, the current state of the system can be known
Figure BDA0003471824190000094
Duration of (2)
Figure BDA0003471824190000095
At this time, whether the task system enters the next state
Figure BDA0003471824190000096
Depending on:
Figure BDA0003471824190000097
Figure BDA0003471824190000098
indicating unit ALThe state change is firstly generated under the condition of meeting the use, maintenance and guarantee resource constraint conditions, and the next state of the system state transition is determined according to the use rule of the task system. In the system state
Figure BDA0003471824190000099
End, i.e. system state
Figure BDA00034718241900000910
And at the starting moment, updating the states of all units of the system and the specific time of the states. Wherein, if the unit AiEnter a new state SijThen it holdsDuration regeneration, being a random variable subject to the distribution type and parameter corresponding to the new state, i.e. Ti (k+1)=Tij'And update Tij0; if the cell A is in a non-standby stateiKeeping the current state unchanged, the state duration of the cell is updated,
Figure BDA00034718241900000911
in a possible embodiment, in the set of operating states of the ship task system constructed based on the established judgment condition of the operating state transition of the ship task system, a state transition matrix between every two operating states is specifically used for conveniently representing the task system { Se } in order to realize the task systemsystemThe state transition of the ship mission system is set as a running state set (Se) of the ship mission systemsystemN running states are shared, and are respectively recorded as Se1,Se2,...,SeN(ii) a According to the working process of the ship task system, judging whether the ship task system can be operated from the operation state Se one by oneiDirect one-step transition to operating state SejAnd use in combination of aijIs shown, in which:
Figure BDA0003471824190000101
thus, the running state transition matrix A ═ (a) of the ship mission system is constructedij)N×NWherein the elements in the running state transition matrix a include 0 and 1, reflecting possible transitions of the system state. Obviously, Se if the system stateiFor a successful state, the system may transition from that state to another state, namely aij(j is more than or equal to 1 and less than or equal to N) is not all 0; otherwise the system state is absorption state, i.e. aij=0(1≤j≤N)。
The kth running state experienced by the ship mission system from the mission start time
Figure BDA0003471824190000102
Set of running states { Se) for ship mission systemsystemElement in (iv), vessel mission lineKth state of the system
Figure BDA0003471824190000103
Can use N dimension unit row vector x(k)Is represented by the formula, wherein x(k)That is, (0,0,. 1,0,. 0), the ith element of the vector is 1, and the other elements are all 0. Determining a state vector x of the ship task system for transferring from the kth running state to the (k +1) th running state by using a ship task system running state transfer matrix A(k+1)Is x(k+1)=x(k)A; wherein, if x(k+1)Is a unit vector and indicates the (k +1) th running state of the ship mission system
Figure BDA0003471824190000104
Is unique, vector x(k+1)The position of the medium non-zero element corresponds to the (k +1) th running state of the ship task system; if x(k+1)If the current k-th running state is the absorption state of the ship task system, the task failure is indicated; if x(k+1)Neither unit vector nor zero vector, indicating the (k +1) th operating state of the ship mission system
Figure BDA0003471824190000105
There are many possibilities that the choice of the (k +1) th operating state depends on the operating state of the unit that first changes state among the units constituting the ship mission system, in which case the state durations of these units in the k-th state need to be compared.
In a possible embodiment, the determining whether the simulation task reaches the end condition according to the running state of the ship task system at any time and the running time of the ship task system at the time includes: determining the current running state of the simulation task and the running time of a ship task system at the current moment according to the initial running state and the running state transition equation of the simulation task; when the current running state of the simulation task is a fault state or the running time of the ship task system reaches the set task running time, the simulation task is ended, and whether the simulation task is successful or not is recorded.
When the simulation task is finished, if the current running state of the simulation task is a fault state, the execution of the simulation task fails; if the running time of the simulation task reaches the set task running time, the simulation task is executed successfully.
It will be appreciated that the runtime of each simulation task is given by TallAt this time, the running time of the task system is T. If T is less than TallThe system state enters the set of failed states SfsystemFifthly, the task fails; if T ═ TallThe system state is still in the successful state set { SwsystemAnd if yes, the task is successful.
Because of the generation of a large number of random numbers involved in the simulation process, the result of a single task is also random. When the simulation process is repeated R times, recording the successful times R of the tasksThen, then
Figure BDA0003471824190000111
The frequency of success of the task for the simulation was obtained. According to the law of large numbers, when the simulation times R infinitely increase, the frequency of successful tasks
Figure BDA0003471824190000112
And converging to the task success rate according to the probability. Therefore, when the simulation times R are sufficiently large, the simulation can be used
Figure BDA0003471824190000113
Approximately representing the task success rate. It is generally desirable that the number of simulations R be between 10000 and 100000. After the simulation is finished, recording the accumulated failure frequency F of the unit ii (k)The success rate of all simulation tasks can be calculated, and whether the ship task system is available or not can be judged according to the success rates of all simulation tasks.
The ship task system simulation method under the complex constraint condition provided by the embodiment of the invention sets the simulation constraint condition, generates the initial running state of the ship task system, and obtains the running state of the ship task system at any moment according to the established running state transfer equation of the ship task system for the simulation task; judging whether the simulation task reaches an end condition or not according to the running state of the ship task system at any moment and the running time of the ship task system at the moment; when the simulation task reaches the end condition, executing the next simulation task until the total number of the simulation tasks reaches the simulation times; and calculating the success rate of all simulation tasks. The embodiment of the invention models and simulates the success of the ship task system under various complex constraint conditions, accurately analyzes the main factors influencing the success of the ship task system, and provides a foundation for the availability of the ship task system.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include such modifications and variations.

Claims (10)

1. A ship mission system simulation method under a complex constraint condition is characterized by comprising the following steps:
s1, setting initial simulation parameters, wherein the initial simulation parameters at least comprise use constraint conditions, maintenance constraint conditions, guarantee resource constraint conditions, ending conditions of each simulation task and simulation times of the ship task system;
s2, generating an initial running state of the ship task system, and for the simulation task, obtaining the running state of the ship task system at any moment according to the established running state transfer equation of the ship task system;
s3, judging whether the simulation task reaches the end condition according to the running state of the ship task system at any moment and the running time of the ship task system at the moment;
s4, when the simulation task reaches the end condition, executing the next simulation task, and repeatedly executing S2-S4 until the total number of the simulation tasks reaches the simulation times;
and S5, calculating the success rate of all simulation tasks.
2. The simulation method of claim 1, wherein the ship mission system comprises a plurality of units, and the usage constraints of the ship mission system comprise a unit state maximum duration constraint and/or a unit state minimum duration constraint;
when the cell state maximum duration constraint is set, cell AiState S ofiThe actual duration of (c) is:
Figure FDA0003471824180000011
cell A when cell state minimum duration constraint is setiState S ofiThe actual duration of (c) is:
Figure FDA0003471824180000012
wherein i represents the number of the cell, Ti (k)Is a unit AiIn a state SiCorresponding life of, Ti,maxFor a set maximum duration of the cell state, Ti,minK is the kth operating state for the set cell state minimum duration.
3. The simulation method of claim 1, wherein the repair constraints comprise a unit maximum allowed repair time constraint and a unit scheduled overhaul constraint, and the guaranteed resource constraint comprises at least a spare part guaranteed capability constraint.
4. The simulation method according to claim 1, wherein the S2 includes:
constructing an expression equation of the state duration of the ship task system in the kth running state;
establishing a judgment condition for transferring the ship task system from the kth running state to the (k +1) th running state according to the state duration of the ship task system in the kth running state and the state duration of each unit;
and constructing a state transition matrix between every two running states in the running state set of the ship task system based on the established judgment condition for the running state transition of the ship task system, wherein the state transition matrix describes whether the running state set of the ship task system can be transferred between every two running states.
5. The simulation method of claim 4, wherein the constructing an expression equation for the state duration of the ship mission system at the kth operating state comprises:
let the current running state of the ship mission system be
Figure FDA0003471824180000021
Wherein, the ship mission system has n units in total, and the ship mission system is in the running state
Figure FDA0003471824180000022
The number of the units in working state and fault state is h, and the corresponding h units are A respectively1,A2,...,Ah
Figure FDA0003471824180000023
The operation state of each unit of the ship mission system;
for ship mission system operating state
Figure FDA0003471824180000024
The operating duration of the h units in this operating state is respectively
Figure FDA0003471824180000025
The ship mission system is in operation
Figure FDA0003471824180000026
Duration of operation of
Figure FDA0003471824180000027
The relationship with the usage constraint, the maintenance constraint, the guaranteed resource constraint, and the operation duration of the h units in the operating state can be expressed as:
Figure FDA0003471824180000028
the Use _ restrn, Rep _ restrn, and Res _ restrn respectively represent a Use constraint condition, a maintenance constraint condition, and a guarantee resource constraint condition.
6. The simulation method according to claim 5, wherein the establishing of the decision condition for the ship mission system to transition from the kth operating state to the (k +1) th operating state comprises:
ship mission system from current running state
Figure FDA0003471824180000031
Transfer to the next operating state
Figure FDA0003471824180000032
The judgment conditions of (1) are as follows:
Figure FDA0003471824180000033
wherein the content of the first and second substances,
Figure FDA0003471824180000034
indicating unit ALThe state change is taken place first when the use constraint condition, the maintenance constraint condition and the guarantee resource constraint condition are met, and the next operation state of the operation state transition of the ship task system is determined according to the use rule of the ship task system.
7. The simulation method according to claim 6, wherein the constructing a state transition matrix between every two running states in the running state set of the ship task system based on the established judgment condition of the running state transition of the ship task system comprises:
set of running states of ship mission system { Se }systemN running states are shared, and are respectively recorded as Se1,Se2,...,SeN
According to the working process of the ship task system, judging whether the ship task system can be operated from the operation state Se one by oneiDirect one-step transition to operating state SejAnd use in combination of aijIs shown, in which:
Figure FDA0003471824180000037
constructing a ship mission system running state transition matrix A ═ (a)ij)N×NWherein, the elements in the operation state transition matrix A comprise 0 and 1;
the kth running state experienced by the ship mission system from the mission start time
Figure FDA0003471824180000035
Set of running states for ship mission system { Se }systemElement in (j), kth state of ship mission System
Figure FDA0003471824180000036
Can use N dimension unit row vector x(k)Is represented by, wherein x(k)(0, 0., 1, 0.. 0), the vector having the ith element 1 and all other elements 0;
determining a state vector x of the ship task system for transferring from the kth running state to the (k +1) th running state by using a ship task system running state transfer matrix A(k+1)Is x(k+1)=x(k)·A;
Wherein, if x(k+1)Is a unit vector and indicates the (k +1) th running state of the ship mission system
Figure FDA0003471824180000041
Is unique, vector x(k+1)The position of the medium non-zero element corresponds to the (k +1) th running state of the ship task system;
if x(k+1)If the current k-th running state is the absorption state of the ship task system, the task failure is indicated;
if x(k+1)Neither unit vector nor zero vector, indicating the (k +1) th operating state of the ship mission system
Figure FDA0003471824180000042
There are many possibilities that the selection of the (k +1) th operation state depends on the operation state of the unit that has changed state first among the plurality of units constituting the ship mission system.
8. The simulation method according to any one of claims 1 to 7, wherein the determining whether the simulation task reaches the end condition according to the running state of the ship task system at any one time and the running time of the ship task system at the time comprises:
determining the current running state of the simulation task and the running time of a ship task system at the current moment according to the initial running state and the running state transfer equation of the simulation task;
when the current running state of the simulation task is a fault state or the running time of the ship task system reaches the set task running time, the simulation task is ended, and whether the simulation task is successful or not is recorded.
9. The simulation method of claim 8, wherein the recording whether the simulation task was successful comprises:
when the simulation task is finished, if the current running state of the simulation task is a fault state, the execution of the simulation task fails;
if the running time of the simulation task reaches the set task running time, the simulation task is executed successfully.
10. The simulation method according to claim 1, wherein the step S5 is followed by:
and judging whether the ship task system is available according to the success rate of all the simulation tasks.
CN202210045152.8A 2022-01-14 2022-01-14 Ship mission system simulation method under complex constraint condition Pending CN114528636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210045152.8A CN114528636A (en) 2022-01-14 2022-01-14 Ship mission system simulation method under complex constraint condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210045152.8A CN114528636A (en) 2022-01-14 2022-01-14 Ship mission system simulation method under complex constraint condition

Publications (1)

Publication Number Publication Date
CN114528636A true CN114528636A (en) 2022-05-24

Family

ID=81619975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210045152.8A Pending CN114528636A (en) 2022-01-14 2022-01-14 Ship mission system simulation method under complex constraint condition

Country Status (1)

Country Link
CN (1) CN114528636A (en)

Similar Documents

Publication Publication Date Title
CN112560269B (en) Rhapbody state machine-based high fault tolerance electronic system task reliability simulation analysis method
US20040010733A1 (en) System and method for fault identification in an electronic system based on context-based alarm analysis
WO2018143019A1 (en) Information processing device, information processing method, and program recording medium
CN110740054A (en) data center virtualization network fault diagnosis method based on reinforcement learning
CN110598363A (en) Voting component spare part amount calculation method, voting component spare part amount simulation method, voting component terminal, and storage medium
CN111444631A (en) Comprehensive simulation method and system for warship combat applicability
Pitakrat et al. Increasing dependability of component-based software systems by online failure prediction (short paper)
CN114528636A (en) Ship mission system simulation method under complex constraint condition
US20220078087A1 (en) Mesh communication network provision
US8650142B2 (en) Method and device for performing a maintenance function
JP6016128B2 (en) Availability model generation support device, availability model generation support method, and program
KR20190059152A (en) System and method for data assimilation system of agent based simulation model
Jones Verified Cost-Effective High Reliability for New Deep Space Systems
CN115688025A (en) Method and system for estimating probability distribution of equipment fault repair time
Rees et al. Managing the uncertainties of software testing: a Bayesian approach
CN113377595B (en) Fault diagnosis method, device, electronic equipment and storage medium
US20220261986A1 (en) Diagnosis pattern generation method and computer
CN113568324B (en) Knowledge graph correction method based on simulation deduction
Gordon-Spears et al. Reconfigurable robot teams: modeling and supervisory control
WO2010033106A1 (en) Method and system using linear programming for estimating test costs for bayesian diagnostic models
CN109543276B (en) Method for determining spare part demand of multi-Gamma unit of long-term guarantee task of large cargo ship
CN114065937A (en) Equipment fault diagnosis method and device and terminal equipment
CN112162528A (en) Fault diagnosis method, device, equipment and storage medium of numerical control machine tool
CN116415407A (en) Ship reliability maintenance index distribution method considering task success
CN111191770A (en) Rocket system health state evaluation method based on fuzzy neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination