JPH07191956A - Discrete event driven simulation device - Google Patents

Discrete event driven simulation device

Info

Publication number
JPH07191956A
JPH07191956A JP33030493A JP33030493A JPH07191956A JP H07191956 A JPH07191956 A JP H07191956A JP 33030493 A JP33030493 A JP 33030493A JP 33030493 A JP33030493 A JP 33030493A JP H07191956 A JPH07191956 A JP H07191956A
Authority
JP
Japan
Prior art keywords
event
submission
job
batch
supply
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
JP33030493A
Other languages
Japanese (ja)
Inventor
Hiroyasu Toba
弘康 鳥羽
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP33030493A priority Critical patent/JPH07191956A/en
Publication of JPH07191956A publication Critical patent/JPH07191956A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To reduce the total number of events managed by an event queue to reduce the earliest processing event acquisition processing cost by not inserting a supplied event to the event queue till approximate arrival at the supply time with respect to a supply job. CONSTITUTION:This device is provided with a system model constituting means 11 which reads in simulation model description data from a storage device 2 and expands and constitutes a system model in the storage device 2, a first batch supply event generating means 12 which generates a supply job group consisting of supply jobs whose supply times are close and collects the supply start events of these supply jobs into one batch supply event to insert it to the event queue, and a job supply start event generating means which processes the batch supply event to insert the supply start events of jobs constituting the supply job group to the event queue.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、離散事象駆動型シミュ
レーション装置に関し、特に事象キューが管理する事象
の総数を削減する機能を有し、最早処理事象獲得処理コ
ストの低減をはかる装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a discrete event drive type simulation apparatus, and more particularly to an apparatus having a function of reducing the total number of events managed by an event queue and reducing the processing event acquisition processing cost.

【0002】[0002]

【従来の技術】従来、この種の離散事象駆動型シミュレ
ーション装置は、与えられたシミュレーションモデルに
おいて、シミュレーション開始時刻から終了時刻までの
シミュレーション期間中に生起する事象すべてに事象生
起時刻を設定して、離散事象キューに挿入しておき、離
散事象キューの中から生起時刻の早い順に事象を取り出
して、事象生起時刻をシミュレーション時刻に設定して
時計を進め、事象に対応する処理を行ない、離散事象キ
ューに存在する事象が存在しなくなるか、シミューレー
ション時刻がシミュレーション終了時刻に達するまで、
事象処理を進めることによって、モデル上での各種プリ
ミティブの挙動をシミュレーションしている。離散事象
駆動型シミュレーションの原理上、事象キューにはシミ
ュレーション期間に生起する事象がすべて挿入されてい
なければならない。
2. Description of the Related Art Conventionally, this kind of discrete event-driven simulation apparatus sets an event occurrence time for all events that occur during a simulation period from a simulation start time to an end time in a given simulation model, Insert into the discrete event queue, take out events from the discrete event queue in order of earliest occurrence time, set the event occurrence time to the simulation time and advance the clock, perform the processing corresponding to the event, and execute the discrete event queue. Until there is no event existing in or until the simulation time reaches the simulation end time,
The behavior of various primitives on the model is simulated by advancing event processing. On the principle of discrete event driven simulation, all events that occur during the simulation period must be inserted in the event queue.

【0003】離散事象駆動型シミュレーション方式によ
る従来の生産システムシミュレーション装置の例が特公
平2−42503号公報に記載されている。シミュレー
ションモデルとして記述された生産システム上をジョブ
処理事象を処理していくことによって、生産システム上
でのジョブ作業の流れをシミュレーションしている。そ
のため、シミュレーション期間中に処理されるジョブに
関する事象をシミュレータの離散事象キューにすべて挿
入しておくことにより、シミュレーションを実現してい
る。
An example of a conventional production system simulation apparatus based on a discrete event driven simulation method is described in Japanese Patent Publication No. 2-42503. By processing job processing events on the production system described as a simulation model, the flow of job work on the production system is simulated. Therefore, the simulation is realized by inserting all the events related to the jobs processed during the simulation period into the discrete event queue of the simulator.

【0004】[0004]

【発明が解決しようとする課題】生産システム離散事象
駆動型シミュレーション装置においては、装置が処理す
る事象の多くをジョブ処理事象が占めている。このジョ
ブ処理事象には処理の流れがあり、ジョブ投入開始事象
を処理して、そのジョブに関するシミュレーションモデ
ル上でのジョブ処理を開始する。その後、ジョブ工程到
着事象、ジョブ工程処理開始事象、ジョブ工程処理終了
事象の処理を繰り返し、ジョブ入庫事象を処理してジョ
ブに関する全ての事象処理が完了する。
In a discrete event driven type simulation system for a production system, job processing events occupy most of the events processed by the system. There is a processing flow in this job processing event, and a job input start event is processed to start job processing on the simulation model related to the job. After that, the processes of the job process arrival event, the job process processing start event, and the job process processing end event are repeated to process the job receipt event and complete all event processing related to the job.

