Next Article in Journal
Reducing Risks by Transporting Dangerous Cargo in Drones
Next Article in Special Issue
Constructing and Validating Professional Competence Indicators for Underwater Welding Technicians for Offshore Wind Power Generation in Taiwan
Previous Article in Journal
Evaluation and Spatial Characteristics of Cooperation among Tourist Attractions Based on a Geographic Information System: A Case Study of The Yangtze River Delta Region, China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Implementation of EDGE Computing Platform in Feeder Terminal Unit for Smart Applications in Distribution Networks with Distributed Renewable Energies

Department of Industrial Education and Technology, Bao-Shan Campus, National Changhua University of Education, No. 2, Shi-Da Road, Changhua 500, Taiwan
*
Authors to whom correspondence should be addressed.
Sustainability 2022, 14(20), 13042; https://0-doi-org.brum.beds.ac.uk/10.3390/su142013042
Submission received: 18 September 2022 / Revised: 9 October 2022 / Accepted: 9 October 2022 / Published: 12 October 2022

Abstract

:
Under the plan of net-zero carbon emissions in 2050, the high penetration of distributed renewable energies in distribution networks will cause the operation of more complicated distribution networks. The development of edge computing platforms will help the operator to monitor and compute the system status timely and locally, and it can ensure the security operation of the system. In this paper, a novel EDGE computing platform that is implemented by a graphics processing unit in the existing feeder terminal unit (FTU) is proposed for smart applications in distribution networks with distributed renewable energies and loads. This platform makes timely forecasts of the feeder status for the next seven days in accordance with historical weather, sun, and loading data. The forecast solver uses the machine learning long short-term memory (LSTM) method. Thereafter, the power calculation analyzers transform feeder topology into the circuit model for transient-state, steady-state, and symmetrical component analyses. An important-factor explainer parses the LSTM model into the concise value of each historical datum. All information transports to remote devices via the internet for the real-time monitor feature. The software stack of the EDGE platform consists of the database archive file system, time-series forecast solver, power flow analyzers, important-factor explainer, and message queuing telemetry transport (MQTT) protocol communication. All open-source software packages, such as SQLite, LSTM, ngspyce, Shapley Additive Explanations, and Paho-MQTT, form the aforementioned function. The developed EDGE forecast and power flow computing platform are helpful for achieving FTU becoming an Internet of Things component for smart operation in active distribution networks.

1. Introduction

The feeder terminal unit (FTU), which is the distribution automation for smart operations of active distribution networks (ADNs) that are composed of distributed renewable energies and loads, measures the manner of power flow and sends it back to the Feeder Dispatch Control Center (FDCC) without further manipulation. Nowadays, the underlying standard functions of FTU are measurement, control, and fault detection [1]. However, the lack of analysis and computing capability is limited to ADN smart operations. In Figure 1, we present a novel EDGE with functions in a timely feeder status forecast, power flow analysis, important-factor explainer, and secured communication features inside a system-level platform.
The system is named EDGE because it works inside the FTUs, which are next to subscribers. FDCC collects and sends data to the Distribute Dispatch and Control Centre (DDCC) afterward. The results are shown on a mobile phone for localizing monitoring.
Some edge computation platforms of the hybrid renewal energy ADNs are discussed as follows. Kulkarni announced a similar concept, funded by the United States Department of Energy, to establish a situational awareness system [2]. This framework is named Global Asset Monitoring Management and Analytics. It contains functions of the power quality sensor, the Advanced Metering Infrastructure network, and the transformer sensor. After communicating data to a cloud server, mobile phones show their computation results. Its intelligence feature relieves the on-demand connectivity burden to centralized computation. Unfortunately, it is a low-cost platform, costing $4, without sufficient computation resource information.
Another study dispatched the reactive power control of the service-transformer by Moghe and Tholomier [3,4]. They presented the Edge of Network Grid Optimizer (ENGO) platform, attached next to the transformer chassis, that regulates the voltage by switched swarm capacitors. The cost and complexity of collecting all renewal energy utility situations and reporting to the FDCC become a challenge for rapid dispatch. A swarm of ENGO platforms, on the Omega feeder, inject the reactive power from the fixed capacitor bank to regulate the voltage variation.
Thus, the proposed EDGE platform improves these features by using the new silicon technology chip and popular machine learning concepts. The platform has enhanced the function of the existing FTU, and offloads the FDCC computation work. Information on raw subscribers limits sharing to power generation and transmission companies by regulations. DDCCs or Area Dispatch and Control Centers may process the subscribers’ forecast work from many FTU terminals. This EDGE platform is designed to be handy in installation, and shares a centralized system risk. This paper presents a lab prototype concept allocated inside the FTU chassis in Figure 2.
Generally, in Taipower, each feeder has three FTUs, one distribution substation burden, and typically more than fifteen feeders. Therefore, more than 45 FTUs may serve in a distribution substation. This is not to mention that more than three distribution substations are in each DDCC or FDCC management district. If all these load data are sent to a local server in DDCC or FDCC to conduct an hour-ahead or 15-min-ahead forecast and compute the factors, the computing load becomes too heavy to complete within the allotted time. Consequently, EDGE is necessary to forecast the FTU [5] load data individually and to merely send the forecast results to FDCC to integrate all the information, and to make the correct or optimal decision. Furthermore, according to IEEE Std 1547.4-, distribution systems can be clustered into a number of microgrids to facilitate powerful control and operation infrastructure. Consequently, each FTU measurement area is planned as a microgrid, a feeder is divided into three microgrids in this paper for additional smart operations during normal operations or contingencies in the near future, and the multi-microgrid operation needs real-time computing without data transmission delay [5]. Accordingly, the development of edge computing in FTU is indispensable. The corresponding research is conducted in this paper.
Compared with a traditional microprocessor-based platform, the newly announced EDGE platform installs the machine learning package in the computer language, Python, and the corresponding acceleration circuit in its silicon chip. The cross-platform strength migrates high-level software stacks from personal computers (PCs) to EDGE without recompiling efforts. Thus, many available open-source software functions and researchers associate the work in different locations and different programming machines.
The long short-term memory (LSTM) method predicts power consumption [6]. Wang [7] proposed an EMD-PCA-RF-LSTM wind power forecasting model to improve the accuracy of wind power forecasting, and the experiment result indicates this model provides the most accurate results. Nevertheless, the trained model has no explanation of its important-factors association. A game-theory-based method, SHAP, parsed the LSTM models and arranged them in the graphical expression in this study. The Ngspice simulator is the power flow analyzer, and runs on EDGE’s distinctive CPU processor architecture [8]. Zhang [9] and Huang [10] investigated the transient analysis of the railway traction application in terms of the integration circuit elements under the personal computer environment. This concept inspires leverage of the Ngspice simulator as the power flow analyzer, and runs on the EDGE’s distinctive CPU processor architecture [8] and Linux operation system.
In communication, the message queuing telemetry transport (MQTT) protocol forms the parties of the EDGE, broker, and mobile phone applications. Finally, the SQLite system is the database archive that manipulates the real-time, historic, forecast, and analyzed data and images during service time. Accordingly, the significant blocks of the EDGE platform, which comprise the feeder forecast, power flow analyzer, important factor explainer, communication protocol, and database archive (SQLite), are proposed and shown in Figure 3.
Section 2 briefly presents the system design concepts with designated modules, including the LSTM model, power flow analyzers, and important-factor explainer functionalities. Section 3 exhibits the detail of each associated function in Section 4. Finally, the discussion and conclusion of each experiment are presented in Section 5.

