Program generation device, program generation method, and program generation system

The program generation device and method automate the creation of software programs for protective relay devices, reducing human errors and improving configuration efficiency by using configuration databases and hardware type determination.

JP2026086094APending Publication Date: 2026-05-26MITSUBISHI ELECTRIC CORP

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
MITSUBISHI ELECTRIC CORP
Filing Date
2024-11-14
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

The manual configuration of software programs for protective relay devices in process bus-compatible protective control systems is prone to human errors, leading to setting mistakes.

Method used

A program generation device and method that automatically generate programs for merging units (MUs) and intelligent electronic devices (IEDs) by creating configuration databases based on connection and substation configuration information, determining hardware types, and generating operation program modules.

Benefits of technology

Reduces human configuration work and minimizes errors by automating the program generation process for protective relay devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026086094000001_ABST
    Figure 2026086094000001_ABST
Patent Text Reader

Abstract

The present invention provides a program generation device that can automatically generate programs to realize the functions of a protective relay device while reducing the amount of configuration work performed by humans. [Solution] The program generation device includes a database generation unit that generates a configuration database for each of a plurality of merging units. The configuration database includes connection configuration information and substation configuration information relating to substations, input / output information, and hardware type. The program generation device further includes a module generation unit that generates operation program modules for merging units based on the configuration database. The module generation unit selects a basic program module based on the hardware type and generates an operation program module by setting transmission setting information, reception setting information, and network address in the basic program module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a program generation device, a program generation method, and a program generation system.

Background Art

[0002] A protection relay device provided in a power system disconnects an accident section when an accident in a transmission line and a bus is detected. Various functions of such a protection relay device are mainly realized by a software program executed by a microprocessor, and a technique for generating the program is known.

[0003] Japanese Unexamined Patent Application Publication No. 2005-354857 (Patent Document 1) discloses a method for automatically creating a program for a digital protection relay device. This method includes a step of inputting setting data describing the input destination and output destination of input / output information of each core program module for a plurality of core program modules constituting the digital protection relay device, and creating relay configuration setting data describing the coupling relationship between the core program modules based on the setting data, and creating a database for storing the relay configuration setting data in correspondence with the addresses of the input / output information referred to by each core program module.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] As a form of protective relay device, process bus-compatible protective control systems are becoming common. In this protective control system, the functions of conventional protective relay devices are divided into two parts, each consisting of a separate device. Specifically, it is divided into a device called a Merging Unit (MU) that acquires electrical quantities, and a protective control device called an IED (Intelligent Electronic Device).

[0006] The MU (Mass Unit) captures detection signals of electrical quantities in the power system (i.e., current and voltage, etc.) and performs A / D (Analog to Digital) conversion on the captured signals. The MU transmits the data obtained from the A / D conversion to the IED (Input Device) via the process bus. The IED performs relay calculations based on the data received from the MU.

[0007] While the various functions of MU and IED are implemented by software programs, much of the configuration work required to generate such software programs is performed manually. Patent Document 1 also discloses examples where various inputs are made manually in input setting screens or input data editing setting screens for setting analog inputs. As a result, there is a problem that human errors such as setting mistakes are likely to occur.

[0008] One objective in certain aspects of this disclosure is to provide a program generation device, a program generation method, and a program generation system that can automatically generate a program for realizing the functions of a protective relay device while reducing the amount of manual configuration work performed by humans. [Means for solving the problem]

[0009] A program generation device according to one embodiment includes a database generation unit that generates a configuration database for each of a plurality of merging units provided corresponding to a plurality of substations, based on connection configuration information indicating the connection configuration of substations, busbars, and transmission lines in a power system, and substation configuration information indicating the configuration of busbars and equipment provided in a substation. The database generation unit calculates a first number of digital input circuits and a second number of digital output circuits required for a first merging unit among the plurality of merging units based on the connection configuration information and the substation configuration information, and determines a first hardware type for the first merging unit based on the first and second numbers. The first configuration database for the first merging unit includes connection configuration information and substation configuration information relating to the first substation where the first merging unit is provided, input / output information between the equipment and the first merging unit, and a first hardware type. The program generation device further includes a module generation unit that generates a first operation program module for the first merging unit based on the first configuration database. The module generation unit selects a first basic program module for the first merging unit based on the first hardware type, and generates a first operation program module by setting the first basic program module with transmission setting information for transmission data transmitted from the first merging unit to the protection control device that performs protection relay calculations, reception setting information for reception data received by the first merging unit from the protection control device, and the network address of the first merging unit, based on connection configuration information, substation configuration information, and input / output information for the first substation.

[0010] A program generation method according to another embodiment includes the step of generating a configuration database for each of a plurality of merging units provided corresponding to a plurality of substations, based on connection configuration information indicating the connection configuration of substations, busbars, and transmission lines in a power system, and substation configuration information indicating the configuration of busbars and equipment provided in the substations. The step of generating the configuration database includes calculating a first number of digital input circuits and a second number of digital output circuits required for a first merging unit among the plurality of merging units, based on the connection configuration information and the substation configuration information, and determining a first hardware type for the first merging unit based on the first and second numbers. The first configuration database for the first merging unit includes connection configuration information and substation configuration information relating to a first substation where the first merging unit is provided, input / output information between the equipment and the first merging unit, and a first hardware type. The program generation method further includes the step of generating a first operation program module for the first merging unit based on the first configuration database. The step of generating a first operation program module includes selecting a first basic program module for a first merging unit based on a first hardware type, and generating a first operation program module by setting in the first basic program module transmission setting information for transmission data that the first merging unit sends to a protection control device that performs protection relay calculations, reception setting information for reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit, based on connection configuration information, substation configuration information, and input / output information for the first substation.

[0011] A program generation system according to another embodiment further comprises a system configuration database that stores connection configuration information indicating the connection configuration of substations, busbars, and transmission lines within a power system; a substation configuration database that stores substation configuration information indicating the configuration of busbars and equipment installed in substations; and a program generation device. The program generation device includes a database generation unit that generates a configuration database for each of a plurality of merging units provided corresponding to a plurality of substations based on the connection configuration information and the substation configuration information. Based on the connection configuration information and the substation configuration information, the database generation unit calculates a first number of digital input circuits and a second number of digital output circuits required for a first merging unit among the plurality of merging units, and determines a first hardware type for the first merging unit based on the first and second numbers. The first configuration database for the first merging unit includes connection configuration information and substation configuration information relating to the first substation where the first merging unit is installed, input / output information between the equipment and the first merging unit, and a first hardware type. The program generation device further includes a module generation unit that generates a first operation program module for a first merging unit based on a first configuration database. The module generation unit selects a first basic program module for a first merging unit based on a first hardware type, and generates a first operation program module by setting the first basic program module with transmission setting information regarding transmission data that the first merging unit transmits to a protection control device that performs protection relay calculations, reception setting information regarding reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit, based on connection configuration information, substation configuration information, and input / output information related to a first substation. [Effects of the Invention]

[0012] According to this disclosure, it is possible to automatically generate a program for realizing the functions of a protective relay device while reducing the configuration work performed by humans. [Brief explanation of the drawing]

[0013] [Figure 1] It is a diagram showing a configuration example of a power system. [Figure 2] It is a diagram showing the overall configuration of a protection relay system. [Figure 3] It is a block diagram showing an example of the hardware configuration of a MU. [Figure 4] It is a block diagram showing an example of the hardware configuration of an IED. [Figure 5] It is a diagram showing a configuration example of a program generation system. [Figure 6] It is a diagram showing a specific example of a system configuration database. [Figure 7] It is a diagram showing a specific example of a substation configuration database. [Figure 8] It is a schematic diagram for explaining the type of a feeder. [Figure 9] It is a diagram showing a specific example of a network configuration database. [Figure 10] It is a diagram showing a specific example of a hardware configuration database. [Figure 11] It is a diagram showing a specific example of a module database. [Figure 12] It is a diagram showing a specific example of a system constant database. [Figure 13] It is a diagram showing a specific example of a MU configuration database. [Figure 14] It is a diagram showing a specific example of an IED configuration database. [Figure 15] It is a diagram for explaining the generation method of a MU operation module. [Figure 16] It is a diagram showing an example of the format of transmitted data of a MU. [Figure 17] It is a diagram showing an example of the format of received data of a MU. [Figure 18] It is a diagram for explaining the generation method of an IED operation module.

Embodiments for Carrying Out the Invention

[0014] Embodiments of the present invention will be described below with reference to the drawings. In the following description, identical parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions of them will not be repeated.

[0015] <Overview> This embodiment relates to a program generation method for automatically generating program modules for a merging unit (hereinafter also referred to as "MU") and a protection control device (hereinafter also referred to as "IED"). In this specification, first, an example configuration of a power system to which the MU and IED are applied, an example configuration of a protection relay system including the MU and IED, and an example hardware configuration of the MU and IED will be described.

[0016] Next, we will describe the system that implements the program generation method for MU and IED. Then, we will explain specific examples of the various databases used in the system, the method for generating the configuration databases for MU and IED based on these databases, and the method for generating the operating program modules for MU and IED using these configuration databases. Hereinafter, "program module" will also be simply referred to as "module."

[0017] <Example of power system configuration> Figure 1 shows an example of the configuration of a power system 10. Referring to Figure 1, the power system 10 includes multiple substations E1 to E4, multiple transmission lines L1 to L4, multiple busbars B1 to B4, generators G1 and G2, and a load 100. Each of the multiple substations E1 to E4 is provided with multiple busbars B1 to B4. Busbar B1 in substation E1 is connected to generator G1 and transmission line L1, busbar B2 in substation E2 is connected to transmission lines L1, L2, and L4, busbar B3 in substation E3 is connected to generator G2 and transmission lines L2 and L3, and busbar B4 in substation E4 is connected to transmission lines L3, L4 and load 100.