【0005】一旦、投入開始事象を実行したジョブは、
そのジョブの処理が終了するまでの間、ジョブ処理に関
わる事象の発生を繰り返し、ジョブが完成して入庫する
か、シミュレーションが終了するまで離散事象キューへ
の挿入、離散事象キューからの削除を繰り返す。
A job that has once executed the submission start event is
Until the processing of the job ends, the occurrence of events related to the job processing is repeated, and the job is completed and stored, or the insertion into the discrete event queue and the deletion from the discrete event queue are repeated until the simulation ends. .

【0006】一方、投入開始を持つジョブは、投入開始
時刻に達するまで、離散事象キューの内部で事象の実行
を待つことになる。頻繁に挿入削除が行われる事象キュ
ーにとって、投入開始事象は最早処理事象を獲得する処
理の障害となる。
On the other hand, a job having a submission start waits for the execution of an event inside the discrete event queue until the submission start time is reached. For the event queue in which insertions and deletions are frequently performed, the input start event becomes an obstacle to the processing for acquiring the processing event as soon as possible.

【0007】長期間シミュレーションでは、シミュレー
ション期間の投入ジョブが多くなり、シミュレーション
中、事象キュー内部にはシミュレーション時刻とかけ離
れた時刻に処理される投入開始事象が数多く存在するよ
うになる。
In the long-term simulation, the number of input jobs during the simulation period increases, and during the simulation, a large number of input start events are processed in the event queue at times different from the simulation time.

【0008】離散事象シミュレーション処理を効率化す
るには、最早処理事象を獲得する処理を効率化しなけれ
ばならない。事象キュー内部の事象を減らすことができ
れば、最早処理事象獲得処理の効率化を果たせるが、離
散事象シミュレーション方式の原理上、シミュレーショ
ン期間中の事象をすべて事象キューに挿入する必要があ
るため、多くの投入開始事象をキューの中に挿入する問
題は避けられない。
In order to improve the efficiency of the discrete event simulation process, it is necessary to improve the efficiency of the process of acquiring the process event. If the number of events inside the event queue can be reduced, the efficiency of the event acquisition process can be achieved at the earliest, but because of the principle of the discrete event simulation method, it is necessary to insert all the events during the simulation period into the event queue. The problem of inserting the injection start event into the queue is unavoidable.

【0009】[0009]

【課題を解決するための手段】本発明の離散駆動型シュ
ミレーション装置は、シミュレーションモデルを記述し
たデータを記憶している記憶装置と、プログラム制御に
より動作するデータ処理装置から構成される離散事象駆
動型シミュレーション装置において、前記データ処理装
置は、前記記憶装置からシミュレーションモデル記述デ
ータを読み込み、前記記憶装置にシステムモデルを展
開、構築するシステムモデル構築手段と、互いに投入時
刻が接近している投入ジョブから構成される投入ジョブ
グループを作り、これら投入ジョブの投入開始事象を1
つのバッチ投入事象にまとめて事象キューに挿入する第
1のバッチ投入事象作成手段と、バッチ投入事象を処理
することによって、投入ジョブグループを構成するジョ
ブの投入開始事象を事象キューに挿入するジョブ投入開
始事象作成手段とを備えたことを特徴とする。
DISCLOSURE OF THE INVENTION A discrete drive type simulation apparatus of the present invention is a discrete event drive type apparatus comprising a storage device for storing data describing a simulation model and a data processing device operated by program control. In the simulation device, the data processing device includes system model construction means for reading simulation model description data from the storage device, developing and constructing a system model in the storage device, and a submission job whose submission times are close to each other. Created submission job group, and set the submission start event of these submission jobs to 1
A first batch submission event creating means for collectively inserting into a batch submission event into an event queue, and a job submission for inserting a submission start event of a job forming a submission job group into the event queue by processing the batch submission event. And a start event creating means.

【0010】また本発明の離散事象駆動型シュミレーシ
ョン装置は、前記バッチ投入開始事象作成手段の代わり
に、投入時刻の分布状況に基づいて投入ジョブの投入時
刻順の順列を作り、順列をいくつかの適切なサイズに分
けて投入ジョブのグループを作成する投入ジョブグルー
プ作成手段と、投入ジョブグループのグループ構成ジョ
ブの情報を付与した上で、バッチ投入事象の発生時刻を
投入ジョブグループにおける最早投入ジョブの投入時刻
に設定する第2のバッチ投入事象作成手段とを備えたこ
とを特徴とする。
Further, in the discrete event drive type simulation apparatus of the present invention, instead of the batch input start event creating means, a permutation of the input times of the input jobs is made based on the distribution status of the input times, and some permutations are made. After the information about the submission job group creation means that creates a group of submission jobs divided into appropriate sizes and the group job of the submission job group is added, the occurrence time of the batch submission event is set to the earliest submission job in the submission job group. And a second batch input event creating means for setting the input time.