2. System Design Concepts

This section presents the proposed system’s strengths, design constraints, and performance considerations.

2.1. Platform Introduction

The new Nvidia™ Jetson Nano (Santa Clara, CA, USA) device is chosen because of the low cost, Ubuntu operating system, 4 GB memory, 128 GB secure digital memory card (SD card), machine learning optimization package, and graphics processing unit (GPU) core features. The functions on the EDGE platform, which consist of different Python computer language (Python) packages for associating the five blue blocks, are seen in Figure 4. In this paper, we reconfigured and compiled several source files implemented into the EDGE platform as a computation engine. The complete computation platform software stack is shown in Figure 4.

2.2. Data Assimilation

The data assimilation process arranges the forecast data from the public weather service and power company. A government facility, Central Weather Bureau, offers weather information through the Opendata API mechanism. The operation information is obtained via DNP 3.0 [11,12] and IEC61850 [1] protocol using 4G or fiber media. Unfortunately, data sample time variation or missing content may cause the forecast solver to have trouble. Thus, the data assimilation process plays the role of compensation above practical drawbacks in some manners.

2.3. Forecast Solver

Information on the calendar, weather, and feeder operation act as the forecast solver’s input source and validation target. In contrast, the solver’s output build up the forecast model and the future feeder status, such as the voltage, current, and power. In the platform, the 128 numbers of the Maxwell® cores host this forecasting work using the TensorFlow package. Under the limited memory space, the solver’s parameters and spending time are the major consideration during the development, which may impact its performance.
Newly announced time-series forecasting methods, such as the Arima [13], GlunoTS [14], and Fbprophet [15], simplify the forecast work on its merits. However, the method mixes all the time information into one data series, but not in the separated factors view. Two deep learning methods and a decision tree method are the Vanilla LSTM, and Multi-Layer Perceptron Model (MLP), and the eXtreme gradient boosting (XGBoost) as another forecasting approach. The XGBoost method is excellent due to its short model training time. However, it has the drawback of exhibiting slightly poor performance in terms of important-factor explanation accuracy from our test. MLP is good due to its short computation time and weight accuracy. However, the inherent vanishing gradient problem [1] resulted in the LSTM model being selected in this study.
In recent studies, the LSTM model for long-term, system-level load forecast has excellent performance [7,16,17]. In addition, the prediction error is acceptable for system operation. Dong investigated the LSTM and another popular machine learning method for long-term load forecast, demonstrating superior performance and great practicality [18]. Moreover, the LSTM model can be explained and can obtain its important factor. Pal applied the SHAP method for occupancy detection from energy consumption data [19]. The LSTM forecast solver, power flow analyzer, and important-factor explainer background are shown below.
As shown in Figure 5, a Vanilla LSTM network model has three gates: the forget gate, f t ; the input gate, i t ; and the output gate, o t . The set of weight vectors, w ¯ , includes the independent weights in the w f , w c , w i , and w o notation [20,21]. The trained model includes the set of tuned weight vectors, w ¯ , which the important-factor block investigates afterward.
The mathematical equations for the LSTM model are in Equations (1)–(6). Bias vectors are represented by the bi, bf, bo, and b symbols. The additional memory cell candidate, c ¯ t , is used to add long-term memory via the activation function. The states, C t 1 and H t 1 , refer to the previous state cell memory and the output, respectively.
i t = σ w i H t 1 + U i X t + b i
f t = σ w f H t 1 + U f X t + b f
o t = σ w o H t 1 + U o X t + b o
c ¯ t = tanh w c H t 1 + U X t + b
C t = f t C t 1 + i t c ¯ t
H t = o t tanh C t

2.4. Important-Factor Explainer