[0018] Each busbar B1 to B4 has multiple branched lines (e.g., feeders). Specifically, feeders F1 and F2 of busbar B1 are connected to transmission line L1 and generator G1, respectively. Feeders F1, F3, and F4 of busbar B2 are connected to transmission lines L1, L2, and L4, respectively. Nothing is connected to feeder F2 of busbar B2. Feeders F1, F2, and F3 of busbar B3 are connected to transmission lines L2, L3, and generator G2, respectively. Feeders F1, F2, and F3 of busbar B4 are connected to transmission lines L3, L4, and load 100, respectively.

[0019] Figure 2 shows the overall configuration of the protective relay system 1000. Referring to Figure 2, the protective relay system 1000 includes network switches 3_1 to 3_4 (hereinafter also collectively referred to as "switch 3"), a plurality of MU2_1 to 2_4 (hereinafter also collectively referred to as "MU2"), a synchronization device 20, and a protective control device (i.e., IED) 60.

[0020] Each of the synchronous device 20 and IED 60 is connected to one of the multiple switches 3_1 to 3_4. Figure 2 shows an example where the synchronous device 20 is connected to switch 3_1 and the IED 60 is connected to switch 3_4.

[0021] The network NW used in the protective relay system 1000 shown in Figure 2 is configured by interconnecting four MU2_1 to 2_4 using four switches 3_1 to 3_4. Each of the switches 3_1 to 3_4 is located in one of several substations E1 to E4. The switches 3_1 to 3_4 are connected in a loop via a communication path R. The network NW is composed of a high-speed communication network, such as Ethernet (registered trademark). Each switch 3 is, for example, an L3 switch.

[0022] Each switch 3 is connected to one MU2. Substation E1 is equipped with switch 3_1, MU2_1 connected to switch 3_1, and a synchronization device 20. Substation E2 is equipped with switch 3_2 and MU2_2 connected to switch 3_2. Substation E3 is equipped with switch 3_3 and MU2_3 connected to switch 3_3. Substation E4 is equipped with switch 3_4, MU2_4 connected to switch 3_4, and an IED 60.

[0023] MU2_1 acquires analog electrical quantities (e.g., current, voltage) from each detector (e.g., current transformer, voltage transformer) installed at its own terminal (i.e., substation E1), and generates electrical quantity data M1 by digitizing the analog electrical quantities. MU2_1 transmits frame FR1, which contains the electrical quantity data M1, to switch 3_1. Frame FR1 is aggregated data of the information obtained at substation E1.

[0024] Similarly, MU2_2 transmits frame FR2, which contains the electricity quantity data M2 obtained at substation E2, to switch 3_2. MU2_3 transmits frame FR3, which contains the electricity quantity data M3 obtained at substation E3, to switch 3_3. MU2_4 transmits frame FR4, which contains the electricity quantity data M4 obtained at substation E4, to switch 3_4.

[0025] Each switch 3 transmits the received frame to IED60 via the other switches 3 through the communication path R. For example, switch 3_1 transmits frame FR1 to IED60 via switches 3_2 to 3_4. As a result, MU2_1 transmits frame FR1 to IED60 via switches 3_1 to 3_4. The same applies to the other MU2s.

[0026] The synchronization device 20 sends and receives synchronization messages to each MU2 and IED60 to synchronize the time of each MU2 and the time of the IED60 with the time of the device itself. As a result, the time of all MU2s and the time of the IED60 in the protective relay system 1000 are synchronized. The IED60 performs calculations such as fault detection determination using electrical quantity data sampled by each MU2 at the same time (i.e., sampling timing). The timing for sampling the electrical quantity data is determined based on the sampling pulse signal. For example, the sampling period is set to an electrical angle of 30° of the system frequency (for example, 1.67 ms for a 50 Hz system).

[0027] A backup communication path is provided between switch 3_1 and switch 3_4. For example, if the communication path R between switch 3_3 and switch 3_4 fails and communication becomes impossible, the communication path R between switch 3_3 and switch 3_4 will be used as a new backup communication path. Then, each switch 3 will be connected in a loop using the original backup communication path, etc.

[0028] <Hardware Configuration> (MU2) Figure 3 is a block diagram showing an example of the hardware configuration of MU2. Referring to Figure 3, MU2 includes one or more input converters 30, one or more sample-and-hold circuits 31, a multiplexer 32, an A / D converter 33, an arithmetic processing unit 40, a communication circuit 50, one or more digital output circuits (D / O) 55, and one or more digital input circuits (D / I) 56. MU2 further includes a bus 44 that connects the components to each other.

[0029] The MU2 is equipped with multiple channels for receiving current signals for each phase output from current transformers (CTs) and voltage signals for each phase output from voltage transformers (VTs). Each channel receives the current signals for each phase from the CTs and the voltage signals for each phase from the VTs, respectively.

[0030] The input converter 30 has an auxiliary transformer for each input channel. Each auxiliary transformer converts the detection signal from the CT or VT into a signal with a voltage level suitable for subsequent signal processing.

[0031] A sample-and-hold circuit 31 is provided for each input converter 30. The sample-and-hold circuit 31 samples and holds the signal representing the electrical quantity received from the corresponding input converter 30 at the sampling frequency. Alternatively, an analog filter may be provided to remove high-frequency noise components from the waveform signal of the electrical quantity output from the input converter 30. In this case, the sample-and-hold circuit 31 samples and holds the waveform signal output from the analog filter at the sampling frequency.

[0032] The multiplexer 32 sequentially selects signals held by multiple sample-and-hold circuits 31. The A / D converter 33 converts the signals selected by the multiplexer 32 into digital values. Note that by providing multiple A / D converters 33, A / D conversion may be performed in parallel for detection signals from multiple input channels.

[0033] The arithmetic processing unit 40 includes a CPU (Central Processing Unit) 41, RAM (Random Access Memory) 42, and ROM (Read Only Memory) 43. These elements are interconnected via a bus 44. The arithmetic processing unit 40 may also include electrically rewritable non-volatile memory such as flash memory. The RAM 42 and ROM 43 are used as the main memory of the CPU 41. The CPU 41 controls the operation of the entire MU2 according to the programs enabled in the ROM 43 and the non-volatile memory. Typically, the processing of the MU2 described below is performed by the arithmetic processing unit 40.

[0034] The communication circuit 50 communicates with the switch 3 according to a specified protocol. Typically, the communication circuit 50 has multiple communication ports depending on the application. For example, the communication circuit 50 includes one or more transmission ports for sending data to the switch 3 and one or more reception ports for receiving data from the switch 3. The communication circuit 50 communicates with the IED 60 via one or more switches 3.

[0035] The digital output circuit 55 is an interface circuit for outputting signals to external devices. For example, the digital output circuit 55 outputs a trip command to a circuit breaker installed on a busbar, power transmission line, etc., in accordance with a command from the CPU 41. The digital input circuit 56 receives, for example, open / closed information from the circuit breaker indicating the open / closed state of the circuit breaker.

[0036] (IED60) Figure 4 is a block diagram showing an example of the hardware configuration of IED60. Referring to Figure 4, IED60 includes an arithmetic processing unit 70 and a communication circuit 75.

[0037] The arithmetic processing unit 70 includes a CPU 71, RAM 72, and ROM 73. These elements are interconnected via a bus 74. The arithmetic processing unit 70 may also include non-volatile memory such as flash memory. RAM 72 and ROM 73 are used as the main memory of the CPU 71. The CPU 71 controls the operation of the entire IED 60 according to the programs stored in ROM 73 and the non-volatile memory. Typically, each process of the IED 60 is performed by the arithmetic processing unit 70.

[0038] The communication circuit 75 communicates with the switch 3 according to a specified protocol. Typically, the communication circuit 75 has multiple communication ports depending on its application. For example, the communication circuit 75 includes one or more transmission ports for sending data to the switch 3 and one or more reception ports for receiving data from the switch 3. In this way, the communication circuit 75 communicates with the communication circuit 50 of the MU2 via one or more switches 3.

[0039] <Overview of the Program Generation System> Figure 5 shows an example configuration of the program generation system 2000. Referring to Figure 5, the program generation system 2000 is a system for generating program modules for MU2 and IED60. Specifically, the program generation system 2000 includes various databases (hereinafter also simply referred to as "DB") and a program generation device 200. The various databases include a system configuration DB110, a substation configuration DB120, a network configuration DB130, a hardware configuration DB140, a module DB150, and a system constant DB160.

[0040] The program generation device 200 is implemented using a general-purpose computer and software that runs on the computer. The computer includes personal computers, engineering workstations (EWS), and the like.

[0041] The System Configuration DB110 stores data that shows the overall configuration of each power system. Specifically, the System Configuration DB110 stores system block data corresponding to each power system. For example, the data showing the overall configuration of power system 10 shown in Figure 1 is registered as system block data X1. System block data X1 includes information for identifying system equipment included in power system 10 (e.g., substations, busbars, transmission lines, etc.), information on the connection relationships of each system piece of equipment, and setting information for various devices installed in each substation. Specific examples of the System Configuration DB110 will be described later.

[0042] The substation configuration DB120 stores data indicating the configuration of substations included in the system block data. Specifically, the substation configuration DB120 includes substation configuration information regarding the configuration of busbars and equipment installed within the substation. A specific example of the substation configuration DB120 will be described later.