【0011】また本発明の離散事象駆動型シュミレーシ
ョン装置は、前記データ処理装置が同時刻に発生する事
象間の処理優先順を判定する同時事象優先判定手段を更
に備えたことを特徴とする。
The discrete event driven simulation apparatus of the present invention is further characterized by further comprising a simultaneous event priority determination means for determining the processing priority order between the events occurring at the same time by the data processing apparatus.

【0012】[0012]

【実施例】本発明による離散事象シミュレーション装置
について図面を参照して説明する。まず、基本構成を図
1を用いて説明する。図1は、本発明の1実施例を示す
ブロック図である。図1を参照すると、本発明の第1の
実施例は、プログラム制御により動作するデータ処理装
置1と、シュミレーションデータを記憶する記憶装置2
から構成される。データ処理装置1は、システムモデル
構築手段11と、バッチ投入事象作成手段12、システ
ム事象作成手段13、事象駆動処理手段14、事象ハン
ドリング手段15、事象キュー管理手段16とから構成
される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A discrete event simulation apparatus according to the present invention will be described with reference to the drawings. First, the basic configuration will be described with reference to FIG. FIG. 1 is a block diagram showing an embodiment of the present invention. Referring to FIG. 1, a first embodiment of the present invention is a data processing device 1 that operates under program control, and a storage device 2 that stores simulation data.
Composed of. The data processing device 1 comprises a system model construction means 11, a batch input event creation means 12, a system event creation means 13, an event driven processing means 14, an event handling means 15, and an event queue management means 16.

【0013】記憶装置2はシミュレーションモデルを記
述したデータを記憶している。記憶装置2は主記憶装
置、補助記憶装置等のデータ記憶装置一般を指してお
り、本発明においてこれらの区別の必要なく記憶装置2
として統一的に記述している。次に、図1を参照して、
本実施例の動作について説明する。シミュレーターが起
動されるとシステムモデル構築手段11により、記憶装
置2からシミュレーションモデル記述データをデータ処
理装置1に読み込む(1001)。読み込むデータに
は、生産システムや処理するジョブに関する情報が含ま
れている。データ処理装置1は、システムモデル構築手
段11によりシミュレーションモデル記述データを順次
解釈し、記憶装置2にシステムモデルを展開、構築する
(1002)。
The storage device 2 stores data describing a simulation model. The storage device 2 generally refers to a data storage device such as a main storage device and an auxiliary storage device, and the storage device 2 is not required to be distinguished in the present invention.
Is described uniformly. Next, referring to FIG.
The operation of this embodiment will be described. When the simulator is activated, the system model constructing means 11 reads the simulation model description data from the storage device 2 into the data processing device 1 (1001). The data to be read includes information about the production system and jobs to be processed. The data processing device 1 sequentially interprets the simulation model description data by the system model construction means 11 to develop and construct the system model in the storage device 2 (1002).

【0014】記憶装置2に構築されたシミュレーション
モデル上で、シミュレーション期間中に生起する事象
は、バッチ投入事象作成手段12、システム事象作成手
段13により作成する。バッチ投入事象作成手段12は
投入開始予定のジョブに関するバッチ投入開始事象の作
成を行う。まず、互いに投入時刻が接近した投入ジョブ
から構成される投入ジョブのグループを作成し、投入ジ
ョブグループ毎に、バッチ投入事象を作成し、グループ
構成ジョブの情報を付与した上で、事象発生時刻を設定
し、事象キュー管理手段16により、事象キューに挿入
する(1004,1005)。さらに、システム事象作
成手段13により、その他の事象の作成を行い、事象キ
ュー管理手段16により、事象キューに挿入する(10
07,1005)。
On the simulation model built in the storage device 2, the events that occur during the simulation period are created by the batch input event creating means 12 and the system event creating means 13. The batch submission event creation means 12 creates a batch submission start event for a job scheduled to start submission. First, create a group of submission jobs composed of submission jobs whose submission times are close to each other, create a batch submission event for each submission job group, add the information of the group constituent jobs, and set the event occurrence time. The event queue is set and inserted into the event queue by the event queue management means 16 (1004, 1005). Further, the system event creating means 13 creates other events, and the event queue managing means 16 inserts them into the event queue (10
07, 1005).

