Plant operation simulation system and plant operation simulation method
The plant operation simulation system uses a time-synchronized emulator to perform boost calculations, allowing evaluation of control logic changes' effects on output values, thereby preventing unexpected plant incidents.
Patent Information
- Application Number
- JP2021196649
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2041-12-03
AI Technical Summary
Existing plant operation simulation systems cannot check the operation of control functions while the control device is operating the plant, preventing the evaluation of potential sudden changes in output values due to control logic adjustments.
A plant operation simulation system with a time-synchronized emulator that performs boost calculations using input data and control device snapshots to predict the effect of control logic changes on output values before they are implemented.
Enables the evaluation of control logic changes on output values during plant operation, reducing the risk of emergency shutdowns and unexpected accidents by simulating plant behavior ahead of actual changes.
Smart Images

Figure 0007814899000001 
Figure 0007814899000002 
Figure 0007814899000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a plant operation simulation system and a plant operation simulation method. [Background technology]
[0002] Patent Document 1 describes an online simulation system that includes a process control device that controls operation elements such as valves and dampers based on the state quantities of a plant, and an emulator for testing the function of the process control device.
[0003] In this system, switching between process control mode and simulation mode is performed online in response to a command from the user, and switching is performed between input / output between the control device and the actual plant and input / output between the control device and the plant model in the emulator. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 62-22101 Summary of the Invention [Problem to be solved by the invention]
[0005] In the simulation system described in Patent Document 1, it is not possible to check the operation of the control functions while the control device is operating the plant in normal control mode, and therefore it is not possible to check in advance whether a change in the control logic of the control device (for example, parameter adjustment of the control function or circuit change) will cause a sudden change in the output value from the control device to the plant.
[0006] In view of the above circumstances, at least one embodiment of the present disclosure aims to provide a plant operation simulation system and a plant operation simulation method that make it possible to confirm the effect of a change in control logic in a control device that controls a plant on an output value of the control device while the plant is operating, before the control logic is changed. [Means for solving the problem]
[0007] In order to achieve the above object, a plant operation simulation system according to at least one embodiment of the present disclosure includes: a control device having a control function of receiving input data relating to a state quantity of a plant and outputting output data for controlling the plant; an emulator including a control model that simulates the control function of the control device and that is time-synchronized with the control device; Equipped with the control device and the emulator receive the input data at a cycle common to the control device and the emulator; the emulator assigns a timestamp to the input data received by the emulator and stores the timestamp in a storage device; the control device assigns a timestamp to a snapshot of a calculation result by the control function of the control device at an arbitrary time and transfers the snapshot to the emulator; The emulator is configured to perform a boost operation using the calculation result included in the snapshot transferred from the control device and the input data assigned a timestamp after the time indicated by the timestamp assigned to the snapshot, to calculate the control model of the emulator at a cycle faster than the cycle of calculation by the control function of the control device until the cycle catches up with the current calculation time of the control function in the control device.
[0008] In order to achieve the above object, a plant operation simulation method according to at least one embodiment of the present disclosure includes: a control device having a control function of receiving input data relating to a state quantity of a plant and outputting output data for controlling the plant; an emulator including a control model that simulates the control function of the control device and that is time-synchronized with the control device; A plant operation simulation method using receiving the input data from the control device and the emulator at a period common to the control device and the emulator; adding a timestamp to the input data received by the emulator and storing the timestamp; a step of assigning a timestamp to a snapshot of a calculation result by the control function of the control device at an arbitrary time and transferring the snapshot to the emulator; using the calculation result included in the snapshot and the input data to which a timestamp has been added that is later than the time indicated by the timestamp added to the snapshot, to execute a boost calculation to calculate the control model of the emulator at a cycle faster than the cycle of calculation by the control function of the control device until the boost calculation catches up with the current calculation time of the control function of the control device; Equipped with. [Effects of the Invention]
[0009] According to at least one embodiment of the present disclosure, a plant operation simulation system and a plant operation simulation method are provided that are capable of confirming the effect of a change in control logic in a control device that controls a plant on an output value of the control device while the plant is operating, before the control logic is changed. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 is a schematic configuration diagram of a plant operation simulation system 2 (2A) according to an embodiment. [Figure 2]2 is a diagram for explaining an example of the hardware configuration of each of a control device 4, an emulator 6, and a man-machine device 8. FIG. [Figure 3] 10 is a time chart for explaining a method for reproducing the operating state of the plant 100 by the emulator 6. [Figure 4] FIG. 10 is a schematic configuration diagram of a plant operation simulation system 2 (2B) according to another embodiment. [Figure 5] 10 is a time chart for explaining a method for reproducing the operating state of the plant 100 by the emulator 6 in the plant operation simulation system 2 (2B). [Figure 6] FIG. 10 is a schematic configuration diagram of a plant operation simulation system 2 (2C) according to another embodiment. [Figure 7] 10 is a time chart for explaining another example of a method for reproducing the operating state of the plant 100 by the emulator 6 in the plant operation simulation system 2 (2A). DETAILED DESCRIPTION OF THE INVENTION
[0011] Hereinafter, several embodiments of the present disclosure will be described with reference to the accompanying drawings. However, the dimensions, materials, shapes, relative arrangements, etc. of components described as embodiments or shown in the drawings are merely illustrative examples and are not intended to limit the scope of the invention.
[0012] For example, expressions expressing relative or absolute arrangement such as "in a certain direction," "along a certain direction," "parallel," "orthogonal," "center," "concentric," or "coaxial" not only express such an arrangement exactly, but also express a state in which there is a relative displacement with a tolerance or an angle or distance to the extent that the same function is obtained.
[0013] For example, expressions such as "identical," "equal," and "homogeneous" that indicate that something is in an equal state not only indicate a state of strict equality, but also indicate a state in which there is a tolerance or a difference to the extent that the same function is obtained.
[0014] For example, expressions representing shapes such as a square shape or a cylindrical shape not only represent shapes such as a square shape or a cylindrical shape in the strict geometric sense, but also represent shapes including uneven portions, chamfered portions, etc., to the extent that the same effect can be obtained.
[0015] On the other hand, the expressions "comprise," "include," "have," "includes," or "have" of one element are not exclusive expressions that exclude the presence of other elements.
[0016] FIG. 1 is a schematic configuration diagram of a plant operation simulation system 2 (2A) according to one embodiment.
[0017] 1 includes a control device 4 for controlling a plant 100, an emulator 6 that simulates the functions of the control device 4, and a man-machine device 8 for operating and manipulating the plant 100. The type of plant 100 is not limited, and may be, for example, a power plant or a chemical plant.
[0018] The control device 4, emulator 6, and man-machine device 8 are interconnected by an information and communication network 10, and are configured to be able to communicate with each other. The control device 4 and emulator 6 are also interconnected by a control and communication network 12 separate from the information and communication network 10, and a plurality of input / output modules 14 are connected to the control and communication network 12. The functions of these components will be described in detail later.
[0019] 2 is a diagram for explaining an example of the hardware configuration of each of the control device 4, the emulator 6, and the man-machine device 8. Here, for convenience, the hardware configuration of each of the control device 4, the emulator 6, and the man-machine device 8 will be explained using the same diagram.
[0020] As shown in FIG. 2 , each of the control device 4, the emulator 6, and the man-machine device 8 includes, for example, a processor 72, a random access memory (RAM) 74, a read-only memory (ROM) 76, a hard disk drive (HDD) 78, an input I / F 80, and an output I / F 82, and is configured using a computer connected to these components via a bus 84. The hardware configuration of each of the control device 4, the emulator 6, and the man-machine device 8 is not limited to the above and may be configured using a combination of a control circuit and a storage device. Each of the control device 4, the emulator 6, and the man-machine device 8 is configured by a computer executing a program that realizes each function. The functions of the control device 4, the emulator 6, and the man-machine device 8 described below are realized by, for example, loading a program stored in a read-only memory (ROM) 76 into the RAM 74 and executing it with the processor 72, and reading and writing data from and to the RAM 74 and the ROM 76. Instead of or in addition to the HDD 78 shown as an example of nonvolatile memory, other nonvolatile storage media such as an SD card, a CompactFlash card, or an SSD may be used. The programs stored in the ROM 76 may also be stored in the HDD 78 or other non-volatile storage medium, and are loaded into the RAM 74 and executed by the processor 72 .
[0021] 1, the control device 4 has a control function Mc for controlling the plant 100, and controls the plant 100 using the control function Mc. The control device 4 exchanges various data with the plant 100 via at least one input / output module 14 (a plurality of input / output modules 14 in the illustrated example). The control function Mc of the control device 4 receives input data indicating state quantities of the plant 100 from the plant 100 via the input / output modules 14, and outputs output data for controlling the plant 100 (for example, control command values for controlling actuation elements such as valves and dampers provided in the plant 100).
[0022] The emulator 6 has a control model Md that imitates the control function Mc of the control device 4, and the control device 4 and the emulator 6 are time-synchronized. The time synchronization between the control device 4 and the emulator 6 may be performed by time synchronization using, for example, Precision Time Protocol (PTP). The control function Mc of the control device 4 and the control model Md of the emulator 6 may be downloaded from, for example, the man-machine device 8 and installed in the control device 4 and the emulator 6, respectively.
[0023] The control device 4 and the emulator 6 are configured to receive all of the input data input from the plant 100 via the input / output module 14 at a cycle common to the control device 4 and the emulator 6. The emulator 6 also assigns a timestamp of the time of reception to each of the input data received by the emulator 6 and stores the data in a storage device of the emulator 6 (for example, the HDD 78 of the emulator 6).
[0024] The man-machine device 8 is a man-machine device that allows an operator to monitor and operate the plant 100. The man-machine device 8 includes a control logic modification unit 16 and an output data comparison unit 18.
[0025] FIG. 3 is a time chart for explaining a method for reproducing the operating state of the plant 100 by the emulator 6. In FIG.
[0026] 3, the horizontal axis ti (i is an integer equal to or greater than 1) indicates the calculation time in each of the control device 4 and the emulator 6. As shown in FIG. 3, the emulator 6 is started up while the plant 100 is in operation, and the start-up of the emulator 6 is completed at time t1 (step S11).
[0027] Next, the control device 4 assigns a timestamp of time tn to a snapshot Qn of the calculation results (intermediate values of the calculations by the control function Mc) of the control device 4 at any time tn after the startup of the emulator 6, and stores the timestamp in a storage device of the control device 4 (e.g., RAM 74 of the control device 4), and transfers the snapshot Qn with the timestamp of time tn to the emulator 6 (step S12). In the illustrated example, the control device 4 divides the snapshot Qn with the timestamp of time tn into multiple data and transfers the multiple data to the emulator 6 over N calculation cycles. Here, N is multiple, and the control device 4 transfers the snapshot Qn to the emulator 6 over N calculation cycles from time tn to time t(n+N). In other words, the emulator 6 starts copying the calculation results of the control device 4 at time tn at time tn and completes it at time t(n+N).
[0028] Next, the emulator 6 executes a boost calculation to calculate the control model Md of the emulator 6 at a period faster than the period of calculation by the control function Mc of the control device 4, until the period catches up with the current calculation time of the control function Mc in the control device 4, using the calculation result (calculation result of the control function Mc at time tn) included in the snapshot Qn transferred from the control device 4 and the input data (the input data stored in the storage device of the emulator 6) timestamped with a time after the time tn, which is the time indicated by the timestamp added to the snapshot Qn (step S13). Hereinafter, the "boost calculation" refers to the boost calculation of the emulator 6 in step S13. The emulator 6 uses the calculation result of the control function Mc at time tn included in the snapshot Qn transferred from the control device 4 as the initial value of the boost calculation. In the illustrated example, at time t(n+N), the emulator 6 starts a boost calculation using the calculation result of the control function Mc at time tn (the intermediate value of the calculation by the control function Mc) and the input data with the timestamp of time tn (the input data stored in the storage device of the emulator 6), and ends the boost calculation at time tm by catching up with the calculation of the control function Mc in the control device 4. This makes it possible for the emulator 6 to reproduce the operating state of the plant 100 after time tm.
[0029] Emulation by the emulator 6 starts at time tm, and after time tm, the calculation period of the control function Mc by the control device 4 and the calculation period of the control model Md by the emulator 6 become the same. Then, after time tm, i.e., after the boost calculation, when an operator of the plant 100 operates the control logic change unit 16 to change the control logic of the control model Md of the emulator 6, the output data comparison unit 18 compares the output data output from the control model Md of the emulator 6 with the output data output from the control function Mc of the control device 4. The output data comparison unit 18 may be configured, for example, to display the output data of the control device 4 and the output data of the emulator 6 in a comparative manner on a display device (not shown), or may be configured to calculate a difference between the output value of the control device 4 and the output value of the emulator 6 and, when the difference value exceeds a threshold, output an alert sound and / or an alert display to notify of the possibility of a sudden change in the output value.
[0030] Here, the effects achieved by the plant operation simulation system 2 will be described.
[0031] In the plant operation simulation system 2, the emulator 6, which is time-synchronized with the control device 4 and has a control model Md simulating the control function Mc, performs a boost calculation to calculate the control model Md of the emulator 6 at a period faster than the period of the calculation by the control function Mc of the control device 4, using the calculation result at time tn (intermediate value of the calculation by the control function Mc) included in the snapshot Qn transferred from the control device 4 and input data (input data input from the plant 100 to the emulator 6 via the input / output module 14 and stored in the storage device of the emulator 6) time-stamped after time tn, which is the time indicated by the timestamp added to the snapshot Qn. The boost calculation is performed until the current calculation time of the control function Mc in the control device 4 is reached. This allows the emulator 6, which is a device separate from the control device 4, to reproduce the operating state of the plant 100 at a certain point in time. Therefore, if a change is made to the control logic of the control device 4 from this state, the effect of the change on the output value of the control device 4 (e.g., whether the output value of the control device 4 will suddenly change) can be confirmed using the emulator 6 before changing the control logic of the control device 4 during operation of the plant 100. Therefore, the risk of an emergency shutdown of the controlled object of the plant 100 or an unexpected accident occurring can be reduced.
[0032] Fig. 4 is a schematic configuration diagram of a plant operation simulation system 2 (2B) according to another embodiment. Fig. 5 is a time chart for explaining a method of reproducing the operating state of the plant 100 by the emulator 6 in the plant operation simulation system 2 (2B).
[0033] The plant operation simulation system 2 (2B) shown in Fig. 4 differs from the plant operation simulation system 2 (2A) shown in Fig. 1 in that the emulator 6 includes a plant model Mp that simulates the plant 100, but other basic configurations are similar to those of the plant operation simulation system 2 (2A). In the plant operation simulation system 2 (2B) according to the embodiment shown in Fig. 4, reference numerals that are common to the components of the plant operation simulation system 2 (2A) shown in Fig. 1 indicate the same components as those of the plant operation simulation system 2 (2A) shown in Fig. 1 unless otherwise specified, and therefore descriptions thereof will be omitted. In addition, in the time chart shown in Fig. 5, the operations of the control device 4 and the emulator 6 up to the completion of the boost calculation at time tm are the same as those described using Fig. 3, and therefore descriptions thereof will be omitted.
[0034] The output data of the control model Md of the emulator 6 is input to the plant model Mp shown in Fig. 4. The plant model Mp generates input data to be input to the control model Md of the emulator 6 according to the output data of the control model Md of the emulator 6. The plant model Mp interfaces with (transmits and receives data from) the control model Md of the emulator 6 at the control calculation period of the control model Md of the emulator 6. As shown in Fig. 5, at time tm, the emulator 6 starts emulation using the input data generated by the plant model Mp.
[0035] 5, after time tm, the calculation period of the control function Mc by the control device 4 and the calculation period of the control model Md by the emulator 6 become the same. After time tm, i.e., after the boost calculation, when an operator of the plant 100 operates the control logic change unit 16 to change the control logic of the control model Md of the emulator 6, the output data comparison unit 18 compares the output data output from the control model Md of the emulator 6 with the output data output from the control function Mc of the control device 4 in the above-described manner.
[0036] According to the above-described plant operation simulation system 2 (2B), by checking the effect that a change in the control logic of the control model Md of the emulator 6 has on the input data generated by the plant model Mp, it is possible to grasp the effect that a change in the control logic of the control function Mc of the control device 4 has on the output of the plant 100. Therefore, it is possible to appropriately adjust the control logic of the control function of the control device 4 in consideration of the input data generated by the plant model Mp.
[0037] 4, the plant model Mp is provided inside the emulator 6, but the plant model Mp may be provided outside the emulator 6 as long as it can send and receive input and output data to and from the control model Md of the emulator 6. When the emulator 6 includes the plant model Mp, and when the plant model Mp also has snapshot data and is configured to perform calculations in synchronization with the control model Mc, there is no need to make the boost calculation catch up with the current plant operating state, and the simulation may start from the point in time when the snapshot is expanded (when duplication of the control calculation results begins), and further, if the calculation is performed faster than the actual control calculation period, predictive calculations beyond the current time point are also possible.
[0038] FIG. 6 is a schematic configuration diagram of a plant operation simulation system 2 (2C) according to another embodiment.
[0039] The plant operation simulation system 2 (2C) shown in Figure 6 differs from the plant operation simulation system 2 (2A) shown in Figure 3 in some of the functions of the control device 4 and the emulator 6, but the other basic configurations are the same as those of the plant operation simulation system 2 (2A). In the plant operation simulation system 2 (2B) according to the embodiment shown in Figure 6, symbols common to the components of the plant operation simulation system 2 (2A) shown in Figure 1 indicate the same components as those of the plant operation simulation system 2 (2A) shown in Figure 1 unless otherwise specified, and explanations thereof will be omitted. Furthermore, the operations of the control device 4 and emulator 6 described using Figure 3 are the same as those described using Figure 3 unless otherwise specified, and explanations thereof will be omitted.
[0040] In the plant operation simulation system 2 (2C), the control device 4 assigns a timestamp of the reception time of the received data to the received data received by the control device 4 in addition to the input data from the plant 100, and transfers the data to the emulator 6. Specifically, for example, when the control device 4 receives an operation command for operating the plant 100 from the man-machine device 8 or when the control device 4 receives communication data from another external device 20, the control device 4 assigns a timestamp of the reception time to the received data (the operation command from the man-machine device 8 or the communication data from the other external device 20) and transfers the data to the emulator 6. In this case, the path for transferring the received data from the control device 4 to the emulator 6 may be the information communication network 10 or the control communication network 12.
[0041] The emulator 6 stores the received data received from the control device 4 in a storage device of the emulator 6 (for example, the HDD 78 of the emulator 6), and reproduces the received data at the time indicated by the time stamp attached to the received data during the execution of the boost calculation. In the example of the time chart shown in FIG. 3, from time t1 onwards, the emulator 6, like the control device 4, retrieves input data from the plant 100, operation commands from the man-machine device 8, and communication data from the external device 20, and stores them in the storage device of the emulator 6. Then, the emulator 6 performs the boost calculation from time t(n+N) to time tm using the calculation result included in the snapshot Qn transferred from the control device 4 (the calculation result of the control function Mc of the control device 4 at time tn), the input data attached with a time stamp after time tn, which is the time indicated by the time stamp attached to the snapshot Qn, (the input data from the plant 100 stored in the storage device of the emulator 6), and the received data stored in the storage device of the emulator 6 (the operation command from the man-machine device 8 and the communication data from the external device 20).
[0042] According to the above-mentioned plant operation simulation system 2 (2C), even if the state of the control logic of the control function of the control device 4 changes during the process of duplicating the operating state of the plant 100 (including the internal state of the control device 4) at a certain point in time using the emulator 6, the operating state of the plant 100 can be duplicated using the emulator 6.
[0043] FIG. 7 is a time chart for explaining another example of a method for reproducing the operating state of the plant 100 using the emulator 6 in the above-mentioned plant operation simulation system 2 (2A), and shows a modified example of the time chart shown in FIG. 3.
[0044] In the time chart shown in FIG. 7, the operations of the control device 4 and the emulator 6 up to the time tm at which the boost calculation is completed are the same as those explained using FIG. 3, and therefore will not be explained again.
[0045] In the example shown in FIG. 7 , after the emulator 6 starts emulation at time tm, step S12, saving of snapshot data in the emulator 6, and saving of input data input from the plant 100 via the input / output module 14 are repeated. The input data saved between the snapshot saved in S12 and the snapshot saving interval (input data input via the input / output module 14) are replayed (this replay is referred to as S14) just before the start of the boost calculation, and steps S14 and S13 are performed. Steps S14 and S13 may be repeated, and the result of S13 may be saved in the emulator 6 as data to be replayed for investigating the cause of the trip. The emulator 6 is configured to be able to perform the boost calculation using each of the snapshots stored in the storage device of the emulator 6, and saves the calculation results (intermediate values of the calculation by the control function Mc) included in each of the snapshots transferred from the control device 4 and each of the calculation results of the boost calculation in S13 in the storage device of the emulator 6 (for example, the HDD 78 of the emulator 6).
[0046] This allows the calculation results of the control function Mc of the control device 4 and the results of the boost calculation to be sequentially saved in the emulator 6. This makes it possible to check the past calculation states in the control device 4 using the snapshots stored in the storage device of the emulator 6, for example, when the plant 100 trips, and to investigate the cause of the trip.
[0047] The present disclosure is not limited to the above-described embodiments, but also includes modifications to the above-described embodiments and appropriate combinations of these modifications.
[0048] The contents described in each of the above embodiments can be understood, for example, as follows.
[0049] (1) A plant operation simulation system according to at least one embodiment of the present disclosure includes: a control device (for example, the above-mentioned control device 4) having a control function (for example, the above-mentioned control function Mc) that receives input data related to state quantities of a plant and outputs output data for controlling the plant; an emulator (for example, the above-mentioned emulator 6) that includes a control model (for example, the above-mentioned control model Md) that imitates the control function of the control device and is time-synchronized with the control device; Equipped with the control device and the emulator receive the input data at a cycle common to the control device and the emulator; the emulator assigns a timestamp to the input data received by the emulator and stores the timestamp in a storage device; the control device assigns a timestamp to a snapshot (e.g., the above-mentioned snapshot Qn) of the calculation result by the control function of the control device at an arbitrary time (e.g., the above-mentioned time tn) and transfers the snapshot to the emulator; The emulator is configured to perform a boost operation using the calculation result included in the snapshot transferred from the control device and the input data assigned a timestamp after the time indicated by the timestamp assigned to the snapshot, to calculate the control model of the emulator at a cycle faster than the cycle of calculation by the control function of the control device until the cycle catches up with the current calculation time of the control function in the control device.
[0050] In the plant operation simulation system described in (1) above, an emulator that is time-synchronized with the control device and has a control model that simulates the control function performs a boost calculation using a calculation result (intermediate value of the calculation by the control function) at a certain point in time included in a snapshot transferred from the control device and input data with timestamps after the timestamp attached to the snapshot. The boost calculation calculates the emulator's control model at a faster cycle than the calculation cycle of the control function of the control device until the boost calculation catches up with the current calculation time of the control function in the control device. This allows the operating state of the plant at a certain point in time to be reproduced by an emulator separate from the control device. Therefore, if a change is made to the control logic of the control device from this state, the emulator can be used to check the effect of the change on the output value of the control device (e.g., whether the output value of the control device will suddenly change) before changing the control logic of the control device during plant operation. This reduces the risk of an emergency shutdown of the plant's controlled object or an unexpected accident.
[0051] (2) In some embodiments, in the plant operation simulation system described in (1), The emulator is configured to use the calculation result included in the snapshot transferred from the control device as an initial value for the boost calculation.
[0052] According to the plant operation simulation system described in (2) above, the operating state of the plant can be appropriately reproduced by the emulator by performing a boost calculation using the calculation result of the control device included in the snapshot as the initial value of the boost calculation.
[0053] (3) In some embodiments, in the plant operation simulation system described in (1) or (2), The control device is configured to divide the snapshot into a plurality of data pieces and transfer the plurality of data pieces to the emulator over a plurality of calculation cycles (for example, the above-mentioned N calculation cycles).
[0054] According to the plant operation simulation system described in (3) above, it is possible to suppress an increase in the load on the control device due to transfer, compared to when snapshots are transferred to the emulator in only one cycle of calculation.
[0055] (4) In some embodiments, in the plant operation simulation system according to any one of (1) to (3), The device further includes an output data comparison unit (e.g., the above-mentioned output data comparison unit 18) configured to compare the output data output from the control model of the emulator with the output data output from the control function of the control device when the control logic of the control model of the emulator is changed after the boost calculation.
[0056] According to the plant operation simulation system described in (4) above, by changing the control logic of the emulator's control model after the boost calculation, it is possible to check whether there is a large difference between the output data output from the emulator's control model and the output data output from the control function of the control device (whether there is a sudden change in the output data).
[0057] (5) In some embodiments, in the plant operation simulation system according to any one of (1) to (4), A plant model (for example, the above-mentioned plant model Mp) that simulates the plant is provided inside or outside the emulator, and generates input data to be input to the control model of the emulator according to output data of the control model of the emulator.
[0058] According to the plant operation simulation system described in (5) above, by checking the effect that a change in the control logic of the emulator's control model has on the input data generated by the plant model, it is possible to grasp the effect that a change in the control logic of the control function of the controller has on the plant output. Therefore, it is possible to appropriately adjust the control logic of the control function of the controller in consideration of the input data generated by the plant model.
[0059] (6) In some embodiments, in the plant operation simulation system according to any one of (1) to (5), The control device assigns a time stamp of the reception time to received data (for example, an operation command from the man-machine device 8 or communication data from the external device 20) received by the control device in addition to the input data, and transfers the data to the emulator; The emulator is configured to store the received data received from the control device in the storage device, and to reproduce the received data at the time indicated by the timestamp assigned to the received data during execution of the boost operation.
[0060] According to the plant operation simulation system described in (6) above, even if the control device receives communication data from other devices or operation commands from man-machine devices and the state of the control logic of the control device's control function changes during the process of duplicating the operating state of the plant (including the internal state of the control device) at a certain point in time using an emulator, the operating state of the plant can be duplicated using an emulator.
[0061] (7) In some embodiments, in the plant operation simulation system according to any one of (1) to (6), the control device repeats, multiple times, an operation including adding a timestamp to a snapshot of a calculation result by the control function of the control device and transferring the snapshot with the timestamp added to the emulator; The emulator is configured to store each of the snapshots transferred from the control device in the storage device (such as the above-mentioned HDD 78).
[0062] According to the plant operation simulation system described in (7) above, the calculation results of the control functions of the control device can be sequentially saved in the emulator. This makes it possible to check the past calculation status in the control device using snapshots stored in the storage device when the plant trips, and to investigate the cause of the trip.
[0063] (8) A plant operation simulation method according to at least one embodiment of the present disclosure includes: a control device (for example, the above-mentioned control device 4) having a control function (for example, the above-mentioned control function Mc) that receives input data related to state quantities of a plant and outputs output data for controlling the plant; an emulator (for example, the above-mentioned emulator 6) that includes a control model (for example, the above-mentioned control model Md) that imitates the control function of the control device and is time-synchronized with the control device; A plant operation simulation method using receiving the input data from the control device and the emulator at a period common to the control device and the emulator; adding a timestamp to the input data received by the emulator and storing the timestamp; a step of assigning a timestamp to a snapshot (e.g., the above-mentioned snapshot Qn) of the calculation result by the control function of the control device at an arbitrary time (e.g., the above-mentioned time tn) and transferring the snapshot to the emulator; using the calculation result included in the snapshot and the input data to which a timestamp has been added that is later than the time indicated by the timestamp added to the snapshot, to execute a boost calculation to calculate the control model of the emulator at a cycle faster than the cycle of calculation by the control function of the control device until the boost calculation catches up with the current calculation time of the control function of the control device; Equipped with.
[0064] According to the plant operation simulation system described in (8) above, an emulator that is time-synchronized with the control device and has a control model that simulates the control function performs a boost calculation using a calculation result (intermediate value of the calculation by the control function) at a certain point in time included in a snapshot transferred from the control device and input data with timestamps after the timestamp attached to the snapshot. The boost calculation calculates the control model of the emulator at a cycle faster than the calculation cycle of the control function of the control device until the boost calculation catches up with the current calculation time of the control function in the control device. This allows the operating state of the plant at a certain point in time to be reproduced by an emulator separate from the control device. Therefore, if a change is made to the control logic of the control device from this state, the emulator can be used to check the effect of the change on the output value of the control device (e.g., whether the output value of the control device will suddenly change) before changing the control logic of the control device during plant operation. This reduces the risk of an emergency shutdown of the plant's controlled object or an unexpected accident. [Explanation of symbols]
[0065] 2 Plant operation simulation system 4. Control device 6. Emulators 8 Man-machine devices 10 Information and Communications Networks 12 Control and communication network 14 Input / Output Modules 16 Control logic modification section 18 Output data comparison section 20 External device 72 processors 74 RAM 76 ROM 78 HDD 80 input I / F 82 Output I / F 84 Bus 100 plants MC control function Md control model Mp plant model Qn snapshot
Claims
1. a control device having a control function of receiving input data relating to a state quantity of a plant and outputting output data for controlling the plant; an emulator including a control model that simulates the control function of the control device and that is time-synchronized with the control device; Equipped with the control device and the emulator receive the input data at a cycle common to the control device and the emulator; the emulator assigns a timestamp to the input data received by the emulator and stores the timestamp in a storage device; the control device assigns a timestamp to a snapshot of a calculation result by the control function of the control device at an arbitrary time and transfers the snapshot to the emulator; a control function of the control device that is connected to the control panel and configured to execute a boost calculation for calculating the control model of the emulator at a period faster than the period of calculation by the control function of the control device, until the period catches up with the current calculation time of the control function of the control device, using the calculation result included in the snapshot transferred from the control device and a series of the input data received by the control device between the time the snapshot was acquired by the control device and the current time, the input data having a timestamp after the time indicated by the timestamp assigned to the snapshot.
2. 2. The plant operation simulation system according to claim 1, wherein the emulator is configured to use the calculation result included in the snapshot transferred from the control device as an initial value of the boost calculation.
3. 3. The plant operation simulation system according to claim 1, wherein the control device is configured to divide the snapshot into a plurality of data and transfer the plurality of data to the emulator over a plurality of calculation cycles.
4. 4. The plant operation simulation system according to claim 1, further comprising an output data comparison unit configured to compare output data output from the control model of the emulator with output data output from the control function of the control device when the control logic of the control model of the emulator is changed after the boost calculation.
5. 5. The plant operation simulation system according to claim 1, further comprising a plant model simulating the plant, the plant model being provided inside or outside the emulator and configured to generate input data to be input to the control model of the emulator in accordance with output data of the control model of the emulator.
6. the control device assigns a timestamp of a reception time to received data received by the control device in addition to the input data, and transfers the received data to the emulator; 6. The plant operation simulation system according to claim 1, wherein the emulator is configured to store the received data received from the control device in the storage device, and to reproduce the received data at a time indicated by the time stamp assigned to the received data during execution of the boost calculation.
7. the control device repeats, multiple times, an operation including adding a timestamp to a snapshot of a calculation result by the control function of the control device and transferring the snapshot with the timestamp added to the emulator; 7. The plant operation simulation system according to claim 1, wherein the emulator is configured to store each of the snapshots transferred from the control device in the storage device.
8. a control device having a control function of receiving input data relating to a state quantity of a plant and outputting output data for controlling the plant; an emulator including a control model that simulates the control function of the control device and that is time-synchronized with the control device; A plant operation simulation method using receiving the input data from the control device and the emulator at a period common to the control device and the emulator; adding a timestamp to the input data received by the emulator and storing the timestamp; a step of assigning a timestamp to a snapshot of a calculation result by the control function of the control device at an arbitrary time and transferring the snapshot to the emulator; While the control device continues to control the plant, a boost calculation is performed to calculate the control model of the emulator at a cycle faster than the cycle of calculation by the control function of the control device, until the boost calculation catches up with the current calculation time of the control function of the control device, using the calculation result included in the snapshot and a series of the input data received by the control device from the time when the snapshot was acquired to the current time, the input data being timestamped after the time indicated by the timestamp assigned to the snapshot; A plant operation simulation method comprising:
Citation Information
Patent Citations
On-line simulation system for control device
JP1987022101A
Controller
JP1996087316A
Plant simulation system
JP1997034534A
Equipment for sequence program test
JP2001209414A
Test device for plant controller
JP2001318716A