The scheme is a divisional application taking an invention patent of a method, a terminal and a system for minimizing cost energy scheduling of optical storage filling inspection, with an application date of 2023, 07, 03 and 202310802156.0 as a parent.
Disclosure of Invention
The invention aims to solve the technical problem of providing an energy scheduling method and a terminal of an optical storage and charge detection system, which can more comprehensively and accurately consider energy scheduling and reduce operation cost.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method of minimizing cost energy scheduling for optical storage filling inspection, comprising the steps of:
S1, establishing a mathematical model based on a power conservation condition, direct-current side line loss and a relation between PCS input and output power by taking minimized PCS electricity cost as a target;
S2, adding constraint conditions for the mathematical model to obtain a target model;
The constraint conditions comprise SOC upper and lower limit constraints and voltage constraints;
and S3, solving the target model, and carrying out energy scheduling based on a solving result.
An energy scheduling method of an optical storage and filling detection system is characterized by comprising the following steps:
S1, establishing a mathematical model based on a power conservation condition, direct-current side line loss and a relation between PCS input and output power by taking minimized PCS electricity cost as a target;
S2, adding constraint conditions for the mathematical model to obtain a target model, wherein the constraint conditions comprise SOC upper and lower limit constraints and voltage constraints;
The upper and lower limit constraint of the SOC is specifically as follows:
wherein Cap represents energy, P represents power, Δt represents a time difference, and f () represents a function composed of parameters in parentheses;
t_ess_nominal represents the t-period battery nominal, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the t-period battery output, and t_ess_in represents the t-period battery input;
The voltage constraint is specifically:
wherein Cap represents energy, η represents efficiency, P represents power, Δt represents a time difference;
t_ess_actual represents the actual battery of the t period, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the initial battery, t_ess_out represents the output of the battery of the t period, and t_ess_in represents the input of the battery of the t period;
The constraint conditions are outside the upper limit constraint and the lower limit constraint of the SOC and the voltage constraint, and further comprise the following constraints:
Wherein P represents power;
t_pv_control_out represents a t-period photovoltaic controller output, t_pv_control_out_limit represents a preset t-period photovoltaic controller output limit, t_dc/dc_in represents a preset t-period DC/DC device input, t_dc/in_limit represents a preset t-period DC/DC device input limit, t_ess_in represents a t-period battery input, t_ess_in_limit represents a t-period battery input limit, t_ess_out represents a t-period battery output, t_ess_out_limit represents a t-period battery output limit, t_pcs_out represents a t-period PCS output limit, and t_pcs_out_limit represents a t-period PCS output limit;
From the power loss, it is possible to:
and S3, solving the target model, and carrying out energy scheduling based on a solving result.
In order to solve the technical problems, the invention adopts another technical scheme that:
a terminal for minimizing cost energy scheduling for optical storage battery charging and inspection, comprising a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the steps in the method for minimizing cost energy scheduling for optical storage battery charging and inspection are realized when the processor executes the computer program.
An energy scheduling terminal of an optical storage filling inspection system, comprising a processor, a memory and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
S1, establishing a mathematical model based on a power conservation condition, direct-current side line loss and a relation between PCS input and output power by taking minimized PCS electricity cost as a target;
S2, adding constraint conditions for the mathematical model to obtain a target model, wherein the constraint conditions comprise SOC upper and lower limit constraints and voltage constraints;
The upper and lower limit constraint of the SOC is specifically as follows:
wherein Cap represents energy, P represents power, Δt represents a time difference, and f () represents a function composed of parameters in parentheses;
t_ess_nominal represents the t-period battery nominal, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the t-period battery output, and t_ess_in represents the t-period battery input;
The voltage constraint is specifically:
wherein Cap represents energy, η represents efficiency, P represents power, Δt represents a time difference;
t_ess_actual represents the actual battery of the t period, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the initial battery, t_ess_out represents the output of the battery of the t period, and t_ess_in represents the input of the battery of the t period;
The constraint conditions are outside the upper limit constraint and the lower limit constraint of the SOC and the voltage constraint, and further comprise the following constraints:
Wherein P represents power;
t_pv_control_out represents a t-period photovoltaic controller output, t_pv_control_out_limit represents a preset t-period photovoltaic controller output limit, t_dc/dc_in represents a preset t-period DC/DC device input, t_dc/in_limit represents a preset t-period DC/DC device input limit, t_ess_in represents a t-period battery input, t_ess_in_limit represents a t-period battery input limit, t_ess_out represents a t-period battery output, t_ess_out_limit represents a t-period battery output limit, t_pcs_out represents a t-period PCS output limit, and t_pcs_out_limit represents a t-period PCS output limit;
From the power loss, it is possible to:
and S3, solving the target model, and carrying out energy scheduling based on a solving result.
In order to solve the technical problems, the invention adopts another technical scheme that:
The system for minimizing cost energy scheduling of optical storage and filling inspection comprises a storage and filling inspection station and a control device, wherein the storage and filling inspection station comprises a direct-current bus, a photovoltaic electric plate connected with the direct-current bus, PCS (power distribution system), ESS (ESS) and a plurality of charging piles, and the control device controls the energy scheduling of the storage and filling inspection station to realize the steps in the method for minimizing cost energy scheduling of the optical storage and filling inspection.
The energy scheduling method and the terminal of the optical storage charging and detecting system have the beneficial effects that when modeling aiming at minimizing PCS electricity cost is performed, loss and voltage constraint in the actual operation process and constraint of an energy storage device are considered, energy scheduling can be considered more comprehensively and accurately, and the operation cost is reduced.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a method for minimizing cost energy scheduling for optical storage and filling inspection includes the steps of:
S1, establishing a mathematical model based on a power conservation condition, direct-current side line loss and a relation between PCS input and output power by taking minimized PCS electricity cost as a target;
S2, adding constraint conditions for the mathematical model to obtain a target model;
The constraint conditions comprise SOC upper and lower limit constraints and voltage constraints;
and S3, solving the target model, and carrying out energy scheduling based on a solving result.
From the description, the method, the terminal and the system for energy scheduling of the minimized cost of the optical storage charging inspection have the beneficial effects that when modeling aiming at minimizing the PCS electricity cost is performed, the loss and the voltage constraint in the actual operation process and the constraint of the energy storage device are considered, the energy scheduling can be more comprehensively and accurately considered, and the operation cost is reduced.
Further, the establishing of the mathematical model in the step S1 specifically includes:
the goal of minimizing PCS power costs can be expressed by the following relationship:
since PCS input and output power have the following relationship:
ηt_pcs_inPt_pcs_in=Pt_pcs_out;
thus, minimizing PCS power costs may be equivalent to:
According to the power conservation condition, the photovoltaic device is assumed to be on the direct current side, and the power balance relationship is as follows:
Pt_ Line loss =f(Pt_pcs_out,Pt_pv_control_out,Pt_ess_out,Pt_ess_in,Pt_DC/DC_in);
the PCS output power can be expressed as:
Pt_pcs_out=f(Pt_pv_control_out,Pt_ess_out,Pt_ess_in,Pt_DC/DC_in);
Wherein Cost represents Cost, P represents power, deltat represents time difference, price represents price, and eta represents efficiency;
cs_in represents a PCS input, t_pcs_in represents a PCS input of a t period, t_pcs_out represents a PCS output of the t period, t represents a certain period of 24 periods in a day, t_grid represents a t period power grid, t_pv_control_out represents a t period photovoltaic controller output, t_ess_out represents a t period battery output, t_ess_in represents a t period battery input, t_line loss represents a t period line loss, t_DC/DC_in represents a t period DC/DC device input, and t_charge_in represents a t period charging pile input.
From the above description, it will be appreciated that the specific steps and contents of the mathematical model are set forth above.
Further, the SOC upper and lower limit constraints are specifically:
wherein Cap represents energy, P represents power, Δt represents a time difference, and f () represents a function composed of parameters in parentheses;
t_ess_nominal represents the t-period battery nominal, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the t-period battery output, and t_ess_in represents the t-period battery input.
From the above description, the SOC upper and lower limit constraints are specifically as shown above.
Further, the voltage constraint is specifically:
wherein Cap represents energy, η represents efficiency, P represents power, Δt represents a time difference;
t_ess_actual represents the actual battery of the t period, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the battery output of the t period, and t_ess_in represents the battery input of the t period.
From the above description, it is clear that the voltage constraint is specifically as shown above.
Further, the constraint conditions include the following constraints besides the upper and lower limits of the SOC and the voltage constraint:
Wherein P represents power;
t_pv_control_out represents a t-period photovoltaic controller output, t_pv_control_out_limit represents a t-period photovoltaic controller output limit, t_dc/dc_in represents a t-period DC/DC device input, t_dc/dc_in_limit represents a t-period DC/DC device input limit, t_ess_in represents a t-period battery input, t_ess_in_limit represents a t-period battery input limit, t_ess_out represents a t-period battery output, t_ess_out_limit represents a t-period battery output limit, t_pcs_out represents a t-period PCS output, and t_pcs_out_limit represents a t-period PCS output limit.
From the above description, the present invention also considers photovoltaic controller output limit, DC/DC device input limit, battery output limit, and PCS output limit as constraints on the data model, in addition to SOC upper and lower limit constraints and voltage constraints.
Further, the solving of the target model in step S3 specifically includes searching for a relatively better solution in a solution space formed by the target and the constraint condition based on a preset algorithm.
From the above description, it is clear that the object model can form a solution space based on the object and constraints, and that one or more optima can be found in the solution space by means of a specific algorithm for the control of the energy scheduling.
Further, the preset algorithm is a genetic algorithm or a particle swarm algorithm.
From the above description, it is known that the objective of searching for an optimal solution can be achieved by a genetic algorithm or a particle swarm algorithm.
Referring to fig. 2, a terminal for minimizing cost energy scheduling of optical storage and filling inspection includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the steps in the method for minimizing cost energy scheduling of optical storage and filling inspection are implemented when the processor executes the computer program.
Referring to fig. 3, a system for minimizing cost energy scheduling of optical storage and charging inspection includes a storage and charging inspection station and a control device, wherein the storage and charging inspection station includes a dc bus, a photovoltaic panel connected with the dc bus, a PCS, an ESS, and a plurality of charging piles, and the control device controls the energy scheduling of the storage and charging inspection station to implement the steps in the method for minimizing cost energy scheduling of optical storage and charging inspection.
The method, the terminal and the system for energy scheduling of the light storage filling and checking with the minimized cost are suitable for energy scheduling control of the light storage filling and checking station with the minimized cost as a target.
Referring to fig. 1, a first embodiment of the present invention is as follows:
a method of minimizing cost energy scheduling for optical storage filling inspection, comprising the steps of:
S1, establishing a mathematical model based on a power conservation condition, direct-current side line loss and a relation between PCS input and output power by taking minimized PCS electricity cost as a target;
the establishing of the mathematical model in the step S1 specifically includes:
The optical storage charging and detecting station minimizes cost energy scheduling, and the energy scheduling mainly utilizes an energy storage device (ESS) to transfer energy in time and space, so that the operation cost of the charging and detecting station is reduced. Essentially, minimizing the cost is equivalent to minimizing the grid purchase cost, equivalent to minimizing the PCS utility running cost.
The goal of minimizing PCS power costs can be expressed by the following relationship:
since PCS input and output power have the following relationship:
ηt_pcs_inPt_pcs_in=Pt_pcs_out;
thus, minimizing PCS power costs may be equivalent to:
According to the power conservation condition, the photovoltaic device is assumed to be on the direct current side, and the power balance relationship is as follows:
based on the research result of the line loss at the direct current side, the line loss should have the following relation:
Pt_ Line loss =f(Pt_pcs_out,Pt_pv_control_out,Pt_ess_out,Pt_ess_in,Pt_DC/DC_in);
the PCS output power can be expressed as:
Pt_pcs_out=f(Pt_pv_control_out,Pt_ess_out,Pt_ess_in,Pt_DC/DC_in);
Wherein Cost represents Cost, P represents power, deltat represents time difference, price represents price, and eta represents efficiency;
cs_in represents a PCS input, t_pcs_in represents a PCS input of a t period, t_pcs_out represents a PCS output of the t period, t represents a certain period of 24 periods in a day, t_grid represents a t period power grid, t_pv_control_out represents a t period photovoltaic controller output, t_ess_out represents a t period battery output, t_ess_in represents a t period battery input, t_line loss represents a t period line loss, t_DC/DC_in represents a t period DC/DC device input, and t_charge_in represents a t period charging pile input.
S2, adding constraint conditions for the mathematical model to obtain a target model;
The constraint conditions comprise SOC upper and lower limit constraints and voltage constraints;
The ESS has upper and lower limits of SOC and upper and lower limits of voltage constraints, and since there is a loss in the ESS charging and discharging process, the SOC is calculated based on the battery as an external measurement value, and this loss is not considered, the upper and lower limits of SOC constraint is referred to herein as a nominal capacity constraint, and this constraint is expressed as:
wherein Cap represents energy, P represents power, Δt represents a time difference, and f () represents a function composed of parameters in parentheses;
t_ess_nominal represents the t-period battery nominal, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the t-period battery output, and t_ess_in represents the t-period battery input.
The voltage constraint is a direct physical constraint, and loss during charge and discharge is directly reflected on the voltage, so the voltage constraint is referred to herein as an actual capacity constraint, and the constraint is expressed as:
wherein Cap represents energy, η represents efficiency, P represents power, Δt represents a time difference;
t_ess_actual represents the actual battery of the t period, lower_limit represents the lower limit, up_limit represents the upper limit, ess_init represents the battery initial, t_ess_out represents the battery output of the t period, and t_ess_in represents the battery input of the t period.
Other constraints, also include the following:
Wherein P represents power;
t_pv_control_out represents a t-period photovoltaic controller output, t_pv_control_out_limit represents a t-period photovoltaic controller output limit, t_dc/dc_in represents a t-period DC/DC device input, t_dc/dc_in_limit represents a t-period DC/DC device input limit, t_ess_in represents a t-period battery input, t_ess_in_limit represents a t-period battery input limit, t_ess_out represents a t-period battery output, t_ess_out_limit represents a t-period battery output limit, t_pcs_out represents a t-period PCS output, and t_pcs_out_limit represents a t-period PCS output limit.
Wherein the data related to PV and DC/DC is given predicted value, if the predicted value exceeds the limit range, the correction should be performed, and the correction step should be performed when the predicted value is given. The PCS is the power of photovoltaic inversion to the AC side in the case where inversion is allowed if the value is negative, and the power of photovoltaic light rejection in the case where inversion is not allowed.
Further, based on the power loss study of the above-described portions, it is known that:
in summary, a set of suitable charging and discharging strategies for ESS are found to minimize PCS costs.
And S3, solving the target model, and carrying out energy scheduling based on a solving result.
In step S3, the solution of the target model is specifically to find a relatively better solution in a solution space formed by the target and the constraint condition based on a preset algorithm;
the preset algorithm is a genetic algorithm or a particle swarm algorithm.
In this embodiment, the current common solution algorithms of the planning model include genetic algorithm, particle swarm algorithm, and the like, and the algorithms can find a relatively better solution in the target and constrained solution space.
Taking genetic algorithm as an example:
Under normal conditions, a proper fitness function is determined according to a genetic algorithm idea and a proper solving program is written through the steps of selection, intersection, variation and the like to obtain a better solution.
Referring to fig. 2, a second embodiment of the present invention is as follows:
A terminal 1 for minimizing cost energy scheduling for optical storage filling inspection, comprising a processor 2, a memory 3 and a computer program stored in the memory 3 and executable on the processor 2, the steps of the above method for minimizing cost energy scheduling for optical storage filling inspection being implemented when the processor 2 executes the computer program.
Referring to fig. 3, a third embodiment of the present invention is:
The system for minimizing cost energy scheduling of optical storage and filling inspection comprises a storage and filling inspection station and a control device, wherein the storage and filling inspection station can be shown by referring to fig. 3 and comprises a direct current bus, a photovoltaic electric plate connected with the direct current bus, PCS (power control system), ESS (ESS) and a plurality of charging piles, and the control device controls the energy scheduling of the storage and filling inspection station so as to realize the steps in the method for minimizing cost energy scheduling of the optical storage and filling inspection.
In other equivalent embodiments, the control device may be comprised in the storage and retrieval station.
In summary, according to the method, the terminal and the system for energy scheduling of the minimized cost of the optical storage charging inspection, when modeling is performed with the aim of minimizing the PCS electricity cost, loss and voltage constraint in the actual operation process and constraint of the energy storage device are considered, energy scheduling can be considered more comprehensively and accurately, and the operation cost is reduced.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.