【0015】シミュレーション期間中に生起する事象を
作成し、それらを事象キューに挿入した後、事象駆動処
理手段14において事象キュー管理手段16により、事
象キューから最早処理事象を順次求める(1009,1
010)。そして、事象ハンドリング手段15により、
事象を処理していく。事象ハンドリング手段15におい
て、バッチ投入事象を処理する際、バッチ投入事象から
得られた投入ジョブグループを解除して、各投入ジョブ
について投入時刻を求めた後各ジョブの投入開始事象を
作成し、事象キュー管理手段16により、投入開始事象
を事象キューに挿入する(1012,1005)。事象
キューに挿入された投入開始事象は事象駆動処理手段1
4により、各ジョブの投入時刻に取り出され(100
9,1010)、事象ハンドリング手段15により処理
される。
After the events that occur during the simulation period are created and inserted into the event queue, the event-driven processing means 14 causes the event queue management means 16 to sequentially obtain the earliest processed event from the event queue (1009, 1).
010). Then, by the event handling means 15,
Process events. In the event handling means 15, when processing a batch submission event, the submission job group obtained from the batch submission event is released, the submission time is calculated for each submission job, and the submission start event of each job is created. The queue management means 16 inserts the injection start event into the event queue (1012, 1005). The injection start event inserted in the event queue is the event driven processing means 1.
4 is taken out at the submission time of each job (100
9, 1010), processed by the event handling means 15.

【0016】次に具体例を用いて説明する。例えば、投
入ジョブがnあるとし、それぞれをJobi (1
n)で表す時、シミュレーション期間SをNつの期間
j (1N)に分割して、各区間Sj にはいるJ
obi のグループGroupjを求め、これを投入グル
ープとする。投入グループのバッチ投入開始事象Eve
ntj を作成し、Groupj を構成するJobi 情報
を設定し、対応する分割期間Sj の開始時刻を事象発生
時刻とする。Eventj を事象キューに挿入し処理を
持つ。Sj で処理されるバッチ投入事象はEventj
一つで、それを処理することにより、Groupj を構
成するJobi について投入開始事象を作成した後、事
象キューに挿入し処理されるのを持つ。シミュレーショ
ンが進むにつれ、Eventj は順次処理され、投入ジ
ョブも順次事象キューに挿入され、処理されていく。
Next, a specific example will be described. For example, assuming that there are n input jobs, Job i (1 < i
< N), the simulation period S is divided into N periods S j (1 < j < N), and J is entered in each section S j.
Ob i 's group Group j is obtained, and this is set as the input group. Batch input start event Eve of input group
nt j is created, the Job i information that constitutes Group j is set, and the start time of the corresponding divided period S j is set as the event occurrence time. Event j is inserted into the event queue and has a process. The batch input event processed in S j is Event j
By one, by processing it, after creating the injection start event for Job i configuring Group j , it has to be inserted into the event queue and processed. As the simulation progresses, Event j is sequentially processed, and submitted jobs are sequentially inserted into the event queue and processed.

【0017】次に本発明の第2の実施例について説明す
る。図2を参照すると、本発明の第2の実施例は、デー
タ処理装置1が、図1に示した第1の実施例におけるデ
ータ処理装置1の構成においてバッチ投入事象作成手段
12を、投入ジョブグループ化手段121、バッチ投入
事象作成手段122に置き換えた点で異なる。
Next, a second embodiment of the present invention will be described. Referring to FIG. 2, in the second embodiment of the present invention, the data processing apparatus 1 uses the batch submission event creating means 12 in the configuration of the data processing apparatus 1 in the first embodiment shown in FIG. The difference is that the grouping means 121 and the batch input event creating means 122 are replaced.

【0018】図2を参照して、本実施例の動作を説明す
る。システムモデル構築手段11、システム事象作成手
段13、事象駆動処理手段14、事象ハンドリング手段
15および、事象キュー管理手段16の動作は第1の実
施例と同一なため、説明は省略する。第1の実施例の場
合、投入ジョブの投入時刻にばらつきがある場合、投入
グループを構成する投入ジョブの数に偏りが生じ、極端
なケースでは投入ジョブが1つの投入グループに集中し
てしまい、投入開始事象の分散がはかれなかった。本実
施例では、このような場合においても、投入ジョブグル
ープ化手段121により、投入時刻の分布状況に基づい
て投入ジョブの投入時刻順の順列を作り、順列をいくつ
かの適切なサイズに分けて投入ジョブのグループを作成
し、投入ジョブグループを構成するジョブの数を平均化
する。そして、バッチ投入事象手段122により、投入
ジョブグループに関するバッチ投入事象の事象発行時刻
を、投入ジョブの投入時刻中の最早投入時刻にする。
The operation of this embodiment will be described with reference to FIG. The operations of the system model constructing means 11, the system event creating means 13, the event driven processing means 14, the event handling means 15, and the event queue managing means 16 are the same as those in the first embodiment, and therefore their explanations are omitted. In the case of the first embodiment, when the input times of the input jobs vary, the number of input jobs forming the input group is uneven, and in an extreme case, the input jobs are concentrated in one input group. The distribution of injection start events was not distributed. In this embodiment, even in such a case, the submission job grouping unit 121 creates a permutation in the submission time order of submission jobs based on the distribution status of the submission times, and divides the permutation into some suitable sizes. Create a group of submitted jobs and average the number of jobs that make up the submitted job group. Then, the batch submission event means 122 sets the event issue time of the batch submission event regarding the submission job group to the earliest submission time in the submission time of the submission job.