[0043] The network configuration DB130 stores information about the network configuration of the protective relay system, including the MU and IED (for example, the network configuration shown in Figure 2). Specifically, the network configuration DB130 includes information about the network switches installed in each substation, information indicating the connection relationships of each network switch, etc. A specific example of the network configuration DB130 will be described later.

[0044] The Hardware Configuration DB140 stores data indicating the hardware configuration of each MU and IED. The MU's hardware configuration includes the number of CPU cores, the number of analog input channels, the number of DI circuits, the number of DO circuits, etc. Multiple hardware types for the MU are configured based on this information. The IED's hardware configuration includes the number of CPU cores, the number of buses capable of performing protected relay calculations, the number of transmission lines, etc. Multiple hardware types for the IED are configured based on this information. Specific examples of the Hardware Configuration DB140 will be described later.

[0045] Module DB150 houses the basic modules for MUs and IEDs, as well as the protective relay modules for IEDs. Multiple basic module types are provided for each MU and IED. Additionally, multiple protective relay module types are provided for each busbar and transmission line. Specific examples of Module DB150 will be described later.

[0046] The system constants DB160 stores the constants of various equipment that make up the power system (e.g., transmission lines, busbars, etc.). Specific examples of system constants DB160 will be described later.

[0047] The program generation device 200 includes, as its main functional components, a device configuration DB generation unit 202, a module generation unit 204, a setting value calculation unit 206, and an operation module generation unit 208. These functions are realized by a processor included in the program generation device 200 executing a program stored in memory (e.g., ROM, RAM, etc.). The program generation device 200 further includes database storage units 250, 260, and 270, which are implemented by memory.

[0048] The device configuration DB generation unit 202 accepts input from the system configuration DB 110, substation configuration DB 120, network configuration DB 130, and hardware configuration DB 140. Any method can be used to acquire this information. For example, the device configuration DB generation unit 202 receives this information via a wired or wireless network.

[0049] The device configuration DB generation unit 202 refers to the information stored in these DBs and generates configuration DBs for each of the multiple MUs included in the system block, and configuration DBs for the IEDs included in the system block. Hereinafter, the MU configuration DB will also be referred to as "MU configuration DB 170," and the IED configuration DB will also be referred to as "IED configuration DB 180." The generation methods for MU configuration DB 170 and IED configuration DB 180 will be described later. The device configuration DB generation unit 202 stores the MU configuration DB 170 for the multiple MUs, the IED configuration DB 180, and the network configuration DB 130 in the database storage unit 250.

[0050] The module generation unit 204 retrieves the MU configuration DB 170 and network configuration DB 130 stored in the database storage unit 250. The module generation unit 204 also receives information from the module DB 150, for example, via the network.

[0051] The module generation unit 204 generates an MU operation program module (hereinafter also simply referred to as "MU operation module") based on the MU configuration DB 170, module DB 150, and network configuration DB 130. The module generation unit 204 also generates an IED operation program module (hereinafter also simply referred to as "IED operation module") based on the IED configuration DB 180, module DB 150, and network configuration DB 130. The generation method for the MU operation module and IED operation module will be described later. The module generation unit 204 stores the generated MU operation module and IED operation module in the database storage unit 260.

[0052] The setting value calculation unit 206 receives information from the system constant DB160 via the network. Based on the system constant DB160, the setting value calculation unit 206 calculates the setting values ​​used in the IED operating module. The setting value calculation method is a known method.

[0053] The operation module generation unit 208 generates the MU module that will actually be used in operation (hereinafter also referred to as the "MU operation module") and the IED module that will actually be used in operation (hereinafter also referred to as the "IED operation module").

[0054] Specifically, the operation module generation unit 208 generates an IED operation module by setting the set value calculated by the setting value calculation unit 206 to the IED operation module. Here, since the MU according to this embodiment does not have a protective relay function, it is not necessary to set a set value to the MU operation module. Therefore, the operation module generation unit 208 generates the MU operation module stored in the database storage unit 260 as the MU operation module.

[0055] However, when targeting MUs that have a protective relay calculation function, the operation module generation unit 208 may generate MU operation modules by setting set values ​​in the MU operation module. The operation module generation unit 208 stores the generated MU operation modules and IED operation modules in the database storage unit 270.

[0056] <Specific examples of various databases> (System configuration DB110) Figure 6 shows a specific example of the system configuration DB110. Figure 6 shows the data included in the block data of the power system 10 shown in Figure 1 (hereinafter also referred to as "system block data X1") from the total data of the system configuration DB110. System block data X1 includes substation individual data 112, transmission line individual data 114, and equipment setting data 116.

[0057] The individual substation data 112 includes the following items: substation name, bus type, bus name, feeder name, feeder type, In node, and Ex node. The substation name, bus name, and feeder name are examples of information that identify the substation, bus, and feeder, respectively. According to the individual substation data 112, it can be confirmed that the power system 10 includes four substations E1 to E4, that each of the substations E1 to E4 includes buses B1 to B4, and that the bus type of each bus B1 to B4 is "single".

[0058] Furthermore, focusing on substation E1, it can be confirmed that busbar B1 has feeders F1 and F2, that the feeder type of both feeders F1 and F2 is "Type 1", that the In node and Ex node of feeder F1 are connected to busbar B1 and transmission line L1 respectively, and that the In node and Ex node of feeder F2 are connected to busbar B1 and generator G1 respectively. The same applies to the other substations E2 to E4.

[0059] The individual transmission line data 114 includes items such as the transmission line name, number of terminals, and connection relationship. The transmission line name is an example of information used to identify a transmission line. According to the individual transmission line data 114, it can be confirmed that the power system 10 includes four transmission lines L1 to L4, that transmission lines L1 to L4 each have "2" terminals, and which substations each transmission line L1 to L4 is connected to. Focusing on transmission line L1, it can be confirmed that one end is connected to substation E1 and the other end is connected to substation E2. The same applies to the other transmission lines L2 to L4.

[0060] Based on the above, it can be said that the individual substation data 112 and the individual transmission line data 114 are information that shows the connection configuration of substations, busbars, and transmission lines within the power system shown in Figure 1.

[0061] Equipment setting data 116 shows the detailed setting data for the CTs installed in substation E1. Specifically, equipment setting data 116 includes the feeder name, the CT location indicating the installation position of the CTs installed in each feeder, the rated value of the primary current of the CTs, and the rated value of the secondary current of the CTs. According to equipment setting data 116, it is confirmed that CTs are installed on both the busbar side and the transmission line side of feeder F1 in substation E1, and that the rated value of the primary current of the CTs is 3000A and the rated value of the secondary current of the CTs is 5A. The same applies to feeder F2 in substation E1.

[0062] Furthermore, the equipment setting data 116 also includes detailed setting data for the VT installed in substation E1. The equipment setting data 116 includes, for example, the name of the busbar where the VT is installed, the installation location of the VT, the rated value of the primary voltage of the VT, and the rated value of the secondary voltage of the VT.

[0063] The system configuration DB110 includes the same equipment setting data for substations E2 to E4 as for substation E1.

[0064] (Substation configuration DB120) Figure 7 shows a specific example of the substation configuration DB120. Referring to Figure 7, the substation configuration DB120 includes busbar configuration data 122 and feeder configuration data 124.

[0065] Busbar configuration data 122 includes the type name, busbar type, maximum number of feeders, and number of VTs installed on the busbar installed in the substation. Specifically, a busbar with the type name "Type1" indicates a single-type busbar with a maximum number of feeders of "20" and a number of VTs of "1". A busbar with the type name "Type2" differs from a busbar of "Type1" in that it has a maximum number of feeders of "20", but all other items are the same as a busbar of "Type1".

[0066] The feeder configuration data 124 is data relating to the configuration of feeders installed in a substation (i.e., feeders branching off from the busbar). The feeder configuration data 124 includes the feeder type name, whether or not disconnectors (corresponding to "LS_B" in the diagram) and CTs (corresponding to "CT_B" in the diagram) are installed on the busbar side of the feeder, the type of circuit breaker (CB) installed on the feeder, and whether or not CTs (corresponding to "CT_L" in the diagram) and disconnectors (corresponding to "LS_L" in the diagram) are installed on the transmission line side of the feeder. Note that "1" indicates installation and "0" indicates no installation.

[0067] In Type 1 feeders, disconnectors and current transformers (CTs) are installed on both the busbar side and the transmission line side. In Type 2 feeders, only disconnectors are installed on the busbar side, and both disconnectors and CTs are installed on the transmission line side. In Type 3 feeders, both disconnectors and CTs are installed on the busbar side, and only disconnectors are installed on the transmission line side. In all three types of feeders (Types 1-3), the CB type is "3-phase".

[0068] Figure 8 is a schematic diagram illustrating the types of feeders. Figure 8 shows the configuration of busbar B2 and feeders at substation E2. According to the substation-specific data 112 in Figure 6, the feeder type of feeders F1 to F4 branching from busbar B2 at substation E2 is "Type 1". Furthermore, according to the feeder configuration data 124 in Figure 7, in "Type 1" feeders, disconnectors and CTs are installed at both the busbar side and the transmission line side. Therefore, feeders F1 to F4 shown in Figure 8 are equipped with "LS_B", "CT_B", "CB", "CT_L", and "LS_L".

[0069] Based on the above, it can be said that the substation configuration DB120 is information indicating the configuration of busbars (e.g., busbar B1) and equipment (e.g., LS_B, CT_B, CB, CT_L, and LS_L) installed in a substation (e.g., substation E1).