The important-factor explainer extracts the input forecast model, and demystifies the impact concerning the calendar and weather factors as the output. For example, the high-loading condition in the industrial area during the off-hours would be a safety issue or something else. A significant amount of computation work evaluates its contribution according to the factors’ permutation on the game theory concept. Hence, the four cores of the ARM CPU are responsible for this work, and deliver it to the next phase.
This feature elucidates the machine learning model into conceptual ideas regarding values for an explanation. Shawi [22] showed that the SHAP method is better than the Local Interpretable Model-agnostic Explanations (LIME) method and the Anchors method, with shorter computation time and proper identity disclosure. Thus, Lundberg [8,9,10] used the SHAP method in explaining the medical LSTM model in a graphical illustration.
From (1)–(6), it is a challenge to explain the important factor in the trained LSTM model. Therefore, a local and simplified model, f z , approaches the LSTM model, which tries to explain the factors under the forecast input case. A single unique solution to this explanation, proved by Lundberg [23], requires satisfaction with the three desirable properties in local accuracy, missingness, and consistency. A mapping linear regression model, g z , represents to f z by associating ϕ o and all ϕ i factors in (7) [23,24].
f z = g z = ϕ o + i = 1 k ϕ i z i
Each factor, ϕ i , contributes its individual merits, and satisfies the local accuracy property. In (7), where z 0 , 1 k for the simplified input information, ϕ i is the real numbers, and k equals to the 14 factors in this paper. The symbol, ϕ o , denotes the model output when no inputs are available. In this paper, the symbol, ϕ i , consists of the hourly important-factors result every 168 h. After normalizing the vector, ϕ i , the important-factor value in each factor under the hourly forecast work.
Fair evaluation is a complex problem when the forecast model owns many factors. The Shapley value [25] aims to understand the cost or gain between collaborating factors based on the contribution term in the cooperation action. In other words, the factor with the higher Shapely value dominates the coalition-winning possibility. For example, more gold components inside the same alloy volume would be heavier than others. From the Narahari [26] and Kolker [25] press, the (8) Shapley value, S h k , for each factor (not important factor), is shown as the following:
S h k = s n s 1 ! s n ! n ! V s V s k
The symbol, s, denotes the number of a factor in the coalition, s; k denotes the cooperation members in a group. The symbol, n, represents the group number. Multiplying all of the possible coalitions s 1 ! s n ! and marginal contributions V s V s k with a summation of them together, the Shapley value vector is obtained by dividing the permutation number, n!.
Later, the Shapley value vector is transferred into the SHAP format to obtain the important-factor data in the format of the (7) [23]. Further discussion of the properties in terms of local accuracy, missingness, and consistency stands for the intuitive view of the SHAP result.

2.5. Power Flow Analyser

Regardless of the forecast solver accuracy, the result cannot satisfy electrical theory and cover all nodes’ data. Thus, analyzers initially convert equivalent loading parameters from the forecast results, and then compute the feeder behavior with practical parameters. The expected items include line loss, neutral line voltage, and loading status.
Available power flow computation packages are listed in Thurner [27]. After evaluation, the pandapower (2.1.0) and pydgrid (0.5.2) packages cannot complete the test routine in the EDGE environment. The PYPOWER (5.1.4) package runs perfectly, but does not support several scenarios in the transient analysis. Finally, the analyzers’ computation engine is built by ngspyce (0.1), and re-compiled by the Ngspice engine. Python renders the user-interface images from Ngspice’s result in floating number matrices. This tool, Ngspice, is involved in the very large-scale integration clock signaling simulation [28] and the new CPU accelerator design [29] to prove its correctness.
The time-step value settings define the voltage node memory consumption in the transient state simulation. In a 138.89 µs time-step case, each voltage vector occupies 46,144 bytes within an 800 ms simulation period, consisting of the 5768 elements in the float64 data format of Python (92,288 bytes). Thus, a large-scale fault case simulation is not suitable for placing in the EDGE process, but rather the workstation machine.

2.6. Database Archive System and Communication to Remote Device

The important-factor explainer and power flow analyzer blocks generate the numerical data and images from the trained LSTM model. Later, real-time data are saved into the database first and fetched to the forecast solver to update the LSTM model. By moving the time window, it periodically publishes information to the broker. A comprehensive and secure database archiving file system offloads the design effort and supports the encryption function, as shown by Wang [30]. The EDGE uses the open-source SQLite database controller to store the values, strings, and images. During the operation, both the Maxwell® and ARM core access the SQLite database simultaneously, and leave the low-level control work by the Python package.
Next, we propose quality and low-cost methods for communicating the EDGE, broker, and user’s remote devices. A private MQTT broker on a regular PC, which is a product of HiveMQ®, handles all the subscribed and published events via the internet. The MQTT method supports Quality of Service to ensure communication integrity [31,32]. The transport layer security (TLS) communication protocol ensures security requirements. The application, MQTT Dash®, is available for download on Android mobile phones to monitor feeder status anytime and anywhere.

3. Implementation

This section introduces the systematic implementation of the aforementioned blocks on EDGE, MQTT broker server, and mobile users. To inhibit real subscribers’ information, Equation (9) simulated its power factor, p f a , b , c * , concerning the load current, i l o a d , trend in Figure 6:
p f a , b , c * = 0.75 88 i l o a d 10.7 i l o a d 2 + 0.075 i l o a d 3 × 10 5

3.1. Forecast Solver

