JP2009157669A - Plant simulator and plant simulation method - Google Patents

Plant simulator and plant simulation method Download PDF

Info

Publication number
JP2009157669A
JP2009157669A JP2007335522A JP2007335522A JP2009157669A JP 2009157669 A JP2009157669 A JP 2009157669A JP 2007335522 A JP2007335522 A JP 2007335522A JP 2007335522 A JP2007335522 A JP 2007335522A JP 2009157669 A JP2009157669 A JP 2009157669A
Authority
JP
Japan
Prior art keywords
plant
control
model
calculated
calculation unit
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
JP2007335522A
Other languages
Japanese (ja)
Inventor
Yasuhiro Nakajima
泰宏 中島
Kazuhiko Ishii
一彦 石井
Nao Masunaga
直 舛永
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007335522A priority Critical patent/JP2009157669A/en
Priority to CA002647860A priority patent/CA2647860A1/en
Publication of JP2009157669A publication Critical patent/JP2009157669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Feedback Control In General (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a plant simulator and a plant simulation method aiming at speed up of simulation operation. <P>SOLUTION: In a DCS model operation unit 20, plant state amounts operated periodically by a plant model operation unit 10 are received; the plant state amounts are stored in a memory 22 for each of a plurality of execution periods; a control model is utilized on the basis of the individual stored plant state to operate a corresponding controlled amount; the operated controlled amount is transmitted via a communication interface 23; a controlled amount operated in the phase of a given execution period is compared with a controlled amount operated in the phase of the prior execution period; and the comparison result or the compared controlled amounts are transmitted to the plant model operation unit. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、プラントシミュレータ及びプラントシミュレーション方法に関する。   The present invention relates to a plant simulator and a plant simulation method.

プラントシミュレータはプラントの挙動あるいはこれを制御する制御装置の挙動をシミュレーションするものである。プラントの挙動については、プラントモデルを用いてプラント状態量を演算することでシミュレーションを行うが、演算にはプラントの制御量が必要である。一方、制御装置の挙動については、制御モデルを用いて制御量を演算するシミュレーションを行うが、演算にはプラント状態量が必要である。そのために、プラント状態量の演算と制御量の演算では、互いの演算結果を授受して行っていた。   The plant simulator simulates the behavior of the plant or the behavior of the control device that controls the behavior. The behavior of the plant is simulated by calculating a plant state quantity using a plant model, but the control amount of the plant is necessary for the calculation. On the other hand, with respect to the behavior of the control device, a simulation for calculating the controlled variable is performed using the control model, but the plant state variable is required for the calculation. Therefore, in the calculation of the plant state quantity and the calculation of the control quantity, the mutual calculation results are exchanged.

従来は、プラント状態量のシミュレーション演算部と制御量のシミュレーション演算部は1つの装置として構成され、プラント状態量と制御量は逐一相手側の演算部に送られ、相手側の演算部では、相手側から情報を受けとってから演算を始めるようになっていた。このような技術は、例えば、特開平8−254942号公報に知られている。   Conventionally, the plant state quantity simulation computation unit and the control quantity simulation computation unit are configured as one device, and the plant state quantity and the control amount are sent to the counterpart computation unit one by one. The calculation was started after receiving information from the side. Such a technique is known, for example, in Japanese Patent Laid-Open No. 8-254944.

特開平8−254942号公報JP-A-8-254942

上記の従来技術では、情報を受けとってから逐一演算するので、シミュレーション演算の高速化ができなかった。   In the above prior art, since the calculation is performed one by one after receiving the information, the speed of the simulation calculation cannot be increased.

また、プラントシミュレータにおいて、プラントの挙動を模擬するプラントモデルと、プラントを制御するDCSモデルを別々に用意することがある。従来の技術では、プラントモデルとDCSモデルは1つの装置にて実装するので、別々に用意したプラントモデルとDCSモデルを統合する必要があり、その作業に手間がかかった。   In the plant simulator, a plant model that simulates the behavior of the plant and a DCS model that controls the plant may be prepared separately. In the conventional technique, since the plant model and the DCS model are mounted by one apparatus, it is necessary to integrate the separately prepared plant model and the DCS model, which takes time and effort.

本発明の目的は、上記問題点の少なくとも1つを解決することが可能なプラントシミュレータ及びプラントシミュレーション方法を提供することにある。   An object of the present invention is to provide a plant simulator and a plant simulation method capable of solving at least one of the above problems.

上記目的を達成するために、本発明では、プラントモデル演算部で周期的に演算されるプラント状態量を受け取り、前記プラント状態量を複数周期記憶し、前記記憶された各々のプラント状態量に基づいて制御モデルを利用して対応する制御量を演算し、前記演算された制御量を送信し、所定の周期の演算された制御量とそれよりも前に演算された制御量を比較し、前記比較結果あるいは前記比較された制御量を前記プラントモデル演算部に送信するように構成した。   In order to achieve the above object, in the present invention, a plant state quantity periodically calculated by a plant model calculation unit is received, the plant state quantity is stored for a plurality of periods, and the plant state quantity is stored based on each stored plant state quantity. Calculating a corresponding control amount using a control model, transmitting the calculated control amount, comparing the calculated control amount of a predetermined period with a control amount calculated before that, and The comparison result or the compared control amount is transmitted to the plant model calculation unit.

また、プラント状態量を時系列的に演算し、プラント制御演算部で演算される制御量を受信し、前記制御量に基づいて前記制御量と時間的に関連付けられたプラント状態量を演算し、前記演算したプラント状態量のうちの一部を、前記制御量と時間的に関連付けられて演算されたプラント状態量に置き換えるように構成した。   Further, the plant state quantity is calculated in time series, the control quantity calculated by the plant control calculation unit is received, the plant state quantity temporally associated with the control quantity is calculated based on the control quantity, A part of the calculated plant state quantity is configured to be replaced with a plant state quantity which is calculated in association with the control amount in terms of time.

また、プラントモデル演算装置と、DCSモデル演算装置を有し、前記プラントモデル演算装置は、実プラントの挙動を模擬するプラントモデル実行部と、DCSモデル演算装置からの入力を格納するメモリ領域と、前記プラントモデル実行部の演算結果を複数周期分格納するメモリ領域と、一定の周期で前記プラントモデル実行部の演算結果の複数周期分をDCSモデルに出力する手段を備える。   The plant model computing device includes a plant model computing device and a DCS model computing device, the plant model computing device including a plant model execution unit that simulates the behavior of an actual plant, a memory area that stores an input from the DCS model computing device, A memory region for storing the calculation results of the plant model execution unit for a plurality of cycles, and means for outputting a plurality of cycles of the calculation results of the plant model execution unit to the DCS model at a constant cycle.

前記プラントモデルは、前回演算結果であるプラント条件と、DCSモデル演算装置からの入力を入力条件として周期的に演算を行い、演算結果をメモリ領域に格納することを特徴とする。   The plant model is characterized in that a calculation is periodically performed using a plant condition as a previous calculation result and an input from a DCS model calculation device as input conditions, and the calculation result is stored in a memory area.

前期DCSモデル演算装置からの入力を格納するメモリ領域は、DCSモデル演算装置からの指令によってその値を更新する。   The value of the memory area that stores the input from the DCS model arithmetic unit in the previous period is updated by a command from the DCS model arithmetic unit.

前記DCSモデル演算装置は、実プラントを制御するDCSを模擬するDCSモデル実行部と、前記プラントモデル演算装置からの複数周期の演算結果を格納するメモリ領域と、前記DCSモデル実行部の演算結果を格納する今回演算結果メモリ領域と、前記DCSモデル実行部の前回演算結果を格納する前回演算結果メモリ領域と、前記メモリ領域の今回結果と前回結果を比較する手段と、一定の周期で前記DCSモデル実行部の演算結果をプラントモデルに出力する手段を備える。   The DCS model calculation device includes a DCS model execution unit that simulates a DCS that controls an actual plant, a memory area that stores calculation results of a plurality of cycles from the plant model calculation device, and a calculation result of the DCS model execution unit. A current calculation result memory area to be stored; a previous calculation result memory area for storing the previous calculation result of the DCS model execution unit; means for comparing the current result and the previous result in the memory area; and the DCS model at a constant cycle Means for outputting the calculation result of the execution unit to the plant model.

前記DCSモデルは、前記プラントモデルからの演算結果を入力条件として周期的に演算を行い、前記今回演算結果メモリ領域の内容を前記前回演算結果メモリ領域に格納し、今回の演算結果を前記今回演算結果メモリ領域に格納する。さらに、前記今回演算結果メモリ領域と前記前回演算結果メモリ領域の内容を比較し、内容が一致しない場合は、前記プラントモデル演算装置にDCS演結果書き換え指令と共に、演算結果を出力する。   The DCS model periodically calculates the calculation result from the plant model as an input condition, stores the contents of the current calculation result memory area in the previous calculation result memory area, and calculates the current calculation result as the current calculation result. Store in the result memory area. Further, the contents of the current calculation result memory area and the previous calculation result memory area are compared, and if the contents do not match, the calculation result is output to the plant model calculation device together with a DCS performance result rewrite command.

本発明によれば、シミュレーション演算の高速化が可能になる。   According to the present invention, simulation computation can be speeded up.

また、プラントの挙動を模擬するプラントモデルと、プラントを制御するDCSモデルを別々に開発し、プラントシミュレータを構築することが可能となる。具体的には、あるDCSモデルに対し、プラントモデルを独立して用意することや、その逆に、あるプラントモデルに対し、DCSモデルを独立に用意することが可能となり、プラントシミュレータ開発における設計効率の向上が可能となる。   In addition, it is possible to separately develop a plant model that simulates the behavior of the plant and a DCS model that controls the plant, and to construct a plant simulator. Specifically, a plant model can be prepared independently for a certain DCS model, and conversely, a DCS model can be prepared independently for a certain plant model. Can be improved.

本発明によるプラントシミュレータを図面を用いて説明する。図1はプラントシミュレータの全体構成図である。実プラントの挙動を模擬するプラントモデル演算装置(プラントモデル演算部とも称する。)(PC1)10と、実プラントの制御を模擬するDCSモデル演算装置(制御モデル演算部とも称する。)(PC2)20と、それらを互いに接続する通信インタフェース13,23とで構成される。   A plant simulator according to the present invention will be described with reference to the drawings. FIG. 1 is an overall configuration diagram of a plant simulator. A plant model calculation device (also referred to as a plant model calculation unit) (PC1) 10 that simulates the behavior of an actual plant, and a DCS model calculation device (also referred to as a control model calculation unit) (PC2) 20 that simulates control of an actual plant. And communication interfaces 13 and 23 for connecting them together.

PC1(10)は、実プラントの挙動を周期的に模擬するプラントモデル実行部11と、プラントモデル実行回数格納メモリ領域12aと、プラントモデル実行部の演算結果を複数回分格納するプラントモデル条件格納メモリ領域12b(プラントモデル条件はプラント状態量と同義である。)と、PC2(20)からの演算結果を格納するDCSモデル条件格納メモリ領域12c(DCSモデル条件は制御量と同義である。)と、プラントモデル実行部11の演算周期とは別周期(プラントモデル実行11の演算周期より長い周期)で、複数回分の演算結果をPC2(20)に出力する通信インターフェース13を備えている。   The PC 1 (10) includes a plant model execution unit 11 that periodically simulates the behavior of an actual plant, a plant model execution count storage memory area 12a, and a plant model condition storage memory that stores a plurality of calculation results of the plant model execution unit. Area 12b (the plant model condition is synonymous with the plant state quantity) and a DCS model condition storage memory area 12c (the DCS model condition is synonymous with the control quantity) for storing the calculation result from the PC2 (20). The communication interface 13 is provided that outputs the calculation results for a plurality of times to the PC 2 (20) at a different period (longer than the calculation period of the plant model execution 11) from the calculation period of the plant model execution unit 11.

PC2(20)は、実プラントの制御を周期的に模擬するDCSモデル実行部21と、プラントモデル演算結果格納メモリ領域22bと、DCSモデル実行回数格納メモリ領域22aと、DCSモデル実行部の今回演算結果を格納する今回演算結果格納メモリ領域22cと、DCSモデル実行部の前回演算結果を格納する前回演算結果格納メモリ領域22dとを備え、今回演算結果と前回演算結果の内容を比較し(前回より前の演算結果との比較しても良い)、内容が一致しない場合は、通信インターフェース23を介して、今回演算結果をPC1(10)に出力するようになっている。   The PC 2 (20) is a DCS model execution unit 21 that periodically simulates control of an actual plant, a plant model calculation result storage memory area 22b, a DCS model execution count storage memory area 22a, and a current calculation of the DCS model execution unit. The present calculation result storage memory area 22c for storing the result and the previous calculation result storage memory area 22d for storing the previous calculation result of the DCS model execution unit are provided, and the contents of the current calculation result and the previous calculation result are compared (from the previous time). If the contents do not match, the current calculation result is output to the PC 1 (10) via the communication interface 23.

図2はプラントモデル実行部11の概念図である。ここでは、プラントモデル条件として流量(Flow)に具体化して説明する。すなわち、プラントモデル実行部11は、図2に示すプラントモデルを想定してプラント状態量を演算する。このモデルでは、容器201(水位がLevel(m)、外部圧力がPair(pascal))から圧力P(pascal)でポンプ202に流体が供給される(P1=Pair+1/10Level…(1)式)。ポンプ202は関係式206(流量Flow(m3/s))に対して徐々に全揚程(pascal)が低くなる関係f(Flow)に基づいて加圧される(P2=P1+f(Flow))。さらに、ポンプ202から供給される流量は弁204で制限される。弁204では関係式207(開度Openingに対して制限係数CVが大きくなる関係)(ここで、P2=CV*Flow2+Pairが成立する)に応じて流量が制限される。 FIG. 2 is a conceptual diagram of the plant model execution unit 11. Here, the flow rate (Flow) is concretely described as the plant model condition. That is, the plant model execution unit 11 calculates the plant state quantity assuming the plant model shown in FIG. In this model, fluid is supplied to the pump 202 at a pressure P (pascal) from the container 201 (water level is Level (m), external pressure is P air (pascal)) (P 1 = P air +1/10 Level... (1 )formula). The pump 202 is pressurized based on a relation f (Flow) in which the total head (pascal) gradually decreases with respect to the relational expression 206 (flow rate Flow (m 3 / s)) (P 2 = P 1 + f (Flow). )). Further, the flow rate supplied from the pump 202 is limited by the valve 204. In the valve 204, the flow rate is limited according to a relational expression 207 (a relation in which the restriction coefficient CV increases with respect to the opening degree Opening) (where P 2 = CV * Flow 2 + P air is established).