[0070] (Network configuration DB130) Figure 9 shows a specific example of the network configuration DB 130. Figure 9 shows data from the entire network configuration DB 130 that focuses on the network configuration of the network NW shown in Figure 2. The network configuration DB 130 includes a network switch list 132, network switch connection relationship data 134, and IP address last digit assignment data 136.

[0071] Network switch list 132 includes the number of network switches and the names of the network switches installed in each substation. SW1 to SW4 in Figure 9 correspond to switches 3_1 to 3_4 in Figure 2, respectively. According to network switch list 132, the number of network switches is "4", and it is confirmed that switches 3_1 to 3_4 are installed in substations E1 to E4, respectively.

[0072] Connection relationship data 134 includes connection relationships C1 to C4 and a standby connection relationship. Specifically, connection relationship C1 indicates that port 24 of switch 3_1 is connected to port 1 of switch 3_2. Similarly, connection relationship C2 indicates that port 24 of switch 3_2 is connected to port 1 of switch 3_3. Connection relationship C3 indicates that port 24 of switch 3_3 is connected to port 1 of switch 3_4. Connection relationship C4 indicates that port 24 of switch 3_4 is connected to port 1 of switch 3_1. Furthermore, it indicates that the connection between port 24 of switch 3_4 and port 1 of switch 3_1 is in a standby state.

[0073] The allocation data 136 shows the allocation table of IP addresses used in communication between each MU2 and IED60. As an example, the allocation data 136 includes the last digit of the IP address "10.100.11.*", the usage status, the device name, and the port number. Usage status "1" indicates that the IP address is already in use by some device, usage status "2" indicates that the IP address is not in use by any device, and usage status "3" indicates that the IP address is scheduled to be used by some device.

[0074] For example, IP addresses "10.100.11.1" to "10.100.11.10" are addresses scheduled for use, while IP addresses "10.100.11.11" to "10.100.11.16" are unused addresses (i.e., available IP addresses). Therefore, each MU2 and IED60 will be assigned one of the IP addresses from "10.100.11.11" to "10.100.11.16".

[0075] (Hardware configuration DB140) Figure 10 shows a specific example of the hardware configuration DB 140. Referring to Figure 10, the hardware configuration DB 140 includes MU hardware configuration data 142 and IED hardware configuration data 144.

[0076] The MU hardware configuration data 142 includes the hardware type name (corresponding to "HW type name" in the figure), the number of CPU cores, the number of analog channels, the number of DI circuits, and the number of DI circuits. The MU of hardware type "MU_HD1" has 4 CPU cores, 64 analog channels, 96 DI circuits, and 24 DO circuits. The MU of hardware type "MU_HD2" differs from the MU of "MU_HD1" in that it has "48" DO circuits, but all other items are the same as the MU of "MU_HD1". From this, it can be seen that the multiple hardware types "MU_HD1" and "MU_HD2" are classified based on the number of DI circuits Ndi and the number of DO circuits Ndo installed in the MU.

[0077] The IED hardware configuration data 144 includes the hardware type, the number of CPU cores, the number of transmission lines that can be protected (i.e., for which protective relay calculations are possible) (hereinafter also referred to as "number of transmission line protections NL"), and the number of busbars that can be protected (hereinafter also referred to as "number of busbar protections NB"). An IED of hardware type "IED_HD1" has 16 CPU cores and is capable of protective relay calculations for 12 transmission lines and 5 busbars. An IED of hardware type "IED_HD2" has 32 CPU cores and is capable of protective relay calculations for 18 transmission lines and 10 busbars.

[0078] (Module DB150) Figure 11 shows a specific example of module DB150. Referring to Figure 11, module DB150 includes MU basic module data 152, IED basic module data 154, busbar relay basic module data 156, and transmission line relay basic module data 158.

[0079] MU Basic Module Data 152 is data that associates the basic module type name for MU with the hardware type for MU. Specifically, the basic module type "MU_BA1" is associated with the hardware type "MU_HD1", and the basic module type "MU_BA2" is associated with the hardware type "MU_HD2".

[0080] IED basic module data 154 is data that associates the basic module type name for an IED with the hardware type for that IED. Specifically, the basic module type "IED_BA1" is associated with the hardware type "IED_HD1", and the basic module type "IED_BA2" is associated with the hardware type "IED_HD2".

[0081] Busbar relay basic module data 156 includes the relay type name, the number of busbars, and the maximum number of feeders. The "BP1" busbar relay basic module is a module capable of protecting one busbar with a maximum number of feeders of "10". The "BP2" busbar relay basic module is a module capable of protecting one busbar with a maximum number of feeders of "20".

[0082] The transmission line relay basic module data 158 includes the relay type name and the maximum number of terminals. The transmission line relay basic modules "LP1", "LP2", and "LP3" are modules capable of protecting transmission lines with a maximum number of terminals of "2", "3", and "4", respectively.

[0083] (system constant DB160) Figure 12 shows a specific example of the system constant DB160. Referring to Figure 12, the system constant DB160 includes transmission line constant data 162 and busbar constant data 164.

[0084] The transmission line constant data 162 includes items such as the transmission line name, transmission line voltage, total length of the transmission line, positive-phase impedance, and zero-phase impedance. For example, the transmission line L1 is a transmission line with a transmission line voltage of 77 kV, a total length of the transmission line of 15 km, a positive-phase impedance of "Z1x1", and a zero-phase impedance of "Z0x1".

[0085] The busbar constant data 164 includes items such as the busbar name, substation name, busbar voltage, and neutral point current. For example, the busbar B1 is a busbar installed in the substation E1, with a busbar voltage of 77 kV and a neutral point current of 600 A.

[0086] <Generation method of the MU configuration DB170 and the IED configuration DB180> The generation method of the MU configuration DB170 and the IED configuration DB180 by the device configuration DB generation unit 202 will be described. As described above, the device configuration DB generation unit 202 acquires the information stored in the system configuration DB110, substation configuration DB120, network configuration DB130, and hardware configuration DB140.

[0087] (MU configuration DB170) Figure 13 is a diagram showing a specific example of the MU configuration DB170. For ease of explanation, in Figure 13, the data related to the substation E1 where MU2_1 is provided is shown among all the data of the MU configuration DB170. Specifically, the MU configuration DB170 includes common information 172, substation-specific information 174, MU input / output information 176, and MU hardware type information 178.

[0088] The device configuration DB generation unit 202 generates the common information 172 by referring to the system configuration DB110 in Figure 6. Specifically, based on the system configuration DB110, the device configuration DB generation unit 202 determines that both the number of substations and transmission lines included in the target system block (i.e., the power system 10 in Figure 1) is "4". Thereby, the device configuration DB generation unit 202 generates the common information 172 including the number of substations and transmission lines in the system block.

[0089] The device configuration DB generation unit 202 generates substation individual information 174 by referring to the system configuration DB 110 and the substation configuration DB 120 shown in Figure 7. Specifically, for the items of substation individual information 174, the device configuration DB generation unit 202 uses the information for substation E1 in the substation individual data 112 of the system configuration DB 110 as is for the items of substation, bus type, number of feeders, feeder name, feeder type, In node, and Ex node. These items are as shown in Figure 13. Note that the substation individual data 112 does not include an item for the number of feeders, but it includes feeders F1 and F2 as feeder names. Therefore, it is obvious that the number of feeders is "2".

[0090] The device configuration DB generation unit 202 selects a bus type name suitable for a bus type of "single" and a feeder count of "2" based on the bus configuration data 122 of the substation configuration DB 120. Since the feeder count is "2", a bus with the bus type name "Type1", which has a maximum feeder count of "10", is sufficient. Therefore, the bus type name in the substation individual information 174 becomes "Type1".

[0091] The device configuration DB generation unit 202 determines, based on the feeder configuration data 124 of the substation configuration DB 120, whether or not there are CTs installed on the busbar side of the feeder (hereinafter also referred to as "busbar-side CTs") and whether or not there are CTs installed on the transmission line side of the feeder (hereinafter also referred to as "transmission line-side CTs"). The feeder type of feeders F1 and F2 is "Type 1". Therefore, the device configuration DB generation unit 202 determines from the feeder configuration data 124 that "Type 1" feeders are equipped with both busbar-side CTs and transmission line-side CTs. Consequently, the busbar-side CTs and transmission line-side CTs in the substation individual information 174 are "present".

[0092] Based on the above, the individual substation information 174 includes connection configuration information (e.g., number of feeders, feeder type, In node, Ex node, etc.) and substation configuration information (e.g., busbar type, presence or absence of busbar-side CTs and transmission line-side CTs, etc.) for substation E1.

[0093] Next, the device configuration DB generation unit 202 generates MU input / output information 176 that is input and output between equipment (e.g., VT, CT, LS, CB) and MU based on the generated substation individual information 174 and the substation configuration DB 120. The MU input / output information 176 includes the substation name, number of feeders, number of VTs, number of VT channels, number of CTs, number of CT channels, number of DI circuits, and number of DO circuits.

[0094] The substation name and feeder count in MU input / output information 176 use the same information as in substation individual information 174. According to busbar configuration data 122, the number of VTs for a busbar of type "Type 1" is "1". Therefore, the number of VTs in MU input / output information 176 is "1". Also, four channels (specifically, a-phase, b-phase, c-phase, and zero-phase) are used for one VT. Therefore, the number of VT channels is "4".

[0095] According to substation individual information 174, two CTs (i.e., a busbar-side CT and a transmission line-side CT) are installed on each of the two feeders F1 and F2. Therefore, the number of CTs is "4". Also, since 4 channels are used for each CT, the number of CT channels is "16".

[0096] According to the feeder configuration data 124 of the substation configuration DB120, a "Type 1" feeder is fitted with a CB, LS_B, and LS_L. Also, the number of feeders is "2". Therefore, the number of DI circuits is "6". According to the feeder configuration data 124, a "Type 1" feeder is fitted with one CB. Therefore, the number of DO circuits is "2".

[0097] Furthermore, the device configuration DB generation unit 202 generates MU hardware type information 178 based on the generated MU input / output information 176 and the MU hardware configuration data 142 of the hardware configuration DB 140 shown in Figure 10. The MU hardware type information 178 indicates the hardware type of the MU (i.e., MU2_1) installed in substation E1.

[0098] According to MU input / output information 176, the number of DI circuits is "6" and the number of DO circuits is "2". Comparing this information with the number of DI circuits Ndi and the number of DO circuits Ndo in the MU hardware configuration data 142, it is clear that a MU of hardware type "MU_HD1" with 96 DI circuits and 24 DO circuits is sufficient. Therefore, the hardware type of MU2_1 is "MU_HD1".

[0099] Based on the above, the device configuration DB generation unit 202 has the following functions regarding the method of generating the MU configuration DB 170. Specifically, the device configuration DB generation unit 202 generates the MU configuration DB 170 for each MU2 based on connection configuration information (e.g., system configuration DB 110) that shows the connection configuration of substations, busbars and transmission lines, and substation configuration information (e.g., substation configuration DB 120) that shows the configuration of busbars and equipment installed in substations.

[0100] The explanation will focus on the MU configuration DB 170 related to MU2_1. In this case, the device configuration DB generation unit 202 calculates the number of DI circuits and DO circuits required for MU2_1 based on the connection configuration information and substation configuration information (e.g., substation individual information 174) related to substation E1. For example, the device configuration DB generation unit 202 calculates the number of DI circuits and DO circuits required for MU2_1 based on the number of feeders branching from busbar B1 included in substation E1 (e.g., "2") and information indicating whether or not equipment (e.g., CB, LS) is attached to the feeders of busbar B1 (e.g., feeder configuration data 124).

[0101] The device configuration DB generation unit 202 determines the hardware type of MU2_1 based on the calculated number of DI circuits and DO circuits (for example, it determines that the hardware type of MU2_1 is "MU_HD1"). Specifically, the device configuration DB generation unit 202 determines the hardware type of MU2_1 to be the one among several hardware types (for example, "MU_HD1" and "MU_HD2") that satisfies the conditions that the number of DI circuits required for MU2_1 is less than or equal to the number of installed Ndi and the number of installed DO circuits required for MU is less than or equal to the number of installed Ndo, and has the fewest installed Ndi and Ndo.

[0102] (IED configuration DB180) Figure 14 shows a specific example of the IED configuration DB 180. Referring to Figure 14, the IED configuration DB 180 includes basic information 181, common information 182, substation information 183, transmission line information 184, and IED hardware type information 185.

[0103] Basic information 181 includes the number of substations and the names of the substations. Common information 182 includes the number of substations, the number of busbars protected by the IED (corresponding to "number of busbars" in the figure), and the names of the busbars. The device configuration DB generation unit 202 generates basic information 181 and common information 182 based on the system configuration DB 110 in Figure 6. Specifically, the device configuration DB generation unit 202 refers to the individual substation data 112 and determines that the substation names are "E1" to "E4", the number of substations is "4", the number of busbars is "4", and the busbar names are "B1" to "B4", thereby generating basic information 181 and common information 182.

[0104] The device configuration DB generation unit 202 generates substation information 183 by referring to the MU configuration DB 170. Specifically, the device configuration DB generation unit 202 extracts the individual substation information 174 corresponding to each substation E1 to E4 stored in the MU configuration DB 170 of each MU, and generates substation information 183 by combining these. For the sake of simplicity, only the information corresponding to substation E1 is specifically shown in the substation information 183 in Figure 14. This is the same as the individual substation information 174 in Figure 13. The common information 182 and the substation information 183 correspond to the busbar protection information necessary to protect the busbars B1 to B4 to be protected.

[0105] The transmission line information 184 includes the number of transmission lines protected by the IED (corresponding to "Number of Transmission Lines" in the figure), the transmission line name, and the number of terminals on the transmission line. The transmission line information 184 further includes the substation (corresponding to "Substation (1)" in the figure) and feeder (corresponding to "Feeder (1)" in the figure) connected to one end of the transmission line, and the type of said feeder (corresponding to "Feeder Type (1)" in the figure). The transmission line information 184 further includes the substation (corresponding to "Substation (2)" in the figure) and feeder (corresponding to "Feeder (2)" in the figure) connected to the other end of the transmission line, and the type of said feeder (corresponding to "Feeder Type (2)" in the figure).

[0106] The device configuration DB generation unit 202 generates transmission line information 184 by extracting necessary information from the system configuration DB 110. Specifically, information on the number of transmission lines, transmission line names, number of terminals, and substations (1) and (2) is generated based on the transmission line individual data 114. Information on feeders (1) and (2), and feeder types (1) and (2) is generated based on the substation individual data 112. The transmission line information 184 corresponds to the transmission line protection information necessary to protect the transmission lines L1 to L4 to be protected.

[0107] The IED hardware type information 185 indicates the hardware type of an IED (e.g., IED60). The device configuration DB generation unit 202 generates the IED hardware type information 185 based on the common information 182, the transmission line information 184, and the IED hardware configuration data 144 in the hardware configuration DB 140 shown in FIG. 10.

[0108] According to the common information 182, the number of buses to be protected is "4", and according to the transmission line information 184, the number of transmission lines to be protected is "4". Comparing these information with the transmission line protection number NL and the bus protection number NB in the IED hardware configuration data 144, an IED of the hardware type "IED_HD1" having 12 transmission line protection numbers NL and 5 bus protection numbers NB can fully cope. Therefore, the hardware type of IED60 is "IED_HD1".

[0109] From the above, the device configuration DB generation unit 202 has the following functions regarding the generation of the IED configuration DB180. The device configuration DB generation unit 202 determines the number of buses (e.g., "4") indicating the buses to be protected by IED60 and the number of transmission lines (e.g., "4") indicating the transmission lines to be protected based on the connection configuration information (e.g., the system configuration DB110). The device configuration DB generation unit 202 determines the hardware type of IED60 (e.g., determines that the hardware type of IED60 is "IED_HD1") based on the number of buses and the number of transmission lines. Specifically, the device configuration DB generation unit 202 determines the hardware type with the fewest bus protection number NB and transmission line protection number NL that satisfies the condition that the number of buses to be protected by IED60 is less than or equal to the bus protection number NB and the number of transmission lines to be protected by IED60 is less than or equal to the transmission line protection number NL as the hardware type of IED60.

[0110] <Generation method of <MU operation module and IED operation module>> The method for generating MU operation modules and IED operation modules by the module generation unit 204 will be described below. The module generation unit 204 acquires the network configuration DB 130, MU configuration DB 170, and IED configuration DB 180 stored in the database storage unit 250, as well as the module DB 150.

[0111] (MU operation module) Figure 15 is a diagram illustrating the method for generating the MU operation module. Referring to Figure 15, the module generation unit 204 executes the processes in steps (1) to (6).

[0112] In step (1), the module generation unit 204 extracts the names of each substation and the number of MUs for each substation from the target system block data (here, system block data X1). Specifically, the module generation unit 204 extracts the substation names "E1~E4" and the number of substations "4" from the common information 172 of the MU configuration DB 170 shown in Figure 13. Based on the MU hardware type information 178 of the MU configuration DB 170, the module generation unit 204 determines that the number of MUs in one substation E1 is "1" and extracts the hardware type "MU-HD1" for MU2_1 installed in substation E1. Similarly, the module generation unit 204 determines the number of MUs in substations E2~E4 and extracts the hardware types of MU2_2~2_4 installed in substations E2~E4.

[0113] In step (2), the module generation unit 204 selects the basic module for MU2_1 based on the hardware type "MU-HD1". Specifically, the module generation unit 204 refers to the module DB150 in Figure 11 and selects the basic module "MU_BA1" associated with the hardware type "MU-HD1" as the MU basic module for MU2_1.

[0114] In step (3), the module generation unit 204 sets various information for the selected MU basic module. The various information includes basic information, input setting information relating to the settings of data input from the device to the MU, transmission setting information relating to the settings of data that the MU sends to the IED, reception setting information relating to the settings of data that the MU receives from the IED, and network setting information for the MU.

[0115] The module generation unit 204 refers to the substation individual information 174 in the MU configuration DB 170 to obtain the substation name "E1", bus type "single", bus type name "Type1", and number of feeders "2" as basic information, and sets this basic information in the MU basic module.

[0116] The module generation unit 204 refers to the substation individual information 174 and the MU input / output information 176 to obtain the number of VTs "1", the number of feeders "2", the number of CTs "4", and the information of feeders F1 and F2 as input setting information. The information for feeder F1 indicates that the busbar side CT, the transmission line side CT, and other equipment (i.e., LS_L, LS_B, CB) will be attached to feeder F1. The information for feeder F2 indicates that the busbar side CT, the transmission line side CT, and other equipment will be attached to feeder F2.

[0117] The module generation unit 204 generates transmission setting information based on the substation individual information 174, basic information, and input setting information. Specifically, the module generation unit 204 generates the format of the transmission data to be sent from MU2_1 to IED60 (hereinafter also referred to as the "transmission format") as transmission setting information, and sets this transmission setting information in the MU basic module.

[0118] Figure 16 shows an example of the format of MU transmission data. Referring to Figure 16, the transmission format 510 includes the destination address, source address, network settings, source MU name, bus type, maximum number of feeders, voltage data, current data for feeders F1 to F10, and CB / LS information for feeders F1 to F10. For ease of explanation, the transmission format 510 only shows the format of the transmission data (e.g., frame FR1) of MU2_1 located at substation E1. However, the format of the transmission data for MU2_2 to 2_4 located at substations E2 to E4, respectively, is the same.

[0119] The destination address corresponds to the network address of IED60, and the source address corresponds to the network address of MU2_1. These network addresses are set by the process described later. Network settings are set automatically. The source MU name "E1-MU2_1" indicates the name of MU2_1 of substation E1. The bus type and maximum number of feeders are set by referring to the bus type name "Type1" in substation individual information 174. The bus type name "Type1" is associated with the bus type "Single" and the maximum number of feeders "10".

[0120] According to the input settings information, the number of VTs is "1" (i.e., there is a VT that detects voltage data), so the voltage data is "present". The "Voltage Data" area stores the detected voltage data for the four phases (i.e., phase a, phase b, phase c, and zero phase).

[0121] Furthermore, according to the input settings information, both feeders F1 and F2 are equipped with busbar-side CTs and transmission line-side CTs. Therefore, the current data for feeder F1 and feeder F2 are set to "present". The current data area for feeder F1 stores the 4-phase current data detected by the busbar-side CT of feeder F1 and the 4-phase current data detected by the transmission line-side CT of feeder F1. Similarly, the current data area for feeder F2 stores the 4-phase current data detected by the busbar-side CT of feeder F2 and the 4-phase current data detected by the busbar-side CT of feeder F2. Since feeders F3 to F10 do not exist, the current data for feeders F3 to F10 is set to "absent".

[0122] According to the input settings, both feeders F1 and F2 are equipped with CB, LS_L, and LS_B. Therefore, the CB / LS information for feeders F1 and F2 is set to "present". The CB / LS information area for feeder F1 stores the data received from the CB, LS_L, and LS_B attached to feeder F1. The CB / LS information area for feeder F2 stores the data received from the CB, LS_L, and LS_B attached to feeder F2.

[0123] Thus, the data transmitted from MU2 to IED60 mainly includes electrical data acquired by MU2 from the power system 10 (e.g., voltage data, current data from feeders F1 and F2).

[0124] Referring again to Figure 15, the module generation unit 204 sets the format of the received data received from IED60 (hereinafter also referred to as the "receive format") as reception setting information in the MU basic module.

[0125] Figure 17 shows an example of the format of received data from the MU. Referring to Figure 17, the received format 520 includes the destination address, source address, network settings, source MU name, and block signal information for the CB attached to feeders F1-F10. The block signal information includes command information for blocking (i.e., opening) the CB.

[0126] The destination address corresponds to the network address of IED60, and the source address corresponds to the network address of MU2_1. Network settings are configured automatically. The MU name "E1-MU2_1" indicates the name of MU2_1 at substation E1. CBs are installed on feeders F1 and F2. Therefore, when a fault is detected by the protective relay calculation of IED60 (i.e., when the protective relay is activated), command information for shutting off each CB is stored in the area of ​​the shut-off signal information for the CBs installed on feeders F1 and F2. Consequently, the CB shut-off signals (F1, F2) in Figure 17 are "present". On the other hand, since feeders F3 to F10 do not exist, the CB shut-off signals (F3, F4) to CB shut-off signals (F9, F10) are "absent".

[0127] Thus, the received data that MU2 receives from IED60 mainly includes tripping commands for tripping circuit breakers installed in the power system 10 (for example, CBs attached to feeders F1 and F2).

[0128] Referring again to Figure 15, the module generation unit 204 refers to the network configuration DB 130 to set the network address (i.e., IP address) of MU2_1, and sets this network address as network configuration information in the basic module.

[0129] Specifically, according to the allocation data 136 of the network configuration DB 130 shown in Figure 9, the IP addresses "10.100.11.11" to "10.100.11.16" are available IP addresses. Therefore, the module generation unit 204 sets, for example, the IP address with the smallest last digit, "10.100.11.11", as the IP address for MU2_1. In this case, the usage status of the IP address "10.100.11.11" in the allocation data 136 is updated to "1" (i.e., it is in use), the device name is set to the name of MU2_1, and the port number to be used (for example, port 1) is set. Therefore, the source address (i.e., the IP address of MU2_1) in the transmission format 510 explained in Figure 16 is set to "10.100.11.11". Similarly, in the receiving format 520 explained in Figure 17, the destination address is set to "10.100.11.11".

[0130] In step (4), the module generation unit 204 generates the MU operation module of MU2_1 by setting the basic information, input setting information, transmission setting information, reception setting information, and network setting information in the basic module of MU2_1 as described above.

[0131] In step (5), the module generation unit 204 executes the processes in steps (2) to (4) for MU2_2 to 2_4, which are provided corresponding to substations E2 to E4. This generates the MU operation modules for MU2_2 to 2_4. The IP addresses of MU2_2 to MU2_4 are set to "10.100.11.12" to "10.100.11.14", respectively.

[0132] In step (6), the module generation unit 204 stores the MU operation modules MU2_1 to MU2_4 in the database storage unit 260.

[0133] Based on the above, the module generation unit 204 has the following functions with respect to the generation of the MU operation module. We will explain this focusing on the MU operation module of MU2_1. Specifically, the module generation unit 204 selects the basic module of MU2_1 based on the hardware type of MU2_1. Subsequently, the module generation unit 204 generates the MU operation module of MU2_1 by setting the transmission setting information for the transmission data to be sent from MU2_1 to IED60, the reception setting information for the reception data that MU2_1 receives from IED60, and the network address of MU2_1 in the MU basic module, based on the connection configuration information for substation E1, substation configuration information (e.g., substation individual information 174), and input / output information (e.g., MU input / output information 176).

[0134] (IED operating module) Figure 18 is a diagram illustrating the method for generating an IED operating module. Referring to Figure 18, the module generation unit 204 executes the processes in steps (1) to (6).

[0135] In step (1), the module generation unit 204 extracts the number of substations, the number of protective relays, and the number of IEDs from the IED configuration DB 180 in Figure 14. Specifically, the module generation unit 204 extracts the number of substations "4" and the number of busbars "4", which is the number of busbars to be protected, from the common information 182. The module generation unit 204 extracts the number of transmission lines "4", which indicates the number of transmission lines to be protected, from the transmission line information 184. In other words, the module generation unit 204 extracts the number of busbar protection relays "4" and the number of transmission line protection relays "4".

[0136] Furthermore, the module generation unit 204 determines from the IED hardware type information 185 that the number of IEDs installed in the target block is "1", and extracts the hardware type "IED-HD1" for IED60.

[0137] In step (2), the module generation unit 204 selects the basic module for IED60 based on the hardware type "IED-HD1". Specifically, the module generation unit 204 refers to the module DB150 in Figure 11 and selects the basic module "IED_BA1" associated with the hardware type "IED-HD1" as the IED basic module for IED60.

[0138] In step (3), the module generation unit 204 sets various information for the selected IED basic module. The various information includes busbar protection information for the busbar to be protected, transmission line protection information for the transmission line to be protected, reception setting information for the settings of received data that the IED receives from the MU, transmission setting information for the settings of transmitted data that the IED sends to the MU, and network setting information for the IED.

[0139] The module generation unit 204 acquires the common information 182 and substation information 183 from the IED configuration DB 180 as busbar protection information and sets this busbar protection information in the IED basic module. The module generation unit 204 acquires the transmission line information 184 from the IED configuration DB 180 as transmission line protection information and sets this transmission line protection information in the IED basic module.

[0140] The module generation unit 204 sets the format of the data received by IED60 from each MU as reception setting information in the IED basic module. Specifically, the format of the data received by IED60 corresponds to the transmission format 510 of MU2 as explained in Figure 16. The module generation unit 204 sets the format of the data that IED60 transmits to each MU2 as transmission setting information in the IED basic module. Specifically, the format of the data transmitted by IED60 corresponds to the reception format 520 of MU2 as explained in Figure 17.

[0141] The module generation unit 204 refers to the network configuration DB 130 to set the network address (i.e., IP address) of the IED 60, and sets this network address as network configuration information in the IED basic module.

[0142] As described above, when the MU operation module is generated, the IP addresses of MU2_1 to MU2_4 are set to "10.100.11.11" to "10.100.11.14", respectively. Therefore, the module generation unit 204 sets the IP address "10.100.11.15", which has the smallest last digit among the available IP addresses, as the IP address of IED60. In this case, the usage status of the IP address "10.100.11.15" in the allocation data 136 is updated to "1", the device name is set to the name of IED60, and the port number to be used (for example, number 1) is set. Therefore, the destination address (i.e., the IP address of IED60) in the transmission format 510 explained in Figure 16 is set to "10.100.11.15". Similarly, the source address in the reception format 520 explained in Figure 17 is set to "10.100.11.15".

[0143] In step (4), the module generation unit 204 sets various information in the busbar relay basic module based on the busbar protection information and sets various information in the transmission line relay basic module based on the transmission line protection information.

[0144] The method for setting various information to the busbar relay basic module is described below. Based on the busbar protection information (i.e., common information 182 and substation information 183), the module generation unit 204 determines that the number of feeders for busbar B1 installed at substation E1 is "2". The module generation unit 204 compares the maximum number of feeders for relay types "BP1" and "BP2" in the busbar relay basic module data 156 in Figure 11 with the number of feeders for busbar B1, which is "2". The module generation unit 204 selects relay type "BP1", which satisfies the condition of having a feeder count of "2" and has the smallest maximum number of feeders (i.e., a maximum number of feeders of "10"), as the busbar relay basic module for protecting busbar B1.

[0145] The module generation unit 204 sets the information for busbar B1 in the selected busbar relay basic module. Specifically, the module generation unit 204 determines from the substation information 183 that both busbar-side CTs and transmission line-side CTs are installed on the two feeders F1 and F2. If both CTs are present, the transmission line-side CT is preferentially used as the CT for busbar protection. If only the busbar-side CT is present, the busbar-side CT is used as the CT for busbar protection.

[0146] The module generation unit 204 generates a bus protection relay module that performs relay calculations (e.g., current differential relay calculations) to protect bus B1 by setting the above information in the selected bus basic relay module. Specifically, the bus protection relay module performs the above relay calculations based on current data Ie1f1 obtained from the transmission line side CT of feeder F1 at substation E1 and current data Ie1f2 obtained from the transmission line side CT of feeder F2 at substation E1.

[0147] The current data Ie1f1 and Ie1f2 are included in the data transmitted from MU2_1 (i.e., the received data of IED60). The module generation unit 204 performs the same processing for buses B2 to B4 to generate bus protection relay modules to protect buses B2 to B4.

[0148] Next, the method for setting various information to the transmission line relay basic module will be explained. The module generation unit 204 determines that the number of terminals of transmission line L1 is "2" based on the transmission line protection information (i.e., transmission line information 184). The module generation unit 204 compares the maximum number of terminals of relay types "LP1" to "LP3" in the transmission line relay basic module data 158 in Figure 11 with the number of terminals of transmission line L1, which is "2". The module generation unit 204 selects relay type "LP1", which satisfies the condition of having "2" terminals and has the fewest maximum number of terminals (i.e., maximum number of terminals "2"), as the transmission line relay basic module for protecting transmission line L1.

[0149] The module generation unit 204 determines, based on the transmission line protection information, that the transmission line L1 has "2" terminals and that the feeder type of both feeder F1 at substation E1 and feeder F1 at substation E2 is "Type 1". According to the feeder configuration data 124 in Figure 7, both a busbar-side CT and a transmission line-side CT are installed on a feeder with the type name "Type 1". In this case, when both CTs are present, the busbar-side CT is preferentially used as the CT for transmission line protection. If only the transmission line-side CT is present, the transmission line-side CT is used as the CT for transmission line protection.

[0150] The module generation unit 204 generates a transmission line protection relay module that performs relay calculations (e.g., current differential relay calculations) to protect the transmission line L1 by setting the above information in the selected transmission line basic relay module. Specifically, the transmission line protection relay module performs the above relay calculations based on the current data Ie1f1 detected at the busbar side CT of feeder F1 at substation E1 and the current data Ie2f1 detected at the busbar side CT of feeder F1 at substation E2.

[0151] The current data Ie1f1 is included in the data transmitted from MU2_1 located at substation E1. The current data Ie2f1 is included in the data transmitted from MU2_2 located at substation E2. The module generation unit 204 performs the same processing for transmission lines L2 to L4 to generate transmission line protection relay modules to protect transmission lines L2 to L4.

[0152] In step (5), the module generation unit 204 generates an IED operating module by combining the IED basic module, the busbar protection relay module, and the power transmission line protection relay module.

[0153] In step (6), the module generation unit 204 stores the IED operation module of the IED 60 in the database storage unit 260.

[0154] Based on the above, the module generation unit 204 has the following functions regarding the generation of IED operating modules. The generation of IED operating modules related to MU2_1 will be described. Specifically, the module generation unit 204 selects the IED basic module for IED60 based on the hardware type of IED60.

[0155] The module generation unit 204 sets the following in the IED basic module: busbar protection information (e.g., common information 182 and substation information 183), transmission line protection information (e.g., transmission line information 184), transmission setting information for transmission data sent from IED60 to MU2_1, reception setting information for reception data received by IED60 from MU2_1, and the network address of IED60.

[0156] The module generation unit 204 generates a bus protection relay module for protecting the bus to be protected by the IED 60 based on the bus protection information. The module generation unit 204 generates a transmission line protection relay module for protecting the transmission line to be protected by the IED 60 based on the transmission line protection information. The module generation unit 204 generates an IED operation module by combining the IED basic module, the bus protection relay module, and the transmission line protection relay module.

[0157] <Generation method of IED operation module> The operation module generation unit 208 generates an IED operation module by setting the setting value calculated by the setting value calculation unit 206 in the IED operation module. For example, the setting value calculation unit 206 calculates the setting value used in the ground fault current differential relay calculation based on the neutral point current (for example, 600 A) of the bus constant data 164 of the system constant DB 160. When the relay minimum operating current is set to 30% of the neutral point current, the setting value is 180 A.

[0158] The operation module generation unit 208 stores the generated IED operation module in the database storage unit 270. Note that the operation module generation unit 208 stores the MU operation module as the MU operation module in the database storage unit 270.

[0159] <Advantages> The program generation device 200 according to the present embodiment generates an MU operation module and an IED operation module based on the information stored in each database (for example, the system configuration DB 110, the substation configuration DB 120, the network configuration DB 130, the hardware configuration DB 140, and the module DB 150).

[0160] Therefore, since various settings required for generating the modules of the MU and the IED can be automated, it is possible to reduce the setting work performed by humans and automatically generate a program for realizing the functions of the protection relay device.

[0161] Other embodiments. The configuration exemplified above as an embodiment is just one example of the configuration of the present invention, and it is possible to combine it with other known technologies, or to modify it by omitting parts of it, etc., without departing from the spirit of the present invention. Furthermore, in the above-described embodiment, it is also possible to appropriately adopt the processes and configurations described in other embodiments.

[0162] <Note> The various aspects of this disclosure are summarized below as an appendix.

[0163] (Note 1) The system includes a database generation unit that generates a configuration database for each of a plurality of merging units provided corresponding to a plurality of substations, based on connection configuration information showing the connection configuration of substations, busbars, and transmission lines within the power system, and substation configuration information showing the configuration of the busbars and equipment provided in the substations. The database generation unit calculates the first number of digital input circuits and the second number of digital output circuits required for the first merging unit among the plurality of merging units based on the connection configuration information and the substation configuration information, determines the first hardware type of the first merging unit based on the first and second numbers, and the first configuration database of the first merging unit includes the connection configuration information and the substation configuration information relating to the first substation where the first merging unit is provided, and the equipment and the first merging unit A program generation device further comprising a module generation unit that includes input / output information between and and the first hardware type, and generates a first operation program module for the first merging unit based on the first configuration database, wherein the module generation unit selects a first basic program module for the first merging unit based on the first hardware type, and generates the first operation program module by setting transmission setting information for transmission data transmitted from the first merging unit to a protection control device that performs protection relay calculations, reception setting information for reception data received by the first merging unit from the protection control device, and the network address of the first merging unit in the first basic program module based on the connection configuration information for the first substation, the substation configuration information, and the input / output information for the first substation.

[0164] (Note 2) The program generation device according to Appendix 1, wherein the connection configuration information includes the number of feeders branching from the busbar included in the substation, the substation configuration information includes first information indicating whether or not the equipment is attached to the feeders, and the database generation unit calculates the first number and the second number based on the number of feeders and the first information.

[0165] (Note 3) The aforementioned device is a program generation device as described in Appendix 2, including a circuit breaker and a disconnector.

[0166] (Note 4) The program generation device according to any one of the appendices 1 to 3, wherein the hardware type of the merging unit includes a plurality of types classified based on the first number of digital input circuits and the second number of digital output circuits that can be mounted on the merging unit, and the database generation unit determines as the first hardware type the type that satisfies the condition that the first number is less than or equal to the first number of mounted circuits and the second number is less than or equal to the second number of mounted circuits, and the first number and second number are the fewest.

[0167] (Note 5) The program generation device according to any one of the appendices 1 to 4, wherein the transmitted data includes electricity quantity data acquired by the first merging unit from the power system, and the received data includes tripping commands to circuit breakers provided in the power system.

[0168] (Note 6) The program generation device according to any one of the appendices 1 to 5, wherein the database generation unit determines, based on the connection configuration information, a first bus number indicating the number of buses to be protected by the protection control device and a first transmission line number indicating the number of transmission lines to be protected by the protection control device, and determines a second hardware type of the protection control device based on the first bus number and the first transmission line number, the second configuration database of the protection control device includes bus protection information relating to the buses to be protected extracted from the first configuration database, transmission line protection information relating to the transmission lines to be protected extracted from the connection configuration information and the second hardware type, and the module generation unit generates a second operation program module of the protection control device based on the second configuration database.

[0169] (Note 7) The program generation device according to Appendix 6, wherein the module generation unit selects a second basic program module of the protection control device based on the second hardware type, sets the busbar protection information, the transmission line protection information, transmission setting information relating to transmission data transmitted from the protection control device to the first merging unit, reception setting information relating to reception data received by the protection control device from the first merging unit, and the network address of the protection control device in the second basic program module, generates a busbar protection relay module for protecting the busbar to be protected based on the busbar protection information, generates a transmission line protection relay module for protecting the transmission line to be protected based on the transmission line protection information, and generates the second operation program module by combining the second basic program module, the busbar protection relay module, and the transmission line protection relay module.

[0170] (Note 8) The process includes generating a configuration database for each of a plurality of merging units provided in accordance with a plurality of substations, based on connection configuration information showing the connection configuration of substations, busbars, and transmission lines within the power system, and substation configuration information showing the configuration of the busbars and equipment provided in the substations, the step of generating the configuration database includes calculating a first number of digital input circuits and a second number of digital output circuits required for a first merging unit among the plurality of merging units based on the connection configuration information and the substation configuration information, and determining a first hardware type of the first merging unit based on the first number and the second number, the first configuration database of the first merging unit includes the connection configuration information and the substation configuration information relating to the first substation where the first merging unit is provided, and the equipment and the first merging unit A program generation method comprising the step of generating a first operation program module for the first merging unit based on the first configuration database, the step of generating the first operation program module comprising selecting a first basic program module for the first merging unit based on the first hardware type, and generating the first operation program module by setting in the first basic program module transmission setting information relating to transmission data that the first merging unit transmits to a protection control device that performs protection relay calculations, reception setting information relating to reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit, based on the connection configuration information relating to the first substation, the substation configuration information, and the input / output information.

[0171] (Note 9) The system comprises a system configuration database that stores connection configuration information indicating the connection configuration of substations, busbars, and transmission lines within the power system, a substation configuration database that stores substation configuration information indicating the configuration of the busbars and equipment installed in the substations, and a program generation device, the program generation device including a database generation unit that generates a configuration database for each of the multiple merging units provided corresponding to the multiple substations based on the connection configuration information and the substation configuration information, the database generation unit calculates the first number of digital input circuits and the second number of digital output circuits required for the first merging unit among the multiple merging units based on the connection configuration information and the substation configuration information, determines the first hardware type of the first merging unit based on the first number and the second number, and the first configuration database of the first merging unit contains the connection configuration information relating to the first substation where the first merging unit is installed. A program generation system comprising a report and substation configuration information, input / output information between the equipment and the first merging unit, and the first hardware type, wherein the program generation device further comprises a module generation unit that generates a first operation program module for the first merging unit based on the first configuration database, the module generation unit selects a first basic program module for the first merging unit based on the first hardware type, and generates the first operation program module by setting transmission setting information for transmission data that the first merging unit transmits to a protection control device that performs protection relay calculations, reception setting information for reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit in the first basic program module based on the connection configuration information for the first substation, the substation configuration information, and the input / output information.

[0172] The embodiments disclosed herein should be considered in all respects to be illustrative and not restrictive. The scope of the present invention is indicated by the claims rather than by the foregoing description, and all modifications within the meaning and scope equivalent to the claims are intended to be included. [Explanation of Symbols]

[0173] 3 Network switch, 10 Power system, 20 Synchronizer, 30 Input converter, 31 Sample-and-hold circuit, 32 Multiplexer, 33 A / D converter, 40, 70 Arithmetic processing unit, 42, 72 RAM, 43, 73 ROM, 44, 74 Bus, 50, 75 Communication circuit, 55 Digital output circuit, 56 Digital input circuit, 100 Load, 110 System configuration DB, 120 Substation configuration DB, 130 Network configuration DB, 140 Hardware configuration DB, 150 Module DB, 160 System constant DB, 170 MU configuration DB, 180 IED configuration DB, 200 Program generation device, 202 Device configuration DB generation unit, 204 Module generation unit, 206 Setting value calculation unit, 208 Operation module generation unit, 250, 260, 270 Database storage unit, 1000 Protective relay system, 2000 Program generation system.

Claims

1. The system includes a database generation unit that generates a configuration database for each of a plurality of merging units provided in accordance with a plurality of substations, based on connection configuration information showing the connection configuration of substations, busbars, and transmission lines within the power system, and substation configuration information showing the configuration of the busbars and equipment provided in the substations. The aforementioned database generation unit, Based on the connection configuration information and the substation configuration information, the first number of digital input circuits and the second number of digital output circuits required for the first merging unit among the plurality of merging units are calculated. Based on the first number and the second number, the first hardware type of the first merging unit is determined. The first configuration database of the first merging unit includes the connection configuration information and the substation configuration information relating to the first substation where the first merging unit is installed, input / output information between the equipment and the first merging unit, and the first hardware type. The module generation unit further comprises a module generation unit that generates a first operation program module for the first merging unit based on the first configuration database, The module generation unit, Based on the first hardware type, a first basic program module of the first merging unit is selected. A program generation device that generates a first operation program module by setting transmission setting information relating to transmission data transmitted from the first merging unit to a protection control device that performs protection relay calculations, reception setting information relating to reception data received by the first merging unit from the protection control device, and the network address of the first merging unit, based on the connection configuration information relating to the first substation, the substation configuration information, and the input / output information relating to the first substation, in the first basic program module.

2. The aforementioned connection configuration information includes the number of feeders branching off from the busbar included in the substation, The substation configuration information includes first information indicating whether or not the equipment is attached to the feeder, The program generation device according to claim 1, wherein the database generation unit calculates the first number and the second number based on the number of feeders and the first information.

3. The program generation device according to claim 2, wherein the device includes a circuit breaker and a disconnector.

4. The hardware type of the merging unit includes a plurality of types classified based on the first number of digital input circuits and the second number of digital output circuits that can be mounted on the merging unit. The program generation device according to any one of claims 1 to 3, wherein the database generation unit determines as the first hardware type the type among the plurality of types that satisfies the condition that the number of the first type is less than or equal to the first number of installed units and the number of the second type is less than or equal to the second number of installed units, and the type with the fewest number of the first and second installed units.

5. The transmitted data includes electricity quantity data acquired by the first merging unit from the power grid. The program generation device according to any one of claims 1 to 3, wherein the received data includes a tripping command to a circuit breaker provided in the power system.

6. The aforementioned database generation unit, Based on the connection configuration information, the protection control device determines the first bus number, which indicates the number of buses to be protected, and the first transmission line number, which indicates the number of transmission lines to be protected. Based on the first number of busbars and the first number of transmission lines, the second hardware type of the protection control device is determined. The second configuration database of the protection control device includes busbar protection information relating to the busbar to be protected, extracted from the first configuration database, transmission line protection information relating to the transmission line to be protected, extracted from the connection configuration information, and the second hardware type. The program generation apparatus according to any one of claims 1 to 3, wherein the module generation unit generates a second operation program module for the protection control device based on the second configuration database.

7. The module generation unit, Based on the second hardware type, a second basic program module of the protection control device is selected. The busbar protection information, the transmission line protection information, the transmission setting information relating to the transmission data transmitted from the protection control device to the first merging unit, the reception setting information relating to the reception data received by the protection control device from the first merging unit, and the network address of the protection control device are set in the second basic program module. Based on the busbar protection information, a busbar protection relay module is generated to protect the busbar to be protected. Based on the aforementioned power line protection information, a power line protection relay module is generated to protect the power line to be protected. The program generation device according to claim 6, which generates the second operation program module by combining the second basic program module, the busbar protection relay module, and the power transmission line protection relay module.

8. The process includes the step of generating a configuration database for each of a plurality of merging units provided in accordance with a plurality of substations, based on connection configuration information showing the connection configuration of substations, busbars, and transmission lines within the power system, and substation configuration information showing the configuration of the busbars and equipment provided in the substations. The step of generating the aforementioned configuration database is: Based on the connection configuration information and the substation configuration information, the first number of digital input circuits and the second number of digital output circuits required for the first merging unit among the plurality of merging units are calculated. This includes determining a first hardware type of the first merging unit based on the first number and the second number, The first configuration database of the first merging unit includes the connection configuration information and the substation configuration information relating to the first substation where the first merging unit is installed, input / output information between the equipment and the first merging unit, and the first hardware type. The step further includes generating a first operation program module for the first merging unit based on the first configuration database, The step of generating the first operation program module is: Based on the first hardware type, a first basic program module of the first merging unit is selected, A program generation method comprising generating a first operation program module by setting, in the first basic program module, transmission setting information relating to transmission data that the first merging unit transmits to a protection control device that performs protection relay calculations, reception setting information relating to reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit, based on the connection configuration information, the substation configuration information, and the input / output information relating to the first substation.

9. A system configuration database that stores connection configuration information showing the connection configuration of substations, busbars, and transmission lines within the power system, A substation configuration database that stores substation configuration information showing the configuration of the busbars and equipment installed in the substation, It includes a program generation device, The program generation device includes a database generation unit that generates a configuration database for each of the multiple merging units provided in accordance with the multiple substations, based on the connection configuration information and the substation configuration information. The aforementioned database generation unit, Based on the connection configuration information and the substation configuration information, the first number of digital input circuits and the second number of digital output circuits required for the first merging unit among the plurality of merging units are calculated. Based on the first number and the second number, the first hardware type of the first merging unit is determined. The first configuration database of the first merging unit includes the connection configuration information and the substation configuration information relating to the first substation where the first merging unit is installed, input / output information between the equipment and the first merging unit, and the first hardware type. The program generation device further includes a module generation unit that generates a first operation program module for the first merging unit based on the first configuration database, The module generation unit, Based on the first hardware type, a first basic program module of the first merging unit is selected. A program generation system that generates a first operation program module by setting in the first basic program module the transmission setting information relating to transmission data that the first merging unit transmits to a protection control device that performs protection relay calculations, reception setting information relating to reception data that the first merging unit receives from the protection control device, and the network address of the first merging unit, based on the connection configuration information, the substation configuration information, and the input / output information relating to the first substation.