Method, device, equipment, medium and product for constructing optical storage and charging micro-grid model
By constructing the PSC-CIM model and combining it with IEC standards, the model abstracts photovoltaic power generation, energy storage devices, and charging facilities as objects, solving the problems of energy internet topology and conversion mechanism in microgrids, and realizing flexible, coordinated, and balanced regulation and energy optimization.
Patent Information
- Application Number
- CN202510657370.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing microgrid systems fail to effectively consider the energy internet topology and energy conversion mechanisms, and cannot achieve flexible and coordinated control of source, grid, load, storage and utilization.
The PSC-CIM model is constructed, and in accordance with the IEC61970/IEC61968 standards, photovoltaic power generation, energy storage devices and charging facilities are abstracted as objects. The relationships between objects are established, and interfaces are configured to achieve data standardization and efficient interaction.
It enables rapid analysis and adjustment of photovoltaic output power fluctuations and charging load changes in microgrids, optimizes energy allocation, and supports adaptability and real-time monitoring for diverse needs.
Smart Images

Figure CN123184080A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of energy internet technology, and more specifically, to methods, devices, equipment, media, and products for constructing photovoltaic-storage-charging microgrid models. Background Technology
[0002] With the rapid development of new power systems, the construction scale of distributed photovoltaic, wind power, energy storage, and charging piles is increasing year by year. As a typical scenario of new power systems, microgrids integrate regional new energy sources such as bioenergy, wind energy, photovoltaic, and geothermal energy, as well as equipment and facilities such as energy storage, charging and battery swapping stations, and power loads to form local microgrids.
[0003] Existing microgrid technologies mainly install IoT sensors to acquire data from the interfaces of facilities such as photovoltaic inverters, energy storage PCS, charging piles, and load meters, and integrate them to form a microgrid system, enabling data collection and analysis. However, existing technologies do not consider the energy internet topology and energy conversion mechanism, and cannot support the flexible and coordinated control of the microgrid's "source, grid, load, storage, and use" balance. Summary of the Invention
[0004] To address the aforementioned issues, this invention proposes a method, apparatus, equipment, medium, and product for constructing a photovoltaic-storage-charging microgrid model. The constructed PSC-CIM model considers the energy internet topology and energy conversion mechanism, enabling flexible and coordinated regulation of the microgrid's source, grid, load, storage, and utilization.
[0005] This invention provides a method for constructing a photovoltaic-storage-charging microgrid model, the method comprising:
[0006] Based on the obtained standard data of the photovoltaic-storage-charging microgrid, a PSC-CIM model for flexible and coordinated balance of the photovoltaic-storage-charging microgrid is constructed.
[0007] The PSC-CIM model is defined based on the acquired metadata, and interfaces, classes, and associated classes are configured for the PSC-CIM model.
[0008] Preferably, the step of constructing a flexible collaborative balance PSC-CIM model for the photovoltaic-storage-charging microgrid based on the acquired standard data of the photovoltaic-storage-charging microgrid includes:
[0009] The grid CIM topology model in the obtained standard data of photovoltaic-storage-charging microgrid is analyzed, and the model relationship of PSC-CIM of photovoltaic-storage-charging microgrid is sorted out to obtain the PSC-CIM model.
[0010] The PSC-CIM model includes the IEC standard base package and the optical storage and charging extension package.
[0011] Preferably, the IEC standard basic package includes at least one of the following: core package, topology package, pipeline package, measurement package, load model package, domain package, asset package, user package, power outage package, protection package, monitoring and control package, and data acquisition package.
[0012] Preferably, the photovoltaic-storage-charging expansion package includes at least one of the following: a photovoltaic package, an energy storage package, a charging pile package, and an energy conversion package;
[0013] The construction process of the optical storage and charging expansion package includes:
[0014] Expand into photovoltaic packs, energy storage packs, charging pile packs, or energy conversion packs;
[0015] Build the master model, build the equipment model, register the PSC-CIM model, build the topology model, build the measurement model, and build the component model;
[0016] Register the constructed model in the metadata table.
[0017] Preferably, defining the PSC-CIM model based on the acquired metadata includes:
[0018] Based on the acquired metadata, configure device packages, device collaboration packages, and the topology and relationships between device packages and device collaboration packages for the PSC-CIM model;
[0019] The association relationship includes at least one of dependency relationship, generalization relationship or aggregation relationship.
[0020] Preferably, the configuration interface for the PSC-CIM model includes:
[0021] Configure data input classes, data output classes, public classes representing data input, and public classes representing data output;
[0022] Configure real-time input interface, attribute input interface and historical input interface; establish control output interface, historical output interface and real-time output data interface.
[0023] Define the inherited classes and related classes for the configured interfaces.
[0024] Preferably, the configuration class and association class for the PSC-CIM model include:
[0025] Analyze the application requirements, their necessary functions, and data; and establish related classes based on the analysis.
[0026] Add attributes and operations to each class based on the information it carries or the functions it needs to perform, and add relationships between classes.
[0027] Preferably, the requirements of the analytical application, its necessary functions and data, and the establishment of association classes based on the analysis include:
[0028] The station building class of the core package of the CIM model is generalized and extended to generate a microgrid model class;
[0029] The core package's transmission equipment is generalized to generate photovoltaic equipment model classes, energy storage equipment model classes, charging pile equipment model classes, and measurement device model classes, establishing aggregation relationships between equipment classes and microgrid model classes.
[0030] Preferably, the generalization of the core package's conveying equipment extends to generate photovoltaic equipment model classes, energy storage equipment model classes, charging pile equipment model classes, and measurement device model classes, establishing an aggregation relationship between the equipment classes and the microgrid model classes, including:
[0031] The components involved in the photovoltaic system are generalized and aggregated to form a photovoltaic equipment model class, which points to the energy conversion class and is then aggregated into the microgrid model class.
[0032] The devices of the energy storage system are aggregated to form an energy storage device model class, which points to the energy conversion class and is then aggregated into the microgrid model class.
[0033] The devices of the charging system are aggregated to form a charging pile model class, which points to the energy conversion class and is then aggregated into the microgrid model class.
[0034] The measuring devices used in the microgrid are aggregated to form a measuring device model class, which is then generalized to the monitoring, control and data acquisition units under the system resource package;
[0035] By using RS485 interface and protocol conversion, the microgrid interface class is generalized, aggregating photovoltaic inverters, energy storage PCS, and charging pile micro-circuit devices into the line segment class, and associating them with the corresponding devices in the line segment class.
[0036] Preferably, the addition of association relationships includes various types, including
[0037] Establish dependency, containment, inheritance, aggregation, and generalization relationships between different types;
[0038] The monitoring, control, and data acquisition categories depend on the measurement information category;
[0039] Protection, start / stop, and topology categories are dependent on the line topology information category;
[0040] The load curve class depends on the measurement information class and is aggregated into the IEC core class.
[0041] Preferably, the method further includes:
[0042] Configure the application interface for the PSC-CIM model.
[0043] Preferably, configuring the application interface for the PSC-CIM model includes:
[0044] The acquired microgrid data is defined as different classes and different interfaces in the PSC-CIM model;
[0045] Among them, the different categories include at least one of microgrids, photovoltaic energy storage and charging equipment, measurement information, status information, billing statistics information, and control information;
[0046] Different interfaces include models for obtaining device resource types, real-time interfaces, and control interfaces.
[0047] Preferably, the model for obtaining device resource types includes models for obtaining application identifier ID, access token TOKEN, and resource type ResType, respectively;
[0048] The real-time interface includes interfaces for obtaining charging, discharging, power, billing, charging / discharging status, energy storage SOC, and photovoltaic power generation, respectively.
[0049] The control interface includes interfaces for switching photovoltaic power generation, starting and stopping mains power supplementation, charging and discharging energy storage, switching on and off charging piles, and charging and discharging billing.
[0050] This invention also provides a photovoltaic-storage-charging microgrid model construction device, the device comprising:
[0051] The module is used to construct a PSC-CIM model for flexible collaborative balance of photovoltaic, energy storage, and charging microgrids based on the acquired standard data of the photovoltaic, energy storage, and charging microgrids.
[0052] The configuration module is used to define the PSC-CIM model based on the acquired metadata, configure the interface for the PSC-CIM model, and configure the class and associated class for the PSC-CIM model.
[0053] This invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a method for constructing a photovoltaic-storage-charging microgrid model as described in any of the above embodiments.
[0054] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform a method for constructing a photovoltaic-storage-charging microgrid model as described in any of the above embodiments.
[0055] This invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a photovoltaic-storage-charging microgrid model construction method as described in any of the above embodiments.
[0056] This invention provides a method, apparatus, equipment, medium, and product for constructing a photovoltaic-storage-charging microgrid model. It constructs a flexible and collaboratively balanced PSC-CIM model of the photovoltaic-storage-charging microgrid based on acquired standardized data. The PSC-CIM model is defined based on acquired metadata, and interfaces, classes, and related classes are configured for it. The PSC-CIM model constructed in this application considers the energy internet topology and energy conversion mechanisms, enabling flexible regulation and control of the microgrid's source-grid-load-storage-utilization collaborative balance. Attached Figure Description
[0057] Figure 1 This is a flowchart illustrating a method for constructing a photovoltaic-storage-charging microgrid model according to an embodiment of the present invention;
[0058] Figure 2 This is a schematic diagram of the structure of a photovoltaic-storage-charging microgrid model construction device provided in an embodiment of the present invention;
[0059] Figure 3 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention. Detailed Implementation
[0060] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0061] This application proposes a method for constructing a photovoltaic-storage-charging microgrid model. (See [link to relevant documentation]) Figure 1 This is a flowchart illustrating a method for constructing a photovoltaic-storage-charging microgrid model according to an embodiment of the present invention. The method includes the following steps:
[0062] Step S1: Construct a PSC-CIM model for flexible collaborative balance of photovoltaic, energy storage, and charging microgrids based on the obtained standard data of photovoltaic, energy storage, and charging microgrids;
[0063] Step S2: Define the PSC-CIM model based on the acquired metadata, configure the application interface for the PSC-CIM model, and configure the class and associated class for the PSC-CIM model.
[0064] In the specific implementation of this embodiment, the core principle of the flexible collaborative balancing PSC-CIM model for photovoltaic-storage-charging microgrids is based on the IEC61970 / IEC61968 standards, constructing a data model in an object-oriented manner. The IEC61970 standard mainly targets the application programming interface of the power system energy management system, while the IEC61968 standard focuses on the interfaces and components in the field of distribution management. The two provide a unified specification for power system data interaction and information sharing.
[0065] In a photovoltaic-storage-charging microgrid, multiple systems exist, including photovoltaic power generation, energy storage devices, and charging facilities. These systems generate diverse data types and formats, leading to difficulties in data exchange. The PSC-CIM model (Photo Voltaic-Storage-Charging Common Information Model, based on the CIM model of IEC 61968 / IEC 61970) abstracts the various entities in the microgrid (such as photovoltaic power plants, energy storage batteries, and charging piles) into objects and defines the attributes, operations, and relationships between these objects according to standards, thus achieving standardized data description. This provides a unified format for data exchange between systems, solving the problem of rapid data interaction.
[0066] The PSC-CIM model constructed in this case is based on standardized data processing methods and can implement on-site operation strategies. When the photovoltaic output power in the microgrid fluctuates or the charging load changes, the model can quickly analyze real-time data and adjust the charging and discharging strategies of the energy storage devices in a timely manner to achieve optimal energy allocation and maximize the utilization of new energy sources. Furthermore, due to its object-oriented nature, the model can be extended according to different application scenarios (such as photovoltaic-storage-charging microgrids in residential communities, photovoltaic-storage-charging microgrids in industrial parks, etc.) to adapt to diverse needs.
[0067] In practical applications, standardized data for photovoltaic-storage-charging microgrids is acquired. This data covers various aspects, including the output power of the photovoltaic power generation system, the charging and discharging status of the energy storage devices, and the power load of the charging facilities. In-depth analysis of the acquired data clarifies the data type, format, and logical relationships between different data points, providing a foundation for subsequent model building.
[0068] Based on the IEC 61970 / IEC 61968 standards, the various entities in the photovoltaic-storage-charging microgrid are abstracted as objects to construct the PSC-CIM model. For example, the photovoltaic power station is abstracted as a "photovoltaic power station object," with attributes including photovoltaic panel area, conversion efficiency, and real-time output power; the energy storage battery is abstracted as an "energy storage battery object," with attributes including battery capacity, remaining capacity, and charging / discharging power limits; and the charging pile is abstracted as a "charging pile object," with attributes including rated power, current charging current, and charging time. Simultaneously, relationships between objects are established, such as the power transmission relationship between the photovoltaic power station and the energy storage battery, and the power supply relationship between the energy storage battery and the charging pile.
[0069] The constructed PSC-CIM model is defined based on the acquired metadata. The metadata contains information such as the definition, source, and purpose of the data. It provides detailed descriptions of the objects, attributes, operations, and relationships in the model, ensuring the accuracy and consistency of the model.
[0070] Configure an application interface for the PSC-CIM model to enable data interaction between the model and external systems (such as microgrid monitoring systems and energy management systems). The application interface configuration must comply with relevant communication protocols, such as Modbus and TCP / IP, to ensure accurate and rapid data transmission. Through the application interface, external systems can obtain data from the model and send control commands to it, enabling real-time monitoring and control of the photovoltaic-storage-charging microgrid.
[0071] Configuring classes and related classes in the model further refines the model structure. A class is an abstraction of objects with the same attributes and operations. For example, a "Power Supply Class" can be defined to group objects with power supply functions, such as photovoltaic power plants and energy storage batteries; a "Load Class" can include electricity-consuming objects such as charging piles. Related classes are used to describe complex relationships between objects. For example, an "Energy Flow Related Class" can describe in detail the energy transfer process and relationships between photovoltaic power plants, energy storage batteries, and charging piles. By configuring classes and related classes appropriately, the model becomes clearer, easier to manage, and more extensible.
[0072] This project is based on the IEC 61968 / IEC 61970 power CIM model, and extends it to construct a comprehensive energy PSC-CIM model for a photovoltaic-storage-charging energy internet. It unifies the data model, providing evidence-based, complete, structured, and object-oriented data to support the deep integration and flexible control of microgrid energy sources (source, grid, load, storage, and utilization). Through the standard-based PSC-CIM model, the data interaction efficiency between various systems in the photovoltaic-storage-charging microgrid is significantly improved. Unified data descriptions and interaction interfaces eliminate problems such as incompatible data formats and inconsistent communication protocols, enabling fast and accurate data transmission and supporting real-time monitoring and optimized operation of the microgrid.
[0073] In another embodiment of the present invention, when constructing the PSC-CIM model, relying on the universality and standardization of the power grid CIM (Common Information Model) topology model of the IEC 61968 / IEC 61970 standard, a PSC-CIM model suitable for photovoltaic-storage-charging microgrids is constructed through extension and customization. The IEC 61968 / IEC 61970 standard provides a unified framework for power system data interaction and information sharing. The power grid CIM topology model standardizes and defines the equipment and connection relationships in the power system, laying the foundation for data interaction in various aspects of the power system.
[0074] In photovoltaic-storage-charging microgrids, unique equipment such as photovoltaics, energy storage, and charging facilities, along with complex energy flow relationships, exist. A simple grid CIM topology model cannot fully meet their needs. Therefore, by clarifying the relationships between various entities in the photovoltaic-storage-charging microgrid, an extension package is designed within the framework of the IEC standard base package. The IEC standard base package provides general specifications and basic object definitions for power system data interaction, while the extension package, tailored to the characteristics of microgrids, supplements the definitions of specific objects such as photovoltaic power plants, energy storage batteries, and charging piles, along with their attributes, operations, and relationships. The combination of these two packages forms a complete microgrid PSC-CIM model, enabling standardized description and efficient interaction of photovoltaic-storage-charging microgrid data, meeting the needs of flexible operation and optimized energy allocation in microgrids.
[0075] When constructing the PSC-CIM model, the IEC 61968 / IEC 61970 standards were analyzed, and the power grid CIM topology model based on these standards was comprehensively analyzed. The attribute definitions, operation methods, and connection relationships of various objects (such as power sources, loads, and lines) in the model were analyzed in detail to understand their data interaction mechanisms and information sharing methods. Existing common concepts and rules in the model were clarified, providing a basic framework and standard basis for the subsequent construction of the PSC-CIM model of a photovoltaic-storage-charging microgrid.
[0076] Based on the actual operating characteristics of photovoltaic-storage-charging microgrids, this paper analyzes the energy flow, control, and data interaction relationships among photovoltaic, energy storage, and charging facilities within the microgrid. For example, it analyzes how electricity generated by the photovoltaic power station is allocated to energy storage batteries for storage, directly supplied to charging piles, and the power coordination and control logic among the three. It also determines the correlation between energy storage batteries and the photovoltaic power station and charging piles in different states (charging, discharging, standby). Furthermore, it clarifies the interaction paths and methods of operational data (such as voltage, current, and power) of each device. Through this systematic analysis, a relational architecture for the photovoltaic-storage-charging microgrid PSC-CIM model is formed.
[0077] Based on the analysis of the CIM topology model of the power grid and the clarification of the relationships between the PSC-CIM model of the photovoltaic-storage-charging microgrid, a PSC-CIM model of the microgrid is constructed. This model is divided into two parts: the IEC standard basic package and the photovoltaic-storage-charging extension package.
[0078] The IEC standard base package directly adopts the common parts already present in the IEC 61968 / IEC 61970 standards, including the definition of basic objects of the power system (such as equipment, measurement, topology nodes, etc.), data structure, and communication interface specifications, to ensure that the model has the basic functions and standardization of power system data interaction.
[0079] The PV-Storage-Charging Extension Package is based on the IEC standard base package and adds definitions for specific objects, attributes, operations, and relationships of photovoltaic, energy storage, and charging facilities, according to the sorted-out microgrid relationship architecture.
[0080] In another embodiment provided by the present invention, the IEC standard basic package includes at least one of the following: core package, topology package, pipeline package, measurement package, load model package, domain package, asset package, user package, power outage package, protection package, monitoring and control package, and data acquisition package.
[0081] For example, the core package defines the most basic objects and attributes of the system, such as devices and names, and forms the foundation of the entire model; the topology package describes the connection relationships between power devices and clarifies the topology of each component in the microgrid; the pipeline package manages transmission media such as cables and lines; the measurement package standardizes the definition and acquisition methods of various measurement data; the load model package models the characteristics of electrical loads; the domain package defines data types and value ranges; the asset package manages power equipment asset information; the user package processes user-related data; the power outage package records power outage events and related information; the protection package covers protection devices and logic; and the monitoring and control package and the data acquisition package ensure real-time monitoring and data acquisition of the microgrid.
[0082] Through the collaboration of the basic packages, a complete data interaction and information management system is formed. Based on this, an extended package for photovoltaic-storage-charging microgrids is constructed to supplement the objects and relationships related to photovoltaic, energy storage, and charging facilities. This allows the PSC-CIM model to not only comply with general power system standards but also meet the unique operational requirements of photovoltaic-storage-charging microgrids, achieving efficient data interaction and optimized energy management among the components within the microgrid.
[0083] In another embodiment of the present invention, the photovoltaic-storage-charging extension package includes at least one of the following: an extended photovoltaic package, a storage system package, a charging pile package, and a power conversion package;
[0084] The construction process of the optical storage and charging expansion package includes:
[0085] Expand the Photovoltaic Package, Storage System Package, Charging Pile Package, and Power Convert Package; build the master model; build the equipment model; register the PSC-CIM model; build the topology model; build the measurement model; build the component model; and register it to the metadata table.
[0086] When expanding photovoltaic packages, energy storage packages, charging pile packages, or energy conversion packages, relevant information is collected, corresponding objects and attributes are defined, and corresponding operation methods are added to realize the construction of different packages.
[0087] When constructing the master model, first plan the overall architecture and functional requirements of the photovoltaic-storage-charging microgrid, and clarify the relationships and interaction methods between the various subsystems (photovoltaics, energy storage, charging piles, and energy conversion).
[0088] Define global parameters to describe the overall characteristics of the microgrid.
[0089] When constructing the equipment model, the model is further refined based on the objects defined in the extended sub-packages. For example, a photovoltaic power station object can be split into multiple photovoltaic array sub-objects, each with its own independent attributes and operation methods. Relationships are then established between different equipment objects.
[0090] Register the PSC-CIM model and assign a unique identifier to each model for identification and management within the system. Record basic model information (such as name, version, creation time, and creator) in the relevant system database or configuration file. Draw the topology diagram based on the physical connections of the devices in the photovoltaic-storage-charging microgrid. Define the elements in the topology model, such as nodes (buses, device connection points, etc.) and branches (lines, cables, etc.), and assign attributes to these elements, such as node voltage, branch current, and resistance.
[0091] When building a measurement model, first determine the parameters that need to be measured, define the equipment used to measure these parameters, assign attributes to the measurement equipment, and establish the relationship between the measurement equipment and the measured object.
[0092] Build a component model, further subdivide the device into components, define component attributes, and establish relationships between components.
[0093] Register the constructed models to the metadata table. First, design the metadata table: design the table structure, including table name, field names, field types, and field descriptions. The metadata table stores the model's metadata information, such as object names, attribute names, operation method names, and relationships. Enter the metadata information of all constructed models into the metadata table. Create an index for the metadata table to facilitate fast querying and retrieval of metadata information. Simultaneously, establish the relationships between different metadata records, such as the relationship between objects and attributes, and the relationship between objects and operation methods.
[0094] In another embodiment provided by the present invention, the above-described definition of the PSC-CIM model based on the acquired metadata includes:
[0095] Collect and analyze metadata: comprehensively collect metadata related to photovoltaic, energy storage and charging microgrids.
[0096] The collected metadata was analyzed in depth to identify the functional relationships, data interaction requirements, and collaborative operation logic between different devices, providing a foundation for subsequent model definition.
[0097] The equipment packages are designed by classifying the equipment in the photovoltaic-storage-charging microgrid according to the functions and characteristics of the equipment in the metadata, and designing corresponding equipment packages for each category.
[0098] Within the device package, clearly define the attributes and operations of each device object to ensure that it accurately describes the device's functions and status.
[0099] Design a device collaboration package based on the logic of collaborative operation between devices obtained from metadata analysis.
[0100] The device collaboration package defines the rules and procedures for collaborative operations, as well as the data interaction interfaces and methods between participating devices.
[0101] Determine the topology: Based on the actual physical connections and logical relationships of the photovoltaic-storage-charging microgrid, determine the topology between equipment packages and equipment coordination packages.
[0102] Draw a topology diagram to clearly show the connections between packages and the direction of data flow.
[0103] Define the association relationship, including:
[0104] Dependencies determine the dependencies between device packages and device collaboration packages. For example, the proper functioning of a device collaboration package may depend on accurate status information of certain devices within the device package.
[0105] Generalization relationships involve analyzing whether there are common concepts or behaviors that can be abstracted from the device package and device collaboration package. For example, different types of photovoltaic panels may share some common attributes and operations. These commonalities can be abstracted into a more general photovoltaic device class, with specific photovoltaic panel types serving as subclasses of this class, thus forming a generalization relationship. Generalization relationships can improve the maintainability and extensibility of the model.
[0106] Aggregation relationships determine the aggregation relationships between device packages and device co-location packages.
[0107] The association relationship includes at least one of the following: dependency relationship, generalization relationship, or aggregation relationship between the packages mentioned above.
[0108] In another embodiment provided by the present invention, the process of configuring the interface for the PSC-CIM model is specifically as follows:
[0109] The interface implementation involves input and output interfaces. Input interfaces include attribute input, real-time input, and historical input interfaces, while output interfaces include real-time output, status output, control output, and historical output interfaces.
[0110] The process of configuring the interface includes:
[0111] Design a data input class DataInClass, a data output class DataOutClass, a public class PublicInClass representing data input, and a public class PublicOutClass representing data output;
[0112] Design the real-time input interface IRealInClass, the attribute input interface IAttributeClass, the history input interface IHistroyInClass, the real-time output data interface IRealOutClass, the control output interface ICtrolOutClass, and the history output interface IHistoryOutClass; as well as the inherited classes and related classes of the above classes and interfaces.
[0113] In another embodiment of the present invention, the steps of designing classes and related classes of the PSC-CIM model include: analyzing the application requirements and the functions and data needed; establishing related classes based on the analysis; adding attributes and operations to the classes based on the information they carry or the functions they need to complete; and adding related relationships to the classes.
[0114] In another embodiment of the present invention, the requirements of the analysis application and its required functions and data are analyzed, and an association class is established based on the analysis, including:
[0115] Design the main model class for the microgrid package:
[0116] Before designing, it is necessary to clarify the attributes and methods of the station building class and the transportation equipment class in the CIM model core package, as well as their roles and relationships in the CIM model.
[0117] The process involves generalizing the station class to generate a microgrid website class, analyzing the similarities and differences between microgrids and traditional power stations, and determining the rules for generalizing the microgrid website class from the station class. Microgrids possess unique characteristics, such as including various distributed energy devices and having both independent and grid-connected operation modes. Based on these characteristics, some attributes and methods need to be added or modified during the generalization process.
[0118] Based on the station building class, new attributes and methods are added to the micro-electronic website class.
[0119] The transmission equipment class is generalized to generate photovoltaic (PV), energy storage, and charging pile equipment model classes. The characteristics of PV, energy storage, and charging pile equipment are analyzed separately to determine the rules for generalizing these equipment classes from the transmission equipment class. For example, PV equipment has characteristics such as light intensity and power generation efficiency; energy storage equipment has characteristics such as battery capacity and charging / discharging efficiency; and charging pile equipment has characteristics such as charging power and charging interface type.
[0120] For each device class, add new properties and methods based on the conveying device class.
[0121] Clarify the aggregation relationship between photovoltaic, energy storage, and charging pile equipment categories and microgrid categories. In a microgrid, these devices are components of the microgrid, and together they constitute the operating system of the microgrid.
[0122] In another embodiment of the present invention, the aggregation relationship between the device class and the microgrid model class is established as follows:
[0123] Photovoltaic model design class: generalize and aggregate the components, photovoltaic strings, inverters, combiner boxes, controllers, etc. involved in the photovoltaic system to form photovoltaic class, pointing to energy conversion class, and aggregating to microgrid class;
[0124] Design energy storage model class: Aggregate energy storage cells, battery packs, BMS systems, PCS systems and other equipment, pointing to the energy conversion class, and aggregating to the microgrid class;
[0125] Design a charging pile model class: aggregate equipment such as charging guns, charging piles, power supply systems, and control systems, pointing to the energy conversion class, and aggregating into the microgrid class;
[0126] Design measurement device model class: For the measurement devices used in the microgrid, including electricity meters, inverter meters, temperature and humidity meters, PCS, etc., generalize them to the monitoring, control and data acquisition units under the system resource package;
[0127] Design a topology inheritance model class: generalize to a microgrid interface class through 485 interface and protocol conversion; aggregate photovoltaic inverter class, energy storage PCS class, and charging pile micro-circuit class into line segment class and associate them with equipment.
[0128] In another embodiment provided by the present invention, association relationships are added to various types, specifically:
[0129] Establish dependency, inclusion, inheritance, aggregation, and generalization relationships between different types;
[0130] Monitoring, control, and data acquisition classes depend on measurement information classes; protection, start / stop, and topology classes depend on line topology information classes; and load curve classes depend on measurement information classes. All of these are aggregated into the IEC core class.
[0131] In the PSC-CIM model of photovoltaic-storage-charging microgrids, establishing the dependency, inclusion, inheritance, aggregation, and generalization relationships among various types is to construct a data model system with clear hierarchy and rigorous logic, ensuring the accuracy of data interaction between functional modules and the stability of system operation. Its principle is based on object-oriented programming ideas and the data management needs of power systems.
[0132] In another embodiment of the present invention, the method further includes: configuring an application interface for the PSC-CIM model.
[0133] The PSC-CIM model is a standard model for describing information related to power systems. Configuring application interfaces (APIs) allows different power system applications to interact and share data based on this standard model, thereby achieving system integration and interoperability. Through the APIs, applications can easily access and modify data in the model without needing to understand the internal implementation details of other applications, improving the system's scalability and flexibility.
[0134] In another embodiment provided by the present invention, an application interface is configured for the PSC-CIM model, specifically:
[0135] Define classes and design interfaces;
[0136] The definition class includes defining one or more classes: microgrid, photovoltaic storage and charging equipment, measurement information, status information, billing statistics information, control information, etc.
[0137] The designed interfaces include models for obtaining device resource types, real-time interfaces, and control interfaces.
[0138] The design of the PSC-CIM model application interface revolves around the needs of microgrid operation and management. It achieves data interaction and function implementation between systems through two core steps: defining classes and designing interfaces.
[0139] The definition of categories such as microgrid, photovoltaic-storage-charging equipment, measurement information, status information, billing statistics information, and control information is an abstract classification of various data and entities in the photovoltaic-storage-charging microgrid system.
[0140] The photovoltaic, energy storage and charging equipment category abstracts photovoltaic, energy storage and charging equipment, and encapsulates the commonalities and characteristics of the equipment in the form of attributes and methods, which facilitates unified management and operation of the equipment.
[0141] The PSC-CIM model application interface classifies and manages data by defining classes, designs multiple interfaces to meet different functional requirements, and builds a hierarchical and fully functional data interaction and function implementation system, providing strong support for the intelligent operation and refined management of photovoltaic-storage-charging microgrids.
[0142] In another embodiment provided by the present invention, when configuring the application interface, specifically:
[0143] Based on the operation and management requirements of photovoltaic-storage-charging microgrids, a basic framework for system data interaction and control operation is constructed through the setting of model information and the functional design of real-time and control interfaces.
[0144] The models used to obtain device resource types include models for obtaining application identifier ID, access token TOKEN, and resource type ResType, respectively.
[0145] In a microgrid system, multiple applications with different functions (such as monitoring systems, billing systems, energy management systems, etc.) may need to interact with the model. An application identifier (ID) is used to uniquely identify the application accessing the PSC-CIM model.
[0146] An access token is a secure access credential used to verify an application's access permissions. When an application makes a request to the PSC-CIM model, it must include a valid access token. The model verifies the token to confirm its validity and the scope of permissions.
[0147] The resource type (ResType) specifies the category of data or objects that the application requests.
[0148] The real-time interface includes interfaces for obtaining charging, discharging, power, billing, charging / discharging status, energy storage SOC, and photovoltaic power generation, respectively.
[0149] The real-time interface covers functions such as acquiring charging, discharging, power, billing, charging and discharging status, energy storage SOC, and photovoltaic power generation. Its core principle is to realize real-time monitoring and data acquisition of the microgrid's operating status.
[0150] The real-time interface establishes a high-speed, stable data transmission channel to periodically collect this critical data at short intervals (such as seconds or milliseconds) and transmit it to the required applications. This ensures the timeliness and accuracy of system data, providing strong support for the real-time monitoring, optimized management, and commercial operation of microgrids.
[0151] The control interface includes interfaces for switching photovoltaic power generation, starting and stopping mains power supplementation, charging and discharging energy storage, switching on and off charging piles, and charging and discharging billing.
[0152] The control interface includes functions such as switching photovoltaic power generation, starting and stopping grid power supplementation, charging and discharging energy storage, switching on and off charging piles, and billing charging and discharging. Its principle is to realize intelligent control of microgrid equipment and operation strategies in order to optimize energy utilization and ensure stable system operation.
[0153] This invention systematically proposes a flexible and coordinated balancing modeling method for photovoltaic, energy storage, charging, and utilization microgrids. It constructs a multi-model interconnection, interoperability, mutual assistance, and mutual protection data standard system for equipment points, connection networks, and microgrid sites, realizing the standardization and integration of energy equipment and facility data among the various systems of the microgrid "source-grid-load-storage-utilization". This helps to provide accurate analysis and stable and rapid regulation and control guarantees for the flexible and coordinated balancing of multiple energy sources.
[0154] See Figure 2 This is a schematic diagram of a photovoltaic-storage-charging microgrid model construction device provided in an embodiment of the present invention. The device includes:
[0155] The module is used to construct a PSC-CIM model for flexible collaborative balance of photovoltaic, energy storage, and charging microgrids based on the acquired standard data of the photovoltaic, energy storage, and charging microgrids.
[0156] The configuration module is used to define the PSC-CIM model based on the acquired metadata, configure the interface for the PSC-CIM model, and configure the class and associated class for the PSC-CIM model.
[0157] The photovoltaic-storage-charging microgrid model construction device provided in this embodiment can execute all the steps and functions of the photovoltaic-storage-charging microgrid model construction method provided in any of the above embodiments. The specific functions of the device will not be described in detail here.
[0158] See Figure 3This is a schematic diagram of a terminal device provided in an embodiment of the present invention. The terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a photovoltaic-storage-charging microgrid model construction program. When the processor executes the computer program, it implements the steps in the various embodiments of the photovoltaic-storage-charging microgrid model construction method described above, for example... Figure 1 The steps S1 to S2 are shown. Alternatively, when the processor executes the computer program, it implements the functions of each module in the above-described device embodiments.
[0159] For example, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the photovoltaic-storage-charging microgrid model construction device. For example, the computer program can be divided into several modules, the specific functions of which have been described in detail in the photovoltaic-storage-charging microgrid model construction method provided in any of the above embodiments; therefore, the specific functions of the device will not be repeated here.
[0160] The aforementioned photovoltaic-storage-charging microgrid model construction device can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. This device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that the schematic diagram is merely an example of a photovoltaic-storage-charging microgrid model construction device and does not constitute a limitation on such a device. It may include more or fewer components than illustrated, or combine certain components, or use different components. For example, the device may also include input / output devices, network access devices, buses, etc.
[0161] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. This processor is the control center of the photovoltaic-storage-charging microgrid model construction device, connecting all parts of the device via various interfaces and lines.
[0162] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the photovoltaic-storage-charging microgrid model construction device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital card (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0163] The integrated modules of the photovoltaic-storage-charging microgrid model construction device, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0164] This invention also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of any of the methods described in the above embodiments.
[0165] The computer program product provided in this embodiment can execute all the steps and functions of the photovoltaic-storage-charging microgrid model construction method provided in any of the above embodiments. The specific functions of the device will not be described in detail here.
[0166] It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this invention, and these improvements and modifications are also considered to be within the scope of protection of this invention.
Claims
1. A method for constructing a photovoltaic-storage-charging microgrid model, characterized in that, include: Based on the obtained standard data of the photovoltaic-storage-charging microgrid, a PSC-CIM model for flexible and coordinated balance of the photovoltaic-storage-charging microgrid is constructed. The PSC-CIM model is defined based on the acquired metadata, and interfaces, classes, and associated classes are configured for the PSC-CIM model.
2. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, The construction of the PSC-CIM model for flexible collaborative balance of photovoltaic-storage-charging microgrids based on the acquired standard data of the photovoltaic-storage-charging microgrid includes: The grid CIM topology model in the obtained standard data of photovoltaic-storage-charging microgrid is analyzed, and the model relationship of PSC-CIM of photovoltaic-storage-charging microgrid is sorted out to obtain the PSC-CIM model. The PSC-CIM model includes the IEC standard base package and the optical storage and charging extension package.
3. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 2, characterized in that, The IEC standard basic package includes at least one of the following: core package, topology package, pipeline package, measurement package, load model package, domain package, asset package, user package, power outage package, protection package, monitoring and control package, and data acquisition package.
4. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 2, characterized in that, The photovoltaic-storage-charging expansion package includes at least one of the following: a photovoltaic package, an energy storage package, a charging pile package, and an energy conversion package; The construction process of the optical storage and charging expansion package includes: Expand into photovoltaic packs, energy storage packs, charging pile packs, or energy conversion packs; Build the master model, build the equipment model, register the PSC-CIM model, build the topology model, build the measurement model, and build the component model; Register the constructed model in the metadata table.
5. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, The step of defining the PSC-CIM model based on the acquired metadata includes: Based on the acquired metadata, configure device packages, device collaboration packages, and the topology and relationships between device packages and device collaboration packages for the PSC-CIM model; The association relationship includes at least one of dependency relationship, generalization relationship or aggregation relationship.
6. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, The configuration interface for the PSC-CIM model includes: Configure data input classes, data output classes, public classes representing data input, and public classes representing data output; Configure real-time input interface, attribute input interface and historical input interface; establish control output interface, historical output interface and real-time output data interface. Define the inherited classes and related classes for the configured interfaces.
7. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, The configuration class and association class for the PSC-CIM model include: Analyze the application requirements, their necessary functions, and data; and establish related classes based on the analysis. Add attributes and operations to each class based on the information it carries or the functions it needs to perform, and add relationships between classes.
8. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 7, characterized in that, The requirements of the analytical application, its necessary functions and data, and the establishment of association classes based on the analysis include: The station building class of the core package of the CIM model is generalized and extended to generate a microgrid model class; The core package's transmission equipment is generalized to generate photovoltaic equipment model classes, energy storage equipment model classes, charging pile equipment model classes, and measurement device model classes, establishing aggregation relationships between equipment classes and microgrid model classes.
9. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 8, characterized in that, The core package's delivery equipment is generalized, extending to generate photovoltaic equipment model classes, energy storage equipment model classes, charging pile equipment model classes, and measurement device model classes. An aggregation relationship is established between the equipment classes and the microgrid model classes, including: The components involved in the photovoltaic system are generalized and aggregated to form a photovoltaic equipment model class, which points to the energy conversion class and is then aggregated into the microgrid model class. The devices of the energy storage system are aggregated to form an energy storage device model class, which points to the energy conversion class and is then aggregated into the microgrid model class. The devices of the charging system are aggregated to form a charging pile model class, which points to the energy conversion class and is then aggregated into the microgrid model class. The measuring devices used in the microgrid are aggregated to form a measuring device model class, which is then generalized to the monitoring, control and data acquisition units under the system resource package; By using RS485 interface and protocol conversion, the microgrid interface class is generalized, aggregating photovoltaic inverters, energy storage PCS, and charging pile micro-circuit devices into the line segment class, and associating them with the corresponding devices in the line segment class.
10. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 8, characterized in that, The above describes the addition of various associations, including Establish dependency, containment, inheritance, aggregation, and generalization relationships between different types; The monitoring, control, and data acquisition categories depend on the measurement information category; Protection, start / stop, and topology categories are dependent on the line topology information category; The load curve class depends on the measurement information class and is aggregated into the IEC core class.
11. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, The method further includes: Configure the application interface for the PSC-CIM model.
12. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 1, characterized in that, Configuring the application interface for the PSC-CIM model includes: The acquired microgrid data is defined as different classes and different interfaces in the PSC-CIM model; Among them, the different categories include at least one of microgrids, photovoltaic energy storage and charging equipment, measurement information, status information, billing statistics information, and control information; Different interfaces include models for obtaining device resource types, real-time interfaces, and control interfaces.
13. The method for constructing a photovoltaic-storage-charging microgrid model according to claim 12, characterized in that, The models used to obtain device resource types include models for obtaining application identifier ID, access token TOKEN, and resource type ResType, respectively. The real-time interface includes interfaces for obtaining charging, discharging, power, billing, charging / discharging status, energy storage SOC, and photovoltaic power generation, respectively. The control interface includes interfaces for switching photovoltaic power generation, starting and stopping mains power supplementation, charging and discharging energy storage, switching on and off charging piles, and charging and discharging billing.
14. A device for constructing a photovoltaic-storage-charging microgrid model, characterized in that, The device includes: The module is used to construct a PSC-CIM model for flexible collaborative balance of photovoltaic, energy storage, and charging microgrids based on the acquired standard data of the photovoltaic, energy storage, and charging microgrids. The configuration module is used to define the PSC-CIM model based on the acquired metadata, configure the interface for the PSC-CIM model, and configure the class and associated class for the PSC-CIM model.
15. An electronic device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the photovoltaic-storage-charging microgrid model construction method as described in any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the photovoltaic-storage-charging microgrid model construction method as described in any one of claims 1 to 13.
17. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 13.
