JPH0916554A - Decentralized simulation device - Google Patents

Decentralized simulation device

Info

Publication number
JPH0916554A
JPH0916554A JP16895295A JP16895295A JPH0916554A JP H0916554 A JPH0916554 A JP H0916554A JP 16895295 A JP16895295 A JP 16895295A JP 16895295 A JP16895295 A JP 16895295A JP H0916554 A JPH0916554 A JP H0916554A
Authority
JP
Japan
Prior art keywords
execution
analysis module
analysis
computer
execution right
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
JP16895295A
Other languages
Japanese (ja)
Inventor
Masanaga Minese
正祥 峯瀬
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP16895295A priority Critical patent/JPH0916554A/en
Publication of JPH0916554A publication Critical patent/JPH0916554A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To realize an actual time simulation which suppresses the overhead of network communication and does not deteriorate analytical accuracy. SOLUTION: This device is provided with a module scheduling part 11 executing the analytical module groups 12 to 16 for every analytical function provided within each computer 10, 20 and 30, an execution right determination part 4 which is provided within the prescribed computer 10 and controls the executions of the analytical module groups 12 to 16 by the module scheduling part 11, an analytical module data area 50 which is set on the shared memory 40 connected by each computer 10, 20 and 30 and a network and stores the data when the processing of the analytical module groups 12 to 16 are performed and an execution right control table 60 in which the execution scheduling information on the analytical module groups 12 to 16 is described.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数の計算機をネッ
トワークを介して接続した環境下において実行されるシ
ミュレーションにおいてスケジューリングおよび負荷分
散を効率的に行う分散型シミュレーション装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed simulation apparatus for efficiently performing scheduling and load distribution in a simulation executed in an environment in which a plurality of computers are connected via a network.

【0002】[0002]

【従来の技術】従来の一般的なプラントのシミュレーシ
ョンシステムでは、模擬するプラントを1個のシミュレ
ーションプログラムでモデル化し、当該プログラムを1
個のCPU上で実行させることによりシミュレーション
を行っている。この場合使用されるシミュレーションプ
ログラムの構成を、加圧水型原子力発電プラント(以
下、PWRプラントという)のシミュレーションプログ
ラムを例にして説明する。
2. Description of the Related Art In a conventional general plant simulation system, a plant to be simulated is modeled by one simulation program, and the program is
The simulation is performed by executing it on each CPU. The structure of the simulation program used in this case will be described by taking a simulation program of a pressurized water nuclear power plant (hereinafter, referred to as PWR plant) as an example.

【0003】図20は、従来の一般的なPWRプラント
のシミュレーションプログラムの構成を示すフローチャ
ートである。このシミュレーションプログラムは、ステ
ップST101の初期処理と解析手段120で行われる
解析処理からなる。ステップST101の初期処理は、
プログラムの入力データの読み込みおよび解析の前処理
などを行い、シミュレーションプログラムの起動時に1
度だけ実行される。解析手段120で行われる解析処理
は、プラントを構成する機器毎、つまり、ステップST
102の炉心模擬処理、ステップST103の蒸気発生
器模擬処理、ステップST104のポンプ模擬処理、ス
テップST105の配管熱流動模擬処理の各模擬処理か
らなる。各模擬処理では、中性子輸送、エネルギ保存、
質量保存、運動量保存等の物理方程式でモデル化された
模擬が行われる。プラントシミュレーションは、方程式
群を連立させて数値解析手法により求められた解の離散
的な時間的変化をプラントプロセス挙動とするものであ
る。従って、解析手段120で行われる解析処理は、解
の時間的変化を求めるために繰り返し実行される。
FIG. 20 is a flow chart showing the structure of a conventional general PWR plant simulation program. This simulation program consists of the initial processing of step ST101 and the analysis processing performed by the analysis means 120. The initial process of step ST101 is
When the simulation program is started, 1
Only executed once. The analysis processing performed by the analysis means 120 is performed for each device that constitutes the plant, that is, step ST.
The core simulation process of 102, the steam generator simulation process of step ST103, the pump simulation process of step ST104, and the pipe heat flow simulation process of step ST105. In each simulation process, neutron transport, energy conservation,
A simulation modeled by physical equations such as mass conservation and momentum conservation is performed. In the plant simulation, the discrete time change of the solution obtained by the numerical analysis method by connecting the equation groups simultaneously is used as the plant process behavior. Therefore, the analysis processing performed by the analysis means 120 is repeatedly executed to obtain the temporal change of the solution.

【0004】解析手段120でのシミュレーションは時
間的に離散化されている。離散化された時間の間隔を解
析刻み時間と呼ぶ。解析刻み時間が300ミリ秒であれ
ば、解析手段120の1回の実行でプラント挙動の30
0ミリ秒後の状態を模擬することになる。仮に、解析刻
み時間が300ミリ秒の場合に、解析手段120の1回
の演算実行時間が300ミリ秒である場合には、実際の
プラント挙動の進展と同じ速度(実時間)でシミュレー
ションが行える。また、演算実行時間が300ミリ秒以
上である場合には、シミュレーションを実時間で行うこ
とはできない。
The simulation in the analysis means 120 is discretized in time. The discretized time interval is called an analysis step time. If the analysis time interval is 300 milliseconds, 30 times of plant behavior can be obtained by executing the analysis means 120 once.
The state after 0 milliseconds will be simulated. If the analysis step time is 300 milliseconds and the one-time operation execution time of the analysis means 120 is 300 milliseconds, the simulation can be performed at the same speed (real time) as the progress of the actual plant behavior. . Further, if the calculation execution time is 300 milliseconds or more, the simulation cannot be performed in real time.

【0005】ここで、ステップST102の炉心模擬処
理、あるいはステップST105の配管熱流動模擬処理
における物理モデル方程式群は非線形方程式であり、解
を求めるために収束演算を行うような数値解法をとるこ
とが多い。一方で、非線形方程式を近似手法を利用して
線形化し、収束演算を行わない数値解法をとることもあ
る。しかし、後者の数値解法においても、近似が成立し
なくなる過渡状態を模擬する場合では、近似が成立する
ように解析刻み時間を細かくして数回の演算(以降、反
復演算と呼ぶ)を行う必要がある。例えば、300ミリ
秒の挙動を解析する場合に、線形近似が成立するように
75ミリ秒の解析刻み時間で解析を行う場合には4回の
反復演算が必要となる。
Here, a group of physical model equations in the core simulating process of step ST102 or the pipe heat and fluid simulating process of step ST105 is a non-linear equation, and a numerical solution method such as performing a convergent calculation to obtain a solution may be adopted. Many. On the other hand, a nonlinear solution may be linearized by using an approximation method and a numerical solution method that does not perform a convergence operation may be taken. However, even in the latter numerical solution method, when simulating a transient state in which approximation does not hold, it is necessary to perform several calculations (hereinafter referred to as iterative calculations) with finer analysis time intervals so that the approximation holds. There is. For example, in the case of analyzing a behavior of 300 milliseconds, four iterative operations are required when the analysis is performed with an analysis step time of 75 milliseconds so that a linear approximation is established.

【0006】PWRプラントの定常状態を模擬する場合
には、収束演算または反復演算の回数は多くないため、
解析手段120での解析処理が1回実行されるのに要す
る演算実行回数は多くはない。しかし、PWRプラント
の事故時等の過渡状態を模擬する際には、物理量変化が
激しいため収束演算または反復演算の回数が多くなる。
従って、解析手段120での解析処理のための演算実行
時間は多くなり、実時間でのシミュレーションが行えな
い可能性が生じる。このため、運転訓練シミュレータな
どでは、実時間性を確保するためにシミュレーション精
度を犠牲にしてモデル化を簡略化する場合もある。
When simulating the steady state of a PWR plant, the number of convergence operations or iterative operations is not large, so
The number of calculation executions required to execute the analysis processing by the analysis means 120 once is not large. However, when simulating a transient state such as an accident in a PWR plant, the number of convergence calculations or repetitive calculations increases because the physical quantity changes drastically.
Therefore, the calculation execution time for the analysis processing in the analysis means 120 increases, and there is a possibility that the simulation cannot be performed in real time. Therefore, in a driving training simulator or the like, the modeling may be simplified at the expense of the simulation accuracy in order to ensure real-timeness.

【0007】一方、最近では高精度モデルで実時間シミ
ュレーションを達成するために、分散処理システムによ
りシミュレーションを行う方法も考えられ始めた。一般
的な分散処理システムでは、例えば、特開平6−316
55号公報によれば複数の計算機がネットワークを介し
て接続されるように構成されている。個々の計算機シス
テムはネットワークにより結合される。そして、スケジ
ューリング機能を実現するために、通信処理部によりネ
ットワークを経由したメッセージ送信により各計算機間
がスケジューリング情報の交換を行う。
On the other hand, recently, in order to achieve a real-time simulation with a high-accuracy model, a method of performing simulation by a distributed processing system has begun to be considered. In a general distributed processing system, for example, JP-A-6-316
According to Japanese Patent Publication No. 55, a plurality of computers are configured to be connected via a network. The individual computer systems are connected by a network. Then, in order to realize the scheduling function, each computer exchanges scheduling information by transmitting a message via the network by the communication processing unit.

【0008】このような分散処理システムで実時間プラ
ントシミュレーションを行う場合の従来の分散型シミュ
レーション装置のシステム構成概念図を図21に示す。
この分散処理システムでは、図20のような1個のシミ
ュレーションプログラムを機能的に分割し、分割したプ
ログラム(以下、解析モジュールと呼ぶ)を複数の計算
機101,111で実行する。102,103,11
2,113は解析モジュール群であり、これら解析モジ
ュール群を、通信処理部105,115によりネットワ
ーク121経由で、データ交換およびスケジューリング
を行いながら実行することにより、プラント全体のシミ
ュレーションを行うことが可能である。
FIG. 21 shows a conceptual diagram of the system configuration of a conventional distributed simulation apparatus when performing a real-time plant simulation in such a distributed processing system.
In this distributed processing system, one simulation program as shown in FIG. 20 is functionally divided, and the divided program (hereinafter referred to as an analysis module) is executed by a plurality of computers 101 and 111. 102, 103, 11
Reference numerals 2 and 113 denote analysis module groups. By executing these analysis module groups by the communication processing units 105 and 115 via the network 121 while exchanging data and scheduling, it is possible to perform simulation of the entire plant. is there.

【0009】また、分散処理システムの性能を十分に発
揮させるためには、各計算機における負荷がほぼ均等に
なるように負荷分散を行わなければならない。プラント
シミュレーションでは、収束演算あるいは反復演算を行
う解析モジュールが存在するため解析モジュールの実行
時間が一定でなく、このため動的な負荷分散機能が必要
である。また、各計算機で実行されるモジュール群のス
ケジューリング機能が必要となる。また、各解析モジュ
ールは、データ交換を行いながらシミュレーションを行
うため、各解析モジュールは同期していなければならな
い。それぞれの解析モジュールは、ある解析刻み時間内
に1度のみ実行されるものであり、独自に実行を進めて
いくわけではない。
In addition, in order to make full use of the performance of the distributed processing system, it is necessary to distribute the load so that the loads on the respective computers are substantially equal. In the plant simulation, the execution time of the analysis module is not constant because there is an analysis module that performs a convergence calculation or an iterative calculation. Therefore, a dynamic load balancing function is required. In addition, a scheduling function of a module group executed by each computer is required. Further, since each analysis module performs simulation while exchanging data, each analysis module must be synchronized. Each analysis module is executed only once within a certain analysis time, and does not proceed independently.

【0010】[0010]

【発明が解決しようとする課題】従来の分散型シミュレ
ーション装置は以上のように構成されているので、PW
Rプラントなどのプラントシミュレーションでは、解析
の精度を確保するために解析刻み時間が最大でも300
ミリ秒程度であり、300ミリ秒以内に全てのモジュー
ルの実行が終了していなければならない。一般に計算負
荷と解析精度は反比例するため、実時間シミュレーショ
ンが実行できないほどに計算負荷が高い場合には、解析
精度を犠牲にして計算負荷を減らすことになる。ここで
計算負荷とは、解析に係わる計算の負荷と解析モジュー
ルを実行するための負荷(例えば、解析モジュールのス
ケジューリングに係わる負荷)の和である。従って、負
荷分散あるいはスケジューリングのために、ネットワー
クによるメッセージ通信を行った場合、ネットワーク通
信のオーバーヘッドにより計算負荷が高くなり、解析刻
み時間以内に全ての解析モジュールの実行が終了せず、
実時間シミュレーションが実行できない状態、あるいは
計算負荷を減らすために解析精度を落とす必要が生じる
などの問題点があった。
Since the conventional distributed simulation apparatus is configured as described above, the PW
In plant simulations such as R plant, the maximum analysis time is 300 in order to ensure the accuracy of analysis.
It takes about milliseconds, and execution of all modules must be completed within 300 milliseconds. In general, since the calculation load and the analysis accuracy are inversely proportional to each other, when the calculation load is so high that real-time simulation cannot be executed, the calculation accuracy is sacrificed to reduce the calculation load. Here, the calculation load is the sum of the calculation load related to the analysis and the load for executing the analysis module (for example, the load related to the scheduling of the analysis module). Therefore, when performing message communication by network for load balancing or scheduling, the calculation load becomes high due to the overhead of network communication, and execution of all analysis modules is not completed within the analysis time interval,
There was a problem that real-time simulation could not be executed, or analysis accuracy had to be reduced in order to reduce the calculation load.

【0011】この発明は上記のような問題点を解消する
ためになされたもので、負荷分散機能、スケジューリン
グ機能に伴う負荷を抑制し、解析精度を落とすことなく
実時間シミュレーションを実現できる分散型シミュレー
ション装置を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to realize a real time simulation by suppressing the load associated with the load distribution function and the scheduling function and realizing the real time simulation without lowering the analysis accuracy. The purpose is to obtain the device.

【0012】[0012]

【課題を解決するための手段】請求項1の発明に係る分
散型シミュレーション装置は、各計算機内に設けられ解
析の機能毎に分割された解析モジュール群を実行するモ
ジュールスケジューリング部と、所定の計算機内に設け
られ前記モジュールスケジューリング部による前記解析
モジュール群の実行を制御する実行権決定部と、前記各
計算機と接続されるネットワーク型共有メモリ上に設定
され、前記解析モジュール群による処理を行った際のデ
ータを格納する解析モジュールデータエリアと、前記解
析モジュール群の実行スケジューリング情報が記述され
る実行権管理テーブルとを備えたものである。
According to a first aspect of the present invention, there is provided a distributed simulation apparatus including a module scheduling section for executing an analysis module group which is provided in each computer and which is divided for each analysis function, and a predetermined computer. When the processing is performed by the analysis module group, which is set in an execution right determination unit provided in the module scheduling unit for controlling the execution of the analysis module group by the module scheduling unit and a network-type shared memory connected to each computer. And an execution right management table in which the execution scheduling information of the analysis module group is described.

【0013】請求項2の発明に係る分散型シミュレーシ
ョン装置は、解析終了直前に終了予定情報を生成し実行
権管理テーブル上に記録する終了予定情報記録手段を有
した解析モジュール群と、前記終了予定情報を生成した
解析モジュールを実行している計算機に対し、未完了の
解析モジュールへの優先実行権を与える優先実行権付与
手段を有した実行権決定部と、該実行権決定部により与
えられた優先実行権を基に当該計算機で未完了の解析モ
ジュールを実行するモジュールスケジューリング部とを
備えたものである。
A distributed simulation apparatus according to a second aspect of the present invention includes an analysis module group having an end scheduled information recording unit for generating end scheduled information immediately before the end of analysis and recording it on the execution right management table; The execution right determination unit having a priority execution right granting unit for giving priority execution right to the incomplete analysis module to the computer executing the analysis module that generated the information, and the execution right determination unit A module scheduling unit that executes an incomplete analysis module in the computer based on the priority execution right.

【0014】請求項3の発明に係る分散型シミュレーシ
ョン装置は、各計算機での各解析モジュールの実行実績
を記録する実行実績テーブルと、規定回数の演算が行わ
れるたびに各計算機の解析モジュールに対する優先実行
権を前記実行実績に基づいて修正する修正手段とを有し
た実行権決定部を備えたものである。
According to a third aspect of the present invention, in a distributed simulation apparatus, an execution record table for recording the execution record of each analysis module in each computer and a priority for the analysis module of each computer every time a specified number of calculations are performed. An execution right determining unit having a correction unit that corrects the execution right based on the execution record is provided.

【0015】請求項4の発明に係る分散型シミュレーシ
ョン装置は、実行権決定部を不要にすると共に、各計算
機に設けられた解析モジュール群の実行制御手順を決定
すると共に、該決定した実行制御手順に従って前記解析
モジュール群を実行するモジュールスケジューリング部
を備えたものである。
The distributed simulation apparatus according to the present invention eliminates the need for an execution right decision unit, determines the execution control procedure of the analysis module group provided in each computer, and determines the determined execution control procedure. The module scheduling unit for executing the analysis module group according to the above.

【0016】請求項5の発明に係る分散型シミュレーシ
ョン装置は、解析終了直前に終了予定情報を生成し実行
権管理テーブル上に記録する終了予定情報記録手段を有
した解析モジュール群と、前記終了予定情報を基に各計
算機に設けられた解析モジュール群の実行制御手順を決
定すると共に、該決定した実行制御手順に従って前記解
析モジュール群を実行するモジュールスケジューリング
部とを備えたものである。
According to the fifth aspect of the present invention, there is provided the distributed simulation apparatus, which includes an analysis module group having an end schedule information recording means for generating the end schedule information immediately before the end of analysis and recording it on the execution right management table, and the end schedule. A module scheduling unit that determines the execution control procedure of the analysis module group provided in each computer based on the information and executes the analysis module group according to the determined execution control procedure.

【0017】請求項6の発明に係る分散型シミュレーシ
ョン装置は、解析終了までの反復演算回数を実行権管理
テーブル上へ解析実行中に記録する反復演算回数記録手
段を有した解析モジュールと、前記反復演算回数に基づ
いて、当該解析モジュールを実行している計算機に対し
て未完了解析モジュールへの優先実行権を低位に変更
し、当該未完了解析モジュールに対する他の計算機にお
ける実行権を高位に変更する優先実行権変更手段を有し
たモジュールスケジューリング部を備えたものである。
According to a sixth aspect of the present invention, there is provided a distributed simulation apparatus, which includes an analysis module having a repetitive operation number recording means for recording the repetitive operation number until the end of analysis on the execution right management table during the analysis, and the repetitive operation. Based on the number of operations, change the priority execution right to the incomplete analysis module to the low level for the computer executing the analysis module, and change the execution right to other computers to the incomplete analysis module to the high level. The module scheduling unit has a priority execution right changing unit.

【0018】[0018]

【作用】請求項1の発明における分散型シミュレーショ
ン装置は、ネットワーク型共有メモリ上へ各解析モジュ
ールによる処理を行った際のデータを格納する解析モジ
ュールデータエリアを置くことで、各計算機上の解析モ
ジュール群がいかなる計算機上で別個に実行されても、
前記解析モジュールデータエリアを介したデータ交換に
より解析を効率的に行うことが可能となり、また、前記
ネットワーク型共有メモリ上の実行権管理テーブルおよ
び各計算機に設けられたモジュールスケジューリング
部、さらに所定の計算機上に実装された実行権決定部に
より前記解析モジュール群の実行スケジューリングを各
計算機へ分散することを可能にし、各計算機間で行われ
るメッセージ通信によるオーバーヘッドを抑制し、負荷
分散やスケジューリングに伴う負荷を抑制し、解析精度
を満足させながらの実時間シミュレーションを実現す
る。
In the distributed simulation apparatus according to the invention of claim 1, the analysis module data area for storing the data when the processing by each analysis module is performed is placed on the network type shared memory, and the analysis module on each computer is placed. No matter if the group is run separately on any computer,
Analysis can be efficiently performed by exchanging data via the analysis module data area, an execution right management table on the network shared memory, a module scheduling unit provided in each computer, and a predetermined computer. It is possible to distribute the execution scheduling of the analysis module group to each computer by the execution right decision unit implemented above, suppress the overhead due to message communication performed between each computer, and reduce the load due to load distribution and scheduling. Realize real-time simulation while suppressing and satisfying analysis accuracy.

【0019】請求項2の発明における分散型シミュレー
ション装置は、解析モジュールの終了予定情報記録手段
により解析終了直前に生成した終了予定情報を実行権管
理テーブル上に記録し、実行権決定部が前記終了予定情
報を基に前記終了予定情報を生成した解析モジュールを
実行している計算機に対し、未完了の解析モジュールの
優先実行権を与え、前記計算機のモジュールスケジュー
リング部は、前記実行権決定部により与えられた優先実
行権を基に当該計算機で未完了の解析モジュールを実行
するので、前記計算機で実行する未完了タスクの決定が
高速化され、一連の解析モジュールの実行を短時間で完
了させ、解析精度を落とすことのない実時間シミュレー
ションを実現する。
In the distributed simulation apparatus according to the second aspect of the present invention, the end-scheduling information recording means of the analysis module records the end-scheduling information generated immediately before the end of the analysis on the execution-right management table, and the execution-right determining unit terminates the end. The priority execution right of the incomplete analysis module is given to the computer that is executing the analysis module that has generated the end schedule information based on the schedule information, and the module scheduling unit of the computer gives the execution right determination unit. Since the unfinished analysis module is executed on the computer based on the priority execution right given, the determination of the unfinished task to be executed on the computer is accelerated, and the execution of the series of analysis modules is completed in a short time, and the analysis is completed. Real-time simulation without loss of precision is realized.

【0020】請求項3の発明における修正手段は、規定
回数の演算が行われるたびに実行実績テーブルの実行実
績に基づいて各計算機の各解析モジュールに対する優先
権を変更し、一連の解析モジュールの実行を短時間に完
了させ、解析精度を落とすことのない実時間シミュレー
ションを実現するための効率的な負荷分散を可能にす
る。
According to the third aspect of the present invention, the correction means changes the priority of each analysis module of each computer based on the execution record of the execution record table every time the specified number of calculations are performed, and executes a series of analysis modules. This enables efficient load balancing for real-time simulation without compromising analysis accuracy.

【0021】請求項4の発明における分散型シミュレー
ション装置は、各計算機のモジュールスケジューリング
部が実行権管理テーブルを介して、各計算機における解
析モジュール群の実行制御手順を決定すると共に、該決
定した実行制御手順に従って前記解析モジュール群を実
行し、実行権決定部が介在することによる負荷を排除し
て一連の解析モジュールの実行を短時間に完了させ、解
析精度を落とすことのない実時間シミュレーションを実
現させる。
In the distributed simulation apparatus according to the invention of claim 4, the module scheduling unit of each computer determines the execution control procedure of the analysis module group in each computer through the execution right management table, and the determined execution control is performed. The analysis module group is executed according to the procedure, the load due to the intervention of the execution right decision unit is eliminated, the execution of the series of analysis modules is completed in a short time, and the real-time simulation without lowering the analysis accuracy is realized. .

【0022】請求項5の発明におけるモジュールスケジ
ューリング部は、解析モジュール群の終了予定情報記録
手段が解析終了直前に生成し実行権管理テーブル上に記
録した終了予定情報を基に、各計算機に設けられた解析
モジュール群の実行制御手順を決定し、該決定した実行
制御手順に従って前記解析モジュール群を実行するか
ら、未完了の解析モジュールに対する優先実行権が当該
計算機で設定でき、一連の解析モジュールの実行を短時
間に完了させる。
The module scheduling unit according to the invention of claim 5 is provided in each computer based on the termination schedule information generated by the termination schedule information recording means of the analysis module group immediately before the analysis is finished and recorded in the execution right management table. The execution control procedure of the analysis module group is determined, and the analysis module group is executed according to the determined execution control procedure. Therefore, the priority execution right for the incomplete analysis module can be set in the computer, and the execution of the series of analysis modules is executed. Is completed in a short time.

【0023】請求項6の発明におけるモジュールスケジ
ューリング部の優先実行権変更手段は、実行権管理テー
ブル上へ記録された反復演算回数に基づいて、当該解析
モジュールを実行している計算機に対して未完了解析モ
ジュールの優先実行権を低位に変更し、当該未完了解析
モジュールに対する他の計算機における実行権を高位に
変更し、解析モジュールの実行時間が長い計算機の未完
了解析モジュールの優先実行権を認める可能性をなく
し、一連の解析モジュールの実行を短時間に完了させ、
解析精度を落とすことのない実時間シミュレーションを
実現する。
The priority execution right changing means of the module scheduling unit in the invention of claim 6 is incomplete for the computer executing the analysis module based on the number of repetitive operations recorded in the execution right management table. It is possible to change the priority execution right of an analysis module to a lower level, change the execution right of another computer for the incomplete analysis module to a higher level, and grant the priority execution right of an incomplete analysis module of a computer with a long execution time of the analysis module. And complete the execution of a series of analysis modules in a short time,
Realize real-time simulation without degrading analysis accuracy.

【0024】[0024]

【実施例1】 実施例1.以下、この発明の一実施例について説明す
る。図1は、この発明の実施例1による分散型シミュレ
ーション装置の全体のシステム構成を示すブロック図で
ある。図において、1aは計算機10のCPU、2aは
補助記憶装置、3aはメモリである。計算機20、30
も、計算機10と同様にCPU、補助記憶装置、メモリ
を備えており、これら複数の計算機10、計算機20、
計算機30は、ネットワーク型の共有メモリ(ネットワ
ーク型共有メモリ)40を介して接続されている。この
共有メモリ40は、データとそのアドレスを含んだメッ
セージデータをネットワークに転送することにより、共
有メモリエリアの値が接続されている全ての計算機の同
じ共有メモリエリアへマイクロ秒単位の短時間に反映さ
せることができる。
Example 1 Example 1. Hereinafter, an embodiment of the present invention will be described. 1 is a block diagram showing the overall system configuration of a distributed simulation apparatus according to a first embodiment of the present invention. In the figure, 1a is a CPU of the computer 10, 2a is an auxiliary storage device, and 3a is a memory. Calculator 20, 30
Also has a CPU, an auxiliary storage device, and a memory like the computer 10, and a plurality of these computers 10, 20,
The computers 30 are connected via a network-type shared memory (network-type shared memory) 40. This shared memory 40 transfers message data including data and its address to the network, so that the value of the shared memory area is reflected in the same shared memory area of all connected computers in a short time of microsecond unit. Can be made.

【0025】各計算機のCPU1a,1b,1cはプロ
セスの実行を行い、補助記憶装置2a,2b,2cはプ
ログラム、データ等を記録し、メモリ3a,3b,3c
は実行中のプログラムやデータを蓄える。
The CPUs 1a, 1b, 1c of the respective computers execute processes, the auxiliary storage devices 2a, 2b, 2c record programs, data, etc., and the memories 3a, 3b, 3c.
Stores running programs and data.

【0026】各計算機のメモリ3a,3b,3cには、
プラントシミュレーションプログラムを熱流動,炉心,
ポンプ,熱交換器,制御系等の機能毎に分割し、それぞ
れプロセスとして実行できるプログラム、即ち解析モジ
ュールが実装されている。また計算機10のメモリ3a
には、前記プログラムの実行を許可あるいは不許可した
計算機に対して実行許可フラグあるいは投票却下フラグ
を、後述する図2に示す競売テーブルへ立てる実行権決
定部4がある。図1では、解析モジュールとして解析モ
ジュール12から解析モジュール16まで記述している
が、解析の目的により各解析モジュールの個数や種類は
異なる。しかし、各計算機毎に実装される解析モジュー
ルの個数や種類は全く同じである。
The memories 3a, 3b and 3c of each computer are
Plant simulation program for heat flow, core,
A program, that is, an analysis module, which is divided into functions such as a pump, a heat exchanger, and a control system and can be executed as a process, is installed. Also, the memory 3a of the computer 10
Includes an execution right determining unit 4 which sets an execution permission flag or a vote rejection flag in a auction table shown in FIG. 2, which will be described later, for a computer that permits or denies execution of the program. In FIG. 1, the analysis modules 12 to 16 are described as analysis modules, but the number and types of each analysis module differ depending on the purpose of analysis. However, the number and types of analysis modules installed in each computer are exactly the same.

【0027】これら解析モジュールは互いにデータの交
換を行いながら、それぞれの解析を行う。例えば、熱流
動解析モジュールは、炉心,ポンプ,熱交換器,制御系
の各モジュールから解析結果データを受け取りながら熱
流動解析を行う。また、炉心モジュールは、熱流動解析
モジュールの解析結果である熱流動の諸状態量を基にし
て、炉心発生熱量を解析し熱流動モデルにデータを渡
す。他のモジュールも同様にデータ交換を行いながら解
析を実行する。50は前記データ交換を行うために共有
メモリ40上に確保される解析モジュールデータエリア
である。
These analysis modules perform their respective analyzes while exchanging data with each other. For example, the thermal-hydraulic analysis module performs thermal-hydraulic analysis while receiving analysis result data from the core, pump, heat exchanger, and control system modules. Further, the core module analyzes the amount of heat generated by the core based on various heat and fluid state quantities which are the analysis results of the heat and fluid analysis module, and passes the data to the heat and fluid model. The other modules similarly perform the analysis while exchanging data. Reference numeral 50 is an analysis module data area secured on the shared memory 40 for exchanging the data.

【0028】また本来、各解析モジュールは、その解析
モジュール自体が前回に計算した解析結果をもとにし
て、今回の解析を行う。従って、解析モジュールデータ
エリア50には、各解析モジュールが行った前回の解析
結果を記録しておくデータエリアも設定する。そして、
各計算機上のそれぞれの解析モジュールのうち、同じ番
号のついた解析モジュールには同じデータエリアを指定
する。つまり、計算機10,計算機20,計算機30の
解析モジュール12は、同じデータエリアでデータアク
セスを行うようにしておく。これにより、解析モジュー
ル12の解析は、計算機10の解析モジュール12を実
行しても、また、他の計算機上の解析モジュール12を
実行しても同じ結果が得られる。すなわち、同一の解析
モジュールを実行する場合には、どの計算機上の解析モ
ジュールを実行してもよいことになる。
Originally, each analysis module performs this analysis based on the analysis result calculated by the analysis module itself last time. Therefore, in the analysis module data area 50, a data area for recording the previous analysis result of each analysis module is also set. And
Of the analysis modules on each computer, the same data area is designated for the analysis modules with the same numbers. That is, the analysis modules 12 of the computer 10, the computer 20, and the computer 30 are made to access data in the same data area. As a result, the analysis module 12 can obtain the same result whether the analysis module 12 of the computer 10 is executed or the analysis module 12 on another computer is executed. That is, when the same analysis module is executed, the analysis module on any computer may be executed.

【0029】各解析モジュールはそれぞれ別個に実行さ
れるのではなく、スケジューリングの結果実行される。
11は実行する解析モジュールが重複しないようにスケ
ジューリングするモジュールスケジューリング部であ
り、各解析モジュールはモジュールスケジューリング部
11により、解析を行っている解析刻み時間幅の中で1
回ずつ実行される。つまり、この時間幅内で、2回以上
実行される解析モジュールは存在しない。解析刻み時間
は、数百ミリ秒のオーダであり、解析刻み時間を300
ミリ秒と仮定すると、この300ミリ秒の間に全解析モ
ジュールが1度だけ実行されることにより、PWRプラ
ントの状態進展状況を300ミリ秒毎に解析することが
できる。
Each analysis module is not executed separately but is executed as a result of scheduling.
Reference numeral 11 denotes a module scheduling unit that schedules the analysis modules to be executed so as not to overlap, and each analysis module is set to 1 by the module scheduling unit 11 within the analysis time interval during which analysis is performed.
It is executed one by one. That is, there is no analysis module that is executed more than once within this time width. The analysis time is on the order of hundreds of milliseconds, and the analysis time is 300
Assuming millisecond, all the analysis modules are executed only once during this 300 milliseconds, so that the state progress of the PWR plant can be analyzed every 300 milliseconds.

【0030】次に動作について説明する。全ての解析モ
ジュールは起動されて、モジュールスケジューリング部
11からの実行信号が来るまで待機状態にある。モジュ
ールスケジューリング部11からの実行信号を受けると
その解析モジュールは1度だけ実行される。前記実行信
号は、マルチプロセスOSのシグナルコールを用いれば
良い。実行時には、他の解析モジュールのデータを共有
メモリ40上の解析モジュールデータエリア50から読
み込み、前回の解析結果を基に今回の解析を行い、その
解析結果を解析モジュールデータエリア50へ書き込
む。全ての解析モジュールが全て実行されれば、解析刻
み時間に相当するPWRプラントの状態進展状況を解析
できたことになる。ここで、全ての解析モジュールの実
行とは、全計算機上の全解析モジュールの実行ではな
く、同一の解析モジュールは全計算機上で一つだけ実行
されることを意味する。特に、同一の解析モジュールが
複数の計算機上で実行されてしまうと解析結果が不正確
なものになるため、複数の計算機上での実行は避けなけ
ればならない。
Next, the operation will be described. All the analysis modules are activated and are in a standby state until the execution signal from the module scheduling unit 11 arrives. When receiving the execution signal from the module scheduling unit 11, the analysis module is executed only once. As the execution signal, a signal call of a multi-process OS may be used. At the time of execution, the data of another analysis module is read from the analysis module data area 50 on the shared memory 40, the current analysis is performed based on the previous analysis result, and the analysis result is written to the analysis module data area 50. If all the analysis modules are executed, it means that the state progress of the PWR plant corresponding to the analysis time can be analyzed. Here, execution of all analysis modules does not mean execution of all analysis modules on all computers, but only one identical analysis module is executed on all computers. In particular, if the same analysis module is executed on multiple computers, the analysis result will be inaccurate, so execution on multiple computers must be avoided.

【0031】モジュールスケジューリング部11が、必
要な解析モジュールを解析刻み時間幅でただ1回のみ実
行するようにスケジューリングするため、また、全体の
解析時間が短時間になるように解析モジュールの負荷管
理を行うために、計算機10上に実行権決定部4が設け
られ、また共有メモリ40上に実行権管理テーブル60
が実装されており、図2は、実行権管理テーブル60の
内部構造を示している。
The module scheduling unit 11 schedules the necessary analysis modules so that they are executed only once in the analysis time interval, and also manages the load of the analysis modules so that the overall analysis time is shortened. In order to perform the execution, the execution right determination unit 4 is provided on the computer 10, and the execution right management table 60 is stored on the shared memory 40.
2 is implemented, and FIG. 2 shows the internal structure of the execution right management table 60.

【0032】優先権テーブル61は、タスク1からタス
クNに対して各計算機の優先実行順位が記されている。
64は実行権管理テーブル60のデータ値の意味を示し
ており、この例では数字が小さい程、優先権が高い。
In the priority table 61, the priority execution order of each computer is described for tasks 1 to N.
Reference numeral 64 indicates the meaning of the data value of the execution right management table 60. In this example, the smaller the number, the higher the priority.

【0033】また、競売テーブル62は、各計算機上の
モジュールスケジューリング部11が実行を行いたいタ
スクに対して投票フラグを立て、また、実行権決定部4
が実行を許可あるいは不許可した計算機に対して実行許
可フラグあるいは投票却下フラグを立てるテーブルであ
る。65は競売テーブル62のデータ値の意味を示して
おり、“0”が未投票あるいは投票却下を示し、“1”
が既投票を示し、また“2”は実行許可を意味するフラ
グに相当する。
The auction table 62 sets a voting flag for the task that the module scheduling unit 11 on each computer wants to execute, and the execution right determining unit 4
Is a table in which an execution permission flag or a vote rejection flag is set for a computer whose execution is permitted or not permitted. Reference numeral 65 indicates the meaning of the data value of the auction table 62, "0" indicates that the vote has not been voted or rejected, and "1".
Indicates a vote already voted, and “2” corresponds to a flag indicating execution permission.

【0034】タスク状態テーブル63はタスクの実行状
況を記すテーブルであり、66はタスク状態テーブル6
3のデータ値の意味を示し、この例の場合、“−2”が
未完了、“−1”が完了、“0”が実行中を表してい
る。
The task status table 63 is a table that describes the execution status of tasks, and 66 is the task status table 6.
The meaning of the data value of 3 is shown, and in this example, "-2" represents incomplete, "-1" represents complete, and "0" represents in execution.

【0035】次に、図3と図4および図5により、スケ
ジューリングおよび負荷分散の動作について説明する。
Next, the operations of scheduling and load balancing will be described with reference to FIGS. 3, 4 and 5.

【0036】図4は、実行権決定部4の動作を示すフロ
ーチャートである。実行権決定部4は、起動された後、
ステップST1で優先権テーブル61を読み込む。次
に、ステップST2でタイマ処理を行う。このタイマ処
理とは、解析刻み時間に等しい時間毎に、以降の全処理
を行うように制御することである。つまり、解析刻み時
間内に以降の全処理が終わって実行制御がステップST
2に戻った場合には、前回の処理から解析刻み時間に値
する時間が経過するまで待つことになる。これはプラン
トシミュレーションを実時間で進展させるための処理で
ある。次にステップST3で競売テーブル62およびタ
スク状態テーブル63を初期化する。初期化により初期
設定される各値は、図2に示すデータ値である。さら
に、ステップST4で競売テーブル62とタスク状態デ
ーブル63のデータを読み込む。
FIG. 4 is a flowchart showing the operation of the execution right decision unit 4. After the execution right decision unit 4 is activated,
In step ST1, the priority table 61 is read. Next, timer processing is performed in step ST2. This timer processing is control to perform all the subsequent processing at every time equal to the analysis time interval. That is, the execution control is performed in step ST after all the subsequent processing is completed within the analysis time interval.
When the process returns to 2, the process waits until the time corresponding to the analysis time interval elapses from the previous process. This is a process for progressing the plant simulation in real time. Next, in step ST3, the auction table 62 and the task status table 63 are initialized. Each value initialized by initialization is a data value shown in FIG. Further, in step ST4, the data of the auction table 62 and the task status table 63 are read.

【0037】ステップST5では、ステップST4で読
み込んだタスク状態テーブル63のうち未完了のタスク
があれば、そのタスクに対して各計算機上のモジュール
スケジューリング部11から競売テーブル62に投票が
行われていないか確認する。この結果、投票されていな
い場合にはステップST4へ戻り、投票が存在する場合
にはステップST6に移る。ステップST6では、優先
権テーブル61に基づき、投票フラグを競売テーブル6
2の該当計算機欄に書き込む。ここで「優先権テーブル
61に基づき」の意味は、投票が単一の計算機から行わ
れている場合には、その計算機に対して実行許可を与
え、また、投票が複数の計算機から行われている場合に
は、優先権テーブル61に記される優先権順位の高い計
算機に対して実行許可フラグを競売テーブル62に書き
込むことである。
In step ST5, if there is an incomplete task in the task status table 63 read in step ST4, the module scheduling unit 11 on each computer has not voted for that task in the auction table 62. Check if As a result, if no votes have been cast, the process returns to step ST4, and if a vote exists, the process moves to step ST6. In step ST6, the voting flag is set in the auction table 6 based on the priority table 61.
Write in the relevant computer column in 2. Here, the meaning of “based on the priority table 61” means that when a single computer is voting, execution permission is given to that computer, and voting is performed from multiple computers. If so, the execution permission flag is written in the auction table 62 for the computer having the higher priority rank described in the priority table 61.

【0038】ステップST7では、複数の投票があった
場合に実行を却下した計算機に対し、競売テーブル62
の該当のタスク欄に投票却下フラグを書き込む。次のス
テップST8では、前記実行許可フラグにより実行権の
発行されたタスクのタスク状態テーブル63に対し実行
中フラグを立てる。ステップST9では、投票が行われ
ていない未完了タスクがステップST6からステップS
T8までの処理を行っても存在している場合、ステップ
ST4へ戻る。また、ステップST9までに未完了タス
クが存在しなくなった場合には全てモジュールが実行さ
れた状態なので、ステップST2のタイマー処理に戻
り、次の解析を行う。
In step ST7, the auction table 62 is given to the computer which rejects the execution when there are a plurality of votes.
Write the vote rejection flag in the corresponding task column. In the next step ST8, an in-execution flag is set in the task state table 63 of the task for which the execution right has been issued by the execution permission flag. In step ST9, the uncompleted tasks for which votes have not been cast are transferred from step ST6 to step S6.
If it is still present after the processing up to T8, the process returns to step ST4. Further, when there are no uncompleted tasks before step ST9, all the modules are in the executed state, so the process returns to the timer process of step ST2 to perform the next analysis.

【0039】図5は、各計算機上の各解析モジュールを
実際に実行させるモジュールスケジューリング部11の
動作を示すフローチャートである。モジュールスケジュ
ーリング部11は各計算機上に実装され、全く同様の動
作を行う。モジュールスケジューリング部11が起動さ
れると、まず、ステップST11で優先権テーブル61
を読み込む。次に、ステップST12でタスク状態テー
ブル63を読み込み、ステップST13で未完了タスク
が存在するか調べる。そして、ステップST14で未完
了タスクのうち相対的に自計算機の方が優先権が高いタ
スク1個に対し、競売テーブル62の該当タスク欄に投
票フラグを立てる。このフラグ処理は、未完了タスクの
うち自計算機が最優先権を持つタスクに対して行い、最
優先権を持たない未完了タスクしか存在しない場合に
は、その中で自計算機における高い優先権を持つタスク
に対して投票フラグを立てる。また、優先権が最低位の
タスク1個だけ残っている場合にも、そのタスクに投票
フラグを立てる。
FIG. 5 is a flow chart showing the operation of the module scheduling unit 11 which actually executes each analysis module on each computer. The module scheduling unit 11 is mounted on each computer and performs exactly the same operation. When the module scheduling unit 11 is activated, first, in step ST11, the priority table 61
Read. Next, in step ST12, the task state table 63 is read, and in step ST13, it is checked whether there is an incomplete task. Then, in step ST14, a voting flag is set in the relevant task column of the auction table 62 for one task of which the own computer has a higher priority among the unfinished tasks. This flag processing is performed for the tasks of which the local computer has the highest priority among the unfinished tasks. If there are only unfinished tasks that do not have the highest priority, the higher priority of the local computer is set among them. Set the voting flag for the task you have. Further, even when only one task with the lowest priority remains, the task is flagged.

【0040】次に、ステップST15において、実行権
決定部4からの決定待ちを行う。これは、許可フラグあ
るいは不許可フラグが実行権決定部4から書き込まれる
まで、競売テーブル62を何度も繰り返し読み込むか、
タイマ処理で時間待ちと競売テーブル62の読み込みを
繰り返して実行することで決定結果を得ることができ
る。ステップST16において実行権決定部4からの決
定が実行却下であれば、ステップST12へ戻り、実行
可であればステップST17へ移る。ステップST17
では、該当する解析モジュールに対してシグナル等を用
いて、解析実行を指示する。解析を終えた解析モジュー
ルが終了シグナルをモジュールスケジューリング部11
に戻すまで、ステップST17で実行完了待ちを行う。
その後、ステップST12へ戻り、次のタスクを実行す
るための処理に移行する。
Next, in step ST15, the execution right decision unit 4 waits for a decision. This is because the auction table 62 is repeatedly read until the permission flag or the non-permission flag is written from the execution right determination unit 4,
The decision result can be obtained by repeatedly executing the waiting time and the reading of the auction table 62 by the timer processing. If the decision from the execution right decision unit 4 is rejected in step ST16, the process returns to step ST12, and if the decision is possible, the process proceeds to step ST17. Step ST17
Then, the analysis execution is instructed to the corresponding analysis module using a signal or the like. The analysis module that has completed the analysis sends an end signal to the module scheduling unit 11
It waits for execution completion in step ST17 until it returns to.
After that, the process returns to step ST12 and shifts to the process for executing the next task.

【0041】図3は、あるタイミングにおけるタスク実
行中の実行権管理テーブル60の内部状態を示した例で
ある。前記図5に示す処理フローを基に、この後のタス
ク実行について動作を説明する。図3のタスク状態テー
ブル63からタスク2、タスク3が実行完了であり、タ
スク1は競売テーブル62から計算機10により実行さ
れていることが判る。また、タスク4は未実行状態であ
り、計算機20と計算機30は、ほぼ同時に夫々タスク
2とタスク3を完了したばかりである。各計算機上のモ
ジュールスケジューリング部11は、図5に示すステッ
プST12からステップST14までの処理フローに従
って、優先権テーブル61から計算機20の方が計算機
30に対し優先権が高いことを知り、タスク4の競売テ
ーブル62に投票フラグ1を立てる。実行権決定部4
は、図4のステップST4からステップST7までの処
理に従って、計算機20の競売テーブル62の投票フラ
グに対して実行可フラグを上書きし、計算機30の競売
テーブル62の投票フラグに対して実行却下フラグを上
書きする。計算機20のモジュールスケジューリング部
11は、ステップST16からステップST17でタス
ク4を実行し、計算機30のモジュールスケジューリン
グ部11での処理はステップST16からステップST
12へ戻る。
FIG. 3 is an example showing an internal state of the execution right management table 60 during task execution at a certain timing. The operation of the subsequent task execution will be described based on the processing flow shown in FIG. From the task status table 63 of FIG. 3, it can be seen that task 2 and task 3 have been completed, and task 1 is being executed by the computer 10 from the auction table 62. Further, the task 4 is in the unexecuted state, and the computer 20 and the computer 30 have just completed the task 2 and the task 3, respectively, almost at the same time. The module scheduling unit 11 on each computer learns from the priority table 61 that the computer 20 has higher priority over the computer 30 according to the processing flow from step ST12 to step ST14 shown in FIG. The voting flag 1 is set in the auction table 62. Execution right decision unit 4
4 overwrites the executability flag on the voting flag of the auction table 62 of the computer 20 and sets the execution rejection flag to the voting flag of the auction table 62 of the computer 30 according to the processing from step ST4 to step ST7 of FIG. Overwrite. The module scheduling unit 11 of the computer 20 executes task 4 from step ST16 to step ST17, and the process of the module scheduling unit 11 of the computer 30 is performed from step ST16 to step ST.
Return to 12.

【0042】このように、本来、最優先度が計算機10
に与えられたタスク4に対して、計算機10が他のタス
ク(この場合は、タスク1)の処理を完了できていない
場合に、他の計算機20が計算機10に替わってタスク
4を実行することができる。すなわち、各タスクのスケ
ジューリングとタスクの実行負荷の分散が図れる。
As described above, originally, the computer 10 has the highest priority.
When the computer 10 has not completed processing of another task (task 1 in this case) for the task 4 given to the other computer, the other computer 20 executes the task 4 instead of the computer 10. You can That is, the scheduling of each task and the distribution of the task execution load can be achieved.

【0043】実施例2.図6は、この発明の実施例2に
よる分散型シミュレーション装置の構成を示すブロック
図である。図6において図1と同一または相当部分には
同一符号を付し説明を省略する。図において、69は各
解析モジュールに設けられ、当該解析モジュールの解析
終了直前に終了予定情報を生成し、実行権管理テーブル
60上に記録する終了予定情報記録手段、70は前記終
了予定情報を生成した解析モジュールを実行している計
算機に対し、未完了の解析モジュールに優先実行権を与
える優先実行権付与手段である。
Embodiment 2 FIG. FIG. 6 is a block diagram showing the configuration of the distributed simulation apparatus according to the second embodiment of the present invention. 6, parts that are the same as or correspond to those in FIG. 1 are given the same reference numerals, and descriptions thereof will be omitted. In the figure, 69 is provided in each analysis module, generates the end schedule information immediately before the end of the analysis of the analysis module, and records the end schedule information on the execution right management table 60, and 70 generates the end schedule information. It is a preferential execution right granting means for giving a preferential execution right to an incomplete analysis module to a computer executing the analysis module.

【0044】この実施例では、各解析モジュールの終了
予定情報記録手段69が、当該解析モジュールの解析終
了直前に実行権管理テーブル60のタスク状態テーブル
63へ終了予定フラグを立てるように解析モジュール内
の処理フローを追加構成する。また、図4に示す実行権
決定部4の処理フローに対し、図7に示すように前記優
先実行権付与手段70として機能するステップST21
とステップST22とを追加する変更を行う。さらに、
モジュールスケジューリング部11の処理フローを、図
5に示すフローチャートに対し図8に示すようにステッ
プST31とステップST32とを追加する変更を行
う。
In this embodiment, the end schedule information recording means 69 of each analysis module sets an end schedule flag in the task status table 63 of the execution right management table 60 immediately before the analysis of the analysis module concerned is completed. Configure additional processing flow. Further, with respect to the processing flow of the execution right determination unit 4 shown in FIG. 4, step ST21 which functions as the priority execution right granting means 70 as shown in FIG.
And step ST22 are added. further,
The process flow of the module scheduling unit 11 is modified by adding step ST31 and step ST32 to the flowchart shown in FIG. 5 as shown in FIG.

【0045】この結果、図7の実行権決定部4の動作を
示すフローチャートでは、ステップST4で競売テーブ
ル62,タスク状態テーブル63などの各種テーブルを
読み込んだ後、ステップST22でタスク状態テーブル
63に終了予定フラグが立っているか確認する。終了予
定フラグが立っていない場合には、ステップST5に移
って、前記実施例1と同様の処理を行う。また、終了予
定フラグが立っている場合には、ステップST22に進
み、終了予定フラグを発した解析モジュールが動作して
いる計算機に対し、次に実行すべきタスクの実行権を与
える。「次に実行すべきタスク」とは、未完了タスクの
中で自計算機に対し優先権の高い順に決定されるタスク
である。前記タスク実行権を与えた後、ステップST5
に進んで前記実施例1と同様の処理を行う。
As a result, in the flowchart showing the operation of the execution right decision unit 4 in FIG. 7, after reading various tables such as the auction table 62 and the task status table 63 in step ST4, the task status table 63 ends in step ST22. Check if the schedule flag is set. If the end-scheduling flag is not set, the process proceeds to step ST5 and the same process as in the first embodiment is performed. If the end-scheduling flag is set, the process proceeds to step ST22, and the execution right of the task to be executed next is given to the computer on which the analysis module that issued the end-scheduling flag is operating. The “task to be executed next” is a task that is determined among the uncompleted tasks in descending order of priority for the computer. After granting the task execution right, step ST5
Then, the process similar to that of the first embodiment is performed.

【0046】次に、図8に示すフローチャートにより、
モジュールスケジューリング部11の動作について説明
する。ステップST12でタスク状態テーブル63を読
み込み、未完了タスクがあるときには次のステップST
31において自計算機に対し競売テーブル62で実行権
が与えられているか確認する。実行権が与えられていた
場合にはステップST17に移り、該当解析モジュール
の実行を行う。実行権が与えられていなければステップ
ST32に移り、未完了タスクで他の計算機に実行権が
与えられておらず、かつ自計算機に対し最も優先権の高
い1個のタスクに対し競売テーブル62で投票を行う。
そして、他の計算機に実行権が与えられていない未完了
タスクに対し前記実施例1と同様な処理を行うことで、
タスク処理の終了した計算機に対し、実施例1よりも短
時間で次の未完了タスクに対し実行権を与えることが可
能となる。
Next, according to the flow chart shown in FIG.
The operation of the module scheduling unit 11 will be described. In step ST12, the task status table 63 is read, and if there is an incomplete task, the next step ST
At 31, it is confirmed whether the execution right is given to the own computer at the auction table 62. If the execution right is given, the process moves to step ST17 to execute the corresponding analysis module. If the execution right has not been given, the process proceeds to step ST32, and in the auction table 62, for one task that has not been given the execution right to another computer as an unfinished task and has the highest priority to the own computer. Vote.
Then, by performing the same processing as in the first embodiment on the unfinished task for which the execution right is not given to another computer,
It becomes possible to give the execution right to the next uncompleted task to the computer which has finished the task processing in a shorter time than in the first embodiment.

