Movatterモバイル変換


[0]ホーム

URL:


CN114185280A - Energy storage power station semi-physical real-time simulation architecture building method based on embedded system - Google Patents

Energy storage power station semi-physical real-time simulation architecture building method based on embedded system
Download PDF

Info

Publication number
CN114185280A
CN114185280ACN202111504018.1ACN202111504018ACN114185280ACN 114185280 ACN114185280 ACN 114185280ACN 202111504018 ACN202111504018 ACN 202111504018ACN 114185280 ACN114185280 ACN 114185280A
Authority
CN
China
Prior art keywords
energy storage
power station
storage power
pcs
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111504018.1A
Other languages
Chinese (zh)
Other versions
CN114185280B (en
Inventor
李理
贺晨
洪权
刘伟良
熊尚峰
蔡昱华
吴晋波
刘志豪
龚禹生
肖俊先
李林山
陈胜春
曾林俊
牟秀君
吴雪琴
张伦
肖纳敏
吴春
阳隋
金梦汝
向东
肖阳
罗旖旎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power Co Ltd
Training Center of State Grid Hunan Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power Co Ltd
Training Center of State Grid Hunan Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd, State Grid Hunan Electric Power Co Ltd, Training Center of State Grid Hunan Electric Power Co Ltd, State Grid Corp of China SGCCfiledCriticalElectric Power Research Institute of State Grid Hunan Electric Power Co Ltd
Priority to CN202111504018.1ApriorityCriticalpatent/CN114185280B/en
Publication of CN114185280ApublicationCriticalpatent/CN114185280A/en
Application grantedgrantedCritical
Publication of CN114185280BpublicationCriticalpatent/CN114185280B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to the technical field of power systems, and discloses a construction method of a semi-physical real-time simulation framework of an energy storage power station based on an embedded system, which comprises the following steps: building an energy storage power station system model; converting the energy storage power station system model into a target model file; transplanting the target model file to an embedded real-time kernel system to enable the energy storage power station system model to run in real time in the embedded real-time kernel system; and connecting an external upper computer and an actual PCS board to the embedded real-time kernel system to realize semi-physical real-time joint simulation of the energy storage power station system. Therefore, the overall performance test of the whole station and the equipment of the energy storage power station can be performed, and accurate reference is provided for judging the specific performance of the equipment.

Description

Energy storage power station semi-physical real-time simulation architecture building method based on embedded system
Technical Field
The invention relates to the technical field of power systems, in particular to a construction method of a semi-physical real-time simulation framework of an energy storage power station based on an embedded system.
Background
Simulation is an important means and tool for studying the performance of large-scale power systems, and has been widely applied in various fields of power systems, such as system planning, operation optimization, fault analysis, and the like, and can help related personnel to make reasonable decisions to avoid or reduce problems which may occur in the operation of the system. Along with the large-scale development of electrochemical energy storage, higher and higher requirements are put forward on the functions of the whole energy storage power station and the control equipment of the energy storage power station, and by means of simulation of the energy storage power station and the control equipment, performance indexes of the energy storage power station and the control equipment can be effectively judged, and the quality of the control equipment is controlled.
At present, the simulation means commonly adopted by the energy storage power station mainly comprises software offline simulation and semi-physical real-time simulation. The software off-line simulation mainly verifies the control algorithm at a principle level, generally only uses software to realize the verification, and has the defects that the interaction with actual equipment is not carried out, and meanwhile, the simulation real-time performance is not strong because the simulation algorithm runs on a general operating system. The semi-physical real-time simulation mainly verifies the control performance of actual equipment, generally combines software and hardware, can perform information interaction with an actual equipment control board card, and has powerful simulation function because a self-contained software model library faces to a specific professional field. However, the existing semi-physical real-time simulation has the defects that software and hardware systems are generally difficult to expand and lack flexibility. Meanwhile, the support on the communication protocol is weak, and the requirement of communication interaction with various actual devices is difficult to meet. In addition, the current semi-physical real-time simulation system is large in size, heavy, inconvenient to carry and generally used in a laboratory.
Disclosure of Invention
The invention provides a construction method of a semi-physical real-time simulation framework of an energy storage power station based on an embedded system, and aims to solve the problems in the prior art.
In order to achieve the purpose, the invention is realized by the following technical scheme:
the invention provides an energy storage power station semi-physical real-time simulation architecture building method based on an embedded system, which comprises the following steps:
s1: building an energy storage power station system model;
s2: converting the energy storage power station system model into a target model file;
s3: transplanting the target model file to an embedded real-time kernel system to enable the energy storage power station system model to run in real time in the embedded real-time kernel system;
s4: and connecting an external upper computer and an actual PCS board to the embedded real-time kernel system to realize semi-physical real-time joint simulation of the energy storage power station system.
Optionally, the energy storage power station system model includes two PCS primary main circuits connected in parallel, which are a first PCS primary main circuit and a second PCS primary main circuit, respectively, where the first PCS primary main circuit is connected to a PCS simulation control loop for self-simulation operation of the energy storage power station, and the second PCS primary main circuit is connected to a control loop for external connection of an actual PCS.
Optionally, when the energy storage power station system model is built, a PCS simulation control ring input interface, a single-machine infinite system power output interface and a PCS external control board interaction interface are reserved.
Optionally, when the energy storage power station system model is converted into a target model file, the reserved PCS simulation control ring input interface is configured into an input structural body, and the reserved single-machine infinite system power output interface is configured into an output structural body.
Optionally, the S3 includes:
constructing a control main thread, a communication thread, a model thread and a system IO thread program by utilizing an embedded real-time kernel system multithreading technology, wherein the main thread is used for generating the communication thread, the model thread and the system IO thread, and the main thread regenerates the communication thread after the communication thread crashes; the communication thread is used for carrying out communication interaction with an external GUI (graphical user interface), an actual PCS (physical control System) board card control quantity and a model thread;
in a communication thread program, establishing a bidirectional interactive interface with an external GUI (graphical user interface), an actual PCS (physical System controller) board card control quantity and a model thread program based on a preset protocol; the model thread is used for simulating a single-machine infinite system, a PCS primary main circuit and a PCS simulation control loop; the system IO thread is used for interacting with an IO interface of an embedded system IO and an external PCS.
Optionally, the S4 includes:
and connecting an external upper computer and an actual PCS board card to the embedded real-time kernel system, and realizing semi-physical real-time simulation of the energy storage power station by utilizing the program control interaction of the upper computer and a model thread and the control interaction of the upper computer and the actual PCS control board card.
Has the advantages that:
the invention provides an energy storage power station semi-physical real-time simulation architecture building method based on an embedded system, which is characterized by comprising the following steps: building an energy storage power station system model; converting the energy storage power station system model into a target model file; transplanting the target model file to an embedded real-time kernel system to enable the energy storage power station system model to run in real time in the embedded real-time kernel system; and connecting an external upper computer and an actual PCS board to the embedded real-time kernel system to realize semi-physical real-time joint simulation of the energy storage power station system. Therefore, the overall performance test of the whole station and the equipment of the energy storage power station can be performed, and accurate reference is provided for judging the specific performance of the equipment.
Drawings
FIG. 1 is a flow chart of a construction method of an energy storage power station semi-physical real-time simulation architecture based on an embedded system according to a preferred embodiment of the invention;
fig. 2 is a schematic block diagram of an embedded real-time kernel system according to a preferred embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described clearly and completely below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, an embodiment of the present application provides a method for building a semi-physical real-time simulation architecture of an energy storage power station based on an embedded system, including:
s1: building an energy storage power station system model;
s2: converting the energy storage power station system model into a target model file;
in this step, the target model file may be a C-code file.
S3: transplanting the target model file to an embedded real-time kernel system to enable the energy storage power station system model to run in real time in the embedded real-time kernel system;
s4: and connecting an external upper computer and an actual PCS board to the embedded real-time kernel system to realize semi-physical real-time joint simulation of the energy storage power station system.
The energy storage power station semi-physical real-time simulation architecture building method based on the embedded system can be used for carrying out comprehensive performance test on the whole energy storage power station and equipment, and provides accurate reference for judging the specific performance of the equipment.
Optionally, the energy storage power station system model includes two PCS primary main circuits connected in parallel, which are a first PCS primary main circuit and a second PCS primary main circuit, respectively, where the first PCS primary main circuit is connected to a PCS simulation control loop for self-simulation operation of the energy storage power station, and the second PCS primary main circuit is connected to a control loop for external connection of an actual PCS.
Optionally, when an energy storage power station system model is built, a PCS simulation control ring input interface, a single-machine infinite system power output interface and a PCS external control board interaction interface are reserved.
In the optional embodiment, the energy storage power station system model is built in Matlab/Simulink, the energy storage power station system model is composed of a single-machine infinite system, a PCS primary main circuit and a PCS simulation control loop model, simulation verification is completed on the energy storage power station system, and effectiveness and correctness of the simulation control model and parameters are guaranteed. The model comprises two PCS primary main circuits which are connected in parallel, a PCS simulation control ring which is connected with the energy storage power station for self simulation operation, and a control ring which is connected with an external actual PCS.
And reserving a PCS simulation control ring input interface for GUI control interaction, and reserving a single-machine infinite system power output interface for displaying a simulation result. And reserving a PCS external control board card interactive interface for actual PCS control quantity access. Thus, the expandability can be improved by reserving the interface.
Optionally, when the energy storage power station system model is converted into a target model file, the reserved PCS simulation control ring input interface is configured into an input structural body, and the reserved single-machine infinite system power output interface is configured into an output structural body.
In the optional embodiment, the energy storage power station system model is converted into a C code file by using a code automatic generation tool, wherein a reserved PCS simulation model input interface is configured as an input structural body in the code, and a reserved output interface is configured as an output structural body.
Optionally, S3 includes:
constructing a control main thread, a communication thread, a model thread and a system IO thread program by utilizing an embedded real-time kernel system multithreading technology, wherein the main thread is used for generating the communication thread, the model thread and the system IO thread, and the main thread regenerates the communication thread after the communication thread crashes; the communication thread is used for carrying out communication interaction with an external GUI, the actual PCS board control quantity and the model thread; in a communication thread program, establishing a bidirectional interactive interface with an external GUI (graphical user interface), an actual PCS (physical System controller) board card control quantity and a model thread program based on a preset protocol; the model thread is used for simulating a single-machine infinite system, a PCS primary main circuit and a PCS simulation control loop; the system IO thread is used for interacting with an IO interface of an embedded system IO and an external PCS. Thus, the degree of supporting various communication protocols can be improved by integrating various communication protocol libraries.
Optionally, S4 includes:
and connecting an external upper computer and an actual PCS board card to the embedded real-time kernel system, and realizing semi-physical real-time simulation of the energy storage power station by utilizing the program control interaction of the upper computer and a model thread and the control interaction of the upper computer and the actual PCS control board card.
In summary, according to the energy storage power station semi-physical real-time simulation architecture building method based on the embedded system, the energy storage system model is operated in the embedded system, and the problem that various communication protocols are difficult to be compatible due to the fact that the embedded system can integrate various communication protocol libraries can be solved; and moreover, the embedded system thread calls a high-precision timer in real time, so that the simulation can run in real time.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.

Claims (6)

CN202111504018.1A2021-12-062021-12-06 Construction method of semi-physical real-time simulation architecture of energy storage power station based on embedded systemActiveCN114185280B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111504018.1ACN114185280B (en)2021-12-062021-12-06 Construction method of semi-physical real-time simulation architecture of energy storage power station based on embedded system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111504018.1ACN114185280B (en)2021-12-062021-12-06 Construction method of semi-physical real-time simulation architecture of energy storage power station based on embedded system

Publications (2)

Publication NumberPublication Date
CN114185280Atrue CN114185280A (en)2022-03-15
CN114185280B CN114185280B (en)2023-11-21

Family

ID=80543025

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111504018.1AActiveCN114185280B (en)2021-12-062021-12-06 Construction method of semi-physical real-time simulation architecture of energy storage power station based on embedded system

Country Status (1)

CountryLink
CN (1)CN114185280B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102411535A (en)*2011-08-022012-04-11上海交通大学Navigating-SoC (System On Chip) simulating, verifying and debugging platform
CN103162973A (en)*2013-03-292013-06-19深圳市凯尔卡科技有限公司Single-chip multi-thread automobile diagnosis system and method
CN103207941A (en)*2013-04-272013-07-17清华大学Transient analysis method and transient analysis system under integrated circuit power supply network full-parameter model
CN103972888A (en)*2014-05-222014-08-06上海电气集团股份有限公司Microgrid controller
US20140321839A1 (en)*2011-07-262014-10-30Peter Michael ArmstrongSystem, method, and apparatus for heating
CN104330980A (en)*2014-11-032015-02-04中国科学院广州能源研究所RT-LAB based microgrid simulation testing system
CN106054672A (en)*2016-07-202016-10-26天津天大求实电力新技术股份有限公司Real micro-grid operation dynamic simulation test platform based on RT-LAB
CN108318757A (en)*2018-01-232018-07-24中国东方电气集团有限公司Energy-storage system control strategy test optimization platform based on HWIL simulation
US20180331403A1 (en)*2011-04-212018-11-15Bayerische Motoren Werke AktiengesellschaftDevice for Determining the Internal Temperature of an Energy Storage Device
CN109375526A (en)*2018-11-092019-02-22中国科学院电工研究所 A digital-analog hybrid simulation test platform
CN110286606A (en)*2019-07-022019-09-27北方工业大学 An experimental system for integrated energy microgrid control based on hardware-in-the-loop simulation
CN110460076A (en)*2019-08-232019-11-15南京国电南自电网自动化有限公司The automatic checkout system and method for grid side energy storage Monitor Process control system
CN110943483A (en)*2019-12-182020-03-31国网智能科技股份有限公司Micro-grid system and control method
CN111049200A (en)*2019-12-172020-04-21北京科诺伟业科技股份有限公司Intelligent regional micro-grid system and control method thereof
CN111258232A (en)*2020-02-052020-06-09北京华电天仁电力控制技术有限公司 A hardware-in-the-loop simulation system for fire-storage combined frequency modulation
CN111308913A (en)*2020-03-182020-06-19国网湖南省电力有限公司 A semi-physical simulation modeling method for large-capacity battery energy storage power station
CN111624895A (en)*2020-05-072020-09-04中国科学院电工研究所Real-time power grid simulation system
CN112670986A (en)*2020-12-232021-04-16杭州意能电力技术有限公司Energy storage station PCS simulation operation method
CN112952876A (en)*2021-02-042021-06-11国网福建省电力有限公司厦门供电公司Distributed data center type substation cooperative operation and optimized scheduling method
CN112993338A (en)*2021-03-042021-06-18上海电气集团股份有限公司Monitoring method, device and equipment of energy storage system
CN213875949U (en)*2020-07-162021-08-03周锡卫Verification platform for design scheme and operation control of energy storage power station based on physical energy storage unit
CN113675952A (en)*2021-09-082021-11-19江苏林洋能源股份有限公司Multi-element energy storage fusion control terminal and control system thereof

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20180331403A1 (en)*2011-04-212018-11-15Bayerische Motoren Werke AktiengesellschaftDevice for Determining the Internal Temperature of an Energy Storage Device
US20140321839A1 (en)*2011-07-262014-10-30Peter Michael ArmstrongSystem, method, and apparatus for heating
CN102411535A (en)*2011-08-022012-04-11上海交通大学Navigating-SoC (System On Chip) simulating, verifying and debugging platform
CN103162973A (en)*2013-03-292013-06-19深圳市凯尔卡科技有限公司Single-chip multi-thread automobile diagnosis system and method
CN103207941A (en)*2013-04-272013-07-17清华大学Transient analysis method and transient analysis system under integrated circuit power supply network full-parameter model
CN103972888A (en)*2014-05-222014-08-06上海电气集团股份有限公司Microgrid controller
CN104330980A (en)*2014-11-032015-02-04中国科学院广州能源研究所RT-LAB based microgrid simulation testing system
CN106054672A (en)*2016-07-202016-10-26天津天大求实电力新技术股份有限公司Real micro-grid operation dynamic simulation test platform based on RT-LAB
CN108318757A (en)*2018-01-232018-07-24中国东方电气集团有限公司Energy-storage system control strategy test optimization platform based on HWIL simulation
CN109375526A (en)*2018-11-092019-02-22中国科学院电工研究所 A digital-analog hybrid simulation test platform
CN110286606A (en)*2019-07-022019-09-27北方工业大学 An experimental system for integrated energy microgrid control based on hardware-in-the-loop simulation
CN110460076A (en)*2019-08-232019-11-15南京国电南自电网自动化有限公司The automatic checkout system and method for grid side energy storage Monitor Process control system
CN111049200A (en)*2019-12-172020-04-21北京科诺伟业科技股份有限公司Intelligent regional micro-grid system and control method thereof
CN110943483A (en)*2019-12-182020-03-31国网智能科技股份有限公司Micro-grid system and control method
CN111258232A (en)*2020-02-052020-06-09北京华电天仁电力控制技术有限公司 A hardware-in-the-loop simulation system for fire-storage combined frequency modulation
CN111308913A (en)*2020-03-182020-06-19国网湖南省电力有限公司 A semi-physical simulation modeling method for large-capacity battery energy storage power station
CN111624895A (en)*2020-05-072020-09-04中国科学院电工研究所Real-time power grid simulation system
CN213875949U (en)*2020-07-162021-08-03周锡卫Verification platform for design scheme and operation control of energy storage power station based on physical energy storage unit
CN112670986A (en)*2020-12-232021-04-16杭州意能电力技术有限公司Energy storage station PCS simulation operation method
CN112952876A (en)*2021-02-042021-06-11国网福建省电力有限公司厦门供电公司Distributed data center type substation cooperative operation and optimized scheduling method
CN112993338A (en)*2021-03-042021-06-18上海电气集团股份有限公司Monitoring method, device and equipment of energy storage system
CN113675952A (en)*2021-09-082021-11-19江苏林洋能源股份有限公司Multi-element energy storage fusion control terminal and control system thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAMON BAZARGAN,等: "Hardware-in-loop real-time simulation of a battery storage system in a wind generation scheme", 《2013 3RD INTERNATIONAL CONFERENCE ON ELECTRIC POWER AND ENERGY CONVERSION SYSTEMS》*
郭瑞宙: "基于RT-LAB的储能变流器硬件在环实时仿真", 《电气开关》, vol. 56, no. 02, pages 54 - 58*

Also Published As

Publication numberPublication date
CN114185280B (en)2023-11-21

Similar Documents

PublicationPublication DateTitle
CN104573182B (en)A kind of design method for aircraft Multimode Control System
CN111767031B (en) A simulation-based nuclear power industry Internet experimental bed
CN106599398B (en) Simulation method and device for integrated management system of space and earth
CN102820649B (en)Method for building real time digital system (RTDS)-energy management system (EMS) system-level closed-loop control experiment simulation platform
CN104570768A (en)Information physics semi-physical simulation system based on Rt-Lab and OPNET
CN112230562B (en)Urban rail full-electronic interlocking simulation test system and method
CN108460199B (en)CNI modeling system
CN105933173A (en) An automatic test system for an intelligent device in a power system
CN105429130B (en)Micro-capacitance sensor simulating experimental system and method based on RTDS and dSPACE
CN202694145U (en)Test system of main control board
CN118859747B (en) A nuclear-level instrumentation and control system simulation method, system and device based on mirror virtualization
CN109492301A (en)Software and hardware switching method and system
CN103576667B (en)Method, device and system for testing main control board
CN113609633A (en)Complex system collaborative simulation and verification evaluation system and method based on model
Krofitsch et al.Smartphone driven control of robots for education and research
CN110569615B (en)Multi-source heterogeneous embedded software collaborative simulation test method
CN105652950A (en)Photovoltaic maximum power point tracing control and simulation method based on RR-LAB
CN103425055A (en)Semi-virtual functional test device and method for control system
CN201489345U (en)Double-processor motion control card
CN114924717A (en) Design method of automatic generation and operation of verification environment based on DPU
CN114185280A (en)Energy storage power station semi-physical real-time simulation architecture building method based on embedded system
CN112818545A (en)Power information physical joint simulation platform based on OPC
CN108536586B (en)Information acquisition method, equipment and system of Android mobile terminal
Cichon et al.Simulation-based control and simulation-based support in erobotics applications
An et al.Real-time experimental platform of networked control systems based on PC/104 controller and web laboratory

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp