A modeling and simulation method for a backup power device and a storage medium
By using a lightweight script simulation method, a script library is built for different models of automatic transfer switch (ATS) devices, which solves the problem of lack of personalization in the modeling and simulation of ATS devices in the existing technology, and realizes efficient simulation training for ATS devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2026-03-27
AI Technical Summary
Existing power simulation training systems lack personalized consideration in the modeling and simulation of standby automatic transfer switches, making it difficult to automatically switch logically and failing to meet the training needs of on-site operators.
A lightweight script-based simulation method is adopted. By pre-defining the automatic transfer switch (ATS) device script, subscribing to the information of the main simulation program, and using script functions to express the charging, discharging, and operation logic of the device, the simulation of the ATS device is realized.
It enables personalized simulation of automatic transfer switch devices, improves the relevance and efficiency of training, and meets the needs of large-scale power grid modeling.
Smart Images

Figure CN116229782B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a modeling and simulation method and storage medium for automatic transfer switch (ATS) devices, belonging to the field of power system simulation training technology. Background Technology
[0002] Uninterrupted power supply is essential for production and daily life. The main function of automatic transfer switch (ATS) devices is to switch between various power sources during grid failures or power supply anomalies to ensure a continuous power supply. With the development of smart grids and distributed generation, the operating characteristics of the power grid are undergoing profound changes. The uncertainty of grid operation brought about by the large-scale grid connection of distributed generation and new energy sources has increased. As the second line of defense for the power grid, ATS devices can quickly maintain a balance between power generation and demand, playing a crucial role in the safety and stability of the power grid.
[0003] Given that power grid faults cannot be artificially created, establishing a power simulation system is one of the most effective means of training power grid operators in knowledge and skills. It is necessary to rapidly improve the quality and skill level of power grid operation professionals to ensure they master the operating characteristics of new equipment and have the ability to manage power grid operations. This is particularly important in improving trainees' skills in daily monitoring, normal operation, and handling of abnormal and accident processes.
[0004] Existing simulation training systems mainly employ two methods for modeling and simulating standby automatic switching: logical configuration modeling and topology analysis modeling.
[0005] The backup automatic transfer (SALT) logic configuration modeling is mainly based on an action-result-oriented approach. First, the SALT type is configured, such as sectional automatic transfer, incoming line automatic transfer, or main transformer automatic transfer. Then, the logic is determined according to the program's fixed logic. For example, if configured as sectional automatic transfer, the action process is implemented by tripping CB1 and closing CB3 when bus I is de-energized and bus II is energized, or by tripping CB2 and closing CB3 when bus II is de-energized and bus I is energized. This method is simple, but it doesn't fully consider the charging / discharging and interlocking conditions of the SALT. When the power supply automatic transfer mode changes (switching from sectional automatic transfer to incoming line automatic transfer), the logic makes automatic switching difficult, resulting in incorrect behavior of the SALT device.
[0006] Topology analysis modeling is a widely used simulation method. This modeling method uses power grid topology analysis to automatically adjust the automatic transfer switch type (segment, incoming line, transformer automatic transfer) according to different operating modes. Then, it realizes a general simulation of the automatic transfer switch action behavior based on fixed voltage and current. However, this general implementation method does not take into account the differences in the blocking conditions, charging and discharging conditions, and action conditions of different automatic transfer switches, as well as the differences in device action signals. Therefore, it cannot meet the training needs of field operators for actual devices. Summary of the Invention
[0007] The technical problem to be solved by this invention is to overcome the deficiency of existing power simulation training systems in "lacking simulation at the backup automatic transfer device level". This invention provides a modeling and simulation method and storage medium for backup automatic transfer devices, which can take into account the individual differences of the devices, is simple to configure and easy to maintain, and meets the needs of substation operators for backup automatic transfer device level training. This invention not only realizes all the functions of backup automatic transfer device level simulation, but is also simple and flexible, meeting the power grid's need for large-scale modeling and simulation of backup automatic transfer devices, and improving the effectiveness of targeted simulation training for backup automatic transfer devices for control centers and on-site maintenance personnel.
[0008] To achieve the above objectives, the present invention provides a modeling and simulation method for an automatic switching device, comprising the following steps:
[0009] Step 1: Predefine the obtained backup automatic transfer device script, subscribe to the main simulation program for specific device basic information, main simulation program power flow value information, main simulation program switch status information, other external interlocking inputs, backup transfer switch TWJ abnormality and backup transfer switch manual operation information, and obtain them when the main simulation program calls the script.
[0010] Step 2: Call the predefined script for the backup automatic transfer device to determine whether the backup automatic transfer device has finished charging. If yes, proceed to step 3; otherwise, proceed to step 4.
[0011] Step 3: Call the predefined script of the backup automatic transfer device, and determine whether the predefined script of the backup automatic transfer device meets the set action conditions. If the set conditions are met, add the start information of the backup automatic transfer device to the start queue or push the simulation clock of the start queue, and proceed to step 4; otherwise, clear the start information of the backup automatic transfer device from the start queue and proceed to step 4.
[0012] Step 4: Determine if the start queue has reached the time limit. If so, the automatic transfer switch will activate and issue a trip command.
[0013] Step 5: Determine whether the trip switch has tripped. If so, the automatic transfer switch will issue a closing command and proceed to Step 1 or terminate the operation. Otherwise, proceed to Step 1.
[0014] Firstly, a script for obtaining the standby automatic transfer device is predefined and implemented through the following steps:
[0015] Create a script for the standby automatic transfer switch, and create basic information about the specific device in the script;
[0016] Subscribe to the information of the main simulation program power flow value that needs to be obtained in the backup automatic transfer device script, and obtain it when the predefined backup automatic transfer device script is called in each power flow cycle of the main simulation program.
[0017] Subscribe to the information on the switch status of the main simulation program that needs to be obtained in the backup automatic transfer device script, and obtain it when the main simulation program calls the predefined backup automatic transfer device script when a switch change occurs.
[0018] The automatic transfer switch script subscription needs to obtain other necessary information from the main simulation. When the main simulation program calls the predefined automatic transfer switch script when there is an external lockout input, TWJ abnormality of the backup switch, or manual operation information of the backup switch.
[0019] The relevant conditions of the automatic transfer switch (ATS) are expressed using script functions of the ATS.
[0020] Prior to this, the standby automatic transfer device script includes the standby automatic transfer device charging, discharging, and operation logic expressions;
[0021] The specific basic information of the device includes the pressure plate information of the automatic transfer switch, the switching information of the automatic transfer switch, alarm information, and time limit information.
[0022] Priority is given to the activation information of the automatic transfer switch (ATS) device, which includes the following: switch 1 trip / close command, switch 1 trip signal, switch 1 close signal, and ATS action signal; switch 2 trip / close command, switch 2 trip signal, switch 2 close signal, and ATS action signal; and switch 3 trip / close command, switch 3 trip signal, switch 3 close signal, and ATS action signal.
[0023] Priority information includes external interlock access, TWJ malfunction of related switch, and manual operation of related switch.
[0024] Prior to this, the relevant conditions for the automatic transfer switch include the charging conditions, discharging conditions, and operating conditions of the automatic transfer switch.
[0025] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.
[0026] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0027] The beneficial effects achieved by this invention are as follows:
[0028] This invention proposes a method for modeling and simulating backup automatic transfer switches (ATS). Starting from the simulation of ATS devices, it adopts a lightweight script simulation method to build corresponding scripts for different models of ATS devices, forming an ATS device script library. This not only solves the problems of rigid, unrealistic, and unspecific ATS action logic, but also improves the efficiency of large-scale modeling of ATS devices. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of a common substation wiring configuration with automatic transfer switch in the power grid.
[0030] Figure 2 This is a schematic diagram of the wiring method 2 for substations commonly equipped with automatic transfer switches in power grids;
[0031] Figure 3 This is a flowchart of the present invention;
[0032] Figure 4 This is a flowchart of the present invention. Detailed Implementation
[0033] The following embodiments are only used to illustrate the technical solutions of the present invention more clearly, and should not be used to limit the scope of protection of the present invention.
[0034] A technical solution for modeling and simulation of automatic switching devices:
[0035] There are two main wiring methods for substations commonly equipped with automatic transfer switches in power grids:
[0036] I. Wiring Method 1. During normal operation, one main transformer operates in parallel with two busbar sections, while the other main transformer serves as an open standby, using automatic transfer switch via the incoming line (transformer); if during normal operation, the two busbar sections operate separately, with each main transformer driving one busbar section, and the two busbar sections serving as unsecured standby for each other, using sectional automatic transfer switch.
[0037] II. Wiring Method Two: Under normal operation, one incoming line carries two busbar sections in parallel, while the other incoming line serves as an open backup. Automatic transfer switching is used for incoming lines. Alternatively, under normal operation, each incoming line carries one busbar section, with the two incoming lines serving as concealed backups for each other. Segmented automatic transfer switching is used.
[0038] Different manufacturers and different device models have some differences in how the automatic switching function is implemented.
[0039] Taking the NARI RCS9000 series automatic transfer switch as an example, as shown in Table 1:
[0040] Table 1
[0041]
[0042] This invention proposes a script-based modeling method for automatic switching devices, the specific details of which are as follows:
[0043] (1) Establish a backup automatic transfer device script. In the backup automatic transfer device script, establish the basic information of the specific device. The basic information of the specific device includes the pressure plate, switching, alarm information and time limit.
[0044] (2) Subscribe to the power flow values of the main simulation program that need to be obtained in the standby automatic transfer switch script;
[0045] (3) Subscribe to the main simulation program switch status information that needs to be obtained in the standby automatic transfer device script;
[0046] (4) The script definition of the standby automatic switching device should obtain other necessary information from the main simulation. Other necessary information includes external interlocking input, related switch TWJ abnormality and related switch manual operation;
[0047] (5) Use the script function of the backup automatic transfer device to express the relevant conditions of the backup automatic transfer device;
[0048] The relevant conditions for the automatic transfer switch include the charging conditions, discharging conditions, and operating conditions of the automatic transfer switch. The charging conditions, discharging conditions, and operating conditions of the automatic transfer switch are all expressed and implemented using script functions.
[0049] (6) The standby automatic transfer device script interacts with the main simulation program to realize the standby automatic transfer device level simulation.
[0050] The backup automatic transfer device script interacts with the main simulation program to achieve backup automatic transfer device-level simulation, which is accomplished through the following steps:
[0051] The backup automatic transfer device script obtains basic information about the specific device, power flow value information from the main simulation program, switch status information from the main simulation program, charging conditions of the backup automatic transfer device, discharging conditions of the backup automatic transfer device, operating conditions of the backup automatic transfer device, switch tripping and signaling from the main simulation program.
[0052] The main simulation program calls the backup automatic transfer device script to complete the backup automatic transfer device-level simulation.
[0053] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.
[0054] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0055] The following uses the NARI RSC9652 digital automatic transfer switch as an example to illustrate the specific steps of a simulation modeling method for automatic transfer switch based on lightweight scripts:
[0056] The specific wiring method of the power grid is as follows: Figure 2 As shown:
[0057] If one incoming line carries two busbar sections operating in parallel, and the other incoming line is a publicly available backup, an automatic transfer switch for the incoming line is used. If each incoming line carries one busbar section, and the two incoming lines are mutually unavailable backups, a segmented automatic transfer switch is used. This is determined automatically by the program based on the switch position.
[0058] (1) Establish basic device information. Establish basic device information in the RCS9652 script, including pressure plate, switching, alarm information, time limit, etc., as shown in Table 2 below.
[0059] Table 2
[0060]
[0061] (2) Subscribe to the power flow calculation information of the main simulation program in the script.
[0062] The automatic transfer switch (ATS) acquires power flow calculation values from the power grid simulation and subscribes to specific input values via a script. The main configuration is as follows:
[0063] 1) U1 is the subscribed bus phase-to-phase voltage.
[0064] 2) U2 is the subscribed interphase voltage of bus II.
[0065] 3) Ux1 and Ux2 are the line voltages of the two incoming lines to which the subscription is made.
[0066] 4) I1 and I2 are the currents of the two incoming lines.
[0067] 5) I3 is the subscription segment or bridge switch current.
[0068] These telemetry measurements are obtained from a simulated power grid. The two bus voltages (U1, U2) are used to determine whether there is voltage or no voltage. The two incoming line voltages (Ux1, Ux2) serve as auxiliary criteria for automatic transfer preparation and operation. Each incoming line switch introduces one phase current (I1, I2) to prevent the bridge switch from being mistakenly activated after a three-phase PT disconnection.
[0069] (3) Subscribe to the corresponding switch position information of the main simulation program in the script.
[0070] 1) 1DL is the subscription incoming line 1 switch state.
[0071] 2) 2DL is the subscription incoming line 2 switch status.
[0072] 3) 3DL is the subscription segment or bridge switch position.
[0073] The device introduces 1DL, 2DL, and 3DL switch position contacts for automatic transfer mode determination, automatic transfer charging, discharging, and automatic transfer action judgment.
[0074] Manually operate the 1DL, 2DL, and 3DL switches from the simulated power grid switch operation circuit as a lockout for automatic transfer under various operating conditions.
[0075] (4) Define script logic conditions, subscribe to the required information from the main simulation program, and add charging conditions, discharging conditions, and action conditions events for the standby automatic transfer device to the script:
[0076] Definition of script logical condition keywords:
[0077] V[U1] — represents the I bus voltage value in the simulation.
[0078] V[U2] — Represents the voltage value of bus II in the simulation.
[0079] V[Ux1] — Represents the voltage value of incoming line #1 in the simulation.
[0080] V[Ux2] — Represents the voltage value of incoming line #2 in the simulation.
[0081] I[I1] — represents the current value of incoming line #1 in the simulation.
[0082] I[I2] — represents the current value of incoming line #2 in the simulation.
[0083] I[I3] — Represents the current value of the segmented or bridge switch in the simulation.
[0084] CB[1DL] — Indicates the open / closed state of the 1DL switch in the power grid (0-open, 1-closed).
[0085] CB[2DL] — Indicates the open / closed state of the 2DL switch in the power grid (0-open, 1-closed).
[0086] CB[3DL] — Indicates the open / closed state of the 3DL switch in the power grid (0-open, 1-closed).
[0087] HAND[1DL] — Indicates the manual operation state of the 1DL switch in the simulation (0-open, 1-closed).
[0088] HAND[2DL] — indicates the manual on / off state of the 2DL switch in the simulation (0-off, 1-on).
[0089] HAND[3DL] — Indicates the manual on / off state of the 3DL switch in the simulation (0-off, 1-on).
[0090] LP[Automatic Switch On] — Indicates the status of the automatic switch on / off plate of the device in the simulation (0 - off, 1 - on).
[0091] TWJYC — Indicates that there is an operational interlock in the 1DL, 2DL, or 3DL switch during simulation (1 - there is an anomaly).
[0092] BSKR—Other lockout inputs (1-lockout present), such as transformer backup protection
[0093] && — with operation
[0094] ||—or operation
[0095] != — NOT operation
[0096] () — parentheses
[0097] The automatic transfer switch simulation program will automatically determine the automatic transfer mode of the RCS-9652 based on the switch position and select the appropriate mode to activate. The RCS9652 has the following four automatic transfer modes:
[0098] 1) Automatic transfer switch for incoming lines (Method 1)
[0099] Currently, incoming line #1 is in operation, and incoming line #2 is on standby; that is, 1DL and 3DL are in the closed position, and 2DL is in the open position. At this time, if the power supply to incoming line #1 is disconnected due to a fault or other reason, the backup power supply to incoming line #2 should automatically switch on.
[0100] 1. Charging conditions (charging completes in 15 seconds):
[0101] a) Both Bus I and Bus II are energized in three phases, and Line #2 is energized (Ux2).
[0102] b) 1DL and 3DL are in the merging position, 2DL is in the separating position.
[0103] c) Automatic transfer function put into operation
[0104] The logical expression for charging conditions in the script is fully expressed as follows:
[0105] V[Uab1]!=0&&V[Uab2]!=0&&V[Ux2]!=0&&CB[1DL]==1&&CB[3DL]==1&&CB[2DL]==0&&lp[reserve investment]==1
[0106] 2. Discharge conditions:
[0107] a) #2 Line unvoltageed (Ux2)
[0108] b) 2DL closed
[0109] c) Hand jump 1DL or 3DL
[0110] d) External blocking signals, such as internal transformer faults.
[0111] e) Abnormal switching of 1DL, 2DL, or 3DL, such as a broken control circuit or a spring not storing energy.
[0112] f) Automatic switching function of equipment deactivated
[0113] The logical expression for the discharge conditions in the script is fully expressed as follows:
[0114] V[Ux2]==0||CB[2DL]==1||(HAND[1DL]==0||HAND[3DL]==0)||BSKR==1||TWJYC==1||lp[reserve investment]==0
[0115] 3. Action conditions:
[0116] After charging is complete, both Bus I and Bus II are de-energized, Ux2 is energized, I1 has no current, and the automatic transfer switch function is activated.
[0117] The logical expression for the action condition in the script is fully expressed as follows:
[0118] V[Uab1]==0&&V[Uab2]==0&&V[Ux2]!=0&&I[I1]==0&&lp[reserve investment]==1
[0119] When the automatic transfer switch meets the operating conditions and reaches the time limit, 1DL trips. After confirming that 1DL has tripped, 2DL closes. The device outputs the following information: automatic transfer switch operation, automatic transfer switch tripping line I, and automatic transfer switch closing line II information.
[0120] 2) Automatic transfer switch for incoming lines (Method 2). The process is the same as Method 1. Line #2 is in operation, and Line #1 is on standby.
[0121] 1. Charging conditions (charging completes in 15 seconds):
[0122] a) Both Bus I and Bus II are energized in three phases, and Line #1 is energized (Ux1).
[0123] b) 2DL and 3DL are in the merging position, 1DL is in the separating position.
[0124] c) Automatic transfer function put into operation
[0125] The logical expression for charging conditions in the script is fully expressed as follows:
[0126] V[Uab1]!=0&&V[Uab2]!=0&&V[Ux1]!=0&&CB[2DL]==1&&CB[3DL]==1&&CB[1DL]==0&&lp[reserve investment]==1
[0127] 2. Discharge conditions:
[0128] a) Line #1 is unvoltageed (Ux1)
[0129] b) 1DL closed
[0130] c) Hand jump 2DL or 3DL
[0131] d) External blocking signals, such as internal transformer faults.
[0132] e) Abnormal switching of 1DL, 2DL, or 3DL, such as a broken control circuit or a spring not storing energy.
[0133] f) Automatic switching function of equipment deactivated
[0134] The logical expression for the discharge conditions in the script is fully expressed as follows:
[0135] V[Ux1]==0||CB[1DL]==1||(HAND[2DL]==0||HAND[3DL]==0)||BSKR==1||TWJYC==1||lp[reserve investment]==0
[0136] 3. Action conditions:
[0137] After charging is complete, both Bus I and Bus II are de-energized, Ux1 is energized, I2 has no current, and the automatic transfer switch function is activated.
[0138] The logical expression for the action condition in the script is fully expressed as follows:
[0139] V[Uab1]==0&&V[Uab2]==0&&V[Ux1]!=0&&I[I2]==0&&lp[reserve investment]==1
[0140] When the automatic transfer switch meets the operating conditions and reaches the time limit, 2DL is tripped. After confirming that 2DL has tripped, 1DL is closed. The device outputs the following information: automatic transfer switch operation, automatic transfer switch tripping line II, and automatic transfer switch closing line I information.
[0141] 3) Automatic transfer of sectional (bridge) switches (Method 3, Method 4):
[0142] When incoming lines 1# and 2# are running with two busbar sections respectively, the device automatically selects the bridge switch automatic transfer mode based on the closed position of switch 1DL, closed position of switch 2DL, and open position of switch 3DL.
[0143] Charging conditions (charging completes in 15 seconds):
[0144] a) Both motherboard I and motherboard II are under pressure in three phases;
[0145] b) 1DL and 2DL are in the combined position, and 3DL is in the separated position.
[0146] c) Automatic transfer function put into operation
[0147] The logical expression for charging conditions in the script is fully expressed as follows:
[0148] V[Uab1]!=0&&V[Uab2]!=0&&CB[1DL]==1&&CB[2DL]==1&&CB[3DL]==0&&lp[reserve investment]==1
[0149] Discharge conditions:
[0150] a) 3DL in conjunction;
[0151] b) Both Phase I and Phase II are without pressure in all three phases;
[0152] c) Hand jump 1DL or 2DL;
[0153] d) External blocking signals, such as internal transformer faults.
[0154] e) TWJ abnormalities in DL1, DL2, and DL3, such as control circuit disconnection or spring not storing energy.
[0155] f) Deactivation of the backup automatic transfer function
[0156] The logical expression for the discharge conditions in the script is fully expressed as follows:
[0157] CB[3DL]==1||V[U1]==0&&V[U2]==0||HAND[1DL]==1||HAND[2DL]==1||BSKR==1||TWJYC==1||lp[reserve investment]==0
[0158] a) Mode 3: Bus I is unpressurized, #1 incoming line is uncurrentized, Bus II is pressurized, and the mode 3 automatic transfer setting control word is enabled.
[0159] The logical expression of the action condition in the script for method 3 is as follows:
[0160] V[U1]==0&&I[I1]==0&&V[U2]!=0&&lp[reserve investment]==1
[0161] After charging is complete and the action conditions are met, the time limit is reached, 1DL is triggered, 3DL is closed after 1DL is confirmed to have triggered, and the backup automatic transfer action is issued, along with backup automatic transfer line I and backup automatic transfer closing segment information.
[0162] b) Mode 4: Bus II is without voltage, #2 incoming line has no current, Bus I is powered, Mode 4 automatic transfer setting control word is enabled.
[0163] The logical expression for the action condition in the script for method 4 is fully expressed as follows:
[0164] V[U2]==0&&I[I2]==0&&V[U1]!=0&&lp[reserve investment]==1
[0165] After charging is completed and the action conditions are met, the time limit is reached, 2DL is triggered, 3DL is closed after 2DL is confirmed to be open, and the backup automatic transfer action is issued, along with backup automatic transfer line II and backup automatic transfer segment information.
[0166] (5) The script interacts with the main simulation program. The standby automatic transfer device script obtains data from the main simulation program and registers charging conditions, discharging conditions, action conditions, switch tripping, signaling and other events. The main simulation program completes the standby automatic transfer device level simulation by calling the script.
[0167] It is evident that the automatic transfer switching (ATS) functions of different device models vary considerably. Therefore, it is necessary to conduct ATS simulation modeling based on the device's mechanism in order to meet the needs of targeted training for power grid operators.
[0168] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0169] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0170] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0171] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A modeling and simulation method for an automatic switching device, characterized in that, Includes the following steps: Step 1: Predefine the obtained backup automatic transfer device script, subscribe to the main simulation program for specific device basic information, main simulation program power flow value information, main simulation program switch status information, other external interlocking inputs, backup transfer switch TWJ abnormality and backup transfer switch manual operation information, and obtain them when the main simulation program calls the script. Step 2: Call the predefined script for the backup automatic transfer device to determine whether the backup automatic transfer device has finished charging. If yes, proceed to step 3; otherwise, proceed to step 4. Step 3: Call the predefined script of the backup automatic transfer device, and determine whether the predefined script of the backup automatic transfer device meets the set action conditions. If the set conditions are met, add the start information of the backup automatic transfer device to the start queue or push the simulation clock of the start queue, and proceed to step 4; otherwise, clear the start information of the backup automatic transfer device from the start queue and proceed to step 4. Step 4: Determine if the start queue has reached the time limit. If so, the automatic transfer switch will activate and issue a trip command. Step 5: Determine whether the trip switch has tripped. If so, the automatic transfer switch will issue a closing command and proceed to Step 1 or terminate the operation. Otherwise, proceed to Step 1. The predefined script for obtaining the standby automatic transfer device is achieved through the following steps: Create a script for the standby automatic transfer switch, and create basic information about the specific device in the script; Subscribe to the information of the main simulation program power flow value that needs to be obtained in the backup automatic transfer device script, and obtain it when the predefined backup automatic transfer device script is called in each power flow cycle of the main simulation program. Subscribe to the information on the switch status of the main simulation program that needs to be obtained in the backup automatic transfer device script, and obtain it when the main simulation program calls the predefined backup automatic transfer device script when a switch change occurs. The automatic transfer switch script subscription needs to obtain other necessary information from the main simulation. When the main simulation program calls the predefined automatic transfer switch script when there is an external lockout input, TWJ abnormality of the backup switch, or manual operation information of the backup switch. The relevant conditions of the automatic transfer switch (ATS) are expressed using script functions of the ATS.
2. The modeling and simulation method for an automatic switching device according to claim 1, characterized in that, The script for the automatic transfer switch includes the logic expressions for charging, discharging, and operating of the automatic transfer switch. The specific basic information of the device includes the pressure plate information of the automatic transfer switch, the switching information of the automatic transfer switch, alarm information, and time limit information.
3. The modeling and simulation method for an automatic switching device according to claim 1, characterized in that, The activation information for the automatic transfer switch includes: switch 1 trip-close command, switch 1 trip signal, switch 1 close signal, and automatic transfer switch action signal; switch 2 trip-close command, switch 2 trip signal, switch 2 close signal, and automatic transfer switch action signal; switch 3 trip-close command, switch 3 trip signal, switch 3 close signal, and automatic transfer switch action signal.
4. The modeling and simulation method for an automatic switching device according to claim 1, characterized in that, Other necessary information includes external interlock access, TWJ malfunction of related switch, and manual operation of related switch.
5. The modeling and simulation method for an automatic switching device according to claim 1, characterized in that, The relevant conditions for the automatic transfer switch include the charging conditions, discharging conditions, and operating conditions of the automatic transfer switch.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 5.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Implementing method and application of programmable logic script in automatic switch-on system of standby power supply
CN101741135A