Electric quantity scheduling method and device for energy storage energizing facility agriculture
By calculating the overall benefits and total costs of agricultural energy storage power plants and adjusting the energy storage discharge and charging power, the problems of high energy consumption and profitability in facility agriculture are solved, and the active adjustment and prediction capabilities of the energy storage system are realized, reducing electricity bill costs and increasing profitability.
Patent Information
- Application Number
- CN202510164796.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-03-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to high energy consumption, facility agriculture has increased electricity costs and is difficult to make profits. The existing energy storage systems lack the ability to actively predict and regulate, and cannot create revenue and benefits.
By calculating the overall benefits and total costs of agricultural energy storage power plants, adjusting the energy storage discharge and charging power, ensuring that the electricity obtained by energy storage discharge can meet the needs of agricultural facilities operation, and optimizing electricity scheduling by predicting agricultural product trading prices and electricity trading revenue.
The active adjustment and prediction capabilities of the energy storage system are realized, the electricity cost of facility agriculture is reduced, profitability is increased, and the stable operation of the microgrid of facility agriculture is ensured.
Smart Images

Figure CN119624067A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to energy storage power dispatching, and in particular to a power dispatching method and device for energy storage-enabled facility agriculture. Background Art
[0002] However, facility agriculture has difficulty making profits due to the high energy consumption and increased electricity bills. Regarding the emergency response and dispatch of the power grid, the current energy storage system is a passive response and does not have the active prediction and adjustment capabilities to create revenue and benefits. Summary of the invention
[0003] The present invention provides a method and device for dispatching electricity for energy storage-enabled facility agriculture to solve the above-mentioned problems.
[0004] The present invention provides the following technical solution: a method for dispatching electricity for energy storage-enabled facility agriculture, comprising the following steps: S1. Calculate the overall benefit R of the agricultural energy storage power station at time point k overall (k); k is the predicted future time point, and k+1 is the time point after k; The k time point can be a time point in units of day, week, month, season, or year, and can also be set as required; for example, when the k time point is in units of day, the k+1 time point is the next day of the k time point; when the k time point is in units of week, the k+1 time point is the next week of the k time point; when the k time point is in units of month, the k+1 time point is the next month of the k month; when the k time point is in units of season, the k+1 time point is the next season of the k+1 time point; when the k time point is in units of year, the k+1 time point is the next year of the k month; S2. Calculate the total cost C of the agricultural energy storage power station at time point k overall (k); S3. Calculate the heat transfer energy consumption Q; A portion of the stored energy needs to be consumed to cool or heat up agricultural facilities, thereby ensuring the normal operation of agricultural facilities; S4.1. Calculate the basic electricity required to maintain the operation of the facility building infra ; A portion of the energy storage power needs to be consumed to maintain the operation of the facility building, such as lighting, ventilation, monitoring, etc., so as to ensure the normal operation of the facility building; S4.2. Compare the amount of electricity q obtained by discharging energy storage d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust Pd and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5; q d ≥Q+q infra This shows that the amount of electricity discharged from the energy storage can meet the needs of agricultural facility operation and building operation; S5. Adjust P c and P d and recalculate R overall (k) and C overall (k), so that q d ≥Q+q infra , and R overall (k) and C overall (k) convergence; at this time, P d and P c The value of is the target value.
[0005] Further, step S1 is specifically as follows: S1.1. Obtain the transaction price PR of agricultural products at time point k+1 ft (k+1), the number of agricultural products N ft (k+1), the time-of-use electricity price PR of the city electricity at time k grid (k), PCS inverter efficiency ζ d , the discharge efficiency η of the energy storage battery d , the time-of-use electricity price PR of energy storage electricity at time point k es (k), the discharge power P of the energy storage battery d , the discharge time of the energy storage battery is Tm d , and the unit price PR of the income obtained from participating in the electricity transaction at time k+1 gt (k+1); S1.2. Calculate the income R that energy storage electricity brings to agriculture through agricultural product trading after participating in agricultural production activities ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k gt (k) as follows: R ft (k) = PR ft (k+1)×N ft (k+1)-Cost ft (k+1); R es (k)=(PR grid (k)-PR es (k))×ζ d ×η d ×P d ×Tm d ×365; R farm (k) = R ft (k)+R es (k); R gt (k) = PR gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12; Among them, Cost ft (k+1) is the cost of harvesting agricultural products from facility agriculture; S1.3. Calculate the overall benefit R of the agricultural energy storage power station overall (k) as follows: R overall (k)=Max(R farm (k),R gt (k)); Among them, Max() means taking the maximum value of the value in the brackets.
[0006] Further, step S2 is specifically as follows: S2.1. Get the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , PCS rectification efficiency ζ c , the charging efficiency of the energy storage battery η c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; S2.2. Calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k) = PR batteries *(1-SOH DOD ); C es (k) = ζ c ×η c ×P c ×Tm c ×PRgrid (k); S2.3. Calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: C overall (k)=C bl (k)+C es (k).
[0007] Further, step S3 is specifically as follows: S3.1. Obtain the indoor temperature T of the facility agriculture energy storage power station at time point k in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; S3.2. Calculate the heat transfer energy consumption Q as follows: Q = U × A × (T opt -T in (k))×n; Among them, T opt The temperature required to ensure the normal operation of agricultural facilities.
[0008] Further, step S4 is specifically as follows: S4.1. Calculate the amount of electricity q obtained by discharging energy storage d , as follows: q d =ζ d ×η d ×P d ×Tm d +(ζ c ×η c ×P c ×Tm c )*η whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat. Since the lead-carbon battery does not need to be cooled when discharging, it only needs to be multiplied by the charging power and charging time; S4.2. Calculate the basic electricity required to maintain the operation of the facility building infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L The power of the basic load, such as the lighting of the building; P f is the power of the flexible load, such as air conditioning, and is taken for winter in this algorithm; S4.3. Determine the amount of electricity q obtained by discharging energy storage d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5.
[0009] Further, step S5 is specifically as follows: S5.1. Use macro adjustment coefficient α to reduce P c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase Pd The value of P d ×(1+θ); S5.2 Recalculate R overall (k) and C overall (k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If it converges, then P d and P c The value of is the target value; If it does not converge, continue to follow the steps in S5.1 to calculate P d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
[0010] An energy storage-enabled electricity dispatching device for facility agriculture, comprising: The first acquisition module obtains the transaction price PR of agricultural products at time point k+1 ft (k+1), the number of agricultural products N ft (k+1), the time-of-use electricity price PR of the city electricity at time k grid (k), PCS inverter efficiency ζ d , the discharge efficiency η of the energy storage battery d , the time-of-use electricity price PR of energy storage electricity at time point k es (k), the discharge power P of the energy storage battery d , the discharge time of the energy storage battery is Tm d , and the unit price PR of the income obtained from participating in the electricity transaction at time k+1 gt (k+1); k is the predicted future time point, k+1 is the time point after k; The first calculation module calculates the income R brought to agriculture through agricultural product transactions after energy storage electricity participates in agricultural production activities. ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k gt (k) as follows: R ft (k) = PR ft(k+1)×N ft (k+1)-Cost ft (k+1); R es (k)=(PR grid (k)-PR es (k))×ζ d ×η d ×P d ×Tm d ×365; R farm (k) = R ft (k)+R es (k); R gt (k) = PR gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12; Among them, Cost ft (k+1) is the cost of harvesting agricultural products from facility agriculture; The second calculation module calculates the overall benefit R of the agricultural energy storage power station overall (k) as follows: R overall (k)=Max(R farm (k),R gt (k)); Among them, Max() means taking the maximum value of the value in the brackets; The second acquisition module is used to obtain the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , PCS rectification efficiency ζ c , the charging efficiency of energy storage batteries c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; The third calculation module is used to calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k) = PR batteries *(1-SOH DOD ); C es (k) = ζ c ×η c ×P c ×Tmc ×PR grid (k); The fourth calculation module is used to calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: C overall (k)=C bl (k)+C es (k); The third acquisition module is used to obtain the indoor temperature T of the facility agriculture energy storage power station at time point k. in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; The fifth calculation module is used to calculate the heat transfer energy consumption Q, as follows: Q = U × A × (T opt -T in (k))×n; Among them, T opt The temperature required to ensure the normal operation of agricultural facilities.
[0011] The sixth calculation module is used to calculate the amount of electricity q obtained by energy storage discharge d , as follows: q d =ζ d ×η d ×P d ×Tm d +(ζ c ×η c ×P c ×Tm c )*η whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat; The seventh calculation module is used to calculate the basic electricity to maintain the operation of the facility building. infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L is the power of the base load; P f is the power of the flexible load; The first judgment module is used to judge the amount of electricity q obtained by energy storage discharge d With Q+q infra Size: If qd ≥Q+q infra , perform the steps of the first adjustment module; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), perform the steps of the first adjustment module; The first adjustment module is used to reduce P by using the macro adjustment coefficient α c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); The sixth calculation module is used to recalculate R overall (k) and C overall(k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If convergence, then P d and P c The value of is the target value; If it does not converge, continue to adjust P according to the steps of the first adjustment module. d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
[0012] An electronic device, comprising: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0013] A computer-readable storage medium stores computer instructions, which implement the steps of the above method when executed by a processor.
[0014] The beneficial effects of the present invention are as follows: By optimizing the scheduling algorithm, the operating status of resources can be adjusted in real time to meet the overall optimization of the energy system. Energy storage as a backup power source ensures that the entire facility agriculture microgrid will not be out of power at any time, and ensures that the temperature of facility agriculture buildings and pools can maintain a certain degree of cold and hot comfort under any climatic conditions.
[0015] Based on the prediction of benefits, the benefits of using it in agricultural production and power dispatching can be increased, and the costs can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of the method of the present invention; Figure 2 A module diagram of the device of the present invention; Among them, there are a first acquisition module 1, a first calculation module 2, a second calculation module 3, a second acquisition module 4, a third calculation module 5, a fourth calculation module 6, a third acquisition module 7, a fifth calculation module 8, a sixth calculation module 9, a first judgment module 10, a first adjustment module 11, and a seventh calculation module 12. DETAILED DESCRIPTION
[0017] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0018] Discharge power Pd and charging power Pc are calculation parameters of the three functions of basic heat temperature Q, revenue Roverall and cost Coverall. Therefore, by adjusting the discharge power Pd and charging power Pc, we can maximize the revenue Roverall brought by electricity sales and minimize the cost Coverall while meeting the basic heat temperature Q to ensure the normal operation of facility agriculture equipment.
[0019] The embodiments of the present invention are further described below with reference to a plurality of embodiments.
[0020] Example 1 like Figure 1 In this embodiment, the area of 10 mu of facility agriculture is all used for indoor fish ponds with higher economic value. On the ten mu of water surface, the breeding density can be reasonably arranged to achieve the best breeding effect. Taking 5,000 fish fry per mu as an example, 50,000 fish fry can be released on the ten mu of water surface. The fish species is sea bass. The breeding cycle is one year, and the average weight of each fish at the end of the year is 1 kg.
[0021] In this embodiment, the energy storage power station has 30.41MWh of electricity. Considering the heat loss factor, the charging power is approximately 1.1 times the discharge power. With 30.41MWh of electricity, the discharge depth is 70%, and the discharge time is 10 hours, the discharge power P of the energy storage battery is d It is 30.41*0.7 / 10=2128.7(MW)=2128.7 kilowatts.
[0022] The inverter efficiency and rectification efficiency of PCS are both 92%, and the charging and discharging efficiency of energy storage batteries are both 90%. A method for dispatching electricity for energy storage-enabled facility agriculture, comprising the following steps: S1.1. Obtain the transaction price PR of agricultural products at time point k+1 ft (k+1) is 20 yuan / kg, the quantity of agricultural products is N ft (k+1) is 50,000 kg, and the time-of-use electricity price PR of the city electricity at time k grid (k) is 3 yuan / kWh, and the inverter efficiency of PCS is ζ d The discharge efficiency of the energy storage battery is 92%. d is 90%, the time-of-use electricity price PR of energy storage electricity at time point k es (k) is 1.2 yuan / kWh, and the discharge power of the energy storage battery is Pd is 2128.7 kW, and the discharge time of the energy storage battery is Tm d is 10 hours, and the unit price PR of the income obtained by participating in the electricity transaction at time k+1 gt (k+1) is 3 yuan / kWh; in this embodiment, k is 2023, and k+1 is 2024; S1.2. Calculate the income R that energy storage electricity brings to agriculture through agricultural product trading after participating in agricultural production activities ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k+1 gt (k) as follows: R ft (k) = PR ft (k+1)×N ft (k+1)-Cost ft (k+1)=20×50,000-850,000=150,000 yuan; R es (k)=(PR grid (k)-PR es (k))×ζ d ×η d ×P d ×Tm d ×365=(1.2-0)×92%×90%×2128.7×10×365=7720028 yuan; R farm (k) = R ft (k)+R es (k) = 150,000 + 772,0028 = 7,870,028 yuan; R gt (k) = PR gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12=3×92%×90%×2128.7×10×12=634552.9 yuan; S1.3. Calculate the overall benefit Roverall(k) of the agricultural energy storage power station as follows: R overall (k)=Max(R farm (k),R gt (k)) = Max (8720028, 634552.9) = 7870028 yuan; Among them, Max() means taking the maximum value of the value in the brackets.
[0023] It can be seen from this that the use of energy storage electricity in facility agriculture can bring greater benefits.
[0024] The actual effect after one year was verified. The cost of fish farming mainly includes fry, feed, rent, labor, etc. The breeding cycle is one year. At the end of the year, the average weight of each fish is 1 kg. According to the average market price of 20 yuan per kilogram, the total income can reach 1 million yuan. After deducting the cost, the net profit is 143,000 yuan, which is about 4.7% different from the estimated value.
[0025] S2.1. Obtain the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , PCS rectification efficiency ζ c , the charging efficiency of the energy storage battery η c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; S2.2. Calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k) = PR batteries *(1-SOH DOD ); C es (k) = ζ c ×η c ×P c ×Tm c ×PR grid (k); S2.3. Calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: C overall (k)=C bl (k)+C es (k).
[0026] S3.1. Obtain the indoor temperature T of the facility agriculture energy storage power station at time point k in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; S3.2. Calculate the heat transfer energy consumption Q as follows: Q = U × A × (T opt -T in (k))×n; Among them, Topt The temperature required to ensure the normal operation of agricultural facilities.
[0027] S4.1. Calculate the amount of electricity q obtained by discharging energy storage d , as follows: q d =ζ d ×η d ×P d ×Tm d +(ζ c ×η c ×P c ×Tm c )*η whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat; S4.2. Calculate the basic electricity required to maintain the operation of the facility building infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L is the power of the base load; P f is the power of the flexible load; S4.3. Determine the amount of electricity q obtained by discharging energy storage d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5.
[0028] S5.1. Use macro adjustment coefficient α to reduce P c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); in this embodiment, θ=0.01, α=0.05; If Roverall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); S5.2 Recalculate R overall (k) and C overall (k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If convergence, then P d and P c The value of is the target value; If it does not converge, continue to follow the steps in S5.1 to calculate P d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
[0029] In this embodiment, it is determined that Roverall (k) and C overall (k) The method to determine whether the convergence is achieved is to adjust P 10 times in a row. d and P c After the value of overall (k) The absolute value of the difference between them is less than 0.01 yuan, 10 C overall (k) The absolute value of the difference between them is less than RMB 0.01; In some embodiments, multiple R overall (k) and C overall (k) and use variance or mean square error to determine R overall (k) and C overall (k) Whether it converges.
[0030] like Figure 2 , an energy storage-enabled electricity dispatching device for facility agriculture, comprising The first acquisition module obtains the transaction price PR of agricultural products at time point k+1 ft (k+1), the number of agricultural products N ft (k+1), the time-of-use electricity price PR of the city electricity at time k grid (k), PCS inverter efficiency ζ d , the discharge efficiency η of the energy storage battery d , the time-of-use electricity price PR of energy storage electricity at time point k es (k), the discharge power P of the energy storage battery d , the discharge time of the energy storage battery is Tm d , and the unit price PR of the income obtained from participating in the electricity transaction at time k+1 gt (k+1); k is the predicted future time point, k+1 is the time point after k; The first calculation module calculates the income R brought to agriculture through agricultural product transactions after energy storage electricity participates in agricultural production activities. ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k gt (k) as follows: R ft (k) = PR ft (k+1)×N ft (k+1)-Cost ft (k+1); R es (k)=(PR grid (k)-PR es(k))×ζ d ×η d ×P d ×Tm d ×365; R farm (k) = R ft (k)+R es (k); R gt (k) = PR gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12; Among them, Cost ft (k+1) is the cost of harvesting agricultural products from facility agriculture; The second calculation module calculates the overall benefit R of the agricultural energy storage power station overall (k) as follows: R overall (k)=Max(R farm (k),R gt (k)); Among them, Max() means taking the maximum value of the value in the brackets; The second acquisition module is used to obtain the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , PCS rectification efficiency ζ c , the charging efficiency of the energy storage battery c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; The third calculation module is used to calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k) = PR batteries *(1-SOH DOD ); C es (k) = ζ c ×η c ×P c ×Tm c ×PR grid (k); The fourth calculation module is used to calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: Coverall (k)=C bl (k)+C es (k); The third acquisition module is used to obtain the indoor temperature T of the facility agriculture energy storage power station at time point k. in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; The fifth calculation module is used to calculate the heat transfer energy consumption Q, as follows: Q = U × A × (T opt -T in (k))×n; Among them, T opt The temperature required to ensure the normal operation of agricultural facilities.
[0031] The sixth calculation module is used to calculate the amount of electricity q obtained by energy storage discharge d , as follows: q d =ζ d ×η d ×P d ×Tm d +(ζ c ×η c ×P c ×Tm c )*η whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat; The seventh calculation module is used to calculate the basic electricity to maintain the operation of the facility building. infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L is the power of the base load; P f is the power of the flexible load; The first judgment module is used to judge the amount of electricity q obtained by energy storage discharge d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust P d and P cThe value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5; The first adjustment module is used to reduce P by using the macro adjustment coefficient α c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); S5.2 Recalculate R overall (k) and C overall (k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If convergence, then P d and P cThe value of is the target value; If it does not converge, continue to follow the steps in S5.1 to calculate P d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
[0032] Since the discharge power P d and charging power P c At the same time, it is the basic heat temperature Q, the income R overall (k) and cost C overall (k) The calculation parameters of the three functions are as follows: d and charging power P c , under the condition that the basic heat temperature Q of facility agriculture to ensure the normal operation of equipment is met, the income from electricity sales is R overall (k) While maximizing, the cost C overall (k) Minimization.
[0033] By adjusting the discharge power P d and charging power P c , so that the income R overall (k) is increasing, while the cost C overall (k) When it continues to decrease and reaches a certain degree of convergence range, determine the current profit R overall (k) is the maximum value, and the cost is C overall (k) is the minimum value, at this time P d and P c The value of is the desired value.
[0034] An electronic device, comprising: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0035] In the embodiments provided in the present application, it should be understood that the disclosed method and system can also be implemented in other ways. The method and system embodiments described above are schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the method and system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flow chart, and the combination of the boxes in the block diagram and / or the flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0036] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0037] On the other hand, a computer-readable storage medium stores computer instructions, which implement the steps of the above method when executed by a processor. The computer program implements the method as described in any one of the first aspects above when executed by a processor. If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory 101 (ROM, Read-Only Memory), a random access memory 101 (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.
[0038] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A method for dispatching electricity using energy storage to enable facility agriculture, characterized in that: The steps include: S1. Calculate the overall benefit R of the agricultural energy storage power station at time point k overall (k); k is the predicted future time point, and k+1 is the time point after k; S2. Calculate the total cost C of the agricultural energy storage power station at time point k overall (k); S3. Calculate the heat transfer energy consumption Q; S4.
1. Calculate the basic electricity required to maintain the operation of the facility building infra ; S4.
2. Compare the amount of electricity q obtained by discharging energy storage d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5; S5. Adjust P c and P d and recalculate R overall (k) and C overall (k), so that q d ≥Q+q infra , and R overall (k) and C overall (k) convergence; at this time, P d and P c The value of is the target value.
2. The method according to claim 1, characterized in that Step S1 is specifically as follows: S1.
1. Obtain the transaction price PR of agricultural products at time point k+1 ft (k+1), the number of agricultural products N ft (k+1), the time-of-use electricity price PR of the city electricity at time k grid (k), PCS inverter efficiency ζ d , the discharge efficiency η of the energy storage battery d , the time-of-use electricity price PR of energy storage electricity at time point k es (k), the discharge power P of the energy storage battery d , the discharge time of the energy storage battery is Tm d , and the unit price PR of the income obtained from participating in the electricity transaction at time k+1 gt (k+1); S1.
2. Calculate the income R that energy storage electricity brings to agriculture through agricultural product trading after participating in agricultural production activities ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k gt (k) as follows: R ft (k)=P ft (k+1)×N ft (k+1)-Cost ft (k+1); R es (k)=(PR grid (k)-PR es (k))×ζ d ×η d ×P d ×Tm d ×365; R farm (k)=R ft (k)+R es (k); R gt (k)=P gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12; Among them, Cost ft (k+1) is the cost of harvesting agricultural products from facility agriculture; S1.
3. Calculate the overall benefit R of the agricultural energy storage power station overall (k) as follows: R overall (k)=Max(R farm (k),R gt (k)); Among them, Max() means taking the maximum value of the value in the brackets.
3. The method according to claim 1, characterized in that: Step S2 is specifically as follows: S2.
1. Get the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , the rectification efficiency of PCS is c , the charging efficiency of the energy storage battery η c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; S2.
2. Calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k)=P batteries *(1-SOH DOD , C es (k)=ζ c ×h c ×P c ×Tm c ×PR grid (k); S2.
3. Calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: C overall (k)=C bl (k)+C es (k)。 4. The method according to claim 1, characterized in that: Step S3 is as follows: S3.
1. Obtain the indoor temperature T of the facility agriculture energy storage power station at time point k in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; S3.
2. Calculate the heat transfer energy consumption Q as follows: Q=U×A×(T opt -T in (k))×n; Among them, T opt The temperature required to ensure the normal operation of agricultural facilities.
5. The method according to claim 1, characterized in that Step S4 is specifically as follows: S4.
1. Calculate the amount of electricity q obtained by discharging energy storage d , as follows: q d =ζ d ×h d ×P d ×Tm d +(g c ×h c ×P c ×Tm c )*or whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat; S4.
2. Calculate the basic electricity required to maintain the operation of the facility building infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L is the power of the base load; P f is the power of the flexible load; S4.
3. Determine the amount of electricity q obtained by discharging energy storage d With Q+q infra Size: If q d ≥Q+q infra , proceed to step S5; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), proceed to step S5.
6. The method according to claim 1, characterized in that Step S5 is specifically as follows: S5.
1. Use macro adjustment coefficient α to reduce P c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); S5.2 Recalculate R overall (k) and C overall (k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If convergence, then P d and P c The value of is the target value; If it does not converge, continue to follow the steps in S5.1 to calculate P d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
7. An energy storage-enabled electricity dispatching device for facility agriculture, characterized in that: include The first acquisition module obtains the transaction price PR of agricultural products at time point k+1 ft (k+1), the number of agricultural products N ft (k+1), the time-of-use electricity price PR of the city electricity at time k grid (k), PCS inverter efficiency ζ d , the discharge efficiency η of the energy storage battery d , the time-of-use electricity price PR of energy storage electricity at time point k es (k), the discharge power P of the energy storage battery d , the discharge time of the energy storage battery is Tm d , and the unit price PR of the income obtained from participating in the electricity transaction at time k+1 gt (k+1); k is the predicted future time point, k+1 is the time point after k; The first calculation module calculates the income R brought to agriculture through agricultural product transactions after energy storage electricity participates in agricultural production activities. ft (k), the electricity cost saving value R of using energy storage for facility agriculture at time k es (k), the total benefit R of using energy storage electricity for facility agriculture at time k farm (k), and the revenue R of energy storage participating in electricity trading at time k gt (k) as follows: R ft (k)=P ft (k+1)×N ft (k+1)-Cost ft (k+1); R es (k)=(PR grid (k)-PR es (k))×ζ d ×η d ×P d ×Tm d ×365; R farm (k)=R ft (k)+R es (k); R gt (k)=P gt (k+1)×(ζ d ×η d ×P d ) ×Tm d ×12; Among them, Cost ft (k+1) is the cost of harvesting agricultural products from facility agriculture; The second calculation module calculates the overall benefit R of the agricultural energy storage power station overall (k) as follows: R overall (k)=Max(R farm (k),R gt (k)); Among them, Max() means taking the maximum value of the value in the brackets; The second acquisition module is used to obtain the original price PR of the energy storage battery pack batteries , the battery decays SOH at the depth of discharge DOD DOD , the rectification efficiency of PCS is c , the charging efficiency of the energy storage battery c , the charging power P of the energy storage battery c , the charging time of the energy storage battery is Tm c ; The third calculation module is used to calculate the battery aging cost C caused by charging and discharging bl (k), the electricity cost C caused by using market-priced electricity for charging es (k) as follows: C bl (k)=P batteries *(1-SOH DOD , C es (k)=ζ c ×h c ×P c ×Tm c ×PR grid (k); The fourth calculation module is used to calculate the total cost C of the agricultural energy storage power station at time point k overall (k) as follows: C overall (k)=C bl (k)+C es (k); The third acquisition module is used to obtain the indoor temperature T of the facility agriculture energy storage power station at time point k. in (k), heat transfer coefficient U, heat transfer area A, heat transfer time n; The fifth calculation module is used to calculate the heat transfer energy consumption Q, as follows: Q=U×A×(T opt -T in (k))×n; Among them, T opt The temperature required to ensure the normal operation of agricultural facilities; The sixth calculation module is used to calculate the amount of electricity q obtained by energy storage discharge d , as follows: q d =ζ d ×h d ×P d ×Tm d +(g c ×h c ×P c ×Tm c )*or whre ; η whre When charging the energy storage battery, it needs to be cooled, and the energy generated by the cooling heat is recovered as waste heat; The seventh calculation module is used to calculate the basic electricity to maintain the operation of the facility building. infra , as follows: q infra =P L *(Tm c +Tm d )+P f *(Tm c +Tm d ); Among them, P L is the power of the base load; P f is the power of the flexible load; The first judgment module is used to judge the amount of electricity q obtained by energy storage discharge d With Q+q infra Size: If q d ≥Q+q infra , perform the steps of the first adjustment module; If q d <Q+q infra , adjust P d and P c The value of q d ≥Q+q infra , and recalculate R overall (k) and C overall (k), perform the steps of the first adjustment module; The first adjustment module is used to reduce P by using the macro adjustment coefficient α c The value of P c ×(1+α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes larger, and the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); If R overall (k) and C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) decreases, C overall (k) value becomes larger, the macro adjustment coefficient α is used to reduce P c The value of P c ×(1-α), use the macro adjustment coefficient α to increase P d The value of P d ×(1+α); If R overall As the value of (k) increases, C overall The value of (k) becomes smaller, and the fine-tuning coefficient θ is used to reduce P c The value of P c ×(1-θ), use fine-tuning coefficient θ to increase P d The value of P d ×(1+θ); The sixth calculation module is used to recalculate R overall (k) and C overall (k) and determine whether q is satisfied d ≥Q+q infra , and judge R overall (k) and C overall (k) whether it converges; If convergence, then P d and P c The value of is the target value; If it does not converge, continue to adjust P according to the steps of the first adjustment module. d and P c The value of is adjusted until q is satisfied d ≥Q+q infra And R overall (k) and C overall (k) converges, at which point P d and P c The value of is the target value.
8. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to claims 1 to 6.
9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to claims 1 to 6 are implemented.