TW201915838A - Particle swarm optimization (PSO) fuzzy logic control (FLC) charging method applicable to smart grid in which a current-state-of-charge input membership function and a state-of-charge-variation input membership function are used to provide fuzzy results through a first and a second fuzzy operations - Google Patents
Particle swarm optimization (PSO) fuzzy logic control (FLC) charging method applicable to smart grid in which a current-state-of-charge input membership function and a state-of-charge-variation input membership function are used to provide fuzzy results through a first and a second fuzzy operations Download PDFInfo
- Publication number
- TW201915838A TW201915838A TW106131817A TW106131817A TW201915838A TW 201915838 A TW201915838 A TW 201915838A TW 106131817 A TW106131817 A TW 106131817A TW 106131817 A TW106131817 A TW 106131817A TW 201915838 A TW201915838 A TW 201915838A
- Authority
- TW
- Taiwan
- Prior art keywords
- battery
- fuzzy
- power
- particle swarm
- charge
- Prior art date
Links
Classifications
-
- Y—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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
本發明係有關於智慧電網電能調度最佳化,特別是關於一種應用於智慧電網之電池儲能模組最佳化充電法。 The invention relates to the optimization of smart grid power dispatching, and in particular to a method for optimizing and charging a battery energy storage module applied to a smart grid.
現今石化燃料和核能仍然是全球能源的主要來源,然而,由於石化能源愈來愈短缺,且使用石化燃料所排放大量温室氣體會造成地球環境、氣候和生態的惡化,世界各國乃於2015年在法國巴黎舉行的第21屆聯合國氣候變化大會(COP21)中通過減碳協議-巴黎協議,以控制温室氣體排放,並訂定在2100年全球平均氣温上升不超過2℃的目標。電能為人類能否繼續邁向文明的首要議題,由於環保觀念與永續發展已成為全球共識,如何更有效率的使用現有的能源,並積極開發新的替代能源,是目前工程科技界首要之務。 Today, petrochemical fuel and nuclear energy are still the main sources of global energy. However, due to the growing shortage of petrochemical energy and the large amount of greenhouse gases emitted by the use of petrochemical fuels will cause the deterioration of the global environment, climate and ecology. The 21st United Nations Climate Change Conference (COP21) in Paris, France adopted a carbon reduction agreement-the Paris Agreement to control greenhouse gas emissions, and set a target for the global average temperature to rise no more than 2 ° C by 2100. Electricity is the most important issue for human beings to continue to become civilized. As environmental protection concepts and sustainable development have become a global consensus, how to use existing energy sources more efficiently and actively develop new alternative energy sources is currently the top priority in the engineering science and technology community. Business.
在許多新興的能源發展中,具有低碳排放和高能源安全性的可再生能源成為最有希望的新一代能源產生技術。全球已經為部署再生能源發電系統做了許多投資和努力,同時政府也為促進這種能源轉型提供了許多的獎勵措施。而隨著許多的再生能源投入到現有的電網系統,勢必對電網的運作安全性與可靠度造成衝擊。由於各種再生能源產出位置不同、出力特性及容量大小也不同,故各種再生能源在與電網併接時可能會產生不同的衝擊;加上如風能和太陽能等再生能源為間歇性能源,電能的輸出量受當地氣候因素影響甚巨,故以再生能源供電一般並無法滿足瞬間的負載增減需求。因此,如能透過電池儲能系統(battery storage system,BSS)儲存多餘的電能,不但能補充尖峰用電需求,也能賣電給電力公司,既可解決能源費用高漲和電力不足的問題,也可緩和電場興建之壓力,減少環境污染。 In many emerging energy developments, renewable energy with low carbon emissions and high energy security has become the most promising new generation energy generation technology. Many investments and efforts have been made globally to deploy renewable energy power generation systems, and governments have also provided many incentives to promote this energy transition. And with the input of many renewable energy sources into the existing grid system, it will inevitably impact the safety and reliability of the grid's operation. Due to the different positions, output characteristics and capacity of various renewable energy sources, various renewable energy sources may have different impacts when they are connected to the power grid. In addition, renewable energy sources such as wind energy and solar energy are intermittent sources of energy. The amount of output is greatly affected by local climate factors, so power supply with renewable energy generally cannot meet the instantaneous load increase and decrease requirements. Therefore, if you can store excess electrical energy through a battery storage system (BSS), you can not only supplement peak demand, but also sell electricity to power companies, which can solve the problem of high energy costs and insufficient power, but also Can ease the pressure of electric field construction and reduce environmental pollution.
為了將分散式再生能源發電併入電網,目前的電網乃須針對基礎建設做重新設計和整體升級,智慧電網(smart grid)便是在這股浪潮下所產生的電力系統架構,其係透過整合不同的再生能源例如風力、太陽能發電以及儲能系 統形成多元及分散性的電力網絡。不同於傳統電網只允許電力從發電機流向消費者,智慧電網著重於再生能源的整合、電能的雙向傳輸與調度以及資料數據的解析與分享,以達到最佳化電力資源之利用。 In order to integrate decentralized renewable energy generation into the grid, the current grid must be redesigned and upgraded as a whole. The smart grid is the power system architecture generated under this wave. Different renewable energy sources such as wind, solar power and energy storage systems form a diverse and decentralized power network. Unlike traditional grids, which only allow electricity to flow from generators to consumers, smart grids focus on the integration of renewable energy, two-way transmission and dispatch of electrical energy, and analysis and sharing of data to optimize the use of power resources.
隨著太陽能發電的投資成本下降和發電方式革新,太陽能發電系統的安裝已變得更具吸引力。然而,在回賣電價下降而零售能源價格卻上漲的情況下,當地家庭發電給自己家庭使用將可得到更多的利潤。因此,一般住宅會裝設具有強健性和高效率的蓄電池儲能系統,以補償經常波動的太陽能發電。使用電池存儲系統,住宅客戶可以保存太陽能供無陽光時使用,功率損耗也可以通過系統中適當的電力調度策略來消除。 With the reduction of investment cost of solar power generation and the innovation of power generation methods, the installation of solar power generation systems has become more attractive. However, when the resale price of electricity drops and retail energy prices rise, local households can generate more profits by generating electricity for their own use. Therefore, general residential houses will be equipped with a robust and efficient battery energy storage system to compensate for the often fluctuating solar power generation. Using a battery storage system, residential customers can save solar energy for use in the absence of sunlight, and power losses can be eliminated through appropriate power dispatching strategies in the system.
然而在設計與實現上,智慧電網亦存在著電力系統工程或電信技術等方面涉及複雜與高度的最佳化問題。文獻中關於智慧電網最佳化議題主要包含以下三方面: However, in terms of design and implementation, there are also complex and highly optimized optimization issues in smart grids involving power system engineering or telecommunications technology. The literature on the optimization of smart grids mainly includes the following three aspects:
1.智慧電網的容量規劃最佳化:混合發電系統期望具有適當的容量或持續滿足負載需求能力,同時以盡可能低的投資和成本,在尋找電力系統的最佳配置,或甚至最佳位置、類型和安裝之前,需要提前確定一個或多個具體準則,通常會以電能損失概率和負荷概率損失來衡量電力的可靠度,而淨現值成本、能源平均成本、和生命週期成本則被用來作為經濟指標。容量規劃最佳化方法基本上可分為概率法,分析法,疊代法和計算智能法。有文獻採用統計方法來描述電池和超級電容器的容量分佈,此類方法是屬於概率容量規劃最佳化方法;另外為研究不同容量規劃和光伏電池系統價格對自身消費和自給自足程度的影響,有文獻進行技術經濟分析和敏感性分析,此類分析方法是屬於容量規劃最佳化的分析法。而有文獻提出再生能源混合最佳化模型之模擬工具,被廣泛應用於分析和模型驗證,此類方法是基於疊代的方法。有文獻提出了一種整合再生能源最佳化模型,在現場條件和季節負荷分佈已知時,基於能源成本和可靠性指標最佳化不同的再生能源系統容量選項。對於計算智能方法的應用,有文獻利用基因演算法來最佳化智慧電網系統所需的組件;此外,基於成本、可靠度、和碳排放標準的考量,有文獻提出基於粒群最佳化方法來處 理此多目標的規劃問題。總之,這些容量規劃最佳化技術的選擇取決於可用的信息、目標、和簡單性。 1. Optimization of capacity planning for smart grids: Hybrid power generation systems are expected to have appropriate capacity or to continuously meet load demand capabilities, while at the same time looking for the best configuration of power systems, or even the best location, with the lowest possible investment and cost. Before the installation, type, and installation, one or more specific criteria need to be determined in advance. The reliability of electricity is usually measured by the probability of loss of electrical energy and the loss of load probability. The net present value cost, average energy cost, and life cycle cost are used. As an economic indicator. The capacity planning optimization methods can basically be divided into probabilistic methods, analytical methods, iterative methods, and computational intelligence methods. Some literatures use statistical methods to describe the capacity distribution of batteries and supercapacitors. Such methods are probabilistic capacity planning optimization methods. In addition, in order to study the impact of different capacity planning and photovoltaic cell system prices on their own consumption and self-sufficiency, there are The literature conducts technical and economic analysis and sensitivity analysis. This type of analysis method is an analysis method that belongs to the optimization of capacity planning. Some literatures have proposed simulation tools for hybrid optimization models for renewable energy, which are widely used in analysis and model verification. Such methods are based on iterative methods. Some literatures have proposed an integrated renewable energy optimization model. When field conditions and seasonal load distributions are known, different renewable energy system capacity options are optimized based on energy costs and reliability indicators. For the application of computational intelligence methods, there are literatures that use genetic algorithms to optimize the components required for smart grid systems. In addition, based on considerations of cost, reliability, and carbon emission standards, some literatures have proposed particle swarm optimization methods. To address this multi-objective planning problem. In summary, the choice of these capacity planning optimization techniques depends on the available information, goals, and simplicity.
2.智慧電網電力調度最佳化:有文獻先建立混合系統中的元件之數學模型,並提出了基於模糊邏輯控制(fuzzy logic control,FLC)之監控系統的小時能量管理,來達成電力的調度和電能管理;亦有文獻藉由數學方法提出了基於混合整數非線性規劃的電力調度策略,以獲得最便宜的價格和分散式能源的最大利用率;或有文獻將限制條件歸納到混合整數線性規劃模型內,並將功率削減策略整合到負載和功率管理中。此外,基於計算智能的方法被廣泛應用於混合發電系統,有文獻就由基因演算法最佳化了由風力發電機,微型渦輪機,太陽能電池陣列和蓄電池組成的獨立型混合發電系統。另一方面,有學者提出杜鵑搜尋法來最佳化具電池組,光伏系統和柴油發電機運轉的模糊邏輯控制系統,從而實現多目標的最小化,其包括供電概率的損失、過剩能量、和均一化能源成本能夠實現。為了最小化柴油發電機和電池組提供的能源,有文獻對風速和負載功率進行了準確的預測。也有文獻提出一種階層控制策略,其由用於獨立混合發電系統的主從控制所組成,主控制策略負責確定參考功率,而從屬控制策略修改這些參考以滿足動態限制。另外有學者提出了一種基於立群最佳化的方法來解決多目標最佳化問題,其目的是最小化總運營成本、燃料排放、和負載概率的損失。在另一個類似的研究中提出伴隨模糊技術的差分演化算法。對於併網架構,有文獻設計了一個微電網電力系統的監督策略,所提出的策略能夠切換運轉模式,以最小化操作成本。也有文獻考慮了太陽能功率準位和燃料電池的控制模式,以最小化操作模式的變化數量,並控制太陽能和燃料電池分別在最大功率點和高效率下運行。 2. Optimization of smart grid power dispatching: Some literature first established a mathematical model of components in a hybrid system, and proposed the hourly energy management of a monitoring system based on fuzzy logic control (FLC) to achieve power dispatching And energy management; there are also literatures that use mathematical methods to propose power dispatching strategies based on mixed-integer nonlinear programming to obtain the cheapest price and maximum utilization of decentralized energy; or there are literatures that summarize the constraints to mixed-integer linear Planning models and integrating power reduction strategies into load and power management. In addition, methods based on computational intelligence are widely used in hybrid power generation systems. Genetic algorithms have been used in literature to optimize independent hybrid power generation systems consisting of wind turbines, microturbines, solar cell arrays, and batteries. On the other hand, some scholars proposed the cuckoo search method to optimize the fuzzy logic control system for the operation of battery packs, photovoltaic systems, and diesel generators, thereby achieving multi-target minimization, which includes the loss of power supply probability, excess energy, and Uniform energy costs can be achieved. In order to minimize the energy provided by diesel generators and battery packs, the literature has accurately predicted wind speed and load power. There is also a literature that proposes a hierarchical control strategy that consists of master-slave control for an independent hybrid power generation system. The master control strategy is responsible for determining reference power, while the slave control strategy modifies these references to meet dynamic limits. In addition, some scholars have proposed a method based on Liquor Group Optimization to solve the multi-objective optimization problem, whose purpose is to minimize the total operating cost, fuel emissions, and loss of load probability. In another similar study, a differential evolution algorithm accompanied by fuzzy technology was proposed. For the grid-connected architecture, there is a literature design of a monitoring strategy for the microgrid power system. The proposed strategy can switch the operation mode to minimize the operation cost. There are also literatures that consider solar power levels and control modes of fuel cells to minimize the number of changes in operating modes, and control solar and fuel cells to operate at maximum power points and high efficiency, respectively.
3.智慧電網控制設計最佳化:為了充分利用混合發電系統中的子系統,控制策略在進一步提高效率和與其他子系統的合作扮演很重要的角色,針對智慧電網中之電池存儲系統,已經有許多文獻提出不同的操作策略。例如,在文獻中當考量到光伏電池系統時,配電系統運營商和地區電力公司的需求有很清楚的說明,其中最佳化電池充電功率是由動態規劃法來決定,各種充電目 標先被納入目標函數,然後進行多目標最佳化,所提出的動態規劃法每隔15分鐘執行一次剩餘電量值離散化,從而評估從一天開始的初始剩餘電量到一天結束的所有可能的充電軌跡,因此可得到具有最小目標函數值相對應的剩餘電量序列之最佳電池充電曲線。此方法不像先前文獻先設定目標,而是由自消耗比、自供給率、峰值電壓降低比、和損失比率等指標來確定不同方法之間的特徵,並利用這些指標來分析住宅光伏儲能系統的不同控制策略。另一方面,有文獻結合計算智能和先進控制技術來提升更寬廣的電池儲能系統應用,例如,為了降低操作成本,有文獻利用進化演算法最佳化閉迴路控制器中負責充放電控制的參數,以這種方式,如果饋入(feed-in)補償稅率是可變的,則可降低能源成本。另外有文獻採用牛頓-拉夫生線性規化疊代演算法,於微電網的能量管理,並用基因演算法做具有分散式儲能系統之分散式再生能源發電系統之容量規劃。此外,基於模糊邏輯控制的方法常被應用於電池儲能系統中,以執行不同目的的控制技術,有文獻為了降低微電網的操作成本,提出了一種前日調度的演算法,並建立了一個模糊專家系統來控制儲能系統的輸出功率。為了最小化微電網公共耦合點的有效功率交換,有文獻考量了電池的剩餘電量,並為微電網中的電池儲能系統設計了基於模糊邏輯控制的控制策略,以根據不同的操作模式調整電池儲能系統的有效功率參考值。而為了保持電池循環壽命,有文獻設計了一種模糊邏輯控制機制以使電池儲能系統操作在所要的剩餘電量範圍內。 3. Optimization of smart grid control design: In order to make full use of the subsystems in the hybrid power generation system, control strategies play an important role in further improving efficiency and cooperation with other subsystems. For battery storage systems in smart grids, There are many literatures suggesting different operating strategies. For example, when the photovoltaic cell system is considered in the literature, the needs of distribution system operators and regional power companies are clearly stated. Among them, the optimization of battery charging power is determined by the dynamic programming method, and various charging targets are included first. The objective function is then multi-objective optimized. The proposed dynamic programming method discretizes the remaining power value every 15 minutes to evaluate all possible charging trajectories from the initial remaining power at the beginning of the day to the end of the day. An optimal battery charging curve is obtained with the remaining power sequence corresponding to the minimum objective function value. This method does not set targets like the previous literature, but uses the self-consumption ratio, self-supply ratio, peak voltage reduction ratio, and loss ratio to determine the characteristics between different methods, and uses these indicators to analyze residential photovoltaic energy storage Different control strategies of the system. On the other hand, there are literatures that combine computational intelligence and advanced control technologies to promote wider battery energy storage system applications. For example, in order to reduce operating costs, there are literatures that use evolutionary algorithms to optimize the charge-discharge control in closed-loop controllers. Parameter, in this way, if the feed-in compensation tax rate is variable, energy costs can be reduced. In addition, there are references in the literature that use Newton-Raphson linear regularization iterative algorithms for energy management in microgrids, and genetic algorithms for capacity planning of distributed renewable energy power generation systems with distributed energy storage systems. In addition, fuzzy logic control-based methods are often used in battery energy storage systems to perform control techniques for different purposes. Some literatures have proposed a day-to-day scheduling algorithm to reduce the operating cost of microgrids, and established a fuzzy Expert system to control the output power of the energy storage system. In order to minimize the effective power exchange at the common coupling point of the microgrid, the literature considers the remaining power of the battery, and designs a control strategy based on fuzzy logic control for the battery energy storage system in the microgrid to adjust the battery according to different operating modes. Reference value of the effective power of the energy storage system. In order to maintain the battery cycle life, some literatures have designed a fuzzy logic control mechanism to make the battery energy storage system operate within the required remaining power range.
然而上述方法的運算複雜度較高,也無法滿足用電戶多樣的能源使用行為而達到最低的操作成本,因此本領域亟需一新穎的最佳化模糊邏輯控制充電法。 However, the above method has high computational complexity and cannot meet the diverse energy usage behaviors of power consumers to achieve the lowest operating cost. Therefore, a novel optimization fuzzy logic control charging method is urgently needed in this field.
本發明之一目的在於揭露一種粒群最佳化模糊邏輯控制充電法,其係以目前的電池電量(state of charge,SOC)和電池電量變動量△SOC作為模糊邏輯控制輸入變數,以有效地進行模糊邏輯控制運算,並防止不當的充放電所產生的電池損壞。 It is an object of the present invention to disclose a particle swarm optimization fuzzy logic control charging method, which uses the current state of charge (SOC) and the change amount of battery power ΔSOC as fuzzy logic control input variables to effectively Perform fuzzy logic control operations and prevent battery damage caused by improper charging and discharging.
本發明之另一目的在於揭露一種粒群最佳化模糊邏輯控制充電法,其係採用粒群演算法來最佳化SOC和△SOC輸入歸屬函數的論域設定值,以滿足多樣的能源使用行為而達到最低的操作成本。 Another object of the present invention is to disclose a particle swarm optimization fuzzy logic control charging method, which uses a particle swarm optimization algorithm to optimize the set values of the SOC and △ SOC input attribution functions to satisfy various energy uses. To achieve the lowest operating costs.
本發明之又一目的在於揭露一種粒群最佳化模糊邏輯控制充電法,其能使98.6%的房屋實現最低操作成本,亦能最小化單一房屋每年平均電能費用支出。 Another object of the present invention is to disclose a particle swarm optimization fuzzy logic control charging method, which can achieve the lowest operating cost of 98.6% of houses, and can also minimize the average annual energy cost of a single house.
為達前述目的,一種粒群最佳化模糊邏輯控制充電法乃被提出,其係利用一控制電路實現,包括以下步驟:輸入一目前電池電量及將該目前電池電量與一前次電池電量比較以得出一電池電量變動量;依一目前電池電量輸入歸屬函數對該目前電池電量進行一第一模糊化運算以獲得一第一模糊化結果及依一電池電量變動量輸入歸屬函數對該電池電量變動量進行一第二模糊化運算以獲得一第二模糊化結果,其中,該目前電池電量輸入歸屬函數及該電池電量變動量輸入歸屬函數均係依一粒群演算法預先決定;依該第一模糊化結果及該第二模糊化結果映射一規則庫以產生一第三模糊化結果;依一輸出歸屬函數對該第三模糊化結果進行一解模糊化運算以得出一充電率;以及將該充電率乘以一電池額定功率以決定一充電功率指令。 In order to achieve the foregoing object, a particle swarm optimization fuzzy logic control charging method is proposed, which is implemented using a control circuit, including the following steps: inputting a current battery level and comparing the current battery level with a previous battery level To obtain a battery power fluctuation amount; perform a first fuzzification operation on the current battery power according to a current battery power input attribution function to obtain a first fuzzification result; and input a battery function power attribution function to the battery A second fuzzification operation is performed to obtain a second fuzzification result for the amount of power variation, wherein the current battery power input attribution function and the battery power input variation attribution function are determined in advance according to a particle group algorithm; Mapping a first fuzzy result and the second fuzzy result to a rule base to generate a third fuzzy result; performing a deblurring operation on the third fuzzy result according to an output assignment function to obtain a charging rate; And multiplying the charging rate by a battery rated power to determine a charging power command.
在一實施例中,該目前電池電量輸入歸屬函數對應到五個語意參數,其中S代表小,MS代表中的小,M代表中,ML代表中的大,L代表大;該電池電量變動量輸入歸屬函數對應到五個語意參數,其中NL代表負的大,NS代表負的小,Z代表零,PS代表正的小,PL代表正的大;該輸出歸屬函數對應到五個語意參數,其中S代表小,MS代表中的小,M代表中,ML代表中的大,L代表大。在一實施例中,該目前電池電量輸入歸屬函數及該電池電量變動量輸入歸屬函數經該粒群演算法預先決定後均剩下三個模糊子集。 In an embodiment, the current battery power input attribution function corresponds to five semantic parameters, where S represents small, MS represents small, M represents medium, ML represents large, and L represents large; the amount of battery power variation The input assignment function corresponds to five semantic parameters, where NL represents negative large, NS represents negative small, Z represents zero, PS represents positive small, and PL represents positive large; the output assignment function corresponds to five semantic parameters, Among them, S is small, MS is small, M is medium, ML is large, and L is large. In an embodiment, the current battery power input attribution function and the battery power variation input attribution function are determined in advance by the particle swarm algorithm, and three fuzzy subsets remain.
在一實施例中,該粒群演算法係利用一適應值函數來實現最小化多住宅電能管理操作成本。 In one embodiment, the particle swarm optimization algorithm uses an fitness function to minimize the operation cost of multi-residential energy management.
在一實施例中,該適應值函數為:
為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如後。 In order to enable your reviewers to further understand the structure, characteristics, and purpose of the present invention, drawings and detailed descriptions of the preferred embodiments are attached below.
步驟a‧‧‧輸入一目前電池電量及將該目前電池電量與一前次電池電量比較以得出一電池電量變動量 Step a‧‧‧Enter a current battery level and compare the current battery level with a previous battery level to obtain a battery level change
步驟b‧‧‧依一目前電池電量輸入歸屬函數對該目前電池電量進行一第一模糊化運算以獲得一第一模糊化結果及依一電池電量變動量輸入歸屬函數對該電池電量變動量進行一第二模糊化運算以獲得一第二模糊化結果,其中,該目前電池電量輸入歸屬函數及該電池電量變動量輸入歸屬函數均係依一粒群演算法預先決定 Step b‧‧‧ performs a first fuzzification operation on the current battery power according to a current battery power input attribution function to obtain a first fuzzification result, and performs a battery power change on the battery power variation based on a battery power variation input A second fuzzification operation to obtain a second fuzzification result, wherein the current battery power input attribution function and the battery power variation input attribution function are determined in advance according to a particle group algorithm
步驟c‧‧‧依該第一模糊化結果及該第二模糊化結果映射一規則庫以產生一第三模糊化結果 Step c‧‧‧ maps a rule base according to the first fuzzy result and the second fuzzy result to generate a third fuzzy result
步驟d‧‧‧依一輸出歸屬函數對該第三模糊化結果進行一解模糊化運算以得出一充電率 Step d‧‧‧ performs a deblurring operation on the third fuzzy result according to an output attribution function to obtain a charging rate
步驟e‧‧‧將該充電率乘以一電池額定功率以決定一充電功率指令 Step e‧‧‧ multiplies the charging rate by a battery rated power to determine a charging power command
圖1繪示本發明之粒群最佳化模糊邏輯控制充電法之一實施例步驟流程圖。 FIG. 1 is a flowchart of steps in an embodiment of a particle swarm optimization fuzzy logic control charging method according to the present invention.
圖2繪示住宅型光伏電池儲能系統之運用情形示意圖。 Fig. 2 is a schematic diagram showing the application of a residential photovoltaic battery energy storage system.
圖3a繪示用戶平均每日之多餘功率。 Figure 3a shows the average daily excess power of the user.
圖3b繪示一年內用戶之最大多餘功率增量。 Figure 3b shows the maximum excess power increase of the user within one year.
圖4繪示由Rosenkranz模型所得之磷酸鐵鋰電池之循環壽命對放電深度曲線。 FIG. 4 shows the cycle life versus discharge depth curve of the lithium iron phosphate battery obtained from the Rosenkranz model.
圖5繪示本發明所採之輸入與輸出變數的歸屬函數。 FIG. 5 illustrates the assignment functions of the input and output variables adopted by the present invention.
圖6繪示本發明所採之模糊邏輯控制的系統架構。 FIG. 6 illustrates a system architecture of fuzzy logic control adopted by the present invention.
圖7繪示模糊邏輯控制之規則庫推導情形。 FIG. 7 illustrates a rule base derivation situation of fuzzy logic control.
圖8繪示某日的功率模擬結果剖面圖。 FIG. 8 is a sectional view of a power simulation result on a certain day.
圖9繪示SOC和△SOC之最佳化輸入MF的論域設定值。 FIG. 9 shows the universe setting values of the optimized input MF of SOC and ΔSOC.
圖10a繪示貪婪法、FID法和FuzzyN法達成最低電能管理操作成本的百分比之模擬結果。 FIG. 10a shows the simulation results of the percentage of the minimum power management operation cost achieved by the greedy method, the FID method, and the FuzzyN method.
圖10b繪示計算系統總操作最小成本與FuzzyN法的成本差。 Figure 10b shows the difference between the minimum cost of the total operation of the computing system and the cost of the FuzzyN method.
圖11繪示PSO每次疊代運算中記錄的gbest值。 FIG. 11 illustrates the g best value recorded in each iteration of the PSO.
圖12繪示74戶住宅在四種方法之年度電能管理操作成本。 Figure 12 shows the annual energy management operating costs of 74 homes in four ways.
請參照圖1,其繪示本發明之粒群最佳化模糊邏輯控制充電法之一實施例步驟流程圖。 Please refer to FIG. 1, which illustrates a flowchart of steps in an embodiment of the particle swarm optimization fuzzy logic control charging method of the present invention.
如圖1所示,本發明之粒群最佳化模糊邏輯控制充電法包括以下步驟:輸入一目前電池電量及將該目前電池電量與一前次電池電量比較以得出一電池電量變動量(步驟a);依一目前電池電量輸入歸屬函數對該目前電池電量進行一第一模糊化運算以獲得一第一模糊化結果及依一電池電量變動量輸入歸屬函數對該電池電量變動量進行一第二模糊化運算以獲得一第二模糊化結果,其中,該目前電池電量輸入歸屬函數及該電池電量變動量輸入歸屬函數均係依一粒群演算法預先決定(步驟b);依該第一模糊化結果及該第二模糊化結果映射一規則庫以產生一第三模糊化結果(步驟c);依一輸出歸屬函數對該第三模糊化結果進行一解模糊化運算以得出一充電率(步驟d);以及將該充電率乘以一電池額定功率以決定一充電功率指令(步驟e)。 As shown in FIG. 1, the particle swarm optimization fuzzy logic control charging method of the present invention includes the following steps: inputting a current battery level and comparing the current battery level with a previous battery level to obtain a battery level change amount ( Step a); Perform a first fuzzification operation on the current battery power according to a current battery power input attribution function to obtain a first fuzzification result and perform a The second fuzzification operation obtains a second fuzzification result, wherein the current battery power input attribution function and the battery power variation input attribution function are determined in advance according to a particle group algorithm (step b); according to the first A fuzzing result and the second fuzzing result are mapped to a rule base to generate a third fuzzing result (step c); a deblurring operation is performed on the third fuzzing result according to an output attribution function to obtain a The charging rate (step d); and multiplying the charging rate by a battery rated power to determine a charging power command (step e).
其中,該目前電池電量輸入歸屬函數對應到五個語意參數,其中S代表小,MS代表中的小,M代表中,ML代表中的大,L代表大;該電池電量變動量輸入歸屬函數對應到五個語意參數,其中NL代表負的大,NS代表負的小,Z代表零,PS代表正的小,PL代表正的大;該輸出歸屬函數對應到五個語意參數,其中S代表小,MS代表中的小,M代表中,ML代表中的大,L代表大。 Among them, the current battery power input attribution function corresponds to five semantic parameters, where S stands for small, MS stands for small, M stands for ML, large stands for L, and L stands for large. To five semantic parameters, where NL represents negative large, NS represents negative small, Z represents zero, PS represents positive small, and PL represents positive large; the output attribution function corresponds to five semantic parameters, where S represents small , MS stands for small, M stands for medium, ML stands for large, and L stands for large.
該目前電池電量輸入歸屬函數及該電池電量變動量輸入歸屬函數經該粒群演算法預先決定後均剩下三個模糊子集,且該粒群演算法係利用一適應值函數來實現最小化多住宅電能管理操作成本。 The current battery power input attribution function and the battery power change input attribution function are determined by the particle swarm algorithm in advance, and there are three fuzzy subsets left, and the particle swarm algorithm uses an fitness function to minimize Cost of multiple residential energy management operations.
以下將針對本發明的系統架構進行說明: The following describes the system architecture of the present invention:
不同於先前電力調度策略只為單一房屋設計和驗證的研究,本案提出一具有適應性的控制演算法,以實現沒有氣象或負荷預測條件下的最低發電成本。 Different from the previous research on the design and verification of power dispatching strategies for a single house, this case proposes an adaptive control algorithm to achieve the lowest power generation cost without weather or load forecasting conditions.
請參照圖2,其繪示住宅型光伏儲能系統之運用情形示意圖。 Please refer to FIG. 2, which shows a schematic diagram of the application of a residential photovoltaic energy storage system.
如圖所示,光伏發電系統所生成之發電量,除了能供家戶耗電使用之外,如有剩餘電力亦能向電池儲能系統進行充電。而電池儲能系統除了接 受光伏發電系統充電外,也能向外界進行放電,並能視用電需求而決定向公共電網售電或購電。 As shown in the figure, in addition to the power generated by the photovoltaic power generation system, it can be used to charge the battery energy storage system if there is surplus power. The battery energy storage system, in addition to being charged by the photovoltaic power generation system, can also discharge to the outside world, and can decide to sell or purchase electricity from the public power grid depending on the demand for electricity.
請一併參照圖3a~圖3b,其中圖3a其繪示用戶平均每日之多餘功率;圖3b其繪示一年內用戶之最大多餘功率增量。 Please refer to FIG. 3a to FIG. 3b together, wherein FIG. 3a shows the average daily excess power of the user; and FIG. 3b shows the maximum excess power increase of the user within one year.
如圖所示,本發明研究的社區共74戶,其中每棟房屋均於屋頂安裝面積相同之光伏發電系統,由於各戶具有不同的能源使用行為,因此個別的用電消耗曲線彼此不同。 As shown in the figure, the community studied by the present invention has a total of 74 households, and each house has a photovoltaic power generation system with the same roof area. Since each household has different energy usage behaviors, the individual power consumption curves are different from each other.
根據統計數據,平均4-6人之家庭每年消耗電量約為4.3MWh至4.75MWh之間。為了公平進行比較各種控制方法所需的成本,本發明將每年測量的家庭能源消耗數據訂為4.5MWh。 According to statistics, the average annual power consumption of a family of 4-6 people is between 4.3MWh and 4.75MWh. In order to make a fair comparison of the costs required for various control methods, the present invention sets the annual household energy consumption data measured to 4.5MWh.
儘管每楝房屋的電能需求相同,但負載功率消耗型式仍不相同,因此可以清楚地看到不同功率消耗型式的特徵,但本發明不針對各種負載功率消耗型式進行分類。 Although the power demand of each house is the same, the load power consumption patterns are still different, so the characteristics of different power consumption patterns can be clearly seen, but the present invention does not classify various load power consumption patterns.
其中,光伏發電數據係由設置於屋頂之太陽能電池以1秒的解析度所計算得到的,相同的光伏數據均適用於74個住戶房屋,但忽略了類比/數位轉換的功率損耗及太陽能電池模組的退化率,光伏發電的峰值功率按每年4017kWh的發電量定為4.4kWp。 Among them, photovoltaic power generation data is calculated by a solar cell installed on the roof with a resolution of 1 second. The same photovoltaic data is applicable to 74 residential houses, but the power loss of analog / digital conversion and the solar cell model are ignored. The degradation rate of the group and the peak power of photovoltaic power generation are set to 4.4kWp according to the annual power generation of 4017kWh.
在電池儲能系統方面,由於鋰離子電池在各種電化學技術中,其具有高效率、高可擴展性、和長循環壽命的特點,因此本發明之研究中,使用目前最先進的磷酸鐵鋰(LiFePO4)電池,容量為4.4kWh。 In terms of battery energy storage systems, because lithium-ion batteries have the characteristics of high efficiency, high scalability, and long cycle life in various electrochemical technologies, the research of the present invention uses the most advanced lithium iron phosphate at present. (LiFePO 4 ) battery with a capacity of 4.4 kWh.
對於固定式存儲系統中的電池,老化效應對於容量衰退有著至關重要的影響,甚至支配了電池的經濟性能,電池老化將增加電池更換成本。電池的老化效應是一種複雜的電化學反應過程,涉及許多變量,且存在定時老化和循環老化等導致容量衰退之情況,在本發明中將各別效應加總並考慮其總老化效應。 For batteries in fixed storage systems, the aging effect has a crucial impact on capacity decline, and even dominates the battery's economic performance. Battery aging will increase battery replacement costs. The aging effect of a battery is a complex electrochemical reaction process, involving many variables, and there are situations where capacity degradation occurs such as timed aging and cyclic aging. In the present invention, the individual effects are added up and the total aging effect is considered.
為了計算循環老化的容量衰減,Rosenkranz等學者提出基於Wöhler曲線的模型,用來評估在等效全週期的假設下之電池循環老化。在給定的放電深度(depth of discharge,DoD)下,剩餘的循環壽命如方程式(1)所示。 In order to calculate the capacity degradation of cyclic aging, Rosenkranz and other scholars proposed a model based on the Wöhler curve to evaluate the cyclic aging of the battery under the assumption of equivalent full cycle. At a given depth of discharge (DoD), the remaining cycle life is shown in equation (1).
其中,cycle lifetime係指二次電池在反覆充放電的使用下,電池容量逐漸下降之情形,通常以該二次電池之額定容量作標準,DoD為放電深度係指與該二次電池之額定容量比較之下,放電電量的比率。 Among them, cycle lifetime refers to the situation in which the battery capacity gradually decreases under repeated charging and discharging. Generally, the rated capacity of the secondary battery is used as the standard. DoD is the discharge depth refers to the rated capacity of the secondary battery. By comparison, the ratio of discharged electricity.
請參照圖4,其繪示由Rosenkranz模型所得之磷酸鐵鋰電池之循環壽命對放電深度曲線。 Please refer to FIG. 4, which illustrates the cycle life versus discharge depth curve of a lithium iron phosphate battery obtained from the Rosenkranz model.
如圖所示,其中循環壽命對放電深度曲線即Rosenkranz模型所稱之循環老化情形。假設本發明所使用之磷酸鐵鋰(LiFePO4)電池有20年壽命,則定時老化可由每個取樣時間計算得知,更換電池的標準係指當該電池之剩餘容量減少到額定容量的80%,即80%電池健康狀況(SOH)。 As shown in the figure, the cycle life versus discharge depth curve is called the cyclic aging situation in Rosenkranz model. Assuming that the lithium iron phosphate (LiFePO 4 ) battery used in the present invention has a life span of 20 years, the periodic aging can be calculated from each sampling time. The standard for replacing the battery means that when the remaining capacity of the battery is reduced to 80% of the rated capacity , Which is 80% battery health (SOH).
以下介紹各種操作情況之經費計算。先前的文獻研究分析了家用電池儲能系統的可行性和必要性,盡管各國的能源激勵政策和法規不盡相同,但住宅電價上漲和電池成本下降在文獻中均有揭露。本發明的操作情況係假設有安裝電池儲能系統的投資比沒有安裝的系統更有利,而較有利的操作情況高度依賴於系統的組成、規格、和相關法規。 The following describes the calculation of funds for various operating situations. Previous literature studies have analyzed the feasibility and necessity of home battery energy storage systems. Although energy incentive policies and regulations vary from country to country, rising residential electricity prices and falling battery costs have been disclosed in the literature. The operating situation of the present invention assumes that the investment of installing a battery energy storage system is more favorable than the system without installing, and the more favorable operating situation is highly dependent on the system's composition, specifications, and related regulations.
其中,電力零售稅額是由2004年至2014年德國的歷史價格推算得知,而電池的成本是從未來價值估算所推算得到。以20年的折舊期來算,根據之前文獻的分析,當零售電價高於33歐元/千瓦時,電池成本低於430歐元/千瓦時,則裝置電池儲能系統將可獲利,其中包含每年4%的利息和2%的通貨膨脹率,並設未來20年屋頂光伏發電系統的饋入電價為12.31歐元/千瓦,全面補貼家用光伏儲能系統的最大饋入限制為50%的峰值光伏功率。為了公平比較,所有的控制策略均係在相同的經費計算條件下,操作一年的時間來進行計算與比較。 Among them, the electricity retail tax is estimated from the historical price of Germany from 2004 to 2014, and the cost of the battery is estimated from the future value estimate. Based on a 20-year depreciation period, according to the analysis of previous literature, when the retail electricity price is higher than 33 euros / kWh and the battery cost is less than 430 Euros / kWh, the device battery energy storage system will be profitable, including the annual 4% interest and 2% inflation rate, and set the feed-in price of the rooftop photovoltaic power generation system to 12.31 euros / kW in the next 20 years, and the maximum feed-in limit for a fully subsidized domestic photovoltaic energy storage system is 50% of the peak photovoltaic power . For fair comparison, all control strategies are calculated and compared for one year under the same funding calculation conditions.
在單戶家庭光伏電池儲能系統中,電池功率和電網功率可被視為是可控變數,以滿足功率平衡和負載需求,如方程式(2)所示。 In a single-family household photovoltaic battery energy storage system, battery power and grid power can be considered as controllable variables to meet power balance and load requirements, as shown in equation (2).
P load +P PV +P grid +P battery =0 (2) P load + P PV + P grid + P battery = 0 (2)
其中,Pload為負載需量、PPV為光伏發電量、Pgrid為電力系統功率、Pbattery為電池充放電功率。 Among them, P load is the load demand, P PV is the photovoltaic power generation, P grid is the power system power, and P battery is the battery charge and discharge power.
然而,電價上漲及低的饋入電價使得用戶不願使用電網的電力。因此,增加自我消費是較有利方式,故光伏發電越能滿足住戶用電需求,所需由電網購買的電力就越少,為了達此目的,充分利用電池電力變得相當重要。當光伏發電量不足時,電池能夠存儲剩餘電力和輸出存儲的電力,則淨功率如方程式(3)所示。 However, rising electricity prices and low feed-in electricity prices have made consumers reluctant to use electricity from the grid. Therefore, increasing self-consumption is a more favorable method. Therefore, the more photovoltaic power generation can meet the household electricity demand, the less electricity needs to be purchased from the grid. In order to achieve this purpose, it is important to make full use of battery power. When the photovoltaic power generation is insufficient, the battery can store the remaining power and output the stored power, and the net power is shown in equation (3).
P net =P load -P PV (3) P net = P load - P PV (3)
多餘功率則如方程式(4)所示,其中Pnet為光伏發電量扣除電池儲能系統電量後之淨功率,其中Psurplus為多餘功率。 The excess power is shown in equation (4), where P net is the net power after the amount of photovoltaic power generation deducted from the battery energy storage system, and P surplus is the excess power.
P surplus =-P net (4) P surplus = -P net (4)
然而,由於電池容量隨時間和循環次數而降低的事實,以及由饋入限制導致的功率減少,使得電池儲能系統的充電/放電控制變得不容易,為了要獲得家用光伏電池儲能系統的最低運轉成本,需要一套周全的控制策略。 However, due to the fact that the battery capacity decreases with time and number of cycles, and the power reduction caused by the feed-in restriction, the charge / discharge control of the battery energy storage system becomes difficult. The lowest operating cost requires a comprehensive control strategy.
考慮到住宅用的光伏電池儲能系統具有非線性及動態等特性,習知對實際物理系統建模的控制方法已不再具有優勢,加上光伏電池儲能系統內存在許多變量和不確定性,導致習知的系統既不適合實際實驗也不適用於數學建模。 Considering the non-linear and dynamic characteristics of residential photovoltaic cell energy storage systems, the conventional control method for modeling actual physical systems is no longer advantageous, and there are many variables and uncertainties in photovoltaic cell energy storage systems. As a result, the known system is neither suitable for practical experiments nor for mathematical modeling.
為了解決住宅光伏電池儲能系統的電力調度問題,本發明採用模糊邏輯控制(FLC)設計,由於FLC具有不需氣象預測亦能適當地將電能充電到電池中之優點,習知技術也有以目前電池電量(SOC)和剩餘功率作為輸入變數之FLC的充電方法來實現較低的操作成本。 In order to solve the power dispatching problem of residential photovoltaic battery energy storage systems, the present invention adopts a fuzzy logic control (FLC) design. Because FLC has the advantage of not needing weather forecasting, it can also properly charge electrical energy into the battery. The battery charge (SOC) and the remaining power are used as input variables for the FLC charging method to achieve lower operating costs.
本發明採用目前的SOC和△SOC作為FLC的輸入變數:The present invention uses the current SOC and △ SOC as the input variables of the FLC:
社區住戶用電型式的多樣化使得傳統的FLC充電方法用於單一戶中不再具有優勢,而剩餘電力的歸屬函數(membership function,MF)的論域設定值係固定的,無法滿足各種輸入剩餘電力的情況,故以剩餘電力為輸入變數的FLC充電方法未必是最佳的,為了有效地進行FLC運算,本發明採用目前的SOC和△SOC作為輸入變數,其中△SOC之定義如方程式(5)所示。 The diversification of the types of electricity used by residents in the community makes the traditional FLC charging method no longer advantageous in a single household, and the set value of the membership function (MF) of the remaining power is fixed, which cannot meet the various input surpluses. The state of power, so the FLC charging method with the remaining power as the input variable may not be the best. In order to effectively perform the FLC operation, the present invention uses the current SOC and ΔSOC as the input variables, where ΔSOC is defined as equation (5 ).
△SOC=SOC(t)-SOC(t-1) (5) △ SOC = SOC ( t ) -SOC ( t -1) (5)
目前的SOC能提供電池儲能系統必要信息,而本發明以△SOC做為輸入變數之一,則能防止防止不當的充放電所產生的電池損壞。 The current SOC can provide necessary information for the battery energy storage system, and the present invention uses ΔSOC as one of the input variables, which can prevent battery damage caused by improper charging and discharging.
請參照圖5,其繪示本發明所採之輸入與輸出變數的歸屬函數。如圖所示,本發明之輸出變數為充電率(charging ratio,CR),係由0到1範圍解模糊化後獲得,然後將CR乘以電池額定功率作為充電功率指令。 Please refer to FIG. 5, which illustrates the assignment functions of the input and output variables adopted by the present invention. As shown in the figure, the output variable of the present invention is a charging ratio (CR), which is obtained by defuzzifying the range from 0 to 1, and then multiplying CR by the rated power of the battery as the charging power command.
其中,每個變數均包含5個與語意程度相對應的模糊子集,語意參數S代表小,MS代表中的小,M代表中,ML代表中的大,L代表大,NL代表負的大,NS代表負的小,Z代表零,PS代表正的小,PL代表正的大。 Among them, each variable contains 5 fuzzy subsets corresponding to the degree of semantics. The semantic parameter S represents small, MS represents small, M represents medium, ML represents large, L represents large, and NL represents negative large. , NS represents negative small, Z represents zero, PS represents positive small, and PL represents positive large.
請參照圖6,其繪示本發明所採之模糊邏輯控制的系統架構。 Please refer to FIG. 6, which illustrates a system architecture of fuzzy logic control adopted by the present invention.
如圖所示,該系統架構係由模糊化輸入/輸出歸屬函數、模糊推論引擎、規則庫和解模糊化組成。 As shown in the figure, the system architecture consists of fuzzy input / output attribution function, fuzzy inference engine, rule base, and defuzzification.
由於輸入歸屬函數SOC和△SOC各自對應5個語意參數,如SOC對應到S、MS、M、ML、L;△SOC對應到NL、NS、Z、PS、PL,因此模糊邏輯控制器會有25條規則。基於模擬的實證結果,可以推導出如表1所示之規則庫,其中,負的△SOC表示放電;正的△SOC則表示充電。 Since the input attribution functions SOC and △ SOC each correspond to 5 semantic parameters, such as SOC corresponds to S, MS, M, ML, L; △ SOC corresponds to NL, NS, Z, PS, PL, so the fuzzy logic controller will have 25 rules. Based on the empirical results of the simulation, the rule base shown in Table 1 can be derived, where a negative ΔSOC indicates discharge; a positive ΔSOC indicates charging.
操作原理為電池儘可能在白天充電,同時適當保持電池容量以備中午時很有可能發生的功率減少需求,因此期望能從善用再生能源以及從儲能系統中減少功率損耗中獲益。 The operating principle is that the battery is charged as much as possible during the day, while maintaining the battery capacity appropriately for the power reduction demand that is likely to occur at noon, so it is expected to benefit from the good use of renewable energy and the reduction of power loss from energy storage systems.
請參照圖7,其繪示模糊邏輯控制之規則庫推導情形。 Please refer to FIG. 7, which illustrates a rule base derivation situation of fuzzy logic control.
如圖所示,其推論規則為:如果電池SOC為低(SOC為S),且SOC正在快速下降(△SOC為NL),則CR應該大(CR為L),如圖中的Rule1(規則1);然而,如果SOC增加非常快(△SOC為PL),則CR應該略微降低(CR為MS),即如圖中的Rule5(規則5)。 As shown in the figure, its inference rule is: if the battery SOC is low (SOC is S) and the SOC is rapidly decreasing (△ SOC is NL), the CR should be large (CR is L), as shown in Rule1 (rule in the figure) 1); However, if the SOC increases very quickly (ΔSOC is PL), the CR should decrease slightly (CR is MS), ie Rule5 (rule 5) in the figure.
另一方面,如果電池SOC為高(SOC為L),且SOC正在快速下降(△SOC為NL),則CR應該略微降低(CR為MS),即如圖中的Rule21(規則21);然而,如果SOC增加非常快(△SOC為PL),則CR應該為小(CR為S),即如圖中的Rule25(規則25)。 On the other hand, if the battery SOC is high (SOC is L), and the SOC is decreasing rapidly (ΔSOC is NL), CR should be slightly reduced (CR is MS), as shown in Rule21 (rule 21) in the figure; If the SOC increases very quickly (ΔSOC is PL), CR should be small (CR is S), which is Rule25 (rule 25) in the figure.
總之,充電率係隨著SOC的增加而下降。相對於正的△SOC,負的△SOC時充電始終是首選。在負的△SOC時,電池可以儘量存儲太陽能,然而當△SOC為正,充電會變得較保守以防止電池太早滿充和功率削減損耗。 In short, the charging rate decreases as the SOC increases. Compared to positive ΔSOC, charging with negative ΔSOC is always preferred. At negative ΔSOC, the battery can store solar energy as much as possible. However, when ΔSOC is positive, the charging will be more conservative to prevent the battery from being fully charged too early and reducing power loss.
請參照圖8,其繪示某日的功率模擬結果剖面圖。 Please refer to FIG. 8, which is a cross-sectional view of a power simulation result on a certain day.
如圖所示,在時段A中,夜間無太陽能發電時,電池會放電並滿足負載需求;在中午之B時段,當剩餘電力大於饋入限制(feed-in limitation)時,它會將所有可能的削減功率(curtailment losses)充電到電池中,而不是由FLC控制。除了這兩個時段外,FLC負責決定充電功率。因此,充電到電池的功率是動態變化的,電池在晚上前會完全充飽電,當太陽能發電不足時,電池儲能系統總是放電,當超過體入限制時,使用所有削減功率的電量進行充電,換句話說,只有在饋入限制下有剩餘電力時,FLC才會動作。 As shown in the figure, in the period A, when there is no solar power generation at night, the battery will discharge and meet the load demand; in the period B at noon, when the remaining power is greater than the feed-in limitation, it will The curtailment losses are charged into the battery instead of being controlled by the FLC. In addition to these two periods, the FLC is responsible for determining the charging power. Therefore, the power charged to the battery changes dynamically. The battery will be fully charged before night. When the solar power is insufficient, the battery energy storage system will always discharge. When the body limit is exceeded, all the power that cuts the power will be used. Charging, in other words, the FLC will only operate if there is remaining power under the feed limit.
本發明採用粒群演算法來最佳化SOC和△SOC輸入歸屬函數的論域設定值:The invention uses a particle swarm optimization algorithm to optimize the set values of the SOC and △ SOC input attribution functions:
由圖5所示的輸入變數的歸屬函數(MF)可以看出模糊子集的值均勻分佈在對應的範圍內,由於MF的論域值設定主導了哪些規則應該被觸發,因此均勻分佈的模糊子集的輸入變數MF無法滿足各用戶多樣的電能使用行為而達到最低的運轉成本。同時亦須考量到隨著電池的老化效應及不同剩餘電能分佈的影響,因此最佳化輸入變數的MF的論域設定值設計成為關鍵問題。 According to the attribution function (MF) of the input variables shown in Figure 5, it can be seen that the values of the fuzzy subset are evenly distributed in the corresponding range. Because the setting of the MF's domain value governs which rules should be triggered, the uniformly distributed fuzzy The input variable MF of the subset cannot meet the diverse power usage behavior of each user and achieve the lowest operating cost. At the same time, the aging effect of the battery and the influence of different residual power distributions must be considered. Therefore, the design of the set value of the MF for optimizing the input variable has become a key issue.
由於粒群演算法(PSO)能簡單的實現在高維度空間中進行探索以獲得最佳解決方案,即PSO善於解決包含許多變數的高複雜性問題。本發明提出PSO來最佳化輸入MF的論域設定值,以進一步改善習知技術之均勻分佈的模糊子集的輸入變數MF無法在社區中達到最小化的運轉成本之問題。 Because the particle swarm optimization algorithm (PSO) can simply implement exploration in a high-dimensional space to obtain the best solution, that is, PSO is good at solving high-complexity problems that contain many variables. The present invention proposes a PSO to optimize the set value of the input domain MF to further improve the problem that the input variable MF of the uniformly distributed fuzzy subset of the conventional technology cannot reach the minimum running cost in the community.
PSO在1995年由Kennedy與Eberhart兩位學者提出,Kennedy與Eberhart透過觀察魚群與鳥群覓食過程得到啟發,當有一條魚或一隻鳥發現食物的所在位置,則會將資訊分享給其他同伴,最後全體都會往食物方向集中。若將每顆粒子當成鳥群或魚群中的個體,一開始所有粒子將隨機散佈於解空間中,透過比較各粒子的適應值(fitness)來決定全域最佳解位置。這些粒子基本上根據以下兩個準則移動: PSO was proposed by two scholars, Kennedy and Eberhart in 1995. Kennedy and Eberhart were inspired by observing the fish and bird foraging process. When a fish or a bird finds the location of food, it will share the information with other peers. , And finally everyone will concentrate in the direction of food. If each particle is regarded as an individual in a flock of birds or fish, all particles will be randomly scattered in the solution space at first, and the optimal solution position of the whole world will be determined by comparing the fitness of each particle. These particles basically move according to the following two criteria:
(1)跟隨表現最佳的粒子。 (1) Follow the best performing particles.
(2)每個粒子會朝向自己最佳的位置移動。 (2) Each particle will move towards its best position.
透過這樣的方法,每個粒子最終會趨近最佳解或接近最佳解。 In this way, each particle will eventually approach the optimal solution or approach the optimal solution.
其中,速度運算方式如方程式(6)所示。 Among them, the speed calculation method is shown in equation (6).
v i (k+1)=wv i (k)+c 1 r 1(p best,i -x i (k))+c 2 r 2(g best -x i (k)) (6) v i ( k +1) = wv i ( k ) + c 1 r 1 ( p best , i - x i ( k )) + c 2 r 2 ( g best - x i ( k )) (6)
位置更新運算方式如方程式(7)所示。 The position update calculation method is shown in equation (7).
x i (k+1)=x i (k)+v i (k+1) (7) x i ( k +1) = x i ( k ) + v i ( k +1) (7)
其中,x i 和v i 表示第i個粒子的位置和速度、k為疊代的次數、w表示為慣量、r 1與r 2為介於[0,1]間的亂數值、c 1與c 2表示學習係數,通常介於0~2之間、變數p best,i 儲存第i個粒子走過的最佳位置、變數g best 儲存所有粒子中最佳的位置。 Where x i and v i represent the position and velocity of the i- th particle, k is the number of iterations, w is the inertia, r 1 and r 2 are random values between [0,1], and c 1 and c 2 represents the learning coefficient, usually between 0 ~ 2, the variable p best, i stores the best position that the i- th particle walks through, and the variable g best stores the best position among all particles.
本發明採用PSO來實現最小化多住宅電能管理操作成本,其實現程序如下: The present invention uses PSO to minimize the operation cost of multi-residential energy management. The implementation procedure is as follows:
步驟1:選擇參數 Step 1: Select parameters
由於操作之限制,輸入MF的最大值和最小值都是固定的,SOC的輸入範圍為0%至100%,而根據與電池系統連接的轉換器的額定功率,△SOC的輸入範圍為-10%~10%。 Due to operational limitations, the maximum and minimum values of the input MF are fixed. The input range of the SOC is 0% to 100%. According to the rated power of the converter connected to the battery system, the input range of △ SOC is -10. % ~ 10%.
請參照圖9,其繪示SOC和△SOC之最佳化輸入MF的論域設定值。 Please refer to FIG. 9, which illustrates the set values of the optimal input MF of the SOC and ΔSOC.
由於改變語意參數的論域值能改變MF之形狀與被觸發的斜率值。如圖所示,每個輸入MF中均剩下3個模糊子集,SOC為OP1、OP2、OP3;△SOC為OP4、OP5、OP6。亦即PSO中的每個粒子被認為是六維搜索空間中的可能解。解空間中各別粒子的位置可以表示為xij,其速度表示為vij,其中i是粒子數,j是粒子中的元素數,每個粒子代表一個解,並對應到一個適應值。 Because changing the universe value of the semantic parameter can change the shape of the MF and the slope value that is triggered. As shown in the figure, there are 3 fuzzy subsets left in each input MF, SOC is OP1, OP2, OP3; △ SOC is OP4, OP5, OP6. That is, each particle in the PSO is considered as a possible solution in the six-dimensional search space. The position of individual particles in the solution space can be expressed as x ij and its velocity as v ij , where i is the number of particles and j is the number of elements in the particles. Each particle represents a solution and corresponds to an adaptive value.
步驟2:初始化粒群演算法 Step 2: Initialize the particle swarm algorithm
在粒群演算法的初始化階段,粒群會被分配於固定的位置或是透過亂數的方式放置於搜尋的解空間中。為了公平的處理具有未知特性的解空間,本案使用最常用之均勻亂數分配的方式進行初始化。 In the initialization phase of the particle swarm algorithm, the particle swarm is allocated to a fixed position or placed in a searched solution space by random numbers. In order to deal with the solution space with unknown characteristics fairly, this case uses the most commonly used uniform random number allocation method for initialization.
步驟3:運算適應值 Step 3: Calculate the fitness value
本發明之目的為最小化多住宅電能管理操作成本,其中單一住宅的總操作成本係由電池更換成本和電費(包括購買電價和回賣的收入)所組成。值得注意的是,當SOH為80%時,電池必須被汰換,由於一年的模擬範圍太短,而無法觀察到汰換情況,所以汰換的成本以老化效應的散逸SOH(額定容量的20%)來表示,而操作成本之運算,即適應值函數,如方程式(8)所示。 The purpose of the present invention is to minimize the operation cost of multi-dwelling power management, in which the total operation cost of a single dwelling is composed of battery replacement costs and electricity costs (including the purchase price and resale revenue). It is worth noting that when the SOH is 80%, the battery must be replaced. Because the one-year simulation range is too short to observe the replacement, the cost of the replacement is based on the aging effect to dissipate the SOH (rated capacity of 20%), and the operation cost operation, that is, the fitness function, is shown in equation (8).
其中Cost(t)為系統總操作成本,Pgrid-buy為由電網所購買的電能,Cbuy為購電的稅率,Pgrid-sell為饋入電網的電能,Csell為饋入的稅率,Cbattery為電池的成本,SOHremain代表剩餘的SOH。 Cost (t) is the total operating cost of the system, P grid-buy is the electricity purchased by the grid, C buy is the tax rate for electricity purchase, P grid-sell is the electricity fed into the grid, and C sell is the tax rate fed C battery is the cost of the battery, and SOH remain represents the remaining SOH.
步驟4:更新區域和全域最佳適應值 Step 4: Update regional and global best fit values
在每次疊代運算中,計算每個粒子的適應值,對每個粒子當前適應值與個體歷史最佳值pbest比較,用更大的適應值更新當前pbest及對每個粒子當前個體適應值pbest與全域最佳值gbest比較,用更大的適應數值更新當前gbest。 In each iteration calculation, calculating the fitness of each particle, each particle of the current adaptation value of p best individual history optimum value comparison, with a larger value of the adaptation and updating the current p best current for each individual particle The fitness value p best is compared with the global best value g best and the current g best is updated with a larger fitness value.
步驟5:更新每個粒子的速度和位置 Step 5: Update the speed and position of each particle
在PSO運算完所有的粒子後,每個粒子需要更新下一次速度和位置。 After the PSO has calculated all the particles, each particle needs to update the next speed and position.
步驟6:終止條件 Step 6: Termination conditions
如果滿足終止條件時終止演算,此時當前全域最佳值gbest就是最佳適應值;如果不滿足終止條件,則返回步驟4。 If the calculation is terminated when the termination condition is met, the current global best value g best is the best adaptive value; if the termination condition is not met, then return to step 4.
模擬結果:Simulation results:
以下將針對先前文獻中的三種方法,貪婪法(Greedy method)、饋入阻尼法(Feed-in damping(FID)method)、正常模糊法(Normal fuzzy(FuzzyN)method)與本發明提出的粒群最佳化模糊邏輯控制充電法(Optimized Fuzzy(FuzzyOP))進行比較,以驗證所提方法之可行性和性能改善。 The following will be directed to three methods in the previous literature, the Greedy method, the Feed-in damping (FID) method, the Normal fuzzy (FuzzyN) method, and the particle swarm proposed by the present invention. The optimized fuzzy logic control charging method (Optimized Fuzzy (FuzzyOP)) was compared to verify the feasibility and performance improvement of the proposed method.
請一併參照圖10a~10b,其中圖10a其繪示貪婪法、FID法和FuzzyN法達成最低電能管理操作成本的百分比之模擬結果;圖10b其繪示計算系統總操作最小成本與FuzzyN法的成本差。 Please refer to FIGS. 10a to 10b together, wherein FIG. 10a shows the simulation results of the percentage of the minimum power management operation cost achieved by the greedy method, the FID method and the FuzzyN method; and FIG. 10b shows the minimum cost of the total operation of the computing system and the fuzzyN method. Cost difference.
如圖所示,在進行最佳化輸入歸屬函數(MF)之前,分別對貪婪法、FID法和FuzzyN法進行了每10分鐘取樣的一年模擬,FuzzyN法與貪婪法、FID法相比,FuzzyN法在59%的房屋中實現了最低的電能管理操作成本。 As shown in the figure, before optimizing the input attribution function (MF), a one-year sample of the greedy method, the FID method, and the FuzzyN method was sampled every 10 minutes. Compared with the greedy method and the FID method, FuzzyN method The method achieves the lowest energy management operation costs in 59% of homes.
相較於系統總操作最小成本,FuzzyN法在某些住宅中的額外費用仍有改善空間。為了改善FuzzyN法以降低大多數住宅的操作成本,在本發明中係使用PSO來最佳化輸入MF,考慮使用FuzzyN法獲得的最差的5個結果進行最佳化,則目標是利用方程式(8)來最小化5個住宅的總和成本,其PSO相關參數和配置如表2所示。 Compared with the minimum cost of the total system operation, there is still room for improvement in the additional cost of the FuzzyN method in some homes. In order to improve the FuzzyN method to reduce the operating cost of most houses, in the present invention, PSO is used to optimize the input MF. Considering the worst 5 results obtained using the FuzzyN method for optimization, the goal is to use the equation ( 8) To minimize the total cost of 5 houses, the PSO related parameters and configuration are shown in Table 2.
請參照圖11,其繪示PSO每次疊代運算中記錄的gbest值。 Please refer to FIG. 11, which shows the g best value recorded in each iteration operation of the PSO.
如圖所示,gbest從第13次疊代開始下降,最終收斂於5戶房屋的年度總開支為3769.66歐元,最後也獲得輸入MF的最佳設定值。 As shown in the figure, g best starts to decline from the 13th iteration, and finally converges to a total annual expenditure of 5376.66 euros for 5 houses, and finally obtains the best set value of input MF.
請參照圖12,其繪示74戶住宅在四種方法之年度電能管理操作成本。 Please refer to FIG. 12, which shows the annual energy management operation cost of 74 homes in four methods.
如圖所示,四種方法均先與理想預測方法進行比較,然後計算額外的成本後進行實際比較,使用理想預測方法獲得的結果為其他方法提供了改進空間的參考。 As shown in the figure, the four methods are compared with the ideal prediction method first, and then the actual cost is calculated after the extra cost is calculated. The results obtained using the ideal prediction method provide a reference for other methods to improve.
表3為四種方法中可達到最小成本之社區用戶比例之比較。在進行最佳化前,FuzzyN法有59.4%(44/74)房屋達成了最低成本,次佳的方法是貪婪法,社區中有25.7%(19/74)房屋達成了最低成本,可以推斷來自每戶住宅的多餘電力使得均勻分布的輸入MF並非適當的設計,因此PSO被用來決定最佳的輸入變數MF論愈值並實現更好的性能。而本發明(FuzzyOP法)因使用PSO最佳化,因此無最佳化前之相關數據,在進行最佳化後,本發明有98.6%(73/74)房屋達成了最低成本操作。 Table 3 shows the comparison of the proportion of community users who can reach the minimum cost among the four methods. Before the optimization, 59.4% (44/74) of houses in the FuzzyN method reached the lowest cost, and the next best method was the greedy method. 25.7% (19/74) of houses in the community reached the lowest cost. It can be inferred that The excess power of each house makes the uniformly distributed input MF not a proper design, so PSO is used to determine the optimal input variable MF theory and achieve better performance. However, the present invention (FuzzyOP method) uses PSO optimization, so there is no relevant data before optimization. After the optimization, 98.6% (73/74) houses of the present invention achieved the lowest cost operation.
表4列舉了四種方法與理想預測法的平均成本,其中本發明(FuzzyOP法)相較其他三種方法具有操作成本最低之優勢。 Table 4 lists the average cost of the four methods and the ideal prediction method. The present invention (FuzzyOP method) has the advantage of the lowest operating cost compared to the other three methods.
綜合圖12、表3及表4可知,本發明提出的FuzzyOP法能在73個住宅中實現最低成本,即社區績效表現為98.6%,亦能達到單一住宅每年平均電能支出最低之目標。 It can be seen from Fig. 12, Table 3 and Table 4 that the FuzzyOP method proposed by the present invention can achieve the lowest cost among 73 houses, that is, the community performance is 98.6%, and it can also reach the goal of the lowest average annual energy expenditure of a single house.
藉由前述所揭露的設計,本發明乃具有以下的優點: With the design disclosed above, the present invention has the following advantages:
1.本發明揭露一種粒群最佳化模糊邏輯控制充電法,其係以目前的SOC(電池電量)和△SOC(電池電量變動量)作為FLC輸入變數,以有效地進行FLC運算及防止不當的充放電所產生的電池損壞。 1. The present invention discloses a particle swarm optimization fuzzy logic control charging method, which uses the current SOC (battery power) and ΔSOC (battery power variation) as FLC input variables to effectively perform FLC operations and prevent improper The battery is damaged by charging and discharging.
2.本發明揭露一種粒群最佳化模糊邏輯控制充電法,其係採用粒群演算法來最佳化SOC和△SOC輸入歸屬函數的論域設定值,以滿足多樣的電源使用行為而達到最低的操作成本。 2. The present invention discloses a particle swarm optimization fuzzy logic control charging method, which uses a particle swarm optimization algorithm to optimize the set values of the SOC and △ SOC input attribution functions to meet a variety of power usage behaviors. Lowest operating costs.
3.本發明揭露一種粒群最佳化模糊邏輯控制充電法,其能使98.6%的住宅實現最低操作成本,亦能最低化單一住宅每年平均電能支出。 3. The invention discloses a particle swarm optimization fuzzy logic control charging method, which can enable 98.6% of the houses to achieve the lowest operating cost, and can also minimize the average annual electrical energy expenditure of a single house.
本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。 What is disclosed in this case is a preferred embodiment. For example, those who have partial changes or modifications that are derived from the technical ideas of this case and are easily inferred by those skilled in the art, do not depart from the scope of patent rights in this case.
綜上所陳,本案無論就目的、手段與功效,在在顯示其迥異於習知之技術特徵,且其首先發明合於實用,亦在在符合發明之專利要件,懇請 貴審查委員明察,並祈早日賜予專利,俾嘉惠社會,實感德便。 To sum up, regardless of the purpose, method and effect, this case is showing its technical characteristics that are quite different from the conventional ones, and its first invention is practical, and it is also in line with the patent requirements of the invention. Granting patents at an early date will benefit society and feel good.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106131817A TWI639962B (en) | 2017-09-15 | 2017-09-15 | Particle Swarm Optimization Fuzzy Logic Control Charging Method Applied to Smart Grid |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106131817A TWI639962B (en) | 2017-09-15 | 2017-09-15 | Particle Swarm Optimization Fuzzy Logic Control Charging Method Applied to Smart Grid |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI639962B TWI639962B (en) | 2018-11-01 |
TW201915838A true TW201915838A (en) | 2019-04-16 |
Family
ID=65034487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106131817A TWI639962B (en) | 2017-09-15 | 2017-09-15 | Particle Swarm Optimization Fuzzy Logic Control Charging Method Applied to Smart Grid |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI639962B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111709663A (en) * | 2020-06-23 | 2020-09-25 | 四川中电启明星信息技术有限公司 | Electric vehicle charging station site selection method based on big data |
TWI737021B (en) * | 2019-10-23 | 2021-08-21 | 國立中山大學 | Control method of energy storage system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113071507B (en) * | 2021-03-22 | 2022-03-01 | 江铃汽车股份有限公司 | Electric automobile energy management control method based on fuzzy control |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251764B (en) * | 2008-04-02 | 2015-03-18 | 威盛电子股份有限公司 | Battery control method for computer system |
-
2017
- 2017-09-15 TW TW106131817A patent/TWI639962B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI737021B (en) * | 2019-10-23 | 2021-08-21 | 國立中山大學 | Control method of energy storage system |
CN111709663A (en) * | 2020-06-23 | 2020-09-25 | 四川中电启明星信息技术有限公司 | Electric vehicle charging station site selection method based on big data |
Also Published As
Publication number | Publication date |
---|---|
TWI639962B (en) | 2018-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Emrani-Rahaghi et al. | Optimal scenario-based operation and scheduling of residential energy hubs including plug-in hybrid electric vehicle and heat storage system considering the uncertainties of electricity price and renewable distributed generations | |
Hossain et al. | Modified PSO algorithm for real-time energy management in grid-connected microgrids | |
Niknam et al. | Probabilistic energy and operation management of a microgrid containing wind/photovoltaic/fuel cell generation and energy storage devices based on point estimate method and self-adaptive gravitational search algorithm | |
Abujarad et al. | Recent approaches of unit commitment in the presence of intermittent renewable energy resources: A review | |
Mohammadi et al. | An Adaptive Modified Firefly Optimisation Algorithm based on Hong's Point Estimate Method to optimal operation management in a microgrid with consideration of uncertainties | |
Yang et al. | Optimal two-stage dispatch method of household PV-BESS integrated generation system under time-of-use electricity price | |
Daghi et al. | Factor analysis based optimal storage planning in active distribution network considering different battery technologies | |
CN108964050A (en) | Micro-capacitance sensor dual-layer optimization dispatching method based on Demand Side Response | |
Squartini et al. | Optimization algorithms for home energy resource scheduling in presence of data uncertainty | |
Bonthu et al. | Minimization of building energy cost by optimally managing PV and battery energy storage systems | |
Mohammadi et al. | Optimal operation management of microgrids using the point estimate method and firefly algorithm while considering uncertainty | |
Zhang et al. | Deep reinforcement learning based Bi-layer optimal scheduling for microgrids considering flexible load control | |
TWI639962B (en) | Particle Swarm Optimization Fuzzy Logic Control Charging Method Applied to Smart Grid | |
Nethravathi et al. | A novel residential energy management system based on sequential whale optimization algorithm and fuzzy logic | |
Kim et al. | Economical energy storage systems scheduling based on load forecasting using deep learning | |
CN114498769A (en) | High-proportion wind-solar island micro-grid group energy scheduling method and system | |
Zhong et al. | A logic-based geometrical model for the next day operation of PV-battery systems | |
Gheouany et al. | Optimal active and reactive energy management for a smart microgrid system under the moroccan grid pricing code | |
Fardin et al. | Distributed generation energy in relation to renewable energy: Principle, techniques, and case studies | |
Yu et al. | A fuzzy Q-learning algorithm for storage optimization in islanding microgrid | |
Juárez et al. | Optimal real-time scheduling of battery operation using reinforcement learning | |
Jiarui et al. | Research on Demand Response Strategy of Electricity Market Based on Intelligent Power Consumption | |
Zhang et al. | Convex optimization of battery energy storage station in a micro-grid | |
Jiang-feng et al. | A real-time optimal energy dispatch for microgrid including battery energy storage | |
Holecska et al. | Towards Sustainable Energy Management: Analyzing AI-Based Solutions for PV Systems with Battery in Energy Communities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |