CONTROLLING MICROGRIDS
20210175717 · 2021-06-10
Assignee
Inventors
Cpc classification
G06Q30/0202
PHYSICS
H02J3/32
ELECTRICITY
H02J2300/10
ELECTRICITY
H02J2203/20
ELECTRICITY
H02J2300/20
ELECTRICITY
Y02P80/14
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06Q10/04
PHYSICS
International classification
H02J3/38
ELECTRICITY
Abstract
A control method for an electrical grid arrangement which includes one or more electric generators and one or more power stores is provided. The grid arrangement is connected or can be connected to a main grid in a controllable manner to draw current. A current withdrawal allocation is defined, which is provided for withdrawal by the grid arrangement from the main grid within a withdrawal time interval. The control method includes determining one or more optimization conditions on the basis of the current withdrawal allocation for a control time interval which is shorter than the withdrawal time interval, and carrying out an optimization of an optimization variable on the basis of the one or more optimization conditions for the control time interval on the basis of time steps having an increment which is shorter than. The method also includes controlling the grid arrangement on the basis of the optimization.
Claims
1. A control method for an electricity grid arrangement, wherein the grid arrangement comprises one or more electric power generators and one or more power stores, wherein the grid arrangement is connected or able to be connected in a controllable manner to a mains grid in order to draw power, wherein a power draw contingent that is intended to be drawn by the grid arrangement from the mains grid in a draw time interval is further defined, the control method comprising: determining one or more optimization conditions based on the power draw contingent for a control time interval that is shorter than the draw time interval; optimizing an optimization variable based on the one or more optimization conditions for the control time interval based on time increments having an increment span that is shorter than the control time interval; and actuating the grid arrangement based on the optimization.
2. The control method as claimed in claim 1, wherein the optimization is an anticipatory optimization over the control time interval.
3. The control method as claimed in claim 1, wherein the optimization is performed on a rolling basis and/or repeatedly.
4. The control method as claimed in claim 1, wherein the one or more optimization conditions are based on a demand assumption for the control time interval and/or the draw time interval.
5. The control method as claimed in claim 1, wherein the power draw contingent lies in an acceptance interval.
6. The control method as claimed in claim 1, wherein the optimization is a cost optimization.
7. The control method as claimed in claim 1, wherein the draw time interval is at least 2 weeks, or 3 or 4 weeks, or 30 or 31 days or one month.
8. The control method as claimed in claim 1, wherein the control interval is 48 hours or less, or 24 hours or less, or 12 hours or less.
9. A control apparatus for an electricity grid arrangement, wherein the control apparatus is designed to perform the control method as claimed in claim 1.
10. An electricity grid arrangement that comprises the control apparatus as claimed in claim 9.
Description
BRIEF DESCRIPTION
[0018] Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024]
[0025]
[0026] Optimization conditions may generally be parameters or variables and/or conditions on variables and/or equations and/or inequalities and/or mathematical expressions that are taken into account and/or used in the optimization. An optimization variable may be a variable that is intended to be optimized by the optimization, for instance minimized or maximized. An optimization variable may also be referred to as target variable. An optimization variable may be represented or defined by an expression and/or a formula or equation or parameter and/or be based on one or more optimization conditions and/or be restricted by one or more optimization conditions. A control variable may be a variable that is directly or indirectly controlled or regulated by the method. Control variables may in particular relate to the power output or consumption or power of one or more components, and/or in particular the draw from the mains grid.
[0027] In the context of this disclosure, power may be considered to be electric power or electrical energy. An amount of power may be able to be parameterized for instance as current value multiplied by time, or energy or power multiplied by time. A contingent may generally represent an amount of power with regard to a particular time period, such as the draw time interval. The expression “long-term” may relate to the draw time interval, and the expression “short-term” may relate to the control time interval. A draw time interval may in particular be an agreement time horizon or agreement time period, and a control time interval may in particular be a planning time period or planning horizon.
[0028] As an example of a power contingent, an amount of energy Y to be drawn, corresponding to the contingent E1, in the agreement time period Tmax, corresponding to the draw time interval T1, at a fixed price c0 per kWh, may be agreed in a bilateral energy agreement between operators of microgrids with a grid connection (for example for industrial installations) and the mains electricity grid operator. There may also be tolerance levels, for example downward differences, that is to say less energy is consumed, and upward differences, that is to say more energy is consumed, in which the price c0 per kWh continues to be guaranteed. The tolerance levels represent an acceptance interval. The following parameters are intended to describe these tolerance levels
[0029] q.sub.l: permissible negative difference (in percent) from the agreed amount of energy in the overall agreement time period Tmax
[0030] q.sub.u: permissible positive difference (in percent) from the agreed amount of energy in the overall agreement time period Tmax
[0031] Thus, if at the end of the agreement time period Tmax, the following holds true for the actual cumulative energy consumption Z:
(100%−q.sub.l)*Y≤Z≤(100%+q.sub.u)*Y
[0032] then no additional costs arise. Otherwise, the costs per kWh increase to
c.sub.l, if Z<(100%−q.sub.l)*Y
c.sub.u, if Z>(100%+q.sub.u)*Y.
[0033] For cost-optimized operation of the microgrid, this fact is taken into account in the load distribution by actuating the components of the microgrid. Optimization for a microgrid in some variants may have a forecast time period or anticipated horizon T, corresponding to the control time interval T2, of a few hours up to a day. A day is for instance a typical cycle length for battery usage planning. Forecasts for the availability of renewable energy sources and the required power production by other generators in the microgrid may become less reliable for longer planning horizons. The runtimes of the planning programs increase with the length of the planning horizon. MILP-based control tools may for example be restarted on a rolling basis, and have only a limited time to provide results due to the planning during ongoing operation. An excessively long runtime may accordingly have an effect on the control on the time increment level.
[0034] In comparison with the agreement runtime Tmax of the bilateral agreements for drawing energy from the grid connection, the described planning horizon T of the control tool is thus significantly shorter. Accordingly, the problem arises of taking into account the energy agreement, which relates only to the cumulative energy draw at the end of the agreement time interval, in the rolling control of the microgrid on the shorter time horizon, in order to minimize operating costs (also including the costs for drawing energy from the grid connection).
[0035] First of all, an estimate may be provided on the basis of the agreed amount of energy Y, of the power contingent E1, as demand assumption as a function of time for the expected cumulative energy draw y(t) in the draw time interval, for instance for the time period [O, Tmax] or [Tstart, Tstart+Tmax], wherein Tstart may be a starting time, for instance a start of a month. Such a demand estimation is typically a basis for concluding an energy agreement and should be able to be provided. One example of an alternative estimation may be based on a constant consumption, corresponding to a constant draw from the mains grid, over the agreement period, such that a straight line y(t) results for the cumulative consumption, for which it holds true that y(0)=0 or y(Tstart)=0 and y(Tmax)=Y or y(Tstart+Tmax)=Y. In some implementations, profiles of demand assumptions may be derived from historical data that may for instance represent influencing factors on the energy draw, for instance with regard to the microgrid or one or more components (peak load times, workdays/holidays, etc.).
[0036] Based on this expected energy consumption y(t) representing a demand assumption, a lower and upper tolerance level are able to be determined for the cumulative energy draw y.sub.l(t) and y.sub.u(t), respectively, likewise as a function of time, as y.sub.l(t)=(100%−q.sub.l)*y(t) and y.sub.u(t)=(100%+q.sub.u)*y(t). An acceptance range for the demand assumption y(t) is determined through y.sub.l(t) and y.sub.u(t).
[0037]
[0038] An optimization program or method may be implemented based on these parameters. By way of example, an iterative MILP-based approach may be used to integrate bilateral energy agreements (or other power contingents to be drawn in the long term) into programs for the anticipatory, rolling, cost-optimum control of microgrids. The control time interval, the planning horizon [O, T] of the control tool (typically 24 h) may be divided into individual time increments or time intervals t.sub.n, where N∈{1 . . . N}, where t.sub.0=0 and t.sub.N=T. The increment span or duration of the intervals may be the same for all of the time increments, or vary. N may for example be 12 or more, 24 or more, 48 or more or 72 or more.
[0039] The following variables and parameters may be used:
[0040] t.sub.n: Beginning of the time interval n; another reference point, for example the middle of the interval, may also be selected instead of the start of the interval;
[0041] Δt: Length of the time interval n or increment span
[0042] P(t.sub.n): Power draw from the grid in the time interval n (control variable or one of the control variables)
[0043] y(t.sub.n): Expected cumulative energy consumption until the end of the time interval n
[0044] y.sub.l(t.sub.n): Lower limit for the cumulative energy consumption until the end of the time interval n
[0045] y.sub.u(t.sub.n): Upper limit for the cumulative energy consumption until the end of the time interval n
[0046] z(t.sub.n): Actual cumulative energy consumption until the end of the time interval n
[0047] z.sub.0: Actual cumulative energy consumption at the beginning of the planning horizon
[0048] Id.sub.l(t.sub.n): Indicator variable that indicates whether the actual cumulative energy consumption is lower than the lower limit, that is to say 0, if z(t.sub.n)≥y.sub.l(t.sub.n) and 1, if z(t.sub.n)<y.sub.l(t.sub.n)
[0049] Id.sub.u(t.sub.n): Indicator variable that indicates whether the actual cumulative energy consumption is greater than the upper limit, that is to say 0, if z(t.sub.n)≤y.sub.u(t.sub.n) and 1, if z(t.sub.n)>y(t.sub.n)
[0050] c.sub.0: Costs per kWh energy consumption (according to energy agreement)
[0051] c.sub.l: Costs per kWh energy consumption, if less than the minimum agreed amount of energy (100%−q.sub.l)*Y is consumed in the agreement horizon
[0052] c.sub.u: Costs per kWh energy consumption, if more than the maximum agreed amount of energy (100%+q.sub.u)*Y is consumed in the agreement horizon
[0053] c(t.sub.n): Penalty costs per kWh for falling below/exceeding the lower/upper limit for the cumulative energy consumption in the time interval n
[0054] M: Large number for conventional MILP technique for switching between the indicator variables Id.sub.l(t.sub.n) and Id.sub.u(t.sub.n)
[0055] In this example, the energy consumption represents the draw from the mains grid. Variants are conceivable in which the energy consumption represents the entire energy or power consumption of the microgrid, taking into account the draw from the mains grid.
[0056] In general, different cost levels may be provided in the case of exceedance and/or falling below, these each increasing for example after an upper or lower limit for the draw is crossed.
[0057] Using these variables and parameters, an exemplary mixed-integer linear program (MILP) may then be provided in order to model the behavior of the system and to minimize the additional costs resulting from infringing the conditions of the bilateral energy agreement:
min.sub.PΣ.sub.n=1.sup.Nc(t.sub.n) (1)
z(t.sub.n)=z.sub.0+Σ.sub.k=1.sup.n[P(t.sub.k)*Δt] (2)
y.sub.l(t.sub.n)=(100%−q.sub.l)*y(t.sub.n) (3a)
y.sub.u(t.sub.n)=(100%+q.sub.u)*y(t.sub.n) (3b)
M*Id.sub.l(t.sub.n)≥y(t.sub.n)−z(t.sub.n) (4a)
M*Id.sub.u(t.sub.n)≥z(t.sub.n)−y.sub.u(t.sub.n) (4b)
c(t.sub.n)≥0 (5a)
c(t.sub.n)≥P(t.sub.n)*Δt.sub.n*(c.sub.l−c.sub.0)−M*(1−Id.sub.l(t.sub.n)) (5b)
c(t.sub.n)≥P(t.sub.n)*Δt.sub.n*(c.sub.u−c.sub.0)−M*(1−Id.sub.u(t.sub.n)) (5c)
[0058] This program is controlled via the power points P(t.sub.n) of the grid connection. The target function (1) is the sum of the penalty costs c(t.sub.n) per kWh that arise for falling below or exceeding the lower, respectively upper, limit for the cumulative energy consumption in the time intervals n, and should be minimized. The additional condition (2) specifies that the cumulative energy consumption c(t.sub.n) results from the power draw up to time t.sub.n (sum as time-discrete approximation of the integral). The relationship between the expected cumulative energy consumption y(t.sub.n) and the lower, respectively upper, limits y.sub.l(t.sub.n) and y.sub.u(t.sub.n) is represented by way of equations (3a) and (3b) for each time increment n. The inequalities (4a) and (4b) ensure that the indicator variables Id.sub.l(t.sub.n) and Id.sub.u(t.sub.n) are 1 precisely when the cumulative energy consumption in the time increment n is less than the lower limit y.sub.l(t.sub.n) or greater than the upper limit y.sub.u(t.sub.n) (Big-M technique). The inequalities (5a)-(5c) ensure that the additional penalty costs arise only when the indicator variables are active. The costs in the time interval n consist of the product of the energy draw [P(t.sub.n)*Δt.sub.n] and the cost difference c.sub.l−c.sub.0 or c.sub.u−c.sub.0. It should be taken into account that the short-term cost contributions c.sub.n are not necessarily created, even when they occur in the planning horizon. This is because the costs are created only when the sum of differences from the acceptance range of the short-term planning is great enough, when accumulated, to leave the acceptance interval of the long-term planning.
[0059] The procedure in the case of short-term daily planning is illustrated in
[0060] Instead of one-off daily planning, it is possible to perform rolling planning with regular reoptimization. This is supported by the approach, for instance by shifting the planning horizon/control time interval and/or transferring the current system state, for example the previous cumulative energy consumption z0 in the agreement horizon.
[0061] Yet further optimization conditions may be applied for the optimization, these possibly relating for instance to restrictions and costs from the component models of the individual generators in the grid, power balances, reserves, etc. The described embodiments of the invention is able to be integrated very easily into existing and future solutions. By way of example, equation (1) may be expanded with one or more cost contributions per n, or c.sub.n may be understood to be a vector or tuple of various cost contributions. Additional equations or inequalities with regard to such cost contributions may be added, these for instance possibly representing the operating costs or conditions of individual grid arrangement components.
[0062] In comparison with long-term MILP-based planning over the entire time period of energy agreements, for example for designing/expanding microgrids, the described iterative approach for the rolling, cost-optimum control of microgrids taking into consideration the dependencies from energy agreements has one or more advantages. The MILP-based advance planning of the complete agreement time period generates very large optimization problems. Programs for solving such problems (solvers) need far more time for this than those for short-term planning. Due to the runtime and lack of forecasting of the availability of renewable energy sources and the energy demands in the grid, detailed control of the microgrid during operation is susceptible to errors using the approaches involving long-term approaches. According to embodiments of the invention, contingents that are long-term with respect to the planning horizon, for example consisting of bilateral energy agreements, are able to be integrated into detailed, short-term control tools for microgrids.
[0063] Short-term, rolling planning with a slowly increasing/moving planning horizon is significantly more precise than planning the entire agreement horizon in advance. The approach according to embodiments of the invention is able to be integrated easily into existing and future MILP-based programs for controlling microgrids. Embodiments of the invention supplements MILP-based programs for the cost-efficient control of microgrids and is very well-suited to complex but runtime-critical applications with planning optimization at runtime.
[0064] Embodiments of the invention generally proposes to take into account long-term conditions and/or costs by mapping them using short-term cost approximations and corresponding conditions on a short-term planning horizon.
[0065] Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.
[0066] For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements. The mention of a “unit” or a “module” does not preclude the use of more than one unit or module.