A forecast solver sequentially runs the LSTM network and cascaded processes (Figure 7). The forecast models of the input sources, such as date, atmosphere, and sunshine, are provided in historical and real-time views. From the power company, ten items of historical data predict the feeder voltage, v a , b , c ; current, i a , b , c , n ; and assumed power factor, p f a , b , c * . Thus, the forecast feeder voltage, v ^ a , b , c ; current, i ^ a , b , c , n ; and the power factor, p f ^ a , b , c , are determined at the end.
The data sources of the identified factors are listed as follows: year (2019–present), month (1–12), day (1–31), weekday (1–7), hour (0–23), station pressure (hPa), temperature (°C), relative humidity (%), wind speed (m/s), wind direction (360°), sunshine hour (h), global radiation (MJ/m2), visibility (km), ultraviolet index (none), and cloud amount (0–10).
The normalized process compresses all data into the range of 0–1 to unify the variables’ inherent magnitudes. After that, the reshape to tensor block packs the 2D data into the tensor format following the batch size setting, and then copies them to the important-factor explainer. A validation process verifies the trained model’s performance in terms of the loss function with the training dataset, which evaluates the batch size, LSTM unit weight, and epoch number setting. The denormalization process obtains the forecast result from the introduced estimation estimated model and external forecast data. Thus, in every epoch routine, the entire dataset is driven forward and backward through the LSTM network to update the weighted vectors. Lastly, the trained models save the files. This LSTM network repetitively updates the trained model in the next forecast slot. Finally, six images of the voltage, current, and power flow estimation are stored in the database archive for the mobile device application.

3.2. Important-Factor Explainer

As the previous section discussed, the SHAP package explains the important factor, ϕi., of the LSTM model. This process consumes the most resources, computation time, and memory due to the LSTM input tensor size. If the batch size parameter is 12, then the size of the input tensor is 6,756,480 bytes in this study. Only 40% of the input tensor data is used to meet EDGE memory space limitations in this work.
Temporally, the hourly forecast model contains the updated LSTM model, calendar, and weather information in the 168 h time length. Later, the important-factor explainer elucidates this model and carries on the local survey. For example, the effect of the unregistered and photovoltaic cell facility apparatus may be coherent with the cloud amount factor from the explanation work. Then, EDGE communicates to the feeder dispatch control center for the corresponding strategy.

3.3. Power Flow Analyzers

As shown in Figure 8, the Ngspice program is configured by following the instructions in the user’s manual [33]. Then, to convert the Ngspice as a shared library (.so) file for Linux kernel assertion, a parameter adjustment process computes the load model, Zload, values and adjusts the SPICE model. By converting the loading’s passive component values from the forecast power, P; reactive power, Q; and currents, transient-state simulation is executed to derive the concerned neutral line voltage and current in vector format. Thereafter, a few trigonometric functions are converted to symmetrical components. Fast Fourier transform analysis is conducted to compute the harmonics of any vector and compose them into images. Another steady-state analysis provides the node voltage or current in the designed frequency point. This analysis saves memory and computation time compared with transient-state analysis. The P and Q values in each hour are computed and presented in the image file format.
The topology of DNs is generally complicated. Therefore, the simplified feeder model, which is composed of an equivalent feeder, is connected with its load. Consequently, a complicated feeder with various types of load and renewable energy can be simplified, as shown in Figure 9.
This was proposed due to the fast calculation of the feeder voltage profiles and losses [34]. Furthermore, three FTU units typically measure phase voltage, v a , b , c , and line current, i a , b , c , n , in the feeder. The known primitive impedance Z-matrix Z 1 , 2 , 3 of an equivalent feeder section is determined from its operation. Some power system elements are converted into the SPICE model [35,36], and others are converted into the simplified model. The neutral line resistance, R Z 3 , and inductance, L Z 3 , are added to evaluate the concerned current.
Figure 10 shows the single-line diagram of a real distribution feeder of Taiwan Power Company (TPC). The simplified feeder models proposed in [22] represent the end voltage and line loss calculations of each line section. First, the transformers with their loads or distributed renewable energies (DREs) in each lateral were lumped to the bus of a three-phase, four-wire feeder main, and then the transformers and their loads can be integrated and simply represented by their equivalent loads, as shown in Figure 11 [28]. The partial feeder in each FTU measurement area can be represented, as shown in Figure 12. Finally, the equivalent length and loads of the simplified feeder model for the end voltage or line loss calculations can be obtained by the formula derived in [22]. The simplified feeder models have been applied for simplified power flow computing to obtain bus voltage profiles and line losses with negligible error in unbalanced distribution feeders. Therefore, the simplified feeder models are used in this paper to build the circuit model in the simulation program with the integrated circuit emphasis (SPICE) model for fast calculation with a doubtless convergence problem.

3.4. Database and MQTT-Communication

In general, the database stores the number of hours of data (5448) in three dedicated SQLite tables for the different feeder line conditions. The SQLite package handles most low-level work in negotiating the Linux file system. The rich database commands achieve the requirement in the merits of its database characteristic. SQLite can also be updated to the encrypted version using CryptSQLite, as demonstrated by Wang [30].
The MQTT system demonstrates the EDGE features. The interoperability of the SQLite and MQTT packages was implemented by Kodali [37]. The installation guide and software code are available on the HiveMQ® website. The MQTT protocol features the quality-of-service levels, guaranteeing data transaction integrity. The broker supports the TLS/secure socket layer feature [15] to protect the secret with a private key. In EDGE, a software timer periodically publishes image files to the broker every 30 s.
The MQTT broker setup is straightforward concerning its instructions. The private key to enable TLS security is necessary, but not the central scope of this study. Protecting this broker machine in a secured location is highly recommended. Thereafter, the MQTT-Dash application would provide the landscape view of the important-factor image in Section 4.3.

4. Experiment and Discussion

The associated blocks of the forecast solver and important-factor explainer are examined. These blocks are the cornerstone in conducting a system-level experiment. Thereafter, a running EDGE device, a private MQTT broker server (Figure 13), and a few mobile phone devices from the system are utilized. Software performance indices and hardware operation characteristics present the results in this section.