すなわち、プラントモデル実行部11では以下の式(1)〜(3)から連立方程式の解法によってFlow(m3/s)を求める。 That is, the plant model execution unit 11 obtains Flow (m 3 / s) from the following equations (1) to (3) by solving simultaneous equations.

1=Pair+1/10Level …(1)
2=P1+f(Flow) …(2)
2=CV*Flow2+Pair …(3)
P 1 = P air +1/10 Level (1)
P 2 = P 1 + f (Flow) (2)
P 2 = CV * Flow 2 + P air (3)

(Pairは定数、Level,CVはプラントモデル実行部11で他のプラント状態量に基づいて別計算を用いて求めるが具体的な計算方法は省略。このLevel,CVが変化すると、これに対応して流量Flowが変化する。)
このようにプラントモデル実行部11で求められた流量Flowは流量計FT203で計測されたものとして、PC2(20)に送られる。
(P air is a constant, and Level and CV are obtained by another calculation based on other plant state quantities in the plant model execution unit 11, but a specific calculation method is omitted. If this Level and CV change, this corresponds to this. And the flow rate Flow changes.)
Thus, the flow rate Flow obtained by the plant model execution unit 11 is sent to the PC 2 (20) as being measured by the flow meter FT203.

図3はDCSモデル実行部21の概念図である。ここでは、DCSモデル条件としてOpening(弁開度)に具体化して説明する。すなわち、DCSモデル実行部21は、図3に示す制御モデルを想定して制御量を演算する。このモデルでは、比較部302が一定値(目標流量)301とプラント状態量(流量Flow(m3/s)、PC1(10)から受信とを比較する。比較結果に基づいて、比例演算部303が比例演算(Kp△Flow,△Flow=Flown−Flown-1)を行う。一方、積分演算部304は積分演算(積分係数Sを用いた偏差△Flowの積分値を演算)を行う。加算部305は、比例演算部303の演算結果と積分演算部との演算結果304を加算して、この演算結果をOpening(開度)として出力する。 FIG. 3 is a conceptual diagram of the DCS model execution unit 21. Here, the DCS model condition will be specifically described as Opening (valve opening). That is, the DCS model execution unit 21 calculates the control amount assuming the control model shown in FIG. In this model, the comparison unit 302 compares the constant value (target flow rate) 301 with the plant state quantity (flow rate Flow (m 3 / s), received from PC1 (10). Based on the comparison result, the proportional operation unit 303 is compared. Performs a proportional operation (K p ΔFlow, ΔFlow = Flow n −Flow n−1 ), while the integral operation unit 304 performs an integral operation (calculates an integral value of the deviation ΔFlow using the integral coefficient S). The adding unit 305 adds the calculation result of the proportional calculation unit 303 and the calculation result 304 of the integral calculation unit, and outputs the calculation result as Opening (opening).

このように、図1においてPC1(10)はプラントモデルを実行し、PC2(20)との通信等を行う。PC1(10)においてプラントモデル実行部11は実プラントの挙動を模擬する。メモリ12はプラントモデル実行部11が実行するプログラムや入出力値を格納する。特にメモリ領域12aはプラントモデルが実行された回数を格納し、メモリ領域12bはプラントの初期条件(0回目プラント条件)及び、プラントモデル実行部11が演算したプラントの条件を、実行回数と共に格納し、メモリ領域12cはDCSモデルの条件を格納する。通信インターフェース13はPC2(20)との通信を可能にする。   As described above, in FIG. 1, the PC 1 (10) executes the plant model and communicates with the PC 2 (20). In PC1 (10), the plant model execution unit 11 simulates the behavior of the actual plant. The memory 12 stores programs executed by the plant model execution unit 11 and input / output values. In particular, the memory area 12a stores the number of times the plant model has been executed, and the memory area 12b stores the initial conditions of the plant (the 0th plant condition) and the plant conditions calculated by the plant model execution unit 11 together with the number of executions. The memory area 12c stores DCS model conditions. The communication interface 13 enables communication with the PC 2 (20).

PC1(10)は、前記プラントモデル条件格納メモリ領域12aのプラントモデル実行回数格納メモリ領域に格納された回数(初回起動時は0)を条件として所定のモデル演算周期でプラントモデルの演算を行う。DCSモデル条件格納メモリ領域12cの条件を入力としてプラントモデルの演算を行い、前記プラントモデル実行周期格納メモリ領域12aに格納された実行回数をインクリメントし、演算結果を、このモデル演算周期の演算に用いるための前記プラントモデル条件格納メモリ領域12bに実行回数周期と共に格納する。また、PC2(20)からの所定の要求が受け付けられるのを条件として、前記DCSモデル条件格納メモリ領域12cの内容を、PC2(20)から送られた内容に更新する。また、詳細は後述するが、PC2(20)から所定の実行回数のモデル演算をやりなおすべき旨の要求があると、指定された実行回数の周期を前記プラントモデル実行周期格納メモリ領域12aに格納し、プラントモデルの演算を行う。また、一定の通信周期で(通信周期はモデル演算周期より長く設定される)でプラントモデル条件格納メモリ領域12bの内容を複数回数分まとめてPC2(20)に出力する。   The PC1 (10) performs a plant model calculation at a predetermined model calculation cycle on the condition that the number of times stored in the plant model execution count storage memory area of the plant model condition storage memory area 12a (0 at the first start-up). The plant model calculation is performed with the condition of the DCS model condition storage memory area 12c as an input, the number of executions stored in the plant model execution cycle storage memory area 12a is incremented, and the calculation result is used for the calculation of this model calculation cycle. Are stored together with the number of execution cycles in the plant model condition storage memory area 12b. Further, on the condition that a predetermined request from the PC 2 (20) is accepted, the contents of the DCS model condition storage memory area 12c are updated to the contents sent from the PC 2 (20). Further, as will be described in detail later, when there is a request from the PC 2 (20) to re-execute the predetermined number of model calculations, the specified number of execution cycles is stored in the plant model execution cycle storage memory area 12a. The plant model is calculated. Further, the contents of the plant model condition storage memory area 12b are collectively output a plurality of times to the PC 2 (20) at a fixed communication cycle (the communication cycle is set longer than the model calculation cycle).

PC2(20)は、PC1(10)から出力された演算結果をプラントモデル演算結果格納メモリ領域22bに格納し、PC2(20)から送られた演算周期(実行回数)のうち先頭の演算周期(実行回数)を前記DCSモデル実行周期格納メモリ領域22aに格納する。DCSモデル実行部21は、プラントモデル条件格納メモリ領域22bに格納された条件と、DCSモデル実行周期格納メモリ領域22aに格納された条件を入力としてモデル演算周期でDCSモデルの演算を行い、今回演算結果格納メモリ領域22cの内容を前回演算結果格納メモリ領域22dに格納すると共に、今回DCSモデルの演算結果を今回演算結果格納メモリ領域22cに格納する。また、今回演算結果格納メモリ領域の内容22cと前記前回演算結果格納メモリ領域22dの内容を比較し、内容が一致しない場合には、PC1(10)にDCSモデル条件書き換え要求と共に、DCSモデル実行周期格納メモリ領域22aに格納された実行回数と今回演算結果格納メモリ領域22cの内容を出力する。   The PC2 (20) stores the calculation result output from the PC1 (10) in the plant model calculation result storage memory area 22b, and the first calculation cycle (the number of executions) sent from the PC2 (20) ( The number of executions) is stored in the DCS model execution cycle storage memory area 22a. The DCS model execution unit 21 calculates the DCS model at the model calculation cycle with the conditions stored in the plant model condition storage memory region 22b and the conditions stored in the DCS model execution cycle storage memory region 22a as inputs. The contents of the result storage memory area 22c are stored in the previous calculation result storage memory area 22d, and the calculation result of the current DCS model is stored in the current calculation result storage memory area 22c. Also, the contents 22c of the current calculation result storage memory area and the contents of the previous calculation result storage memory area 22d are compared. If the contents do not match, the DCS model execution cycle is sent to the PC1 (10) together with the DCS model condition rewrite request. The number of executions stored in the storage memory area 22a and the contents of the current calculation result storage memory area 22c are output.

図1はPC1(10)のプラントモデル実行部11の動作を示したフローチャートである。ここで、プラントモデル実行回数格納メモリ領域12aに格納されている実行回数が「6」であったと仮定する。まずステップS1でPC2(20)からDCS条件変更要求が有るか判断する。まず、DCS条件変更要求がなかった場合を説明する。   FIG. 1 is a flowchart showing the operation of the plant model execution unit 11 of the PC 1 (10). Here, it is assumed that the number of executions stored in the plant model execution number storage memory area 12a is “6”. First, in step S1, it is determined whether there is a DCS condition change request from the PC 2 (20). First, a case where there is no DCS condition change request will be described.

ステップS4でプラントモデル実行回数格納メモリ領域12aからプラントモデルの実行回数を取得する(上記のように実行回数「6」)。さらに、ステップS5でプラントモデル条件格納メモリ領域12bからプラントモデルの実行回数に対応したプラントモデル条件を取得する。ここで、図4に示すように、プラントモデル条件格納メモリ領域12bには、0回目プラントモデル条件12b−0、1回目プラントモデル条件12b−1…n回目プラントモデル条件12b−nとしてそれらを実行回数(0)12b−0−1とプラント条件12b−0−2、実行回数(1)12b−1−1とプラント条件12b−1−2…実行回数(n)12b−n−1とプラント条件12b−n−2が対に格納されている。現在の実行回数が「6」であるので、実行回数6のプラントモデル条件12b−6−2を取得する。   In step S4, the plant model execution count is acquired from the plant model execution count storage memory area 12a (execution count “6” as described above). Further, in step S5, a plant model condition corresponding to the number of executions of the plant model is acquired from the plant model condition storage memory area 12b. Here, as shown in FIG. 4, in the plant model condition storage memory area 12b, the zeroth plant model condition 12b-0, the first plant model condition 12b-1,..., The nth plant model condition 12b-n are executed. Number of times (0) 12b-0-1 and plant conditions 12b-0-2, number of times of execution (1) 12b-1-1 and plant conditions 12b-1-2 ... number of times of execution (n) 12b-n-1 and plant conditions 12b-n-2 is stored in pairs. Since the current number of executions is “6”, the plant model condition 12b-6-2 with the number of executions of 6 is acquired.

また、スッテプS6でDCSモデル条件格納メモリ領域12cからDCSモデル条件を取得する。ここで、図5に示すように、DCSモデル条件格納メモリ12cは、実行回数(n)12c−1とDCSモデル条件12c−2が対に格納されている。このDCSモデル条件格納メモリ12cの格納内容は、PC2(20)から上述したDCS条件変更要求があるまで変更されず同じ値に保持される。すなわち、プラントモデル実行回数格納メモリ領域12aの実行回数DCSモデル条件格納メモリ領域12cの実行回数が一致しなくても該DCSモデル条件を用いるのである。   In step S6, the DCS model condition is acquired from the DCS model condition storage memory area 12c. Here, as shown in FIG. 5, the DCS model condition storage memory 12c stores the number of executions (n) 12c-1 and the DCS model condition 12c-2 in pairs. The contents stored in the DCS model condition storage memory 12c are not changed until the above-described DCS condition change request is received from the PC 2 (20), and are held at the same value. That is, the DCS model condition is used even if the execution times of the plant model execution frequency storage memory area 12a do not match the execution times of the DCS model condition storage memory area 12c.

ステップS7でプラントモデル条件とDCSモデル条件を入力とし、プラントモデルの演算を行う。次に、スッテプS8でプラントモデル実行回数格納メモリ領域12aのプラントモデルの実行回数を1増やし、ステップS9でプラントモデル条件格納メモリ領域12bに今回の演算結果を格納する。すなわち、実行回数(7)12b−7−1の演算結果をプラント条件12b−7−2として格納する。   In step S7, plant model conditions and DCS model conditions are input, and a plant model is calculated. Next, in step S8, the plant model execution count in the plant model execution count storage memory area 12a is incremented by 1, and the current calculation result is stored in the plant model condition storage memory area 12b in step S9. That is, the calculation result of the execution count (7) 12b-7-1 is stored as the plant condition 12b-7-2.

ステップS11では、プラントモデル条件の送信タイミングであるか判断される。すなわち、5周期分のプラントモデル条件がプラントモデル条件格納メモリ領域12bに格納されたか判断される(もちろん、異なる周期数で送信するように設定しても良い)。例えば、PC2(20)へ実行回数「5」でプラントモデル条件を送信していれば、その次は、実行回数「10」で送信する。ステップS12では、送信タイミングであるか、複数分(5周期分のプラントモデル演算)のプラントモデル条件及び実行回数を送信する。すなわち、PC1(10)では、実行回数「10」であれば、5周期分のプラントモデル条件である6回目プラントモデル条件12b−6から10回目プラントモデル条件12b−10を一括的に送信する。   In step S11, it is determined whether it is the transmission timing of the plant model condition. That is, it is determined whether the plant model conditions for five cycles are stored in the plant model condition storage memory area 12b (of course, it may be set to transmit at a different number of cycles). For example, if the plant model condition is transmitted to the PC 2 (20) with the execution count “5”, the next is transmitted with the execution count “10”. In step S12, the plant model condition and the number of executions for a plurality of times (plant model calculation for five cycles) are transmitted. That is, in the PC1 (10), if the number of executions is “10”, the tenth plant model condition 12b-10 is collectively transmitted from the sixth plant model condition 12b-6, which is the plant model condition for five cycles.

ステップS1で、PC2(20)からDCS条件変更要求があった場合の動作を説明する。PC2(20)は、DCS条件変更を要求するとそれと共に、DCSモデル条件と実行回数を送信する。変更要求がある場合は、ステップS2でPC2(20)からのDCSモデル条件をDCSモデル条件格納メモリ領域12cに格納し、ステップS3でDCSモデル実行回数をプラントモデル実行回数格納メモリ領域12aに格納する。   The operation when there is a DCS condition change request from the PC 2 (20) in step S1 will be described. When the PC2 (20) requests the DCS condition change, the PC2 (20) transmits the DCS model condition and the number of executions together with the request. If there is a change request, the DCS model condition from the PC 2 (20) is stored in the DCS model condition storage memory area 12c in step S2, and the DCS model execution count is stored in the plant model execution count storage memory area 12a in step S3. .

この場合、現在の実行回数は「6」であるが、PC2(20)からの要求はその実行回数より前の演算周期の実行回数であり、例えば実行回数「3」と仮定する。   In this case, the current number of executions is “6”, but the request from the PC 2 (20) is the number of executions in the calculation cycle before the number of executions. For example, it is assumed that the number of executions is “3”.

これに従って、スッテプS5では、実行回数が「3」に応じた3回目プラントモデル条件12b−3が取得されることになり、ステップS6ではステップS2で書き換えられたDCSモデル条件格納エリアのDCSモデル条件が取得され、それ以後のステップでモデル演算がなされる。そして、この5の演算結果がPC2(20)に送信される。   Accordingly, in step S5, the third plant model condition 12b-3 corresponding to the number of executions of “3” is acquired. In step S6, the DCS model condition in the DCS model condition storage area rewritten in step S2 is acquired. Is obtained, and the model calculation is performed in the subsequent steps. Then, the calculation result of 5 is transmitted to the PC 2 (20).

プラントモデル実行部11は以上の処理を周期的に繰り返す。   The plant model execution unit 11 periodically repeats the above processing.

図8はPC1(10)の通信インターフェース13の動作を示したフローチャートである。まずステップS15で前回送信インデックス(初回値0)を取得する。さらにステップS16でプラントモデル実行回数格納メモリ領域12aからプラントモデル実行回数を取得する。次にステップS17で、プラントモデル条件格納メモリ領域12bの前回送信インデックスからプラントモデル実行回数までをPC2(20)に送信する。さらにステップS18で、前回送信インデックスにプラントモデル実行回数を格納する。通信インターフェース13はこの処理を周期的に繰り返す。   FIG. 8 is a flowchart showing the operation of the communication interface 13 of the PC 1 (10). First, in step S15, the previous transmission index (initial value 0) is acquired. In step S16, the plant model execution count is acquired from the plant model execution count storage memory area 12a. Next, in step S17, the previous transmission index in the plant model condition storage memory area 12b to the number of plant model executions is transmitted to the PC 2 (20). In step S18, the plant model execution count is stored in the previous transmission index. The communication interface 13 repeats this process periodically.

図9はPC2(20)のDCSモデル実行部21の動作を示したフローチャートである。   FIG. 9 is a flowchart showing the operation of the DCS model execution unit 21 of the PC 2 (20).

まずステップS21でDCSモデル実行回数格納メモリ領域22aからDCSモデルの実行回数を取得する。このDCSモデルの実行回数は、DCSモデル条件とプラントモデル条件が互に関係づけられるようにインクリメントされる。   First, in step S21, the DCS model execution count is acquired from the DCS model execution count storage memory area 22a. The number of executions of the DCS model is incremented so that the DCS model condition and the plant model condition are related to each other.

さらに、ステップS22でプラントモデル条件格納メモリ領域22bからDCSモデルの実行回数に対応したプラントモデル条件を取得する。プラントモデル条件メモリ領域22bには、PC1(10)から送られたプラント条件が格納されるものであり、0回目のプラント条件22b−1、1回目のプラント条件22b−2…n回目のプラント条件22b−nがそれぞれ、実行回数(0)22b−0−1とプラント条件22b−0−2、実行回数(1)22b−1−1とプラント条件22b−1−2…実行回数(n)22b−n−1とプラント条件22b−n−2が対に格納されている。例えば、現在の実行回数が6であれば、対応したプラント条件22b−6−2を取得する。   In step S22, a plant model condition corresponding to the number of executions of the DCS model is acquired from the plant model condition storage memory area 22b. The plant condition sent from the PC1 (10) is stored in the plant model condition memory area 22b. The zeroth plant condition 22b-1, the first plant condition 22b-2, and the nth plant condition. 22b-n is the number of executions (0) 22b-0-1 and the plant condition 22b-0-2, the number of executions (1) 22b-1-1 and the plant condition 22b-1-2 ... the number of executions (n) 22b. -N-1 and plant condition 22b-n-2 are stored in pairs. For example, if the current number of executions is 6, the corresponding plant condition 22b-6-2 is acquired.

なお、PC1(10)からは、例えば、すでに、PC1(10)のプラントモデル条件格納メモリ領域12bの12b−1(実行回数1)〜12b−5(実行回数5)に相当するプラントモデル条件が送られてきており、この値は、すでに、PC2(20)のプラントモデル条件格納メモリ領域22bに、22b−1(実行回数1)〜22b−5(実行回数5)が格納されている。   From PC1 (10), for example, plant model conditions corresponding to 12b-1 (execution count 1) to 12b-5 (execution count 5) in the plant model condition storage memory area 12b of PC1 (10) have already been set. 22b-1 (number of executions 1) to 22b-5 (number of executions 5) are already stored in the plant model condition storage memory area 22b of the PC 2 (20).

ステップS23でプラントモデル条件を入力とし、DCSモデル演算を行う。次にS24でDCSモデル実行回数格納メモリ領域22aのDCSモデルの実行回数を1増やす。さらにステップS25で今回演算結果格納メモリ領域22cの内容を前回演算結果格納メモリ領域22dに格納する。さらにステップS26でDCSモデルの演算結果を今回演算結果格納メモリ領域22cに格納する。次に、ステップS27で今回演算結果格納メモリ領域22cと前回演算結果格納メモリ領域22dの内容を比較する。内容が不一致の場合は、通信インターフェース23に割り込みをかけ、ステップS28で今回演算結果格納メモリ領域22cの内容と、DCSモデル実行回数格納メモリ領域22aのDCSモデル実行回数をPC1(10)に送信する。あるいは、比較結果として、前回と今回の差分が、あらかじめ定められた所定の範囲となった場合に、送信しても良い。さらにステップS29でプラントモデル条件格納メモリ領域22bの内容をクリアする。DCSモデル実行部21はこの処理を周期的に繰り返す。   In step S23, a plant model condition is input, and a DCS model calculation is performed. Next, in S24, the DCS model execution count in the DCS model execution count storage memory area 22a is incremented by one. In step S25, the contents of the current calculation result storage memory area 22c are stored in the previous calculation result storage memory area 22d. Further, in step S26, the calculation result of the DCS model is stored in the current calculation result storage memory area 22c. Next, in step S27, the contents of the current calculation result storage memory area 22c and the previous calculation result storage memory area 22d are compared. If the contents do not match, the communication interface 23 is interrupted, and the contents of the current computation result storage memory area 22c and the DCS model execution count in the DCS model execution count storage memory area 22a are transmitted to the PC1 (10) in step S28. . Alternatively, the comparison result may be transmitted when the difference between the previous time and the current time falls within a predetermined range. In step S29, the contents of the plant model condition storage memory area 22b are cleared. The DCS model execution unit 21 periodically repeats this process.

本発明の一実施例におけるプラントシミュレータの構成図。The block diagram of the plant simulator in one Example of this invention. プラントモデルの概念図。The conceptual diagram of a plant model. DCSモデルの概念図。The conceptual diagram of a DCS model. PC1プラントモデル条件格納メモリ領域の詳細図。Detailed view of PC1 plant model condition storage memory area. PC1のDCSモデル条件格納メモリ領域の詳細図。FIG. 3 is a detailed diagram of a DCS model condition storage memory area of the PC1. PC2プラントモデル条件格納メモリ領域の詳細図。Detailed view of PC2 plant model condition storage memory area. 一実施例によるプラントモデル実行部の動作を示すフローチャート。The flowchart which shows operation | movement of the plant model execution part by one Example. 一実施例による通信インターフェースの動作を示すフローチャート。The flowchart which shows operation | movement of the communication interface by one Example. 一実施例によるDCSモデル実行部の動作を示すフローチャート。The flowchart which shows operation | movement of the DCS model execution part by one Example.

符号の説明Explanation of symbols

10 PC1
11 プラントモデル実行部
12,22 メモリ
20 PC2
10 PC1
11 Plant model execution unit 12, 22 Memory 20 PC2

Claims (8)

プラントモデル演算部で周期的に演算されるプラント状態量を受け取る受信部と、前記プラント状態量を複数周期記憶する記憶手段と、前記記憶された各々のプラント状態量に基づいて制御モデルを利用して対応する制御量を演算する制御演算部と、前記演算された制御量を送る送信部と、所定の周期の演算された制御量とそれよりも前に演算された制御量を比較する比較部を有し、前記比較結果あるいは前記比較された制御量は前記プラントモデル演算部に送信されることを特徴とするプラントシミュレータ。   A receiving unit that receives a plant state quantity periodically calculated by a plant model calculating unit; a storage unit that stores the plant state quantity in a plurality of cycles; and a control model based on each of the stored plant state quantities. A control calculation unit that calculates the corresponding control amount, a transmission unit that sends the calculated control amount, and a comparison unit that compares the calculated control amount with a predetermined period and the control amount calculated before that And the comparison result or the compared control amount is transmitted to the plant model calculation unit. 請求項1において、前記プラント状態量は、前記プラントモデル演算部で実行された演算周期が特定されるように記憶されることを特徴とするプラントシミュレータ。   The plant simulator according to claim 1, wherein the plant state quantity is stored so that a calculation cycle executed by the plant model calculation unit is specified. 請求項2において、前記比較結果あるいは前記比較された制御量は、前記演算周期に関係づけられた情報と共に送信されることを特徴とするプラントシミュレータ。   The plant simulator according to claim 2, wherein the comparison result or the compared control amount is transmitted together with information related to the calculation cycle. 請求項3において、前記比較は、所定の周期の演算された制御量とそれよりも前に演算された制御量の一致を判断することを特徴とするプラントシミュレータ。   4. The plant simulator according to claim 3, wherein the comparison is performed by determining whether the control amount calculated in a predetermined cycle matches the control amount calculated before that. プラント状態量を時系列的に演算するプラント演算部と、制御演算部で演算される制御量を受け取る受信部とを有し、前記プラント演算部は、前記制御量に基づいて前記制御量と時間的に関連付けられたプラント状態量を演算し、前記時系列的に演算したプラント状態量のうちの一部を、前記制御量と時間的に関連付けられて演算されたプラント状態量に置き換えるように構成されることを特徴とするプラントシミュレータ。   A plant calculation unit that calculates plant state quantities in time series; and a reception unit that receives a control amount calculated by the control calculation unit, wherein the plant calculation unit is configured to control the control amount and time based on the control amount. Configured to calculate a plant state quantity associated with each other and replace a part of the plant state quantity calculated in time series with a plant state quantity calculated in association with the control amount in time Plant simulator characterized by being made. 前記制御側モデル演算部は、制御側モデル演算部と、プラント側モデル演算部とを有し、前記プラント側モデル演算部で周期的に演算されるプラント状態量を受け取るプラント側受信部と、前記プラント状態量を複数周期記憶する制御側記憶手段と、前記記憶された各々のプラント状態量に基づいて制御モデルを利用して対応する制御量を演算する制御側演算部と、前記演算された制御量を送る制御側送信部と、所定の周期の演算された制御量とそれよりも前に演算された制御量を比較する制御側比較部を有し、前記比較結果あるいは前記比較された制御量を前記プラント側モデル演算部に送信するものであり、
前記プラント側モデル演算部は、プラント状態量を時系列的に演算するプラント側演算部と、前記制御側モデル演算部で演算される制御量を受け取るプラント側受信部とを有し、プラント側演算部は、前記制御量に基づいて前記制御量と時間的に関連付けられたプラント状態量を演算し、前記演算したプラント状態量のうちの一部を、前記制御量と時間的に関連付けられて演算されたプラント状態量に置き換えるものであることを特徴とするプラントシミュレータ。
The control-side model calculation unit includes a control-side model calculation unit and a plant-side model calculation unit, and receives a plant state quantity periodically calculated by the plant-side model calculation unit, Control-side storage means for storing a plurality of periods of plant state quantities, a control-side computing section that computes a corresponding control quantity using a control model based on each of the stored plant state quantities, and the computed control A control-side transmission unit that sends a quantity; and a control-side comparison unit that compares a calculated control quantity with a predetermined period and a control quantity computed before that, and the comparison result or the compared control quantity Is transmitted to the plant-side model calculation unit,
The plant-side model calculation unit includes a plant-side calculation unit that calculates plant state quantities in time series, and a plant-side reception unit that receives a control amount calculated by the control-side model calculation unit. The unit calculates a plant state quantity temporally associated with the control quantity based on the control quantity, and calculates a part of the calculated plant state quantity in association with the control quantity in time. A plant simulator characterized in that the plant simulator replaces the plant state quantity.
プラントモデル演算部で周期的に演算されるプラント状態量を受け取り、前記プラント状態量を複数周期記憶し、前記記憶された各々のプラント状態量に基づいて制御モデルを利用して対応する制御量を演算し、前記演算された制御量を送信し、所定の周期の演算された制御量とそれよりも前に演算された制御量を比較し、前記比較結果あるいは前記比較された制御量を前記プラントモデル演算部に送信するプラントシミュレーション方法。   A plant state quantity periodically calculated by the plant model calculation unit is received, the plant state quantity is stored in a plurality of cycles, and a corresponding control quantity is obtained using a control model based on each stored plant state quantity. Calculate, transmit the calculated control amount, compare the calculated control amount of a predetermined period with the control amount calculated before, and compare the comparison result or the compared control amount with the plant. A plant simulation method to be transmitted to the model calculation unit. プラント状態量を時系列的に演算し、プラント制御演算部で演算される制御量を受信し、前記制御量に基づいて前記制御量と時間的に関連付けられたプラント状態量を演算し、前記演算したプラント状態量のうちの一部を、前記制御量と時間的に関連付けられて演算されたプラント状態量に置き換えるプラントシミュレーション方法。   The plant state quantity is calculated in time series, the control quantity calculated by the plant control calculation unit is received, the plant state quantity temporally associated with the control quantity is calculated based on the control quantity, and the calculation is performed. A plant simulation method in which a part of the plant state quantity is replaced with a plant state quantity calculated in association with the control quantity in terms of time.
JP2007335522A 2007-12-27 2007-12-27 Plant simulator and plant simulation method Pending JP2009157669A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007335522A JP2009157669A (en) 2007-12-27 2007-12-27 Plant simulator and plant simulation method
CA002647860A CA2647860A1 (en) 2007-12-27 2008-12-19 Plant simulator and simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007335522A JP2009157669A (en) 2007-12-27 2007-12-27 Plant simulator and plant simulation method

Publications (1)

Publication Number Publication Date
JP2009157669A true JP2009157669A (en) 2009-07-16

Family

ID=40800550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007335522A Pending JP2009157669A (en) 2007-12-27 2007-12-27 Plant simulator and plant simulation method

Country Status (2)

Country Link
JP (1) JP2009157669A (en)
CA (1) CA2647860A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014174656A1 (en) * 2013-04-26 2014-10-30 株式会社 日立製作所 Control system inspection device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105179156B (en) * 2015-09-18 2018-08-28 中国南方电网有限责任公司调峰调频发电公司 Pump-storage generator controls program off-line test system and method
CN106168795B (en) * 2016-09-20 2022-04-12 航天长征化学工程股份有限公司 Coal gasification dynamic simulation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014174656A1 (en) * 2013-04-26 2014-10-30 株式会社 日立製作所 Control system inspection device
JPWO2014174656A1 (en) * 2013-04-26 2017-02-23 株式会社日立製作所 Control system inspection device

Also Published As

Publication number Publication date
CA2647860A1 (en) 2009-06-27

Similar Documents

Publication Publication Date Title
US9581981B2 (en) Method and apparatus for preconditioned continuation model predictive control
WO2020227383A1 (en) Combining machine learning with domain knowledge and first principles for modeling in the process industries
CN100437396C (en) PID parameter adjustment device
CN104793983B (en) Method and simulator for analog automatization industrial equipment
US9261869B2 (en) Hybrid sequential and simultaneous process simulation system
JP2005044337A (en) Multiple-input/multiple-output control block with nonlinear predictive capability
US10571874B2 (en) Control device for performing learning control
US9922143B2 (en) Method and control for carrying out a calculation of a data-based function model
CN101390024A (en) Operation control method, operation control device and operation control system
JP2009157669A (en) Plant simulator and plant simulation method
CN105793783A (en) Dynamic monitoring, diagnosis, and control of cooling tower systems
CN105103059A (en) System and method for implementing model predictive control in PLC
JP2006302078A (en) Control target model generation device and its generation method
Chen et al. An adaptive partial sensitivity updating scheme for fast nonlinear model predictive control
KR20210013971A (en) Automatic learning tuning system of motor controller using PSO
CN114815588B (en) PICS compensator and PID controller design method and device
JP5561519B2 (en) Plant simulator
JP7213729B2 (en) Control device and control method
JP6520945B2 (en) Method of controlling flow rate of fluid, mass flow control device for executing the method, and mass flow control system using the mass flow control device
Ejersbo et al. Dynamic Runtime Integration of New Models in Digital Twins
EP2778947B1 (en) Sequential deterministic optimization based control system and method
Popescu et al. A new strategy for adaptive-robust control system design
JP2807383B2 (en) Operation limit value monitoring device
Gabasov et al. Robust optimal control on imperfect measurements of dynamic systems states
JPH07334070A (en) Process simulator