【0019】 [0019]

【0020】次に本発明の第3の実施例について説明す
る。図3を参照すると、本発明の第3の実施例は、デー
タ処理装置1が、図1に示した第1の実施例におけるデ
ータ処理装置1の構成に加え、同時事象優先判定手段1
7、を有する点で異なる。
Next, a third embodiment of the present invention will be described. Referring to FIG. 3, in the third embodiment of the present invention, in addition to the configuration of the data processing device 1 in the first embodiment shown in FIG.
7 is different.

【0021】図3を参照して、本実施例の動作を説明す
る。
The operation of this embodiment will be described with reference to FIG.

【0022】システムモデル構築手段11、バッチ投入
事象作成手段12、システム事象作成手段13、事象駆
動処理手段14および、事象ハンドリング手段15の動
作は第1の実施例と同一なため、説明は省略する。
The operations of the system model constructing means 11, the batch input event creating means 12, the system event creating means 13, the event driven processing means 14 and the event handling means 15 are the same as those in the first embodiment, and therefore their explanations are omitted. .

【0023】事象キュー管理手段16は、事象キューか
ら最早処理事象を取り出す際に、同時事象優先判定手段
17により、事象間の優先判定処理を行う。図4を参照
して同時事象優先判定のフローを示す。まず、比較対象
の事象発生時刻を評価し、前後関係がつけば判定を終了
する。互いに同時刻発生事象で、どちらか一方がバッチ
投入事象ならば、バッチ投入優先事象を優先評価し判定
を終了する。それでも判定がつかない場合、事象の事象
キューへの挿入順に優先評価する。
The event queue management means 16 performs priority judgment processing between events by the simultaneous event priority judgment means 17 when the earliest processed event is taken out from the event queue. A flow of simultaneous event priority determination is shown with reference to FIG. First, the event occurrence time of the comparison target is evaluated, and if the context is established, the determination is ended. If two or more events occur at the same time and one of them is a batch submission event, the batch submission priority event is evaluated first and the determination is finished. If the judgment is still unsuccessful, the events are prioritized in the order of insertion into the event queue.

【0024】次に具体例を用いて説明する。例えば、バ
ッチ投入事象Eventi 、Eventi に含まれるジ
ョブ投入事象の1つEventj があり、Eventj
が投入される工程のジョブ終了事象Eventk があ
り、Eventi 、Eventj 、Eventk の事象
発生時刻がともにTであるとする。ここで、第1の実施
例のようにEventi とEventk の処理優先関係
が不定であり、例えばEventk が先に処理される場
合を考える。この時、バッチジョブ投入事象を導入しな
い場合に観察される、イベントキューに同時処理事象E
ventj 、Eventk が共に存在する状態が作られ
ない。つまり、バッチジョブ投入事象の導入により、既
存事象間の処理順序が変化し得る。この時、本発明の第
3の実施例によると、シミュレーション時刻がTに達し
た時に、バッチ投入事象であるEventi が優先的に
処理されて、Eventj が事象キューに挿入され、イ
ベントキューには同時処理事象Eventj 、Even
tk が共に存在する状態が保証され、その後の既存事象
間の処理順序に変化は起こらない。
Next, a specific example will be described. For example, there is a batch submission event Eventi, one of the job submission events included in Eventi, Eventj.
It is assumed that there is a job end event Eventk of a process in which is input, and event occurrence times of Eventi, Eventj, and Eventk are both T. Here, consider the case where the processing priority relationship between Eventi and Eventk is undefined as in the first embodiment, and for example, Eventk is processed first. At this time, the simultaneous processing event E is observed in the event queue, which is observed when the batch job input event is not introduced.
The state where both ventj and Eventk exist cannot be created. That is, the introduction of the batch job input event may change the processing order between the existing events. At this time, according to the third embodiment of the present invention, when the simulation time reaches T, Eventi which is a batch input event is preferentially processed, Eventj is inserted into the event queue, and Eventj is simultaneously inserted into the event queue. Processing event Eventj, Even
It is guaranteed that tk exists together, and the processing order between existing events thereafter does not change.

【0025】次に本発明の第4の実施例について説明す
る。図5を参照すると、本発明の第4の実施例は、デー
タ処理装置1が、図2に示した第2の実施例におけるデ
ータ処理装置1の構成に加え、同時事象優先判定手段1
7、を有する点で異なる。
Next, a fourth embodiment of the present invention will be described. Referring to FIG. 5, in the fourth embodiment of the present invention, in addition to the configuration of the data processing device 1 in the second embodiment shown in FIG.
7 is different.

【0026】図5を参照して、本実施例の動作を説明す
る。
The operation of this embodiment will be described with reference to FIG.

【0027】システムモデル構築手段11、投入ジョブ
グループ化手段121、バッチトーニュー事象作成手段
122、システム事象作成手段13、事象駆動処理手段
14および、事象ハンドリング手段15の動作は第2の
実施例と同一なため、説明は省略する。事象キュー管理
手段16の動作は第3の実施例と同一なため、説明は省
略する。具体例についても、第3の実施例と同一であ
り、本発明の第4の実施例によると、第2の実施例にみ
られる既存事象間の処理順序変化は起こらない。
The operations of the system model constructing means 11, the input job grouping means 121, the batch tone new event creating means 122, the system event creating means 13, the event driven processing means 14 and the event handling means 15 are the same as those of the second embodiment. Since they are the same, the description is omitted. Since the operation of the event queue managing means 16 is the same as that of the third embodiment, its explanation is omitted. The specific example is also the same as that of the third embodiment, and according to the fourth embodiment of the present invention, the processing order change between the existing events seen in the second embodiment does not occur.

【0028】第1、第2、第3、第4の実施例では、生
産システムにおける投入ジョブに関してバッチ投入を行
うことにより、事象キュー中の事象の数を削減しながら
シミュレーション処理する場合について説明したが、生
産システムにおける投入ジョブに限定せず、シミュレー
ション期間中にわたって分布する事象を、バッチ投入事
象にまとめて、同様に処理するようにしてもよい。
In the first, second, third and fourth embodiments, the case of performing the simulation processing while reducing the number of events in the event queue by performing the batch submission for the submission job in the production system has been described. However, not limited to the input job in the production system, the events distributed over the simulation period may be grouped into a batch input event and processed in the same manner.

【0029】[0029]

【発明の効果】以上説明したように、本発明の第1の実
施例において、離散事象シミュレーション装置は、従来
システムとは異なり、投入開始事象をそのまま事象キュ
ーには入れず、互いに投入時刻が近い投入ジョブから構
成される投入ジョブグループをつくり、1つのバッチ投
入事象にまとめて事象キューに挿入する方式をとってい
るため、事象キューに存在する事象の総数を削減できる
という効果を有する。
As described above, in the first embodiment of the present invention, unlike the conventional system, the discrete event simulation device does not directly put the injection start event in the event queue, but the injection times are close to each other. Since a method of creating a submission job group composed of submission jobs and inserting them into an event queue in a batch submission event is effective, the total number of events existing in the event queue can be reduced.

【0030】また、本装置は、バッチ投入事象を処理す
ることによって、投入ジョブグループを構成するジョブ
の投入開始事象を事象キューに挿入する方式をとってい
るため、事象キューに存在する投入開始事象は、常に1
つの投入ジョブグループを構成するジョブの投入事象だ
けになり、投入開始事象の絶対数は、常に、従来方式で
のバッチ投入数分の1以下に抑えることができるという
効果を有する。
Further, since the present apparatus adopts a method of inserting the submission start event of the jobs forming the submission job group into the event queue by processing the batch submission event, the submission start event existing in the event queue is Is always 1
Only the submission events of the jobs that form one submission job group are provided, and the absolute number of submission start events can always be suppressed to one or less of the batch submission number in the conventional method.

【0031】また、本発明の第2の実施例において、本
装置の投入ジョブグループ作成手段は、投入開始事象の
分布に偏りが存在する場合でも、少数のバッチ投入事象
に投入事象を偏らせずに、すべてのバッチ投入事象に、
投入開始事象の分散をはかることができる。
Further, in the second embodiment of the present invention, the input job group creating means of this apparatus does not bias the input events to a small number of batch input events even if the distribution of the input start events is biased. , For all batch submission events,
It is possible to disperse the injection start events.

【0032】また、投入ジョブグループのバッチ投入事
象の発生時刻を、投入ジョブグループにおける最早投入
ジョブの投入時刻に設定する方式をとっているため、各
投入ジョブグループのすべてのジョブは、最早投入ジョ
ブの投入時刻より速く投入されたり、処理されることが
ないことを保証できるという効果を有する。
Since the time of occurrence of the batch submission event in the submission job group is set to the submission time of the earliest submission job in the submission job group, all the jobs in each submission job group are the earliest submission jobs. It has an effect that it can be guaranteed that it is not inserted or processed earlier than the input time.