4.1. Forecast Solver Performance Examination and Comparison

A total of 4704 rows (27 weeks) of historical data are used to predict the result of 168 sets (1 week). Each row and set contain 20 inputs and 10 outputs, respectively. A basic Vanilla LSTM model performs each forecast routine within 236 s with a batch size of 12, an LSTM unit of 64, and epoch times of 15. The mean absolute percentage error (MAPE) value verifies the work in (10):
M A P E % = 1 168 i = 1 168 y i y ^ i y i
The consumption times and MAPE values are summarized in Table 1. The consumption time takes an average of 488.6 s in LSTM training. The average MAPE values of voltage; current; real power, P; and reactive power, Q, are 0.46, 16.47, 20.52, and 7.56, respectively.
A forecast waveform in the FTU3 (phase A current) is presented in Figure 14. From the waveform view, the predicted and real are similar in the 168 h. The average MAPE values are 12.81%.
Next, we compare the important-factor performance under the LSTM, XGBoost, and MLP forecast solver. Equation (11) generates data value in every d number following the randomized value, R n , multiplying the preset weight values, w n . From the preset weight, w n , and randomized values, continuous serial data are adopted to examine the important-factor explainers’ performance. The candidate explainers involved two works: predict the data value (Figure 15), and benchmark the computed important factors (Table 2).
f d = i = 1 5 R n w n

4.2. Important-Factor Explainer in the Polynomial Equation Case

In a trained model, the important-factor explainer identifies the important factors, ϕ i , and compresses them into a per-unit level. The parameters of this test LSTM model are identical, to review its settings. As shown in Table 3, the comparison between the nominal weight, w n , and important factor, ϕ i , are shown in the 10 steps in the 4704 input data rate.

4.3. System Manipulation

Table 4 summarizes the computation time in the EDGE and PC environments. The different FP16 performance indices hint at the reasonable computation time in the selection of the new tensor processing unit (TPU) platforms. The proposed EDGE, with a score of 0.472, spends 4743.5 s in one routine. The PC platform is faster with richer resources.
Another result is the communication burden breakdown list in all classifications, as presented in Table 5. Taiwan’s Central Weather Bureau (CWB) offers free weather and solar observation data hourly via the web application programming interface (API) in 2.58 kB. Each analysis result from EDGE converts to the images in 467 kB. The MQTT protocol is divided into many transmission control protocol layer packages in 1494 bytes. The daily CWB forecast data are 56 kB. Historical data and FTU measurement data are still from the TPC and CWB database in this study.
Figure 16 contains 15 importance factor analyses in the FTU3 current mode analysis; the hour and cloud importance factors are dominants. The high cloud, low wind speed, and low wind direction factors prove that the FTU3 feeder connects some PVs, but no wind energy generators are shown in the illustrations in Figure 6. Three-phase loading is almost in balance, except the B-phase is slightly higher.
The forecast result example is illustrated in Figure 17, which contains the PQ power, voltage, current, and transmission line loss manners. The white and gray color areas represent the day and nighttime, respectively. The dual vertical axes, start and end time, and legend form the necessary references from the small mobile phone screen view. A user client refers to a mobile phone and monitors feeder operation. The MQTT-Dash application subscribes to the desired topics and receives the latest images.
A running EDGE, MQTT broker, and mobile phone device form the proposed service. At a room temperature of 20 °C, EDGE and its system on a chip (SOC) consume power at approximately 17.6 and 9.0 W, respectively. The semiconductor’s junction temperature increases to 25 °C from the report on the Linux kernel [38]. Deploying EDGE outdoors may have a suitable thermal design margin during summer at 45 °C, but may not reach the operation limitation of 97 °C.

5. Conclusions

This study demonstrated an FTU-based feeder power forecast using the EDGE platform. This platform consists of data collection, forecast solver, important-factor explainer, power flow calculation, MQTT publisher, MQTT broker, and MQTT-Dash application. Theories were introduced from the algorithm equations to implement strategies to build up the system.
The forecast solver result indicated the waveform comparison between the real and forecast outcomes in approximately 488.6 s. The important-factor explainer examined the design concept, and its normalized factors exhibited a 6.54% error.
In the system experiment, the values of surface temperature, junction temperature, and power consumption performed well within the Jetson Nano SOC IC specification. The user client application displayed EDGE’s published images from the MQTT broker service. All of the images, forecast data, analyzer output, and loss tables were stored in an SQLite format file in an SD card for further application. The developed prototype platform could be implemented in FTU in the laboratory to enhance the intelligence function in smart ADN operations.

Author Contributions

All authors contributed meaningfully to this study. Research topic, W.-T.H., H.-C.C., W.-C.L. and K.-C.Y.; methodology, H.-C.C. and W.-T.H.; coding, H.-C.C. and W.-C.L.; validation, K.-C.Y. and W.-T.H.; writing—original draft preparation, H.-C.C., W.-C.L. and W.-T.H.; writing—review and editing, W.-T.H. and K.-C.Y.; supervision, W.-T.H. and K.-C.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was sponsored in part by the National Science and Technology, Taiwan, under grant MOST 111-3116-F-018-001, MOST 110-2221-E-018-012, and MOST 109-2221-E-018-004-MY2.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this research is enclosed within the manuscript. No external data sources are used in this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Han, G.; Xu, B.; Suonan, J. IEC 61850-Based Feeder Terminal Unit Modeling and Mapping to IEC 60870-5-104. IEEE Trans. Power Deliv. 2012, 27, 2046–2053. [Google Scholar] [CrossRef]
  2. Kulkarni, S.; Gu, Q.; Myers, E.; Polepeddi, L.; Lipták, S.; Beyah, R.; Divan, D. Enabling a Decentralized Smart Grid Using Autonomous Edge Control Devices. IEEE Internet Things J. 2019, 6, 7406–7419. [Google Scholar] [CrossRef]
  3. Moghe, R.; Tholomier, D.; Divan, D.; Schatz, J.; Lewis, D. Grid Edge Control: A new approach for volt-var optimization. In Proceedings of the 2016 IEEE/PES Transmission and Distribution Conference and Exposition (T&D), Dallas, TX, USA, 3–5 May 2016; pp. 1–5. [Google Scholar]
  4. Moghe, R.; Tholomier, D.; Divan, D. Distribution grid edge control: Field demonstrations. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar]
  5. Choobineh, M.; Silva-Ortiz, D.; Mohagheghi, S. An Automation Scheme for Emergency Operation of a Multi-Microgrid Industrial Park. IEEE Trans. Ind. Appl. 2018, 54, 6450–6459. [Google Scholar] [CrossRef]
  6. Shi, J.; Wang, Z. A Hybrid Forecast Model for Household Electric Power by Fusing Landmark-Based Spectral Clustering and Deep Learning. Sustainability 2022, 14, 9255. [Google Scholar] [CrossRef]
  7. Wang, D.; Cui, X.; Niu, D. Wind Power Forecasting Based on LSTM Improved by EMD-PCA-RF. Sustainability 2022, 14, 7307. [Google Scholar] [CrossRef]
  8. NGSPICE. Mixed Mode—Mixed Level Circuit Simulator Based on Berkeley’s SPICE3F5. Available online: http://ngspice.sourceforge.net/index.html (accessed on 10 September 2022).
  9. Zhang, X. Power System Transient Modeling and Simulation using Integrated Circuit. In Proceedings of the 2021 IEEE Power & Energy Society General Meeting (PESGM), Washington, DC, USA, 26–29 July 2021. [Google Scholar] [CrossRef]
  10. Huang, W.T.; Chih, H.C.; Yao, K.C. Scott Connection Transformer Analysis in the Railway Traction System Using the Simulation Program with Integrated Circuit Emphasis Model. In Proceedings of the 2019 IEEE 13th International Conference on Power Electronics and Drive Systems (PEDS), Toulouse, France, 9–12 July 2019; pp. 1–3. [Google Scholar]
  11. Shin, I.; Eom, D.; Song, B. The CoAP-based M2M gateway for distribution automation system using DNP3.0 in smart grid environment. In Proceedings of the 2015 IEEE International Conference on Smart Grid Communications (SmartGridComm), Miami, FL, USA, 2–5 November 2015; pp. 713–718. [Google Scholar]
  12. Cheng, L. Study and application of DNP3.0 in SCADA system. In Proceedings of the 2011 International Conference on Electronic & Mechanical Engineering and Information Technology, Harbin, China, 12–14 August 2011; pp. 4563–4566. [Google Scholar]
  13. Kong, L.; Li, G.; Rafique, W.; Shen, S.; He, Q.; Khosravi, M.R.; Wang, R.; Qi, L. Time-Aware Missing Healthcare Data Prediction Based on ARIMA Model. IEEE/ACM Trans. Comput. Biol. Bioinform. 2022, 1–10. [Google Scholar] [CrossRef] [PubMed]
  14. Duan, J.; Kashima, H. Learning to Rank for Multi-Step Ahead Time-Series Forecasting. IEEE Access 2021, 9, 49372–49386. [Google Scholar] [CrossRef]
  15. Jha, B.K.; Pande, S. Time Series Forecasting Model for Supermarket Sales using FB-Prophet. In Proceedings of the 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), Erode, India, 8–10 April 2021; pp. 547–554. [Google Scholar]
  16. Kong, W.; Dong, Z.Y.; Jia, Y.; Hill, D.J.; Xu, Y.; Zhang, Y. Short-Term Residential Load Forecasting Based on LSTM Recurrent Neural Network. IEEE Trans. Smart Grid 2019, 10, 841–851. [Google Scholar] [CrossRef]
  17. Motepe, S.; Hasan, A.N.; Stopforth, R. Improving Load Forecasting Process for a Power Distribution Network Using Hybrid AI and Deep Learning Algorithms. IEEE Access 2019, 7, 82584–82598. [Google Scholar] [CrossRef]
  18. Dong, M.; Grumbach, L. A Hybrid Distribution Feeder Long-Term Load Forecasting Method Based on Sequence Prediction. IEEE Trans. Smart Grid 2020, 11, 470–482. [Google Scholar] [CrossRef] [Green Version]
  19. Pal, N.; Ghosh, P.; Karsai, G. DeepECO: Applying Deep Learning for Occupancy Detection from Energy Consumption Data. In Proceedings of the 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), Boca Raton, FL, USA, 16–19 December 2019; pp. 1938–1943. [Google Scholar]
  20. Brownlee, J. Long Short-term Memory Networks with Python: Develop Sequence Prediction Models with Deep Learning; Machine Learning Mastery: Vermont, Australia, 2017. [Google Scholar]
  21. Lamons, M.; Kumar, R.; Nagaraja, A. Python Deep Learning Projects: 9 Projects Demystifying Neural Network and Deep Learning Models for Building Intelligent Systems; Packt Publishing Ltd.: Birmingham, AL, USA, 2018. [Google Scholar]
  22. Shawi, R.E.; Sherif, Y.; Al-Mallah, M.; Sakr, S. Interpretability in HealthCare A Comparative Study of Local Machine Learning Interpretability Techniques. In Proceedings of the 2019 IEEE 32nd International Symposium on Computer-Based Medical Systems (CBMS), Cordoba, Spain, 5–7 June 2019; pp. 275–280. [Google Scholar]
  23. Lundberg, S.; Lee, S.-I. A Unified Approach to Interpreting Model Predictions. arXiv 2017, arXiv:1705.07874. [Google Scholar]
  24. Lundberg, S.M.; Erion, G.; Chen, H.; DeGrave, A.; Prutkin, J.; Nair, B.; Katz, R.; Himmelfarb, J.; Bansal, N.; Lee, S.-I. Explainable AI for Trees: From Local Explanations to Global Understanding. arXiv 2019, arXiv:1905.04610. [Google Scholar] [CrossRef]
  25. Kolker, A. The Concept of the Shapley Value and the Cost Allocation Between Cooperating Participants; IGI Global: Hershey, PA, USA, 2017; pp. 2095–2107. [Google Scholar]
  26. Narahari, Y. The Shapley Value—Game Theory Lab. 2012. Available online: https://gtl.csa.iisc.ac.in/gametheory/ln/web-cp5-shapley.pdf (accessed on 8 October 2022).
  27. Thurner, L.; Scheidler, A.; Schafer, F.; Menke, J.; Dollichon, J.; Meier, F.; Meinecke, S.; Braun, M. Pandapower—An Open Source Python Tool for Convenient Modeling, Analysis and Optimization of Electric Power Systems. IEEE Trans. Power Syst. 2018, 33, 6510–6521. [Google Scholar] [CrossRef] [Green Version]
  28. Cai, Y.; Deng, C.; Zhou, Q.; Yao, H.; Niu, F.; Sze, C.N. Obstacle-Avoiding and Slew-Constrained Clock Tree Synthesis With Efficient Buffer Insertion. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 2015, 23, 142–155. [Google Scholar] [CrossRef]
  29. Nourazar, M.; Rashtchi, V.; Azarpeyvand, A.; Merrikh-Bayat, F. Code Acceleration Using Memristor-Based Approximate Matrix Multiplier: Application to Convolutional Neural Networks. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 2018, 26, 2684–2695. [Google Scholar] [CrossRef]
  30. Wang, Y.; Shen, Y.; Su, C.; Ma, J.; Liu, L.; Dong, X. CryptSQLite: SQLite with High Data Security. IEEE Trans. Comput. 2019, 69, 666–678. [Google Scholar] [CrossRef]
  31. Lee, H.; Lim, J.; Kwon, T. MQTLS: Toward Secure MQTT Communication with an Untrusted Broker. In Proceedings of the 2019 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Korea, 16–18 October 2019; pp. 53–58. [Google Scholar]
  32. Luoto, A.; Systä, K. Fighting network restrictions of request-response pattern with MQTT. IET Softw. 2018, 12, 410–417. [Google Scholar] [CrossRef]
  33. Vogt, H.; Hendrix, M.; Nenzi, P. Ngspice Users Manual ngspice-28. 2018. Available online: http://sourceforge.net/projects/ngspice/files/ (accessed on 9 September 2022).
  34. Chen, T.-H.; Wang, S.-W. Simplified three-phase lateral and feeder models for fast distribution system calculations. Electr. Power Syst. Res. 1996, 39, 47–53. [Google Scholar] [CrossRef]
  35. Chih, H.-C.; Huang, W.-T.; Lin, W.-C.; Yao, K.-C.; Lee, Y.-D.; Jiang, J.-L.; Lai, H.-M. Study on Three-Phase Power Flow Approach for Unbalanced Distribution Networks Based on Circuit Models. ICIC Express Lett. 2019, 10, 8. [Google Scholar] [CrossRef]
  36. Lo, K.L.; Ng, H.S. Feeder simplifications for distribution system analysis. Electr. Power Syst. Res. 1997, 42, 201–207. [Google Scholar] [CrossRef]
  37. Kodali, R.K.; Gorantla, V.S.K. Weather tracking system using MQTT and SQLite. In Proceedings of the 2017 3rd International Conference on Applied and Theoretical Computing and Communication Technology (iCATccT), Tumkur, India, 21–23 December 2017; pp. 205–208. [Google Scholar]
  38. Nvidia. NVIDIA JETSON NANO Thermal Design Guide 1.2; Nvidia: Santa Clara, CA, USA, 2019. [Google Scholar]
