JPH08194680A - Distributed simulator for discrete event - Google Patents

Distributed simulator for discrete event

Info

Publication number
JPH08194680A
JPH08194680A JP423295A JP423295A JPH08194680A JP H08194680 A JPH08194680 A JP H08194680A JP 423295 A JP423295 A JP 423295A JP 423295 A JP423295 A JP 423295A JP H08194680 A JPH08194680 A JP H08194680A
Authority
JP
Japan
Prior art keywords
simulation
data
simulator
simulators
supervisor
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
JP423295A
Other languages
Japanese (ja)
Inventor
Masahide Son
昌秀 孫
Kazumi Akane
和巳 赤根
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP423295A priority Critical patent/JPH08194680A/en
Publication of JPH08194680A publication Critical patent/JPH08194680A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide the device with which centralized management synchronous distributed simulation using various simulators is enabled. CONSTITUTION: Concerning the distributed simulator for discrete event with which the centralized management synchronous distributed simulation is performed by combining plural simulators 2-4 and a supervisor 5 connected on a network 1, on the respective simulators 2-4, data, converting transforming mechanisms 2b-4b for transforming the data which are transmitted/received among the respective simulators 2-4 together with the control information of simulation in the case of performing communication processing between the respective simulators 2-4 and the supervisor 5, into any prescribed format.

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 distributed simulation apparatus for performing simulation by combining a plurality of discrete event simulators.

【0002】[0002]

【従来の技術】たとえば、工場における生産のシミュレ
ーションを行なうために各種のシミュレーション方式が
提案されており、その一つとして複数数のシミュレータ
を一つのスーパバイザと呼ばれる制御装置で制御する集
中管理同期式のシミュレーション方式がある。
2. Description of the Related Art For example, various simulation methods have been proposed for simulating production in a factory, and one of them is a centralized management synchronous system in which a plurality of simulators are controlled by a control device called a supervisor. There is a simulation method.

【0003】集中管理同期式のシミュレーション方式と
しては、スーパバイザからシミュレーション実行指令が
送信されるごとに、各シミュレータが一定時間間隔ずつ
シミュレーションを行い、その時間間隔分のシミュレー
ションが終了するとスーパバイザにシミュレーション終
了合図を返すという動作を繰り返しながらシミュレーシ
ョンを進めていくというタイムバケット法が考案されて
いる。
As a centralized management synchronous type simulation method, each time a simulator executes a simulation execution command, each simulator performs a simulation at fixed time intervals, and when the simulation for that time interval is completed, the simulation is signaled to the supervisor. A time bucket method is devised in which the simulation is advanced while repeating the operation of returning.

【0004】このタイムバケット法を採用したシミュレ
ーション方式は、たとえば、フジイ他:“A BASI
C STUDY ON A DISTRIBUTED
SIMULATION FOR VIRTUAL MA
NUFACTURING”,日本OR学会国際会議SI
M94講演論文集T−94−1,pp.277−281
に記載されている。
A simulation method employing this time bucket method is, for example, Fujii et al .: "A BASI".
C STUDY ON A DISTRIBUTED
SIMULATION FOR VIRTUAL MA
NUFACTURING ”, International Conference of OR Society of Japan SI
M94 Lecture Collection T-94-1, pp. 277-281
It is described in.

【0005】このタイムバケット法を採用したシミュレ
ーション方式の概念図を図4に示す。ここでは2つのシ
ミュレータが、ひとつのスーパバイザによって管理され
ている様子を示している。期間ΔT1のシミュレーショ
ンを開始する前に、シミュレータ1からスーパパイザを
経てシミュレータ2にデータ11が、またシミュレータ
2からスーパバイザを経てシミュレータ1にデータ21
が送られる。各シミュレータ上でΔT分のシミュレーシ
ョンが終了すると、上と同様にデータが交換され、シミ
ュレーションが進められる。
FIG. 4 shows a conceptual diagram of a simulation method that employs this time bucket method. Here, two simulators are shown being managed by one supervisor. Before starting the simulation of the period ΔT1, the data 11 from the simulator 1 to the simulator 2 via the supervisor and the data 21 from the simulator 2 to the simulator 1 via the supervisor 2
Will be sent. When the simulation for ΔT is completed on each simulator, the data is exchanged and the simulation proceeds as in the above.

【0006】シミュレータとスーパバイザの間の通信
は、図5および図6に示すように、シミュレーションモ
デル中にSOURCEおよびSINKという2種類のル
ーチンを埋め込み、スーパバイザ上での同期信号に合わ
せてこれらが処理されることによって達成されている。
図5で、SOURCEはΔt分のシミュレーション開始
指令および他のシミュレータからのデータをスーパパイ
ザから受け取る処理を行う。シミュレーション処理中に
他のシミュレータヘ送るべきデータがあると、それらは
SINK中の変数に保管され、Δt分のシミュレーショ
ン終了後にシミュレーション終了合図とともにスーパバ
イザに送られる。
For communication between the simulator and the supervisor, as shown in FIGS. 5 and 6, two types of routines, SOURCE and SINK, are embedded in the simulation model, and these are processed in accordance with the synchronization signal on the supervisor. Has been achieved by
In FIG. 5, SOURCE performs a process of receiving a simulation start command for Δt and data from another simulator from the supervisor. If there are data to be sent to other simulators during the simulation process, they are stored in variables in SINK and sent to the supervisor together with the simulation end signal after the end of the simulation for Δt.

【0007】上述したシミュレーションの実際の記述例
をリスト1に示す。
List 1 shows an example of the actual description of the above-mentioned simulation.

【0008】 リスト1 GEN,,,,,N,N,,,,72; LIMIT,2,2,200; NETWORK; SOUR EVENT,4; ENTER,1; INSP QUEUE(1); ACT(2)/1,UNIFORM(6.,12.); GOON; ACT,,85,DPRT; ACT,,15,ADJT; ADJT QUEUE(2); ACT/2,UNFRM(20.,40.),,INSP; DPRT COLCT,INT(1),TIME IN SYSTEM; SINK EVENT,1; TERM; BUKT CREATE,100,100,,3; EVENT,3; TERM; END; INIT,0,300; FIN; この例では、シミュレーションの内容は、SLAMと呼
ばれるシミュレーション言語(Quick Refer
ence Manual,PritskerCor
p.,1990参照)によって記述されている。リスト
1において、SOURは上記のSOURCEルーチンで
あり、ここでの「EVENT,4」はスーパバイザを経
由して送られてくる他のシミュレータからのデータ入力
を取り込むためのイベントで、そのデータは次の行にあ
るENTERイベントによって指定された変数に取り込
まれる。また、SINKは上記のSINKルーチンで、
ここでの「EVENT,1」はスーパバイザを経由して
他のシミュレータにデータを送信するためのイベントで
ある。ここに述べたEVENTやENTERはシミュレ
ーション言語の提供するイベント関数であり、シミュレ
ーション言語の仕様の一部となっている。スーパバイザ
では、図6に示すΔt処理開始指令送信時に各シミュレ
ータから集められたデータが付随して送られ、各シミュ
レータからの終了合図受信時に各シミュレータから送信
されるデータを受け取る。
List 1 GEN ,,,,, N, N ,,,, 72; LIMIT, 2,2,200; NETWORK; SOUR EVENT, 4; ENTER, 1; INSP QUEUE (1); ACT (2) / 1, UNIFORM (6., 12.); GOON; ACT, 85, DPRT; ACT, 15, ADJT; ADJT QUEUE (2); ACT / 2, UNFRM (20., 40.), INSP; DPRT COLCT, INT (1), TIME IN SYSTEM; SINK EVENT, 1; TERM; BUKT CREATE, 100, 100, 3, 3; EVENT, 3; TERM; END; INIT, 0, 300; FIN; In this example, simulation The content is a simulation language (QUIC) called SLAM. k Refer
ence Manual, PritskerCor
p. , 1990)). In Listing 1, SOUR is the above-mentioned SOURCE routine, and “EVENT, 4” here is an event for fetching data input from another simulator sent via the supervisor, and the data is as follows. Captured in the variable specified by the ENTER event in the row. Also, SINK is the above SINK routine,
“EVENT, 1” here is an event for transmitting data to another simulator via the supervisor. The EVENT and ENTER described here are event functions provided by the simulation language and are part of the specifications of the simulation language. In the supervisor, the data collected from each simulator is sent together when the Δt processing start command shown in FIG. 6 is sent, and the data sent from each simulator is received when the end signal is received from each simulator.

【0009】[0009]

【発明が解決しようとする課題】上記従来技術では、シ
ミュレーション言語の提供する仕様に強く束縛されるた
め、複数の異なる離散事象シミュレータを組み合わせて
分散シミュレーションを行なうことが困難であるという
問題がある。すなわち、分散シミュレーションを行う場
合、例えば生産工場のシミュレーションを行う場合に
は、加工ラインではジョブショップタイプの仕事を表現
しやすいシミュレータを、組立ラインではフローショッ
プタイプの流れ作業を表現しやすいシミュレータを、さ
らにはFMS(flexible manufactu
ring system)ラインにおいてはロボットの
干渉チェック機能を持ったシミュレータを用いるといっ
たように、目的によってさまざまなシミュレータを用い
ることでモデルの作成効率を上げることができるが、上
記従来技術では分散シミュレーションを行うには専用の
シミュレータを必要とするため、個々の目的に合致した
シミュレータを選択できないという問題があった。
The above-mentioned conventional technique has a problem that it is difficult to perform a distributed simulation by combining a plurality of different discrete event simulators, because it is strongly bound to the specifications provided by the simulation language. That is, when performing a distributed simulation, for example, when performing a simulation of a production factory, a simulator that is easy to express job shop type work on a processing line, and a simulator that is easy to express flow shop type work on an assembly line, Furthermore, FMS (flexible manufactu
Although it is possible to increase the efficiency of model creation by using various simulators depending on the purpose, such as using a simulator having a robot interference check function in the ring system line, the above-mentioned conventional technique is not suitable for distributed simulation. Requires a dedicated simulator, there is a problem that it is not possible to select a simulator that suits each purpose.

【0010】本発明は上記事情に鑑みてなされたもの
で、その目的は、従来の技術における上述の問題を解消
し、さまざまなシミュレータを用いた集中管理同期式の
分散シミュレーションを可能とする装置を提供すること
にある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to solve the above-mentioned problems in the prior art and to provide an apparatus capable of a centralized management synchronous distributed simulation using various simulators. To provide.

【0011】[0011]

【課題を解決するための手段】本発明は、ネットワーク
上に接続された複数の離散事象シミュレータとひとつの
分散シミュレーション制御装置を組み合わせて集中管理
同期式の分散シミュレーションを行なう離散事象の分散
シミュレーション装置において、各離散事象シミュレー
タ上に、各離散事象シミュレータと前記分散シミュレー
ション制御装置との通信処理を行う際にシミュレーショ
ンの制御情報とともに各離散事象シミュレータ間で送受
信されるデータを所定の書式に変換する機構を設けたこ
とを特徴とする。
DISCLOSURE OF THE INVENTION The present invention provides a distributed simulation apparatus for discrete events which performs a centralized management synchronous distributed simulation by combining a plurality of discrete event simulators connected on a network and one distributed simulation control apparatus. On each discrete event simulator, a mechanism for converting the data transmitted and received between each discrete event simulator into a predetermined format together with the control information of the simulation when performing the communication processing between each discrete event simulator and the distributed simulation control device. It is characterized by being provided.

【0012】また、本発明は、前記分散シミュレーショ
ン制御装置上に、前記各シミュレータから送られてきた
データをそれぞれの送り先ごとに再配置する機構を設け
たことを特徴とする。
Further, the present invention is characterized in that a mechanism for rearranging the data sent from each of the simulators for each destination is provided on the distributed simulation control device.

【0013】[0013]

【作用】本発明に係る分散シミュレーション装置におい
ては、分散シミュレーション制御装置であるスーパバイ
ザから各シミュレータに対し同一の書式でデータが送ら
れる。各シミュレータ上で1シミュレーション時間間隔
分のシミュレーションが終了すると、各シミュレータか
らデータ変換機構を経て他の単一または複数のシミュレ
ータに送信すべきデータがまとめてスーパバイサに送ら
れる。スーパバイザは、それぞれのデータの送り先シミ
ュレータごとに振り分けたうえで改めてそれらデータを
所定のシミュレータに送信し、それらデータを受け取っ
た各シミュレータでは、データ変換機構によってデータ
を取り込み可能な形式に変換した上でシミュレータ内部
に取り込む。このように、各シミュレータ上にデータ変
換機構を設け、シミュレータ間のデータの送受信の共通
化を計ることによって、さまざまな形態のシミュレータ
の利用が可能となる。
In the distributed simulation apparatus according to the present invention, data is sent from the supervisor, which is the distributed simulation control apparatus, to each simulator in the same format. When the simulation for one simulation time interval is completed on each simulator, the data to be transmitted from each simulator to another single or a plurality of simulators via the data conversion mechanism are collectively transmitted to the supervisor. The supervisor distributes each data to the destination simulator and then sends the data again to the specified simulator.In each simulator that receives the data, the data conversion mechanism converts the data into a format that can be imported. Capture it inside the simulator. As described above, by providing a data conversion mechanism on each simulator and sharing the data transmission / reception between the simulators, it is possible to use various forms of the simulator.

【0014】[0014]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は、本発明の分散シミュレーション装置を実
施するための構成例を示すブロック図である。ここで
は、生産工場における加工工程、組立工程、及び搬送工
程のシミュレーションを行なう場合を例に挙げて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration example for implementing the distributed simulation apparatus of the present invention. Here, a case of performing a simulation of a processing process, an assembly process, and a transfer process in a production factory will be described as an example.

【0015】イーサネット(登録商標)等のネットワー
ク1上に、三つのシミュレータ2〜4と、これらの3つ
のシミュレータ2〜4を統括制御する一つのスーパバイ
ザ5とが接続されている。各シミュレータ2〜4は、そ
れぞれ、加工工程、組立工程、及び搬送工程の離散事象
シミュレーションを行なうものである。各シミュレータ
2〜4は、それぞれ、シミュレーションモデル記述部2
a〜4a、データ変換機構2b〜4b、通信処理部2c
〜4c、通信ポートdc〜4dを備えている。また、ス
ーパバイザ5は、シミュレーション制御部5a、データ
処理部5b、通信処理部5c、通信ポート5d〜5f、
入力手段5g、表示手段5hを備えている。
On the network 1 such as Ethernet (registered trademark), three simulators 2 to 4 and one supervisor 5 for controlling and controlling these three simulators 2 to 4 are connected. The simulators 2 to 4 respectively perform discrete event simulations of a machining process, an assembling process, and a carrying process. Each of the simulators 2 to 4 has a simulation model description section 2
a to 4a, data conversion mechanisms 2b to 4b, communication processing unit 2c
4c and communication ports dc to 4d. Further, the supervisor 5 includes a simulation control unit 5a, a data processing unit 5b, a communication processing unit 5c, communication ports 5d to 5f,
The input means 5g and the display means 5h are provided.

【0016】本実施例においては、たとえば、上記スー
パバイザ5及び三つのシミュレータ2〜4は、それぞ
れ、市販のコンピュータにより構成されるが、全部のコ
ンピュータが同じハードウェア及びソフトウェアを備え
ている必要はない。たとえば、スーパバイザ5はSma
lltalk(登録商標)を使用するUNIX(登録商
標)コンピュータで構成され、加工工程のシミュレーシ
ョンを行なう第1のシミュレータ2はExtend2.
0(登録商標)を使用するMachintosh(登録
商標)コンピュータで構成され、組立工程のシミュレー
ションを行なう第2のシミュレータ3はC++(登録商
標)を使用するUNIX(登録商標)コンピュータで構
成され、搬送工程のシミュレーションを行なう第3のシ
ミュレータ2はVisual Basic(登録商標)
を使用するDOS/V(登録商標)コンピュータで構成
される。
In the present embodiment, for example, the supervisor 5 and the three simulators 2 to 4 are each composed of a commercially available computer, but it is not necessary that all computers have the same hardware and software. . For example, Supervisor 5 is Sma
The first simulator 2 configured by UNIX (registered trademark) computer that uses lltalk (registered trademark) and performing a simulation of a machining process is Extend2.
The second simulator 3 that is configured by a Macintosh (registered trademark) computer that uses 0 (registered trademark) and that simulates the assembly process is configured by a UNIX (registered trademark) computer that uses C ++ (registered trademark). The third simulator 2 for simulating is a Visual Basic (registered trademark)
It is composed of a DOS / V (registered trademark) computer.

【0017】スーパバイザ5各シミュレータ2〜4の間
は、UNIX(登録商標)のBSDシステムで広く利用
されている通信プロトコルTCP/IPを用いたソケッ
トによる通信が行われる。
Communication between the respective simulators 2 to 4 of the supervisor 5 is carried out by a socket using a communication protocol TCP / IP widely used in the UNIX (registered trademark) BSD system.

【0018】スーパバイザ5には、組み合わされるシミ
ュレータの数だけの通信ポートが設けられ、それぞれ異
なるポート番号が割り当てられている。ここでは三つの
シミュレータ2〜4に対応して三つの通信ポート5d〜
5fが設けられている。スーパバイザ5上のソケットは
サーバプロセスであり、各シミュレータ2〜4からの接
続要求に応じることができる。シミュレータ2〜4側の
通信ポート(ソケットポート)5d〜5fにもそれぞれ
独自のポート番号が割り当てられている。
The supervisor 5 is provided with as many communication ports as the number of simulators to be combined, and different port numbers are assigned to them. Here, the three communication ports 5d to correspond to the three simulators 2 to 4
5f is provided. The socket on the supervisor 5 is a server process and can respond to connection requests from the simulators 2-4. Unique port numbers are also assigned to the communication ports (socket ports) 5d to 5f on the simulators 2 to 4 side, respectively.

【0019】スーパバイザ5の各シミュレータ2〜4に
対する通信ポート5d〜5fから送受信されるデータ
は、データ処理部5bによって図2のようなフォーマッ
トに変換される。このデータは、ソケットを通した通信
を行うため1024バイトのフレームとして扱われる。
データのない部分は、ヌルコード00hで埋められる。
まず、4バイトの文字列で与えられるシミュレーション
制御指令(コントロール(CTL)コマンド)と、これ
に付随して送られるシミュレーションデータの個数(シ
ミュレーション(SIM)コマンド数)が記述される。
The data transmitted and received from the communication ports 5d to 5f for the simulators 2 to 4 of the supervisor 5 are converted into the format shown in FIG. 2 by the data processing unit 5b. This data is treated as a 1024-byte frame for communication through the socket.
The part without data is filled with null code 00h.
First, a simulation control command (control (CTL) command) given by a 4-byte character string and the number of simulation data (simulation (SIM) command number) sent accompanying this are described.

【0020】シミュレーション制御指令には、スーパバ
イザ5から各シミュレータ2〜4に向けて送られる初期
化指令INIT、シミュレーション実行指令SIMS、
およびシミュレーション終了指令SIMEと、各シミュ
レータ2〜4からスーパバイザ5に向けて送られるそれ
ぞれの指令の終了合図ENDIがある。シミュレーショ
ンデータの個数は、2バイトの符号なし2進数で与えら
れる。
The simulation control command includes an initialization command INIT, a simulation execution command SIMS, sent from the supervisor 5 to each of the simulators 2-4.
Also, there is a simulation end command SIME and an end signal ENDI of each command sent from each simulator 2 to 4 to the supervisor 5. The number of simulation data is given by a 2-byte unsigned binary number.

【0021】続いて、それらシミュレーションデータの
先頭からの開始位置(SIMコマンドNの位置)とその
大きさ(SIMコマンドNのサイズ)を与えるブロック
が置かれる。これらはともに2バイトの符号なし2進数
で記述されている。受信側ではこれを参照することによ
り、それぞれのシミュレーションデータを簡単に取り出
すことができる。
Next, a block is provided which gives the start position (position of SIM command N) from the head of the simulation data and its size (size of SIM command N). Both of them are described by a 2-byte unsigned binary number. By referring to this, the receiving side can easily retrieve each simulation data.

【0022】さらにこれに続いて、送られるべきシミュ
レーションデータが列挙される(シミュレーションデー
タの並び)。シミュレーションデータは、他のシミュレ
ータとの間でシミュレーションデータを交換するための
データであり、それぞれのシミュレータ2〜4のデータ
変換機構2b〜4bにおいて生成される。シミュレーシ
ョンデータの内部構造は図3のような形式となってお
り、処理内容を示すSIMコマンド、要求先、要求元、
バッファ名、アクセスしたい変数名、数量といった情報
であり、それらが続けて記述される。シミュレータで処
理しやすいように、変数名は4バイトのアスキーコー
ド、数量は2バイトの符号なし2進数としている。SI
Mコマンドは英字4バイトの文字列で与えられ、搬入要
求MOVI、搬出要求MOVOなどがある。要求先およ
び要求元は、個々のシミュレータに与えられた名前で、
英字4バイトの文字列で示される。データの送り先およ
び送り元は、スーパバイザ5でこの情報を見ることによ
って明らかにされる。バッファ名および変数もすべて英
字で始まる英数字4バイトの文字列で与えられる。数量
は2バイトの符号なし2進数で与えられる。このような
データ構成をとることにより、スーパバイザ5および各
シミュレータ2〜4において、送受信されるデータから
シミュレータデータを容易に切り出すことができる。こ
のようにフォーマットされたデータが、通信処理部5c
によって各通信ポート5d〜5fに振り分けられ送信さ
れる。
Further to this, the simulation data to be sent is listed (arrangement of simulation data). The simulation data is data for exchanging the simulation data with other simulators, and is generated in the data conversion mechanisms 2b-4b of the respective simulators 2-4. The internal structure of the simulation data has a format as shown in FIG. 3, and the SIM command indicating the processing content, the request destination, the request source,
Information such as the buffer name, the variable name you want to access, and the quantity, which are described consecutively. The variable name is a 4-byte ASCII code and the quantity is a 2-byte unsigned binary number so that it can be easily processed by the simulator. SI
The M command is given by a character string of 4-byte alphabetic characters, and includes a carry-in request MOVI and a carry-out request MOVO. The requestee and requester are the names given to the individual simulators,
It is represented by a 4-byte character string. The destination and source of the data is revealed by looking at this information on supervisor 5. All buffer names and variables are also given as alphanumeric 4-byte character strings starting with alphabetic characters. The quantity is given as a 2-byte unsigned binary number. With such a data structure, the simulator data can be easily cut out from the transmitted / received data in the supervisor 5 and each simulator 2-4. The data formatted in this way is transmitted to the communication processing unit 5c.
Are distributed to the respective communication ports 5d to 5f and transmitted.

【0023】スーパバイザ5においては、データ処理部
5bで上記の処理を行う前に、シミュレーション制御部
5aにおいてシミュレーション制御指令(CTLコマン
ド)とともにシミュレータ2〜4間で送受信されるシミ
ュレーションデータすなわち各シミュレータからの入出
力要求を、その宛先ごとに再編成し直すという作業を行
なう。この作業は、データ中に含まれる要求先データを
見て、その要求先ごとにシミュレーションデータを分配
することによって行なわれる。シミュレーション制御部
5aは、このほかシミュレーションを開始する前にシミ
ュレーション時間間隔およびシミュレーション期間とい
う情報を各シミュレータ2〜4に通知するとともに、分
散シミュレーションの同期制御を行う。すなわち、すべ
てのシミュレータ2〜4へのデータ送信準備ができたら
通信ポート5d〜5fを経てそれらデータを送信し、そ
の後、通信ポート5d〜5fを受信待ち状態に設定する
という作業を行う。
In the supervisor 5, before the data processing section 5b carries out the above-mentioned processing, the simulation control section 5a sends and receives simulation control commands (CTL commands) between the simulators 2 to 4, that is, the simulation data from each simulator. I / O requests are reorganized for each destination. This work is performed by looking at the request destination data included in the data and distributing the simulation data to each request destination. In addition, the simulation control unit 5a notifies each of the simulators 2 to 4 of information such as a simulation time interval and a simulation period before starting the simulation, and also performs synchronous control of the distributed simulation. That is, when the data transmission to all the simulators 2 to 4 is ready, the data is transmitted via the communication ports 5d to 5f, and then the communication ports 5d to 5f are set to the reception waiting state.

【0024】各シミュレータ2〜4でシミュレーション
が終了し、すべての通信ポート5d〜5fに終了合図S
IMEが届いた時点で上記データの並べ替え作業を指示
し、作業が完了したら次にシミュレーション実行指令
か、またはシミュレーション終了時点であればシミュレ
ーション終了命令を各シミュレータ2〜4に送るという
作業を行う。
The simulation is completed in each of the simulators 2 to 4, and the end signal S is sent to all the communication ports 5d to 5f.
When the IME arrives, the data rearrangement work is instructed, and when the work is completed, a simulation execution command or a simulation end command is sent to each of the simulators 2 to 4 at the simulation end time.

【0025】各シミュレータ2〜4上のシミュレーショ
ンモデルには、スーパバイザ5との通信を担う通信イべ
ントが記述されている。このイベントが発生するとデー
タ変換機構2b〜4bが呼び出され、スーパバイザ5か
らデータを受信する場合には、ソケットで受信したデー
タをシミュレータ内で用いるデータ形式に変換し、そこ
に記述されているシミュレーション制御指令に基づいた
処理を行うとともに、シミュレーションに必要なデータ
を該当するシミュレーション変数にセットする。
In the simulation model on each of the simulators 2 to 4, a communication event responsible for communication with the supervisor 5 is described. When this event occurs, the data conversion mechanisms 2b to 4b are called, and when the data is received from the supervisor 5, the data received by the socket is converted into the data format used in the simulator, and the simulation control described there. Performs processing based on the command and sets the data required for simulation in the corresponding simulation variable.

【0026】たとえば、シミュレーション制御指令が初
期化指令INITの場合、付随データとしてシミュレー
ション期間およびシミュレーション時間間隔が送られて
くるため、シミュレータの大域変数であるシミュレーシ
ョン期間と通信イベントの局所変数である通信イベント
の生起間隔がセットされる。
For example, when the simulation control command is the initialization command INIT, since the simulation period and the simulation time interval are sent as ancillary data, the simulation period which is the global variable of the simulator and the communication event which is the local variable of the communication event. The occurrence interval of is set.

【0027】シミュレーション制御指令がシミュレーシ
ョン実行指令SIMSの場合には、通信イベントまたは
スーパバイザ5から受け取った指令を遂行した後は、そ
の指令に対する終了合図SIMEとともに他のシミュレ
ータ2〜4に送るべきデータがあればそれらを収集し、
これらを図2および図3のフォーマットに変換してソケ
ットポートにセットし、スーパバイザ5ヘ送信する。こ
こでは、他のシミュレータからのデータ入力は、ひとつ
のシミュレータ上でのソースとして、また他のシミュレ
ータへのデータ出力はシンクとして扱っている。
When the simulation control command is the simulation execution command SIMS, after executing the communication event or the command received from the supervisor 5, there is data to be sent to the other simulators 2 to 4 together with the termination signal SIME for the command. If you collect them,
These are converted into the formats shown in FIGS. 2 and 3, set in the socket port, and transmitted to the supervisor 5. Here, data input from another simulator is treated as a source on one simulator, and data output to another simulator is treated as a sink.

【0028】なお、上記実施例は本発明の一例を示すも
のであり、本発明はこれに限定されるものではないこと
は言うまでもない。
It is needless to say that the above embodiment shows one example of the present invention, and the present invention is not limited to this.

【0029】[0029]

【発明の効果】以上詳細に説明した如く、本発明によれ
ば、ネットワーク上に接続された複数の離散事象シミュ
レータとひとつの分散シミュレーション制御装置を組み
合わせて集中管理同期式の分散シミュレーションを行な
う離散事象の分散シミュレーション装置において各シミ
ュレータ上でデータを送受信する際、送受信するデータ
を指定の書式に変換する機構を設け、この機構を通して
データを送受信することにより、分散処理専用のシミュ
レータだけでなく、既存の単体で用いられるシミュレー
タも組み合わせた分散シミュレーションを容易に実現で
きるという顕著な効果を生み出すものである。
As described in detail above, according to the present invention, a discrete event for performing a centralized management synchronous distributed simulation by combining a plurality of discrete event simulators connected to a network and one distributed simulation controller. When sending and receiving data on each simulator in this distributed simulation device, a mechanism for converting the sent and received data into a specified format is provided, and by sending and receiving data through this mechanism, not only the simulator dedicated to distributed processing but also the existing This produces a remarkable effect that a distributed simulation combining a simulator used alone can be easily realized.

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

【図1】 本発明の離散事象の分散シミュレーション装
置を実施するための構成例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example for implementing a distributed simulation apparatus for discrete events according to the present invention.

【図2】 本実施例においてネットワーク上で送受信さ
れるデータの書式を示す説明図である。
FIG. 2 is an explanatory diagram showing a format of data transmitted and received on a network in this embodiment.

【図3】 ネットワーク上で送受信されるデータの中の
シミュレーションデータの書式を示す図である。
FIG. 3 is a diagram showing a format of simulation data in data transmitted and received on a network.

【図4】 従来の集中管理同期式シミュレーションの処
理概要を示す説明図である。
FIG. 4 is an explanatory diagram showing an outline of processing of a conventional centralized control synchronous simulation.

【図5】 従来技術におけるシミュレータ上の処理手順
を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure on a simulator according to a conventional technique.

【図6】 従来技術におけるスーパバイザの処理手順を
示すフローチャートである。
FIG. 6 is a flowchart showing a processing procedure of a supervisor in the conventional technique.

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

1…ネットワーク、2〜4…シミュレータ、2a〜4a
…シミュレーションモデル記述部、2b〜4b…データ
変換機構、2c〜4c…通信処理部、2d〜4d…通信
ポート、5…スーパバイザ、5a…シミュレーション制
御部、5b…データ処理部、5c…通信処理部、5d〜
5f…通信ポート
1 ... Network, 2-4 ... Simulator, 2a-4a
... Simulation model description part, 2b-4b ... Data conversion mechanism, 2c-4c ... Communication processing part, 2d-4d ... Communication port, 5 ... Supervisor, 5a ... Simulation control part, 5b ... Data processing part, 5c ... Communication processing part 5d ~
5f ... communication port

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に接続された複数の離散
事象シミュレータとひとつの分散シミュレーション制御
装置を組み合わせて集中管理同期式の分散シミュレーシ
ョンを行なう離散事象の分散シミュレーション装置にお
いて、 各離散事象シミュレータ上に、各離散事象シミュレータ
と前記分散シミュレーション制御装置との通信処理を行
う際にシミュレーションの制御情報とともに各離散事象
シミュレータ間で送受信されるデータを所定の書式に変
換する機構を設けたことを特徴とする離散事象の分散シ
ミュレーション装置。
1. A distributed simulation device for discrete events that performs centralized management synchronous distributed simulation by combining a plurality of discrete event simulators connected to a network and one distributed simulation control device, wherein When performing a communication process between each discrete event simulator and the distributed simulation control device, a mechanism for converting the data transmitted and received between each discrete event simulator together with the simulation control information into a predetermined format is provided. Distributed event simulation device.
【請求項2】 前記分散シミュレーション制御装置上
に、前記各シミュレータから送られてきたデータをそれ
ぞれの送り先ごとに再配置する機構を設けたことを特徴
とする請求項1記載の離散事象の分散シミュレーション
装置。
2. The distributed simulation of discrete events according to claim 1, wherein a mechanism for rearranging data sent from each of the simulators for each destination is provided on the distributed simulation control device. apparatus.
JP423295A 1995-01-13 1995-01-13 Distributed simulator for discrete event Pending JPH08194680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP423295A JPH08194680A (en) 1995-01-13 1995-01-13 Distributed simulator for discrete event

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP423295A JPH08194680A (en) 1995-01-13 1995-01-13 Distributed simulator for discrete event

Publications (1)

Publication Number Publication Date
JPH08194680A true JPH08194680A (en) 1996-07-30

Family

ID=11578827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP423295A Pending JPH08194680A (en) 1995-01-13 1995-01-13 Distributed simulator for discrete event

Country Status (1)

Country Link
JP (1) JPH08194680A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1091609A (en) * 1996-09-10 1998-04-10 Mitsubishi Electric Corp Decentralized simulation system
JP2002140207A (en) * 2000-10-31 2002-05-17 Mitsubishi Electric Corp Distributed simulation system and method of controlling distributed simulation
JP2005222420A (en) * 2004-02-06 2005-08-18 Toyota Motor Corp Distribution processing support program
JP2013134648A (en) * 2011-12-27 2013-07-08 Kawasaki Heavy Ind Ltd Dispersion simulation device
JP2015075942A (en) * 2013-10-09 2015-04-20 新日鉄住金ソリューションズ株式会社 Information processing system, information processing deice, simulation deice, information processing method, simulation method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1091609A (en) * 1996-09-10 1998-04-10 Mitsubishi Electric Corp Decentralized simulation system
JP2002140207A (en) * 2000-10-31 2002-05-17 Mitsubishi Electric Corp Distributed simulation system and method of controlling distributed simulation
JP2005222420A (en) * 2004-02-06 2005-08-18 Toyota Motor Corp Distribution processing support program
JP2013134648A (en) * 2011-12-27 2013-07-08 Kawasaki Heavy Ind Ltd Dispersion simulation device
JP2015075942A (en) * 2013-10-09 2015-04-20 新日鉄住金ソリューションズ株式会社 Information processing system, information processing deice, simulation deice, information processing method, simulation method, and program

Similar Documents

Publication Publication Date Title
JP3574231B2 (en) Computer network simulator
Rohrig et al. The virtual lab for controlling real experiments via internet
JPH08194680A (en) Distributed simulator for discrete event
JPH0675890A (en) Request data/response data transmitting/receiving system between client and server
CN112634685A (en) Remote experiment teaching system
JP2655404B2 (en) How to implement a network architecture
CN105550355B (en) Rule-based Hose data delivery system and method
JPS6398741A (en) Sequential execution control system for plural expert systems
JPH06175803A (en) Method and device for display control
JP3302769B2 (en) Data transfer system
JPH0635528A (en) Cnc axis control distribution system
JPH0720158B2 (en) Data transmission method
JPH0775428B2 (en) Device data storage setting method
US20050165716A1 (en) Method for automated connection of multiple processing machines
JPH0683735A (en) High speed display system for office information data in integrated office system
CN116743747A (en) Real-time communication and online sharing system of intelligent training equipment based on intranet penetration and digital twinning
JPH0486140A (en) Remote supervisory controlling equipment
Karin The Evolving Supercomputer Environment at the San Diego Supercomputer Center
JP4243755B2 (en) Client that performs communication processing by data container
JPH04318644A (en) Emulator multi-support system
JPH04312153A (en) Control information collection system for network component equipment
JPH01240049A (en) Signal simulation system
JPH04355863A (en) Batch file transfer system
JPS6314267A (en) Data base accessing system for host computer
Razavi et al. Managing multiple-user remote access to laboratory equipment