【0047】実施例3.図9は、この発明の実施例3に
よる分散型シミュレーション装置の構成を示すブロック
図である。図において、4aは各計算機での各解析モジ
ュールの実行実績を記録する実行実績テーブル、4bは
規定回数の演算が行われるたびに各計算機の各解析モジ
ュールに対する優先実行権を前記実行実績に基づいて修
正する修正手段である。
Example 3. FIG. 9 is a block diagram showing the configuration of the distributed simulation apparatus according to the third embodiment of the present invention. In the figure, 4a is an execution record table for recording the execution record of each analysis module in each computer, and 4b is the priority execution right for each analysis module of each computer based on the execution record every time a specified number of calculations are performed. It is a correction means to correct.

【0048】この実施例では、図9に示すように実行権
決定部4にタスク実行実績テーブル4aを付加し、ま
た、図4のフローチャートに示す処理動作を、前記修正
手段として機能するステップST41からステップST
45を追加した図11のフローチャートに示す処理動作
へ変更する。実行実績テーブル4aには、実行権決定部
4により積算された各タスクの各計算機で実行された回
数が記録される。図10に示したタスク実行実績テーブ
ル4aでは、100回の実行演算を行った場合の実行実
績値が記録されている。
In this embodiment, a task execution record table 4a is added to the execution right decision unit 4 as shown in FIG. 9, and the processing operation shown in the flowchart of FIG. 4 is performed from step ST41 which functions as the correction means. Step ST
The processing operation is changed to the processing operation shown in the flowchart of FIG. In the execution record table 4a, the number of times each task accumulated by the execution right determination unit 4 and executed by each computer is recorded. In the task execution result table 4a shown in FIG. 10, the execution result value when the execution calculation is performed 100 times is recorded.

【0049】さらに、実行権決定部4は、各タスクの規
定回数の実行が行われるたびに、タスク実行実績テーブ
ル4aの実績値を基に実行権管理テーブル60の優先権
テーブル61を変更する。優先権テーブル61の変更
は、各タスク毎に実行実績の多い順にその計算機に対し
て優先権を高く与えるように行う。また、同数の実績数
を持つ場合には、それらの計算機に対して前回の優先権
を継承するように変更を行う。
Further, the execution right determining unit 4 changes the priority right table 61 of the execution right management table 60 based on the performance value of the task execution performance table 4a each time each task is executed a prescribed number of times. The priority table 61 is changed so that each computer is given a higher priority in descending order of execution record. If they have the same number of achievements, they are changed so as to inherit the previous priority to those computers.

【0050】図11に示すフローチャートにより、実行
権決定部4の動作について説明する。ステップST2の
タイマ処理が実行され、ステップST41へ進むと各タ
スクの各計算機で実行された演算回数を積算カウンタに
よりカウントアップする。ステップST42では前記演
算回数が規定回数に達したかを判断し、規定回数以下な
らステップST1に移り、前記実施例1で説明した処理
を行う。そして、ステップST8でタスクの実行権を計
算機に対して発行するたびに、ステップST45により
タスク実行実績テーブル4aの該当欄をカウントアップ
する。
The operation of the execution right determining unit 4 will be described with reference to the flowchart shown in FIG. The timer process of step ST2 is executed, and when proceeding to step ST41, the number of calculations executed by each computer of each task is counted up by the integration counter. In step ST42, it is determined whether or not the number of calculations reaches the specified number of times, and if it is less than or equal to the specified number of times, the process proceeds to step ST1 to perform the processing described in the first embodiment. Then, each time the task execution right is issued to the computer in step ST8, the corresponding column of the task execution record table 4a is counted up in step ST45.

【0051】一方、ステップST42で規定回数に達し
ていると判断した場合、ステップST43に移り、タス
ク実行実績テーブル4aに記録される実行回数に基づい
て、優先権テーブル61を変更する。次に、ステップS
T44でタスク実行実績テーブル4aのカウンタを初期
化してステップST1に移る。
On the other hand, if it is determined in step ST42 that the specified number of times has been reached, the process proceeds to step ST43, and the priority table 61 is changed based on the number of executions recorded in the task execution record table 4a. Next, step S
At T44, the counter of the task execution record table 4a is initialized, and the process proceeds to step ST1.

【0052】このように優先権テーブル61が過去の規
定回数分のモジュール実行実績値を反映することにな
り、モジュールスケジューリング部11の競売テーブル
62への投票が実績値通りの順に行われるため、さらに
効率のよい負荷分散が可能となる。特に、熱流動解析を
行う解析モジュールが事故等の急激な過渡変化を解析す
る場合には、解析モジュール内で反復演算を行うため、
このような解析モジュールの実行時間は長くなる。過渡
変化の生じる時間はある程度継続するため、このような
演算回数が規定回数に達したか否かを判断することによ
り負荷分散が効率良く行われる。
As described above, the priority table 61 reflects the module execution record value of the specified number of times in the past, and the module scheduling unit 11 votes to the auction table 62 in the order of the record value. It enables efficient load distribution. Especially when the analysis module that performs thermal-hydraulic analysis analyzes sudden transient changes such as accidents, because iterative calculation is performed in the analysis module,
The execution time of such an analysis module becomes long. Since the time during which a transient change occurs continues to some extent, load distribution is efficiently performed by determining whether or not the number of times of such calculations has reached a specified number.

【0053】実施例4.図12は、この発明の実施例4
による分散型シミュレーション装置の構成を示すブロッ
ク図である。図において、71は各計算機に設けられた
解析の機能毎に分割された解析モジュール群の実行制御
手順を決定すると共に、該決定した実行制御手順に従っ
て前記解析モジュール群を実行するモジュールスケジュ
ーリング部である。
Embodiment 4 FIG. FIG. 12 shows Embodiment 4 of the present invention.
2 is a block diagram showing the configuration of a distributed simulation apparatus according to FIG. In the figure, reference numeral 71 denotes a module scheduling unit that determines the execution control procedure of the analysis module group divided for each analysis function provided in each computer and executes the analysis module group according to the determined execution control procedure. .

【0054】この分散型シミュレーション装置では、前
記実施例1で説明した分散型シミュレーション装置から
実行権決定部4を削除し、図13のフローチャートに従
って動作するモジュールスケジューリング部71を備え
るように変更したものである。
In this distributed simulation apparatus, the execution right decision unit 4 is deleted from the distributed simulation apparatus described in the first embodiment, and a modification is made so as to include a module scheduling unit 71 which operates according to the flowchart of FIG. is there.

【0055】図13のフローチャートにより動作につい
て説明する。モジュールスケジューリング部71は、各
計算機で全く同一の処理を行う。
The operation will be described with reference to the flowchart of FIG. The module scheduling unit 71 performs exactly the same processing in each computer.

【0056】モジュールスケジューリング部71は、起
動するとステップST51のタイマ処理を実行する。ス
テップST51のタイマ処理により、以降の処理は前記
実施例1で説明したように解析刻み時間毎に実行され
る。次に、ステップST52で優先権テーブル61を読
み込み、さらに、ステップST53でタスク状態テーブ
ル63を読み込む。ステップST54においてタスク状
態テーブル63から未完了タスクの存在を確認し、未完
了タスクが存在しない場合にはステップST51へ戻
る。一方、ステップST54において未完了タスクが存
在する場合にはステップ55に移り、未完了タスクのう
ち相対的に自計算機が優先権の高いタスク1個に対し
て、競売テーブル62の該当タスク欄に投票フラグを立
てる。次に、ステップST56に移り、投票フラグを立
てたタスクの競売テーブル62を参照し、他の計算機か
らの投票の存在を確認する。他の計算機からの投票が存
在する場合にはステップST62に進み、前記ステップ
ST53において読み込んだタスク状態テーブル63中
の他の未完了タスクの存在を確認する。他に未完了タス
クが存在しない場合には全てのタスクが実行されている
ので、ステップST51へ戻る。また、他に未完了タス
クが存在する場合には、前記ステップST55からさら
にステップST56の処理に移る。
When activated, the module scheduling unit 71 executes the timer process of step ST51. By the timer processing in step ST51, the subsequent processing is executed at every analysis time interval as described in the first embodiment. Next, the priority table 61 is read in step ST52, and the task state table 63 is read in step ST53. In step ST54, the existence of an incomplete task is confirmed from the task status table 63, and if there is no incomplete task, the process returns to step ST51. On the other hand, when there is an uncompleted task in step ST54, the process proceeds to step 55, and in the uncompleted task, one task having a relatively high priority of its own computer votes in the corresponding task column of the auction table 62. Set a flag Next, in step ST56, the auction table 62 of the task for which the voting flag is set is referred to, and the existence of votes from other computers is confirmed. If there is a vote from another computer, the process proceeds to step ST62, and the presence of another uncompleted task in the task state table 63 read in step ST53 is confirmed. If no other uncompleted task exists, all the tasks have been executed, and the process returns to step ST51. If there are other uncompleted tasks, the process moves from step ST55 to step ST56.

【0057】ステップST56で他の計算機から投票が
なされていない場合にはステップST57に移り、該当
タスクに対してステップST52で読み込んだ優先権テ
ーブル61を参照し、自計算機が最優先権を持つか判断
する。最優先権を持つ場合にはステップST58に移
り、競売テーブル62の該当タスクの自計算機欄に実行
許可フラグを立て、ステップST59でタスク状態テー
ブル63の該当タスク欄に実行中フラグを設定する。次
に、ステップST60において該当する解析モジュール
に対し実行シグナルを送り、ステップST61で解析モ
ジュールからの終了シグナルを受けるまで実行を中断
し、その後、ステップST52へ戻る。
If another computer has not voted in step ST56, the process proceeds to step ST57, and the priority table 61 read in step ST52 is referred to for the relevant task to determine whether the own computer has the highest priority. to decide. If it has the highest priority, the process proceeds to step ST58, an execution permission flag is set in the own computer column of the relevant task of the auction table 62, and an in-execution flag is set in the relevant task column of the task status table 63 in step ST59. Next, in step ST60, an execution signal is sent to the corresponding analysis module, execution is suspended until a termination signal from the analysis module is received in step ST61, and then the process returns to step ST52.

【0058】ステップST57において、投票したタス
クに対し最優先権を持たない場合にはステップST63
に移り、競売テーブル62の該当欄に投票フラグを立
て、ステップST64に移り、実行権管理テーブル60
上のデータを転送した場合の最悪の時間遅れをτとした
ときの倍の2τ時間待つことになる。
In step ST57, if the voted task does not have the highest priority, step ST63.
, The voting flag is set in the corresponding column of the auction table 62, the process proceeds to step ST64, and the execution right management table 60
When the above data is transferred, it will wait 2τ time, which is twice as long as τ is the worst time delay.

【0059】ここで、前記2τ時間待つ理由を説明す
る。ネットワーク型共有メモリはネットワークで接続さ
れた共有メモリであり、ミリ秒以下のオーダーの時間内
で高速に、他計算機の共有メモリ上にデータを転送する
ことができる。しかし、物理的に離れた共有メモリをネ
ットワークで接続しているので転送時間は有限である。
転送するデータ量にも転送時間は影響されるが、実行権
管理テーブル60上のデータを転送した場合の最悪の時
間遅れをτとする。この時間遅れがあるために、ネット
ワーク型共有メモリを用いたスケジューリングでは、同
じタスクの二重起動や無起動などの不具合が発生するこ
とがある。従って、このような不具合を発生させないよ
うにするのが前記ステップST64からステップST6
5までの処理である。
Here, the reason for waiting for the 2τ time will be described. The network-type shared memory is a shared memory connected by a network, and can transfer data to the shared memory of another computer at high speed within a time of the order of milliseconds or less. However, since the shared memories that are physically separated are connected by the network, the transfer time is finite.
Although the transfer time is affected by the amount of data to be transferred, τ is the worst time delay when the data on the execution right management table 60 is transferred. Due to this time delay, in the scheduling using the network-type shared memory, problems such as double activation and non-activation of the same task may occur. Therefore, it is necessary to prevent the occurrence of such a problem from the steps ST64 to ST6.
The process up to 5.

【0060】すなわち、ステップST63で競売テーブ
ル62に投票フラグを立ててから、ステップST64へ
移り、最悪時間遅れτの2倍の時間、すなわち2τより
長い時間、他の計算機からの投票フラグが到着しないか
どうか待つ。2τ時間を待てば、他の計算機上のモジュ
ールスケジューリング部がいかなるタイミングで処理を
していても、競売テーブル62に立てた投票フラグは他
の計算機に届いており、また、他の計算機からの投票フ
ラグは自計算機に届くはずである。
That is, after the voting flag is set in the auction table 62 in step ST63, the process proceeds to step ST64, and the voting flag from another computer does not arrive for a time twice the worst time delay τ, that is, a time longer than 2τ. I will wait. After waiting for 2τ time, the voting flag set in the auction table 62 reaches the other computer and the vote from the other computer is calculated regardless of the timing of the module scheduling unit on the other computer. The flag should reach your computer.

【0061】図14は、ステップST64の、1個のタ
スクに対して相対的に優先度の高い計算機と優先度の低
い計算機の2台の計算機が投票フラグを競合して立てた
場合の処理の流れを示した説明図である。図において、
72aは優先度の高い計算機の処理の時間経過、72b
は優先度の低い計算機の処理の時間経過を示している。
優先度の高い計算機のモジュールスケジューリング部が
該当タスクに対して、競売テーブル62上に投票フラグ
を時刻T0 で立てるとする。優先度の低い計算機が、相
手に対して投票フラグを立てさせないようにするには、
時刻T0-τ以前に投票フラグを立てておけばよい。つま
り、時刻T0 までに相手に投票フラグが届くには、73
で示す時刻領域で投票フラグを立てなければならない。
また、時刻T0 で立てられた優先度の高い計算機からの
投票フラグが優先度の低い計算機で認識できるのは、T
0+τ以降の時刻領域75である。つまり、時刻T0-τか
ら時刻T0+τまでの時刻領域74の間、つまり2τを越
える時間、優先度の低い計算機が解析モジュールの実行
を行わずに待たなければならない。
FIG. 14 shows the processing in step ST64 when two computers, a computer having a relatively high priority and a computer having a relatively low priority for one task, set the voting flags in competition. It is explanatory drawing which showed the flow. In the figure,
72a is the time elapsed for processing by a computer with a high priority, 72b
Indicates the elapsed time of the processing of the computer having the low priority.
It is assumed that the module scheduling unit of the computer having a high priority sets a voting flag on the auction table 62 for the relevant task at time T 0 . To prevent low-priority calculators from flagging opponents,
The voting flag should be set before the time T 0- τ. That is, in order for the voting flag to reach the other party by time T 0 , 73
The voting flag must be set in the time area indicated by.
Further, the voting flag from the computer with the high priority set at time T 0 can be recognized by the computer with the low priority by T
It is the time region 75 after 0 + τ. In other words, during the time region 74 from time T 0- τ to time T 0+ τ, that is, for a time exceeding 2τ, a computer with a low priority must wait without executing the analysis module.

【0062】図13に戻り、ステップST64で2τ時
間待つ間に、競売テーブル62に他の計算機から投票フ
ラグが届いたかをステップST65で判断する。他の計
算機から投票されていなかった場合にはステップST5
8に移り、解析モジュールの実行手続きを行う。一方、
他の計算機から投票フラグが届いた場合には、ステップ
ST66において他の計算機と自計算機の該当タスクに
対する優先権を確認し、優先権が高い場合にはステップ
ST58へ、また優先権が低い場合にはステップST5
2に移る。
Returning to FIG. 13, while waiting for 2τ hours in step ST64, it is determined in step ST65 whether the voting flag has arrived at the auction table 62 from another computer. If no other computer has voted, step ST5
8, the analysis module execution procedure is performed. on the other hand,
If the voting flag arrives from another computer, the priority of the other computer and its own computer for the corresponding task is confirmed in step ST66. If the priority is high, the process proceeds to step ST58, and if the priority is low, Is step ST5
Move to 2.

【0063】以上の構成により、実行権決定部4を省略
した状態でスケジューリングや負荷分散が可能となる。
With the above configuration, scheduling and load distribution can be performed without the execution right decision unit 4.

【0064】実施例5.図15は、この発明の実施例5
による分散型シミュレーション装置の構成を示すブロッ
ク図である。図において、77は各解析モジュールに設
けられ、当該解析モジュールの解析終了直前に終了予定
情報を生成し実行権管理テーブル60上に記録する終了
予定情報記録手段である。
Embodiment 5 FIG. FIG. 15 shows a fifth embodiment of the present invention.
2 is a block diagram showing the configuration of a distributed simulation apparatus according to FIG. In the figure, reference numeral 77 denotes an end scheduled information recording unit which is provided in each analysis module and generates end scheduled information immediately before the analysis of the analysis module is finished and records it on the execution right management table 60.

【0065】この実施例の分散型シミュレーション装置
では、前記実施例2で説明したように、各解析モジュー
ルが解析を終了する直前に、夫々の解析モジュールに設
けられた終了予定情報記録手段77が実行権管理テーブ
ル60のタスク状態テーブル63へ終了予定フラグ、
(例えば、正数の1)を立てるように解析モジュール内
の処理を変更し、また前記実施例4のモジュールスケー
ジューリング部の処理を示す図13のフローチャートに
対し、ステップST71からステップST74を追加し
た図16に示すフローチャートへ変更する。
In the distributed simulation apparatus of this embodiment, as described in the second embodiment, the end scheduled information recording means 77 provided in each analysis module executes immediately before each analysis module finishes the analysis. A scheduled end flag in the task status table 63 of the right management table 60,
Steps ST71 to ST74 are added to the flowchart of FIG. 13 showing the processing of the module scheduling unit of the fourth embodiment by changing the processing in the analysis module so as to set (for example, a positive number 1). Change to the flowchart shown in FIG.

【0066】図16のフローチャートにより、動作につ
いて説明する。ステップST54で未完了タスクの有無
を確認し、未完了タスクが存在する場合にはステップS
T71に移る。ステップST71ではタスク状態テーブ
ル63に終了予定フラグが立っているか確認する。この
終了予定フラグが立っていない場合にはステップST5
5へ移行する。一方、ステップST71で終了予定フラ
グが立っている場合、すなわち終了間際のタスクがある
ときにはステップST72に進み、未完了タスクが複数
であるかどうかを確認する。未完了タスクが1個である
ときにはステップST55に移り、自計算機で未完了タ
スクを実行すべく処理を行う。一方、ステップST72
で未完了タスクが複数個存在する場合には、続くステッ
プST73において終了予定フラグを設定した解析モジ
ュールが動作している計算機に対し、次に実行すべきタ
スクの実行権を与える。ここでいう「次に実行すべきタ
スク」は、未完了タスクの内で該当する計算機に対する
優先権が高い順に決定する。タスク実行権を与えた後、
ステップST55に移り、以降、前記実施例4と同様の
処理動作を行う。
The operation will be described with reference to the flowchart of FIG. In step ST54, it is confirmed whether or not there are any uncompleted tasks.
Move to T71. In step ST71, it is confirmed whether or not the end scheduled flag is set in the task status table 63. If this end schedule flag is not set, step ST5
Go to 5. On the other hand, if the end scheduled flag is set in step ST71, that is, if there is a task near the end, the process proceeds to step ST72, and it is confirmed whether or not there are a plurality of incomplete tasks. When the number of uncompleted tasks is one, the process proceeds to step ST55, and the own computer performs processing to execute the uncompleted tasks. On the other hand, step ST72
If there are a plurality of uncompleted tasks, the execution right of the task to be executed next is given to the computer on which the analysis module for which the end scheduled flag is set operates in step ST73. The "next task to be executed" here is determined in descending order of priority of the corresponding computer among the incomplete tasks. After giving the task execution right,
After moving to step ST55, the same processing operation as that of the fourth embodiment is performed.

【0067】ステップST73において実行権を与えら
れた計算機は、ステップST55からステップST60
までの処理を行った後、ステップST61で解析モジュ
ールの実行完了を確認し、その後、ステップST74で
実行権管理テーブル60を参照し、未完了タスクのうち
自計算機に実行許可フラグが立っているタスクの存在を
確認する。実行許可が出ているタスクが存在する場合に
はステップST59に移り、該当解析モジュールの実行
処理を行う。また実行許可が出ているタスクが存在しな
い場合にはステップST52へ移り、他のタスクを実行
するように処理を進めていく。
The computer to which the execution right is given in step ST73, the steps ST55 to ST60.
After performing the processes up to, the execution completion of the analysis module is confirmed in step ST61, and then the execution right management table 60 is referred to in step ST74, and among the incomplete tasks, the task for which the execution permission flag is set in the own computer Confirm the existence of. If there is a task for which execution permission has been issued, the process proceeds to step ST59 and the analysis module is executed. If there is no task for which execution permission has been issued, the process proceeds to step ST52 and proceeds to execute other tasks.

【0068】以上のように、ステップST71からステ
ップST73までの処理により、終了予定フラグにより
終了間際のタスクがあるかないかを判定し、このとき未
完了タスクが複数あると終了予定フラグを設定した解析
モジュールが動作している計算機に対し、優先権が高い
順に次に実行すべきタスクの実行権を与えるので、タス
ク処理の終了した計算機に対し前記実施例4よりも短時
間で実行権を与えることが可能であり、全体の処理速度
が速くなる。
As described above, by the processing from step ST71 to step ST73, it is determined whether or not there is a task near the end by the end planned flag, and if there are a plurality of incomplete tasks at this time, the analysis is performed by setting the end planned flag. Since the computer on which the module is operating is given the execution right of the task to be executed next in the order of the highest priority, the execution right is given to the computer whose task processing has been completed in a shorter time than in the fourth embodiment. Is possible and the overall processing speed becomes faster.

【0069】実施例6.図17は、この発明の実施例6
による分散型シミュレーション装置の構成を示すブロッ
ク図である。図において、79は各解析モジュールに設
けられ、当該解析モジュールの解析終了までの反復演算
回数を実行権管理テーブル60上へ解析実行中に記録す
る反復演算回数記録手段、80は反復演算回数に基づい
て、当該解析モジュールを実行している計算機に対して
未完了解析モジュールの優先実行権を低位に変更し、当
該未完了解析モジュールに対する他の計算機における実
行権を高位に変更する優先実行権変更手段である。
Example 6. FIG. 17 shows a sixth embodiment of the present invention.
2 is a block diagram showing the configuration of a distributed simulation apparatus according to FIG. In the figure, reference numeral 79 is provided in each analysis module, and the number of repetitive operations until the end of the analysis of the analysis module is recorded on the execution right management table 60 during the analysis, and 80 is based on the number of repetitive operations. Priority changing right means for changing the priority execution right of the incomplete analysis module to the low level for the computer executing the analysis module and changing the execution right of the other computer for the incomplete analysis module to the high level. Is.

【0070】前記実施例5では、解析を終了する直前に
解析モジュールが終了予定フラグを立てることにより、
該当解析モジュールを実行している計算機に対して優先
的に次のタスクを割り当てた。この実施例では、逆に、
解析終了が即座に達成できないような計算機に対して未
完了のタスクに対する優先権を低下させ、全体の処理速
度を早めようとするものである。
In the fifth embodiment, the analysis module sets the end-scheduling flag immediately before the end of the analysis.
The following tasks were preferentially assigned to the computer executing the corresponding analysis module. Conversely, in this example,
It aims to speed up the overall processing speed by lowering the priority of uncompleted tasks for computers whose analysis completion cannot be achieved immediately.

【0071】従来の技術でも説明したように、図20の
ステップST105に示す配管熱流動模擬処理における
物理モデル方程式群は非線形方程式であり、収束演算を
行わないように近似手法を利用して非線形方程式を線形
化する数値解法をとることがある。このような数値解法
においては、近似が成立しなくなるような過渡状態を模
擬する場合、近似が成立するように解析刻み時間を細か
くして反復演算を行う必要がある。近似が成立しない程
度を、以下、マスエラーと呼ぶ。本実施例では、このマ
スエラーによる反復演算を検知して未完了タスクに対す
る優先権を変更する。
As described in the prior art, the group of physical model equations in the pipe thermal-hydraulic simulation process shown in step ST105 of FIG. 20 is a non-linear equation, and the non-linear equation is calculated by using an approximation method so as not to perform the convergence calculation. A numerical solution method that linearizes is sometimes used. In such a numerical solution method, when simulating a transient state in which the approximation does not hold, it is necessary to perform the iterative calculation with a fine analysis step time so that the approximation holds. The degree to which the approximation does not hold is hereinafter called a mass error. In this embodiment, the repetitive operation due to the mass error is detected and the priority of the incomplete task is changed.

【0072】図18は、マスエラーと反復演算回数の関
係を図示した説明図である。線形化式により解析を行う
配管熱流動解析モジュールでは、マスエラー値が大きく
なると反復演算回数を多くとる。つまり、マスエラーが
大きくなる原因は、解析刻み時間における状態量の変化
値が大き過ぎることであり、配管熱流動解析モジュール
内部での解析刻み時間を短くすることによりマスエラー
を小さくし解析精度を確保する手法が採られる。解析刻
み時間が短くなった分、解析モジュール内部で反復演算
を行い、当初の解析刻み時間に相当する時間の解析を行
う。つまり、解析刻み時間が5分の1になった場合、反
復演算は5回行われる。この結果、マスエラーが発生す
ると解析モジュールの実行時間が長くなる(以下、この
ようなタスクを長期タスクと呼ぶ)。従って、該当解析
モジュールを実行している計算機は、優先権を持つ次の
タスクを実行するまでに時間がかかる。このような実行
形態を緩和するために、本実施例では、配管熱流動解析
モジュールに図18に示すようなマスエラーから反復演
算回数を求めるテーブル、および求めた反復演算回数を
実行権管理テーブル60のタスク状態テーブル63へ書
き込む反復演算回数記録手段79を備える。
FIG. 18 is an explanatory diagram showing the relationship between the mass error and the number of repetitive calculations. In the pipe thermal-hydraulic analysis module that performs analysis using the linearization formula, the number of repetitive calculations increases as the mass error value increases. In other words, the reason why the mass error becomes large is that the change value of the state quantity at the analysis time interval is too large. By shortening the analysis time interval inside the pipe heat-fluid analysis module, the mass error is made smaller and the analysis accuracy is secured. The method is adopted. As the analysis time is shortened, the iterative calculation is performed inside the analysis module to analyze the time corresponding to the initial analysis time. That is, when the analysis time interval becomes 1/5, the repetitive calculation is performed 5 times. As a result, when a mass error occurs, the execution time of the analysis module becomes long (hereinafter, such a task is called a long-term task). Therefore, it takes time for the computer executing the corresponding analysis module to execute the next task having priority. In order to mitigate such an execution mode, in the present embodiment, the pipe heat and flow analysis module is provided with a table for obtaining the number of repeated operations from the mass error as shown in FIG. 18, and the obtained number of repeated operations in the execution right management table 60. A task number recording means 79 for writing the task state table 63 is provided.

【0073】また、解析モジュールに対してこのような
機能を与えた場合に、モジュールスケジューリング部7
1は、図19で示すような処理フローに変更する。この
結果、解析モジュール全体のスケジューリングと負荷分
散が可能になる。
When such a function is given to the analysis module, the module scheduling unit 7
1 is changed to a processing flow as shown in FIG. As a result, scheduling and load distribution of the entire analysis module becomes possible.

【0074】図19は、モジュールスケジューリング部
71の動作を示すフローチャートである。図において図
16と同一の処理ステップについては同一符号を付し説
明を省略する。ステップST54で未完了タスクがある
と判断した場合、ステップST81に移る。ステップS
T81では、ステップST53で読み込んだタスク状態
テーブル63に配管熱流動解析モジュールが反復演算回
数を書き込んでいないか確認する。タスク状態テーブル
63に反復演算回数が2以上と書き込まれていた場合、
長期タスクが存在するとしてステップST82へ移る。
一方、長期タスクが存在しない場合はステップST55
へ移り、前記実施例4で説明した動作を行う。
FIG. 19 is a flowchart showing the operation of the module scheduling unit 71. In the figure, the same processing steps as those in FIG. 16 are designated by the same reference numerals and the description thereof will be omitted. When it is determined in step ST54 that there is an incomplete task, the process proceeds to step ST81. Step S
At T81, it is confirmed whether or not the pipe thermal-hydraulic analysis module has written the number of repetitive calculations in the task state table 63 read at step ST53. When the number of iterations is written as 2 or more in the task state table 63,
Since there is a long-term task, the process proceeds to step ST82.
On the other hand, if there is no long-term task, step ST55.
Then, the operation described in the fourth embodiment is performed.

【0075】ステップST82では複数の未完了タスク
が存在するか確認する。未完了タスクが1個の場合には
ステップST55に移り、自計算機で該当未完了タスク
を実行すべく処理を進める。また、ステップST82で
未完了タスクが複数あると判断したときにはステップS
T83へ移り、長期タスクを実行している計算機に最優
先権を持つ未完了タスクが存在するか確認する。存在し
ない場合には、長期タスクを実行している計算機が優先
的に処理すべき未完了タスクが存在しないので優先権の
変更を行う必要はないため、処理をステップST55に
移す。ステップST83において、長期タスクを実行し
ている計算機が最優先権を持つ未完了タスクが存在する
と判断された場合にはステップST84へ移り、当該タ
スクの優先権テーブル61を修正する。
At step ST82, it is confirmed whether or not there are a plurality of incomplete tasks. When the number of unfinished tasks is one, the process proceeds to step ST55, and the processing is advanced to execute the corresponding unfinished task in the own computer. When it is determined in step ST82 that there are a plurality of incomplete tasks, step S
The process proceeds to T83, and it is confirmed whether or not there is an uncompleted task having the highest priority in the computer that is executing the long-term task. If not present, there is no uncompleted task to be preferentially processed by the computer executing the long-term task, so there is no need to change the priority, so the process moves to step ST55. When it is determined in step ST83 that the computer executing the long-term task has an incomplete task having the highest priority, the process proceeds to step ST84 and the priority table 61 of the task is modified.

【0076】修正の方法は、長期タスクを実行している
計算機の優先権を最低にし、他の計算機の優先権を1レ
ベルずつ高くする。
The method of modification is to make the priority of the computer executing the long-term task the lowest and increase the priority of the other computers by one level.

【0077】このように構成することで、ステップST
57からステップST58へ処理を移す計算機は長期タ
スクを実行している計算機でなくなるため、未完了タス
クへの実行権決定がステップST57から直接ステップ
ST58へ移行し決定される可能性が多くなる。従っ
て、解析モジュール全体のスケジューリングと負荷分散
が効率よく行われることになる。
With this configuration, step ST
Since the computer that shifts the processing from 57 to step ST58 is not the computer that is executing the long-term task, there is a high possibility that the execution right determination for the incomplete task will be transferred from step ST57 directly to step ST58 and determined. Therefore, the scheduling and load distribution of the entire analysis module can be efficiently performed.

【0078】以上、説明した全実施例においては、計算
機の台数を3台として説明したが、3台に限定されるも
のではなく、2台以上の複数の計算機においても実行権
管理テーブル60のデータ構成を増減すれば同じ機能が
得られる。
In all the embodiments described above, the number of computers is three, but the number of computers is not limited to three, and the data of the execution right management table 60 can be used for two or more computers. The same function can be obtained by increasing or decreasing the configuration.

【0079】[0079]

【発明の効果】以上のように、請求項1の発明によれ
ば、各計算機内に設けられ解析の機能毎に分割された解
析モジュール群を実行するモジュールスケジューリング
部と、前記計算機の内の所定の計算機内に設けられ前記
モジュールスケジューリング部による前記解析モジュー
ル群の実行を制御する実行権決定部と、解析モジュール
データエリアと実行権管理テーブルとを有し、前記各計
算機と接続されるネットワーク型共有メモリとを備える
ように構成したので、各計算機間で行われるメッセージ
通信によるスケジューリング情報の交換などに伴う負荷
が抑制されて、一連の解析モジュールの実行に要する時
間を短縮することができ、解析精度を落とすことなく実
時間シミュレーションを実現できる効果がある。
As described above, according to the first aspect of the invention, a module scheduling unit for executing an analysis module group which is provided in each computer and is divided for each analysis function, and a predetermined unit in the computer are provided. Network type sharing, which is provided in the computer, has an execution right determining unit that controls the execution of the analysis module group by the module scheduling unit, an analysis module data area, and an execution right management table, and is connected to each computer. Since it is configured to include a memory, the load associated with exchanging scheduling information by message communication between computers can be suppressed, and the time required to execute a series of analysis modules can be shortened. There is an effect that a real-time simulation can be realized without dropping.

【0080】請求項2の発明によれば、終了予定情報を
生成した解析モジュールを実行している計算機に対し、
未完了の解析モジュールへの優先実行権を与える優先実
行権付与手段を有した実行権決定部と、該実行権決定部
により与えられた優先実行権を基に当該計算機で未完了
の解析モジュールを実行するモジュールスケジューリン
グ部とを備えるように構成したので、効率的なスケジュ
ーリングおよび負荷分散が実現でき、解析精度を落とす
ことなく実時間シミュレーションを実現できる効果があ
る。
According to the second aspect of the invention, the computer executing the analysis module that has generated the termination schedule information is
An execution right decision unit having a priority execution right granting unit for giving priority execution right to an unfinished analysis module, and an unfinished analysis module in the computer based on the priority execution right given by the execution right decision unit Since it is configured to include a module scheduling unit for executing, there is an effect that efficient scheduling and load distribution can be realized, and real-time simulation can be realized without lowering analysis accuracy.

【0081】請求項3の発明によれば、各計算機での各
解析モジュールの実行実績を記録する実行実績テーブル
と、規定回数の演算が行われるたびに各計算機の各解析
モジュールに対する優先実行権を前記実行実績に基づい
て修正する修正手段とを有する実行権決定部を備えるよ
うに構成したので、効率のよい負荷分散が実現できる効
果がある。
According to the third aspect of the present invention, the execution record table for recording the execution record of each analysis module in each computer and the priority execution right for each analysis module of each computer are calculated each time the specified number of calculations are performed. Since it is configured to include the execution right determining unit having a correction unit that corrects based on the execution record, there is an effect that efficient load distribution can be realized.

【0082】請求項4の発明によれば、実行権決定部を
不要にし、各計算機に設けられた解析の機能毎に分割さ
れた解析モジュール群の実行制御手順を決定すると共
に、該決定した実行制御手順に従って前記解析モジュー
ル群を実行するモジュールスケジューリング部を備える
ように構成したので、各計算機において全く同一の構成
で解析モジュールのスケジューリングおよび負荷分散を
効率的に実現できる効果がある。
According to the fourth aspect of the present invention, the execution right determining unit is not required, the execution control procedure of the analysis module group divided for each analysis function provided in each computer is determined, and the determined execution is performed. Since the module scheduling unit that executes the analysis module group according to the control procedure is provided, there is an effect that scheduling and load distribution of the analysis module can be efficiently realized with the same configuration in each computer.

【0083】請求項5の発明によれば、実行権管理テー
ブル上の終了予定情報を基に各計算機に設けられた解析
の機能毎に分割された解析モジュール群の実行制御手順
を決定すると共に、該決定した実行制御手順に従って前
記解析モジュール群を実行するモジュールスケジューリ
ング部を備えるように構成したので、各計算機において
全く同一の構成で解析モジュールのスケジューリングお
よび負荷分散をさらに効率良く行うことができる効果が
ある。
According to the invention of claim 5, the execution control procedure of the analysis module group divided for each analysis function provided in each computer is determined based on the end scheduled information on the execution right management table, and Since it is configured to include the module scheduling unit that executes the analysis module group according to the determined execution control procedure, there is an effect that scheduling and load distribution of the analysis module can be performed more efficiently with exactly the same configuration in each computer. is there.

【0084】請求項6の発明によれば、実行権管理テー
ブル上の反復演算回数に基づいて、当該解析モジュール
を実行している計算機に対して未完了解析モジュールへ
の優先実行権を低位に変更し、当該未完了解析モジュー
ルに対する他の計算機における実行権を高位に変更する
優先実行権変更手段を有したモジュールスケジューリン
グ部を備えるように構成したので、一連の解析モジュー
ルの実行を短時間に完了させ、解析精度を落とすことの
ない実時間シミュレーションを実現できる効果がある。
According to the sixth aspect of the invention, the priority execution right to the incomplete analysis module is changed to a low level for the computer executing the analysis module based on the number of repetitive operations on the execution right management table. However, since the module scheduling unit having the priority execution right changing unit for changing the execution right of another computer for the incomplete analysis module to a high level is provided, the execution of the series of analysis modules is completed in a short time. There is an effect that a real-time simulation can be realized without degrading the analysis accuracy.

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

【図1】 この発明の実施例1による分散型シミュレー
ション装置を示すブロック図である。
FIG. 1 is a block diagram showing a distributed simulation apparatus according to a first embodiment of the present invention.

【図2】 図1の分散型シミュレーション装置の実行権
管理テーブルの内部構造を示す説明図である。
FIG. 2 is an explanatory diagram showing an internal structure of an execution right management table of the distributed simulation apparatus of FIG.

【図3】 図1の分散型シミュレーション装置における
実行権管理テーブルの内部状態の一例を示した説明図で
ある。
3 is an explanatory diagram showing an example of an internal state of an execution right management table in the distributed simulation apparatus of FIG.

【図4】 図1の分散型シミュレーション装置の実行権
決定部の動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of an execution right decision unit of the distributed simulation apparatus of FIG.

【図5】 図1の分散型シミュレーション装置のモジュ
ールスケジューリング部の動作を示すフローチャートで
ある。
5 is a flowchart showing an operation of a module scheduling unit of the distributed simulation system of FIG.

【図6】 この発明の実施例2による分散型シミュレー
ション装置を示すブロック図である。
FIG. 6 is a block diagram showing a distributed simulation apparatus according to a second embodiment of the present invention.

【図7】 図6の分散型シミュレーション装置の実行権
決定部の動作を示すフローチャートである。
FIG. 7 is a flowchart showing an operation of an execution right decision unit of the distributed simulation system of FIG.

【図8】 図6の分散型シミュレーション装置のモジュ
ールスケジューリング部の動作を示すフローチャートで
ある。
8 is a flowchart showing an operation of a module scheduling unit of the distributed simulation system of FIG.

【図9】 この発明の実施例3による分散型シミュレー
ション装置を示すブロック図である。
FIG. 9 is a block diagram showing a distributed simulation apparatus according to a third embodiment of the present invention.

【図10】 図9の分散型シミュレーション装置のタス
ク実行実績テーブルの構成を示す説明図である。
10 is an explanatory diagram showing a configuration of a task execution record table of the distributed simulation system of FIG.

【図11】 図9の分散型シミュレーション装置の実行
権決定部の動作を示すフローチャートである。
11 is a flowchart showing an operation of an execution right decision unit of the distributed simulation system of FIG.

【図12】 この発明の実施例4による分散型シミュレ
ーション装置を示すブロック図である。
FIG. 12 is a block diagram showing a distributed simulation apparatus according to a fourth embodiment of the present invention.

【図13】 図12の分散型シミュレーション装置のモ
ジュールスケジューリング部の動作を示すフローチャー
トである。
13 is a flowchart showing an operation of a module scheduling unit of the distributed simulation system of FIG.

【図14】 図12の分散型シミュレーション装置にお
いて投票フラグを競合して立てた場合の処理の流れを示
した説明図である。
FIG. 14 is an explanatory diagram showing a flow of processing when voting flags are set in competition in the distributed simulation apparatus of FIG.

【図15】 この発明の実施例5による分散型シミュレ
ーション装置を示すブロック図である。
FIG. 15 is a block diagram showing a distributed simulation apparatus according to a fifth embodiment of the present invention.

【図16】 図15の分散型シミュレーション装置のモ
ジュールスケジューリング部の動作を示すフローチャー
トである。
16 is a flowchart showing an operation of a module scheduling unit of the distributed simulation system of FIG.

【図17】 この発明の実施例6による分散型シミュレ
ーション装置を示すブロック図である。
FIG. 17 is a block diagram showing a distributed simulation apparatus according to Embodiment 6 of the present invention.

【図18】 図17の分散型シミュレーション装置にお
けるマスエラーと反復演算回数の関係を図示した説明図
である。
18 is an explanatory diagram illustrating the relationship between the mass error and the number of repetitive operations in the distributed simulation apparatus of FIG.

【図19】 図17の分散型シミュレーション装置のモ
ジュールスケジューリング部の動作を示すフローチャー
トである。
19 is a flowchart showing the operation of the module scheduling unit of the distributed simulation system of FIG.

【図20】 従来の一般的なPWRプラントのシミュレ
ーションプログラムの構成を示すフローチャートであ
る。
FIG. 20 is a flowchart showing the configuration of a conventional general PWR plant simulation program.

【図21】 従来の分散型シミュレーション装置のシス
テム構成概念図である。
FIG. 21 is a system configuration conceptual diagram of a conventional distributed simulation apparatus.

【符号の説明】 4 実行権決定部、4a 実行実績テーブル、4b 修
正手段、12,13,14,15,16 解析モジュー
ル(解析モジュール群)、11,71 モジュールスケ
ジューリング部、40 共有メモリ(ネットワーク型共
有メモリ)、50 解析モジュールデータエリア、60
実行権管理テーブル、69,77 終了予定情報記録
手段、70 優先実行権付与手段、79 反復演算回数
記録手段、80 優先実行権変更手段。
[Description of Reference Signs] 4 execution right determination unit, 4a execution result table, 4b correction means, 12, 13, 14, 15, 16 analysis module (analysis module group), 11,71 module scheduling unit, 40 shared memory (network type Shared memory), 50 analysis module data area, 60
Execution right management table, 69, 77 end scheduled information recording means, 70 priority execution right giving means, 79 repetitive operation number recording means, 80 priority execution right changing means.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク型共有メモリにより結合さ
れた複数の計算機からなる分散型シミュレーション装置
において、前記各計算機内に設けられ解析の機能毎に分
割された解析モジュール群と、これらの解析モジュール
群を実行するモジュールスケジューリング部と、前記計
算機の内の所定の計算機内に設けられ前記モジュールス
ケジューリング部による前記解析モジュール群の実行を
制御する実行権決定部と、前記ネットワーク型共有メモ
リ上に設定され、前記解析モジュール群による処理を行
った際のデータを格納する解析モジュールデータエリア
と、前記解析モジュール群の実行スケジューリング情報
が記述される実行権管理テーブルとを備えたことを特徴
とする分散型シミュレーション装置。
1. In a distributed simulation apparatus comprising a plurality of computers connected by a network type shared memory, an analysis module group provided in each computer and divided for each analysis function, and these analysis module groups are provided. A module scheduling unit to be executed, an execution right determining unit that is provided in a predetermined computer of the computers and controls execution of the analysis module group by the module scheduling unit, and is set on the network-type shared memory, and A distributed simulation apparatus, comprising: an analysis module data area for storing data when processing is performed by the analysis module group; and an execution right management table in which execution scheduling information of the analysis module group is described.
【請求項2】 前記解析モジュール群は、解析終了直前
に終了予定情報を生成し前記実行権管理テーブル上に記
録する終了予定情報記録手段を有し、前記実行権決定部
は、前記終了予定情報を生成した解析モジュールを実行
している計算機に対し、未完了の解析モジュールへの優
先実行権を与える優先実行権付与手段を有し、前記モジ
ュールスケジューリング部は、前記実行権決定部により
与えられた優先実行権を基に当該計算機で未完了の解析
モジュールを実行することを特徴とする請求項1記載の
分散型シミュレーション装置。
2. The analysis module group includes end scheduled information recording means for generating end scheduled information immediately before the end of analysis and recording the scheduled end information on the execution right management table, and the execution right determination unit includes the end scheduled information. To the computer that is executing the analysis module that has generated a priority execution right to the analysis module that has not been completed, the module scheduling unit is provided by the execution right determination unit The distributed simulation apparatus according to claim 1, wherein an incomplete analysis module is executed in the computer based on the priority execution right.
【請求項3】 前記実行権決定部は、各計算機での各解
析モジュールの実行実績を記録する実行実績テーブル
と、規定回数の演算が行われるたびに各計算機の各解析
モジュールに対する優先実行権を前記実行実績に基づい
て修正する修正手段を備えていることを特徴とする請求
項1記載の分散型シミュレーション装置。
3. The execution right determining unit stores an execution result table for recording the execution results of each analysis module in each computer, and a priority execution right for each analysis module of each computer every time a specified number of calculations are performed. The distributed simulation apparatus according to claim 1, further comprising a correction unit that corrects based on the execution record.
【請求項4】 前記実行権決定部を排除し、前記モジュ
ールスケジューリング部は、前記各計算機に設けられた
解析の機能毎に分割された解析モジュール群の実行制御
手順を決定すると共に、該決定した実行制御手順に従っ
て前記解析モジュール群を実行することを特徴とする請
求項1記載の分散型シミュレーション装置。
4. The execution right determining unit is excluded, and the module scheduling unit determines and determines an execution control procedure of an analysis module group divided for each analysis function provided in each computer. The distributed simulation apparatus according to claim 1, wherein the analysis module group is executed according to an execution control procedure.
【請求項5】 前記解析モジュール群は、解析終了直前
に終了予定情報を生成し前記実行権管理テーブル上に記
録する終了予定情報記録手段を有し、前記モジュールス
ケジューリング部は、前記終了予定情報を基に前記各計
算機に設けられた解析モジュール群の実行制御手順を決
定すると共に、該決定した実行制御手順に従って前記解
析モジュール群を実行することを特徴とする請求項4記
載の分散型シミュレーション装置。
5. The analysis module group includes end schedule information recording means for generating end schedule information immediately before the end of analysis and recording it on the execution right management table, and the module scheduling unit stores the end schedule information. 5. The distributed simulation apparatus according to claim 4, wherein the execution control procedure of the analysis module group provided in each computer is determined based on the basis, and the analysis module group is executed according to the determined execution control procedure.
【請求項6】 前記解析モジュールは、解析終了までの
反復演算回数を実行権管理テーブル上へ解析実行中に記
録する反復演算回数記録手段を備え、前記モジュールス
ケジューリング部は、前記反復演算回数に基づいて、当
該解析モジュールを実行している計算機に対して未完了
解析モジュールの優先実行権を低位に変更する一方、当
該未完了解析モジュールに対する他の計算機における実
行権を高位に変更する優先実行権変更手段を備えている
ことを特徴とする請求項4記載の分散型シミュレーショ
ン装置。
6. The analysis module comprises a repetitive operation number recording means for recording the repetitive operation number until the end of the analysis on the execution right management table during the analysis execution, and the module scheduling section is based on the repetitive operation number. Change the priority execution right of the incomplete analysis module to the low level for the computer executing the analysis module, and change the execution right of other computers to the high level to the incomplete analysis module The distributed simulation apparatus according to claim 4, further comprising means.
JP16895295A 1995-07-04 1995-07-04 Decentralized simulation device Pending JPH0916554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16895295A JPH0916554A (en) 1995-07-04 1995-07-04 Decentralized simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16895295A JPH0916554A (en) 1995-07-04 1995-07-04 Decentralized simulation device

Publications (1)

Publication Number Publication Date
JPH0916554A true JPH0916554A (en) 1997-01-17

Family

ID=15877596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16895295A Pending JPH0916554A (en) 1995-07-04 1995-07-04 Decentralized simulation device

Country Status (1)

Country Link
JP (1) JPH0916554A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212818A (en) * 1998-01-23 1999-08-06 Mitsubishi Electric Corp Decentralized simulation system
JP2000163392A (en) * 1998-11-30 2000-06-16 Mitsubishi Electric Corp Parallel distributed simulation system, simulation manager and parallel distributed simulator control method
JP2009277010A (en) * 2008-05-14 2009-11-26 Toshiba Mitsubishi-Electric Industrial System Corp Plant simulation system construction method and device therefor
CN103838188A (en) * 2012-11-20 2014-06-04 中核建中核燃料元件有限公司 UF6 vaporization automatic control system and control method thereof
CN109902355A (en) * 2019-01-29 2019-06-18 中国航空无线电电子研究所 The method of load data processing unit is laid out in MCU cabinet

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212818A (en) * 1998-01-23 1999-08-06 Mitsubishi Electric Corp Decentralized simulation system
JP2000163392A (en) * 1998-11-30 2000-06-16 Mitsubishi Electric Corp Parallel distributed simulation system, simulation manager and parallel distributed simulator control method
JP2009277010A (en) * 2008-05-14 2009-11-26 Toshiba Mitsubishi-Electric Industrial System Corp Plant simulation system construction method and device therefor
CN103838188A (en) * 2012-11-20 2014-06-04 中核建中核燃料元件有限公司 UF6 vaporization automatic control system and control method thereof
CN109902355A (en) * 2019-01-29 2019-06-18 中国航空无线电电子研究所 The method of load data processing unit is laid out in MCU cabinet

Similar Documents

Publication Publication Date Title
US4495562A (en) Job execution multiplicity control method
Sanders et al. A unified approach for specifying measures of performance, dependability and performability
US4414624A (en) Multiple-microcomputer processing
US5488713A (en) Computer simulation technique for predicting program performance
US7200688B2 (en) System and method asynchronous DMA command completion notification by accessing register via attached processing unit to determine progress of DMA command
CN100474240C (en) Systems and methods for implementing an operating system in a virtual machine environment
US7464208B2 (en) Method and apparatus for shared resource management in a multiprocessing system
JPH0533423B2 (en)
Guo et al. A comparative study of predictable dram controllers
CN105243033A (en) Data processing method and electronic device
JPH07325861A (en) Method and system for change of project model
JPH0916554A (en) Decentralized simulation device
US7216252B1 (en) Method and apparatus for machine check abort handling in a multiprocessing system
CN109656868A (en) A kind of internal storage data transfer method between CPU and GPU
US8145739B2 (en) Method of analyzing non-preemptive DRAM transactions in real-time unified memory architectures
JPH0798663A (en) Asynchronous i/o control system
JP2587434B2 (en) Data input / output processing method
JPS6136845A (en) Single-chip microcomputer
M'Sirdi et al. Improved resource efficient allocation of ima applications to multi-cores
JP3647287B2 (en) Multiprocessor system performance evaluation method and apparatus
CN103310048A (en) Electric collaborative real-time simulation platform system and data collaboration method thereof
McJones et al. History of the CAL Timesharing System
JPS60138661A (en) Processor control system
Das et al. DORMS—A design tool for multiple microprocessor systems
Guan et al. A generalized stochastic Petri net approach for modeling multiprocessor parallel processing systems