Figure 1. Proposed EDGE platform and relations.
Figure 1. Proposed EDGE platform and relations.
Sustainability 14 13042 g001
Figure 2. The desired EDGE platform inside the TPC’s FTU chassis.
Figure 2. The desired EDGE platform inside the TPC’s FTU chassis.
Sustainability 14 13042 g002
Figure 3. Significant blocks in the proposed EDGE platform.
Figure 3. Significant blocks in the proposed EDGE platform.
Sustainability 14 13042 g003
Figure 4. Proposed EDGE platform, Nvidia® Jetson nano-device, and its software stacks.
Figure 4. Proposed EDGE platform, Nvidia® Jetson nano-device, and its software stacks.
Sustainability 14 13042 g004
Figure 5. A Vanilla LSTM network model.
Figure 5. A Vanilla LSTM network model.
Sustainability 14 13042 g005
Figure 6. Equivalent simplified feeder model for the end voltage or line loss calculations.
Figure 6. Equivalent simplified feeder model for the end voltage or line loss calculations.
Sustainability 14 13042 g006
Figure 7. Forecast solver process blocks and flow.
Figure 7. Forecast solver process blocks and flow.
Sustainability 14 13042 g007
Figure 8. Power flow computing process flow chart.
Figure 8. Power flow computing process flow chart.
Sustainability 14 13042 g008
Figure 9. Simplified feeder topology with three FTUs.
Figure 9. Simplified feeder topology with three FTUs.
Sustainability 14 13042 g009
Figure 10. Single-line diagram of a real distribution feeder of TPC.
Figure 10. Single-line diagram of a real distribution feeder of TPC.
Sustainability 14 13042 g010
Figure 11. Equivalent individual phase loads of various transformer connections with loads or DREs.
Figure 11. Equivalent individual phase loads of various transformer connections with loads or DREs.
Sustainability 14 13042 g011
Figure 12. Equivalent feeder in each FTU measurement area.
Figure 12. Equivalent feeder in each FTU measurement area.
Sustainability 14 13042 g012
Figure 13. Prototype EDGE platform and private MQTT server.
Figure 13. Prototype EDGE platform and private MQTT server.
Sustainability 14 13042 g013
Figure 14. Forecast results include the real and predicted waveforms of the phase A current.
Figure 14. Forecast results include the real and predicted waveforms of the phase A current.
Sustainability 14 13042 g014
Figure 15. Comparison of the important-factor performance under the LSTM, XGBoost, and MLP forecast solver.
Figure 15. Comparison of the important-factor performance under the LSTM, XGBoost, and MLP forecast solver.
Sustainability 14 13042 g015
Figure 16. Importance-factor explainer result displayed on the mobile device screen.
Figure 16. Importance-factor explainer result displayed on the mobile device screen.
Sustainability 14 13042 g016
Figure 17. FTU3 phase A forecast in the PQ (top), voltage and current (middle), and transmission line (bottom).
Figure 17. FTU3 phase A forecast in the PQ (top), voltage and current (middle), and transmission line (bottom).
Sustainability 14 13042 g017aSustainability 14 13042 g017b
Table 1. Forecast solver’s MAPE result in each FTU.
Table 1. Forecast solver’s MAPE result in each FTU.
FTUFTU1FTU2FTU3
PhaseABCABCABC
voltage0.40.40.50.40.50.50.50.50.5
current17.021.324.512.114.615.913.114.315.4
P21.326.831.614.918.019.616.117.518.9
Q9.613.413.34.55.85.34.95.45.8
LSTM training time495.9484.4485.7
Forecast period: 13 h (2184 time-series data), unit: % and sec.
Table 2. Important-factor explainer performance comparison of the LSTM, XGBoost, and MLP.
Table 2. Important-factor explainer performance comparison of the LSTM, XGBoost, and MLP.
Nominal   Weight   w n LSTMMLPXGBoost
w 1 0.020.020.010.00
w 2 0.120.120.100.04
w 3 0.200.180.190.11
w 4 0.290.310.320.26
w 5 0.370.370.380.59
run time
(sec)
-46.901.2246.23
Preset weight values, w n are 0.05, 0.30, 0.50, 0.75, and 0.95.
Table 3. Important-factor explainer performance in the polynomial equation case.
Table 3. Important-factor explainer performance in the polynomial equation case.
Nominal   Weight   w n LSTM ϕ i
w 1 / ϕ 1 0.020.02
w 2 / ϕ 2 0.040.04
w 3 / ϕ 3 0.050.05
w 4 / ϕ 4 0.070.08
w 5 / ϕ 5 0.090.07
w 6 / ϕ 6 0.110.12
w 7 / ϕ 7 0.130.12
w 8 / ϕ 8 0.150.15
w 9 / ϕ 9 0.160.16
w 10 / ϕ 10 0.180.18
Table 4. Computation time comparison on EDGE and PC.
Table 4. Computation time comparison on EDGE and PC.
Platform
(FP16 Performance (TFLOPs))
EDGE
Nano Jetson (0.472)
PC
i7-5820K CPU
P2000 GPU (3.0)
LSTM forecast LSTM networks1679.6413.5
LSTM forecast estimation92.222.0
Symmetric component analysis6.81.3
Steady-state analysis—line loss17.13.1
Important-factor explainers2932.4530.1
MQTT publish15.43.0
Total (seconds)4743.5963.0
The term, FP16, refers to the “16-bit floating point”.
Table 5. Communication burden review.
Table 5. Communication burden review.
DataSourceClassificationProtocolBurden
feederFTUhistoricaldatabase--
weather/solarCWBhistoricaldatabase--
weather/solarCWBobservationweb API2.58 k/h
feeder FTUmeasurementdatabase
(IEC61850)
--
analysis resultEDGEforecastMQTT467 k/h
weather/solarCWBforecastweb API 56 k/day
Unit: bytes; web API: the open weather data service from the Central Weather Bureau in Taiwan.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chih, H.-C.; Lin, W.-C.; Huang, W.-T.; Yao, K.-C. Implementation of EDGE Computing Platform in Feeder Terminal Unit for Smart Applications in Distribution Networks with Distributed Renewable Energies. Sustainability 2022, 14, 13042. https://0-doi-org.brum.beds.ac.uk/10.3390/su142013042

AMA Style

Chih H-C, Lin W-C, Huang W-T, Yao K-C. Implementation of EDGE Computing Platform in Feeder Terminal Unit for Smart Applications in Distribution Networks with Distributed Renewable Energies. Sustainability. 2022; 14(20):13042. https://0-doi-org.brum.beds.ac.uk/10.3390/su142013042

Chicago/Turabian Style

Chih, Hsin-Ching, Wei-Chen Lin, Wei-Tzer Huang, and Kai-Chao Yao. 2022. "Implementation of EDGE Computing Platform in Feeder Terminal Unit for Smart Applications in Distribution Networks with Distributed Renewable Energies" Sustainability 14, no. 20: 13042. https://0-doi-org.brum.beds.ac.uk/10.3390/su142013042

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop