Summary of the invention
The present invention considers: (1) based on the photovoltaic microgrid power load and power generation history number in the case of weather-similar days
According to, it is contemplated that power load considers light in seasonal whole fluctuation and the localised waving characteristic in one week
Volt power generation follows the fluctuation of season and Changes in weather, can effectively realize that the 24 of photovoltaic microgrid power load and photovoltaic power generation are small
When predict;(2) accumulator cell charging and discharging is usually only focused in improvement photovoltaic power supply quality in photovoltaic microgrid at present, or is only focused on
Electricity needs expense and energy expenditure, and avoided in the operation of photovoltaic microgrid since unreasonable accumulator cell charging and discharging dispatches plan
Slightly generated service lifetime of accumulator variation, and this will become part very important in photovoltaic microgrid operating cost.Therefore
The present invention is based on predictions in 24 hours of photovoltaic microgrid power load and photovoltaic power generation, comprehensively consider accumulator cell charging and discharging dynamic cost
And compound electricity price expense, propose a kind of accumulator cell charging and discharging method for optimizing scheduling based on photovoltaic microgrid operating cost.
The present invention proposes a kind of accumulator cell charging and discharging method for optimizing scheduling based on photovoltaic microgrid operating cost, including following
Step:
Step (1) is real based on the photovoltaic microgrid power load and photovoltaic power generation historical data in the case of similar type day
Predictions in future 24 hours of existing photovoltaic microgrid power load and photovoltaic power generation.
State-of-charge of step (2) calculating accumulator in each charging-discharging cycle.
Depth of discharge of step (3) calculating accumulator in each charging-discharging cycle.In each charging-discharging cycle, battery is put
Electric depth is defined as the mean value of storage battery charge state decline and rising amplitude.
Depth of discharge of the step (4) according to battery, aging cost of the calculating accumulator in each charging-discharging cycle.
Step (5) sets photovoltaic microgrid operating cost objective function.The microgrid being made of for one photovoltaic and battery
System, the mesh that setting is made of electricity needs expense, energy expenditure, photovoltaic power generation online income and battery aging cost
Scalar functions J.
Step (6) sets photovoltaic microgrid operating cost bound for objective function: under electric power storage tank discharge and charge mode
Balanced supply and demand of energy condition, from external electrical network buy electric power need to meet stationarity condition, electric power storage tank discharge and charging
Maximum allowable power restrictive condition need to be met.
Step (7) is under the constraint condition of step (6), for photovoltaic microgrid operating cost target set by step (5)
Function, using PSO Algorithm battery each optimizing cycle charge-discharge electric power.
The device have the advantages that are as follows:
1, considered simultaneously according to power load in seasonal whole fluctuation and the localised waving characteristic in one week
The fluctuation of season and Changes in weather is followed to photovoltaic power generation, realizes photovoltaic microgrid power load and light based on similar type day
It predicts 24 hours of volt power generation;
2, comprehensively consider dynamic cost caused by accumulator cell charging and discharging depth and compound electricity price expense, give by four
The photovoltaic microgrid operating cost model that a subitem is constituted: (1) the battery aging cost portrayed based on depth of discharge;(2) it is based on
The electricity needs expense of Critical Peak Pricing;(2) based on the energy expenditure of tou power price;(4) power generation based on photovoltaic online electricity price is received
Benefit.
3,24 hours prediction data based on photovoltaic microgrid power load and power generation, propose a kind of photovoltaic microgrid battery
In following 24 hours optimization traffic control strategies.The constraint condition of accumulator cell charging and discharging in binding model, realize operation at
The optimization of this model will significantly reduce the operating cost of photovoltaic microgrid.
Specific embodiment
The present invention set optimization unit time Δ t as 15 minutes, therefore the optimizing cycle number T in 24 hours is 96.In conjunction with
Attached drawing 1,2,3, the specific implementation steps of the present invention are as follows:
Step (1) realizes light based on photovoltaic microgrid power load and power generation historical data in the case of similar type day
It predicts future 24 hours for lying prostrate microgrid power load and photovoltaic power generation.4 kinds of spring, summer, autumn, winter season types will be divided into season, it will
Weather is divided into fine, cloudy, 3 kinds of weather patterns of sleet, is divided into Monday, Tuesday, Wednesday, Thursday, Friday and festivals or holidays 6 for one week
Kind date type.It is prediction day corresponding to optimizing scheduling 24 hours determining first, micro- from photovoltaic according to the date type of prediction day
Candidate similar type day is found in net power load and photovoltaic power generation historical data;Then season and weather pattern are pressed respectively
Candidate is further screened similar type day;Finally according to the minimal difference of similar type day and prediction daily maximum temperature, really
Fixed optimal similar type day, using corresponding photovoltaic microgrid power load and photovoltaic power generation historical data as in 24 hours futures
Every 15 minutes prediction results, it is denoted as P respectivelyd(i) and PRE(i), i=1,2 ..., T.As shown in Fig. 1.
State-of-charge of step (2) calculating accumulator in each charging-discharging cycle.Assuming that battery is in i-th of optimizing cycle
State-of-charge SOC (i), shown in calculating process such as formula (1).
In formula, SOC (0) indicates the initial state-of-charge of battery;The self-discharge rate of σ expression battery;CBATIndicate electric power storage
The capacity in pond;ηCBAnd ηDBRespectively indicate the charging and discharging efficiency of battery;PBC(i) and PBD(i) battery is respectively indicated to exist
The charging and discharging power of i-th of optimizing cycle.
It is illustrated by taking attached accumulator charging/discharging process shown in Fig. 2 as an example, each charging-discharging cycle is by battery in figure
The local maximum and local minimum of state-of-charge (SOC) curve are constituted.Such as the A-B in figure corresponds to the half period, indicates
One discharge process;And B-C then indicates a charging process, so A-B-C constitutes a complete charging-discharging cycle.
Assuming that accumulator cell charging and discharging periodicity is M during 24 hours operation plans, corresponding number of semi-periods of oscillation is 2M,
Therefore the number summation of SOC curve local maximum and local minimum is 2M+1.It is engraved when the generation of 2M+1 local extremum
For ti, i=1,2 ... 2M+1, they correspond to ctkA optimizing cycle, as shown in formula (2).
In formula, Floor indicates downward bracket function.Therefore the state-of-charge of 2M+1 local extremum can be denoted as SOC respectively
(cti), i=1,2 ..., 2M+1.
Depth of discharge of step (3) calculating accumulator in each charging-discharging cycle.In each charging-discharging cycle, battery is put
Electric depth (DOD) is defined as the mean value of storage battery charge state decline and rising amplitude, as shown in formula (3).
In formula, DOD (k) is indicated during 24 hours operation plans, corresponding to k-th of charging-discharging cycle of battery
Depth of discharge.
Aging cost of step (4) calculating accumulator in each charging-discharging cycle.According to the depth of discharge DOD of battery
(k), the aging cost C of k-th of charging-discharging cycle of battery is determinedD(k), as shown in formula (4).
In formula, a, b, α, β correspond to the Fabrication parameter of battery, CIIndicate the cost of investment of battery cell's capacity.
Step (5) sets photovoltaic microgrid operating cost objective function.The microgrid being made of for one photovoltaic and battery
System is set by electricity needs expense CDemand, energy expenditure CEngergy, photovoltaic power generation surf the Internet income EETAnd battery aging
Cost CDThe objective function J constituted, as shown in formula (5).
J=min (CDemand+CEnergy-EET+CD) (5)
Wherein, min indicates minimalization function;Electricity needs expense CDemand, energy expenditure CEngergy, in photovoltaic power generation
Net income EETAnd battery aging cost CDIt calculates respectively such as formula (6), formula (7), shown in formula (8) and formula (9).
CDemand=Pmax×PRDC (6)
In formula, PmaxIndicate the electric load peak value occurred during 24 hours operation plans;PRDCIndicate that spike is negative
Lotus unit price of power;PEF(i) electric power bought in i-th of optimizing cycle from external electrical network is indicated;PREC(i) it indicates the
Tou power price in i optimizing cycle;PET(i) the online power of the photovoltaic power generation in i-th of optimizing cycle is indicated;PRET(i)
Indicate the photovoltaic online electricity price in i-th of optimizing cycle.
Step (6) sets photovoltaic microgrid operating cost bound for objective function.
Constraint condition (1): the balanced supply and demand of energy condition under electric power storage tank discharge and charge mode is respectively such as formula (10) and formula
(11) shown in.
Pd(i)=PEF(i)+PRE(i)-PET(i)+PBD(i) (10)
Pd(i)=PEF(i)+PRE(i)-PET(i)-PBC(i) (11)
In formula, Pd(i), PRE(i), PEF(i), PET(i), PBD(i) and PBC(i) meaning is as described above.
Constraint condition (2): the electric power P bought from external electrical networkEF(i) stationarity condition need to be met, such as formula (12) institute
Show.
ζ2P0≤PEF(i)≤ζ1P0 (12)
In formula, P0Indicate reference power;ζ1And ζ2Indicate PEF(i) bound coefficient of variation, can be respectively set to 0.8 He
0.2。
Constraint condition (3): electric power storage tank discharge and charging need to meet maximum allowable power restrictive condition, such as formula (13) and formula
(14) shown in.
0≤PBD(i)≤PMDB (13)
0≤PBC(i)≤PMCB (14)
In formula, PMDBAnd PMCBRespectively indicate the discharge power and the charge power upper limit of battery.
Step (7) is under the constraint condition of step (6), for photovoltaic microgrid operating cost target set by step (5)
Function, using PSO Algorithm battery each optimizing cycle discharge power PBD(i) and charge power PBC(i),
Implementation process is as shown in Fig. 3.