【0033】また、本発明の第3,第4の実施例におい
て、また、本装置の事象駆動処理手段は同時事象優先判
定手段により、バッチ投入事象を同時刻に処理される他
の事象に優先して処理しているため、バッチ投入事象に
よりまとめられているジョブの投入事象が、同時刻に発
生する他事象を処理する前に事象キューの中に挿入さ
れ、同時刻に処理する事象の存在が必ず保証されること
によりバッチ投入事象を導入することによる既存事象間
の処理順序変化を起こさないという効果を有する。
Further, in the third and fourth embodiments of the present invention, the event driven processing means of this apparatus has the simultaneous event priority judging means prioritizing the batch input event over other events processed at the same time. Since the job submission events that are grouped by batch submission events are inserted into the event queue before processing other events that occur at the same time, there is an event that is processed at the same time. Is always guaranteed, which has the effect of not changing the processing order between existing events by introducing a batch input event.

【0034】また、本装置は生産システムにおける投入
ジョブに限定せず、シミュレーション期間全域にわたっ
て分布している事象は、バッチ投入事象としてまとめて
同様に処理できることにより、事象キューに存在する該
当事象の絶対数はバッチ投入数分の1程度に削減され、
事象キューからの最早処理事象獲得処理コストを低減で
きるという効果を有する。
Further, the present apparatus is not limited to the input job in the production system, and the events distributed over the entire simulation period can be collectively processed as a batch input event in the same manner. The number is reduced to a fraction of the batch input,
This has an effect that the earliest processing event acquisition processing cost from the event queue can be reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例を示す図。FIG. 1 is a diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施例を示す図。FIG. 2 is a diagram showing a second embodiment of the present invention.

【図3】本発明の第3の実施例を示す図。FIG. 3 is a diagram showing a third embodiment of the present invention.

【図4】本発明の第3,第4の実施例の同時事象優先判
定処理のフローチャート。
FIG. 4 is a flowchart of simultaneous event priority determination processing according to third and fourth embodiments of the present invention.

【図5】本発明の第4の実施例を示す図。FIG. 5 is a diagram showing a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 データ処理装置 2 記憶装置 11 システムモデル構築手段 12 バッチ投入事象作成手段 13 システム事象作成手段 14 事象駆動処理手段 15 事象ハンドリング手段 16 事象キュー管理手段 17 同時事象優先判定手段 121 投入ジョブグループ化手段 122 バッチ投入事象作成手段 1001 記憶装置からのシミュレーションモデル読
み込み信号 1002 主記憶装置でのシミュレーションモデル構
築 1003 シミュレーションモデル構築 1004 バッチ投入事象の事象キュー登録 1005 事象キューへの事象挿入操作 1006 バッチ投入事象作成完了信号 1007 システム事象の事象キュー登録 1008 システム事象作成完了信号 1009 事象キューからの事象削除操作 1010 最早処理事象獲得 1011 事象ハンドリング信号 1012 発生事象登録 1013 事象間優先判定依頼/応答 1021 投入ジョブグループ化完了信号
DESCRIPTION OF SYMBOLS 1 data processing device 2 storage device 11 system model construction means 12 batch input event creation means 13 system event creation means 14 event driven processing means 15 event handling means 16 event queue management means 17 simultaneous event priority determination means 121 input job grouping means 122 Batch submission event creation means 1001 Simulation model read signal from storage device 1002 Simulation model construction in main storage device 1003 Simulation model construction 1004 Event queue registration of batch submission event 1005 Event insertion operation to event queue 1006 Batch submission event creation completion signal 1007 event queue registration of system event 1008 system event creation completion signal 1009 event deletion operation from event queue 1010 earliest processing event acquisition 1011 event han Dring signal 1012 Occurrence event registration 1013 Inter-event priority judgment request / response 1021 Submitted job grouping completion signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 シミュレーションモデルを記述したデー
タを記憶している記憶装置と、プログラム制御により動
作するデータ処理装置から構成される離散事象駆動型シ
ミュレーション装置において、 前記データ処理装置は、前記記憶装置からシミュレーシ
ョンモデル記述データを読み込み、前記記憶装置にシス
テムモデルを展開、構築するシステムモデル構築手段
と、互いに投入時刻が接近している投入ジョブから構成
される投入ジョブグループを作り、これら投入ジョブの
投入開始事象を1つのバッチ投入事象にまとめて事象キ
ューに挿入する第1のバッチ投入事象作成手段と、バッ
チ投入事象を処理することによって、投入ジョブグルー
プを構成するジョブの投入開始事象を事象キューに挿入
するジョブ投入開始事象作成手段とを備えたことを特徴
とする離散事象駆動型シミュレーション装置。
1. A discrete event-driven simulation apparatus comprising a storage device that stores data describing a simulation model and a data processing device that operates under program control, wherein the data processing device is A simulation model description data is read, a system model construction means for developing and constructing a system model in the storage device, and a submission job group composed of submission jobs whose submission times are close to each other are created, and submission of these submission jobs is started. First batch submission event creating means for collecting events into one batch submission event and inserting them into the event queue, and inserting a submission start event of a job forming a submission job group into the event queue by processing the batch submission event And a means for creating a job submission start event Discrete Event driven simulation apparatus characterized and.
【請求項2】 前記バッチ投入開始事象作成手段の代わ
りに、投入時刻の分布状況に基づいて投入ジョブの投入
時刻順の順列を作り、順列をいくつかの適切なサイズに
分けて投入ジョブのグループを作成する投入ジョブグル
ープ作成手段と、投入ジョブグループのグループ構成ジ
ョブの情報を付与した上で、バッチ投入事象の発生時刻
を投入ジョブグループにおける最早投入ジョブの投入時
刻に設定する第2のバッチ投入事象作成手段とを備えた
ことを特徴とする請求項1記載の離散事象駆動型シミュ
レーション装置。
2. A batch job group is created in place of the batch submission start event creating means, by creating a permutation of submission time order of submission jobs based on a distribution status of submission times, and dividing the permutation into some suitable sizes. A second batch submission in which the generation time of the batch submission event is set to the submission time of the earliest submission job in the submission job group after the submission job group creating means for creating The discrete event driven simulation apparatus according to claim 1, further comprising an event creating unit.
【請求項3】 前記データ処理装置が同時刻に発生する
事象間の処理優先順を判定する同時事象優先判定手段を
更に備えたことを特徴とする請求項1又は2記載の離散
駆動型シュミレーション装置。
3. The discrete drive type simulation apparatus according to claim 1, wherein the data processing apparatus further comprises a simultaneous event priority determining means for determining a processing priority order between events occurring at the same time. .
JP33030493A 1993-12-27 1993-12-27 Discrete event driven simulation device Pending JPH07191956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33030493A JPH07191956A (en) 1993-12-27 1993-12-27 Discrete event driven simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33030493A JPH07191956A (en) 1993-12-27 1993-12-27 Discrete event driven simulation device

Publications (1)

Publication Number Publication Date
JPH07191956A true JPH07191956A (en) 1995-07-28

Family

ID=18231149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33030493A Pending JPH07191956A (en) 1993-12-27 1993-12-27 Discrete event driven simulation device

Country Status (1)

Country Link
JP (1) JPH07191956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117131833A (en) * 2023-10-24 2023-11-28 北京超星未来科技有限公司 Method and system for modular circuit behavior simulation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047742A (en) * 1990-04-26 1992-01-13 Nec Home Electron Ltd Controlling system for application program
JPH04340158A (en) * 1990-01-23 1992-11-26 American Teleph & Telegr Co <Att> Simulation method for event

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04340158A (en) * 1990-01-23 1992-11-26 American Teleph & Telegr Co <Att> Simulation method for event
JPH047742A (en) * 1990-04-26 1992-01-13 Nec Home Electron Ltd Controlling system for application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117131833A (en) * 2023-10-24 2023-11-28 北京超星未来科技有限公司 Method and system for modular circuit behavior simulation
CN117131833B (en) * 2023-10-24 2024-01-19 北京超星未来科技有限公司 Method and system for modular circuit behavior simulation

Similar Documents

Publication Publication Date Title
US9519884B2 (en) Data driven dynamic workflow
WO2004032530A2 (en) Schedule chart for project management
JPH07325861A (en) Method and system for change of project model
CN112346842B (en) Workflow task scheduling method based on directed acyclic graph
US11614964B2 (en) Deep-learning-based image processing method and system
JPS59214964A (en) Conversational scheduling system
JPH07191956A (en) Discrete event driven simulation device
JPS6027949A (en) Automatic job class scheduling system
CN111159188B (en) Processing method for realizing quasi-real-time large data volume based on DataWorks
JP3012448B2 (en) Work management system
EP1011045B1 (en) Object-oriented job scheduler
JPS6250933A (en) Job executing processsing system
JPH10135096A (en) Scheduling method in semiconductor manufacture
CN112835692A (en) Log message driven task method, system, storage medium and equipment
KR0164412B1 (en) Method of management of multiple application program
JP2011070318A (en) Method of performing batch processing, and system for performing batch processing
JP2568657B2 (en) Hash collision avoidance method for data driven microprocessor
JPH06332909A (en) Plan managing system
JP2842418B2 (en) Simulation equipment
CN118012954A (en) Big data platform dispatching system
JP2862734B2 (en) Screen form definition body automatic generation processing device
JPH02216509A (en) Automatic operation control system for computer system
JP2765911B2 (en) Data driven control method and compiling device
JPH10171666A (en) Task control block management mechanism and its managing method
CN112988359A (en) Intelligent collection task allocation method and system based on timing scheduling

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970617