Introduction
Transport AC loss of high temperature superconducting (HTS) material is one of the most important factors together with carrying current level to design HTS transformers, superconducting magnetic energy storage, HTS cables, and superconducting fault current limiters for power grid applications. The total loss and efficiency of superconducting coils of such large-scale power devices is key parameter for network performance [1], [2]. Modern power network suffers from pollution by voltage and current harmonics due to widespread use of switching and speed control devices, non-linear loads, and lighting control systems [3], [4]. Thus, current in the power grid is no longer sinusoidal, and exhibits a distorted waveform. Therefore, it is vital to estimate precise nonsinusoidal AC loss in any HTS device prior to fabrication and installation, e.g. in design stage.
Some papers in literature studied the effect of nonsinusoidal transport current AC loss on HTS tape, coil, winding, or even in component level using analytical, numerical or experimental approaches [5]–[14]. Most of the research works in this field only considered an arbitrary distorted current waveform such as saw-tooth, square-shape, and triangular, instead of study the effect of each individual harmonic orders on the value of AC loss. The accurate calculation and prediction of nonsinusoidal AC loss is essential for any large-scale power applications, since the thermal stability and performance of cooling system absolutely depends on the value of AC loss as core heat load depends on the loading.
Artificial intelligence (AI) based methods are recently implemented in many different engineering problems. But application of AI models in applied superconductivity problems is certainly overlooked and has not been very popular. For example, artificial neural network (ANN) is an AI based method to solve complex problems such as data regression, classification, or clustering. ANN needs to be trained with data in order to be able to act as estimators and accurately model/represent the data pattern/behavior. ANN has a great potential to be used for solving applied superconductivity problems.
In [15], an analytical equation combined with ANN was linked to a finite element (FE) model in order to predict a semi-analytical formula for the calculation of AC loss of round wires under pure sinusoidal transport current in a fully superconducting rotating machine. The drawback of the proposed work is its complexity, as well as the need for simultaneous and couple working of ANN estimator with FE software. It makes this method slow and not robust enough, because any bug in the estimator side would feed the wrong information to the slow solving FE model. In [16], ANN was used to estimate AC losses of an HTS SMES for thermal stability studies. Firstly, the AC loss were calculated with a multi-scale model in FE software, and then back propagation ANN was implemented in MATLAB to estimate the loss. The current of the SMES was pure sinusoidal current. Results shown that the proposed simple back propagation ANN have between 2.5% to 15% error in estimation. In [17], ANN was used to design a MRI coil with complicated geometry. Using ANN, the design solving process got fast, and its accuracy increased. Still considering some of the parameters in the modeling process to achieve such high accuracy would be exhaustive. In [18], ANN was implemented in thermal design of a transient model for the ITER facility magnet, in order to predict the heat from the magnet to the liquid helium bath load caused by AC loss during plasma operation. The traditional calculation method for such study is exhaustively time consuming, thus, researchers decided to have incredibly faster estimation by giving up about 10% of accuracy.
There is a great potential to make AI involved in processing and estimating AC loss for superconductors, due to the highly nonlinear behavior of the HTS materials which makes FE solving process very slow, as well as expensive price and brittle nature of the HTS materials which make the experimental study very risky. Up to date, there is no literature on application of AI for nonsinusoidal AC loss predicting of HTS tapes. In this paper, firstly a 2D FE model was established in COMSOL Multiphysics to calculate AC loss of a typical HTS tape under current harmonics, with different amplitude, phase angles and harmonic contents to produce enough data for AI models. Secondly, in order to reduce the long computation time of the FE model, as well as complexity of having a harmonic order dependent FE model for AC loss under nonsinusoidal current, AI models including an ANN model were used to predict the nonsinusoidal AC loss for different harmonics. The proposed method is incredibly fast and accurate. The findings of the paper including the proposed best accurate model, will open the door for future online AC loss estimation for HTS electric machines.
AC Loss of HTS Tape Under Nonsinusoidal Current
Knowledge of AC loss in an HTS tape is critical for technical and economical design of any large-scale superconducting power network devices. Since, it is not only dictating the efficiency of the device, but also the size of it, as well as efficiency of cooling system. Therefore, prediction of AC loss in design stage under nonsinusoidal current is crucial. On the other hand, usually AC loss measurement or calculation is offline and could be done on a piece of short sample, or a device but under experimental set up; whilst using AI based models helps to estimate loss under any new excitation during the operating condition of superconducting devices.
In this paper, the
The \begin{equation*} E \mathord {\left /{ {\vphantom {E J}} }\right. } J=\left ({E_{0} \mathord {\left /{ {\vphantom {E_{0} {J_{c}\left ({B }\right)}}} }\right. } {J_{c}\left ({B }\right)} }\right)\left ({\left |{ J \mathord {\left /{ {\vphantom {J {J_{c}\left ({B }\right)}}} }\right. } {J_{c}\left ({B }\right)} }\right | }\right)^{\boldsymbol {n-1}}\tag{1}\end{equation*}
\begin{align*}&J_{c}{(B) }={J_{c0}\left ({1+\left ({k^{2}B_{x}^{2}+B_{y}^{2} }\right) \mathord {\left /{ {\vphantom {\left ({k^{2}B_{x}^{2}+B_{y}^{2} }\right) B_{0}^{2}}} }\right. } B_{_{0}}^{2} }\right)}^{-\alpha } \tag{2}\\&\partial (\mu _{0}{\mu }_{r}\mathrm { }\boldsymbol {H}\mathrm {)/\partial t + \nabla \times (}\rho \mathrm {\nabla \times }\boldsymbol {H}\mathrm {) = 0} \tag{3}\\&\begin{cases} \mu _{0}\mu _{r}\dfrac {\partial H_{x}}{\partial t}+\frac {\partial \left ({\rho \left ({\dfrac {\partial H_{y}}{\partial x}-\displaystyle \frac {\partial H_{x}}{\displaystyle \partial y} }\right) }\right)}{\displaystyle \partial y}=0 \\ \mu _{0}\mu _{r}\dfrac {\partial H_{y}}{\partial t}-\frac {\partial \left ({\rho \left ({\dfrac {\partial H_{y}}{\partial x}-\displaystyle \frac {\partial H_{x}}{\partial y} }\right) }\right)}{\displaystyle \partial x}=0 \\ \end{cases}\tag{4}\end{align*}
Transport current at any time, \begin{equation*} I_{t}=\int \limits _\Omega {J(t)} d\Omega\tag{5}\end{equation*}
Transport AC loss of superconducting tape, with unit of \begin{equation*} Q\mathrm {= 2}\int \limits _{T/2}^{T} \int \limits _\Omega {\boldsymbol {E\cdot J}{d}\Omega dt}\tag{6}\end{equation*}
In this paper, THD was defined to denote distortion of transport current by each harmonic current component (\begin{align*} {\mathrm {THD}}_{k}\%=&\left ({I_{hk}/I_{h1} }\right)\times 100 \tag{7}\\ I_{h1}=&i_{m}\cdot I_{\mathrm {c}}\tag{8}\end{align*}
In this paper,
The nonsinusoidal current, \begin{align*} i_{\mathrm {nonsin}}\left ({t }\right)\!=\!I_{h1}\mathrm {sin}\left ({\mathrm {2\pi }ft\!+\!\varphi _{1} }\right)\!+\!{T\mathrm {HD}}_{k} I_{h1} \sin \left ({2 \pi kft\!+\!\varphi _{k} }\right)\!\!\!\! \\\tag{9}\end{align*}
The nonsinusoidal AC losses of the understudied HTS tape were calculated using H-formulation in COMSOL Multiphysics, and illustrated in Fig. 1. In Fig. 1(a), to Fig. 1(c), nonsinusoidal AC losses for 3rd, 5th, and 7th harmonics were shown in 3D view versus phase angle of harmonics (
Nonsinusoidal AC loss in HTS tape carrying harmonic current components at different phase angles and different
Now, we use these AC loss data points which are calculated in this section as an input (training and testing) and also validation data for next section to be implemented in AI based models for predicting nonsinusoidal AC loss.
Implementation of Artificial Intelligence-Based Models
The main purpose of this paper is to predict AC loss in HTS tapes while carrying nonsinusoidal current using AI based models. Different regression models such as mathematical and Computational Intelligence (CI) based models could be implemented. Many models were introduced for regression problems in literatures, but they have not been applied for superconducting problems, so it would be necessary to evaluate them to find the best model for AC loss prediction. Therefore, Support Vector Machine (SVM) regression model, Generalized Linear (GL) regression model, Decision Tree (DT) regression model, Feed Forward Neural Network (FFNN) based model with three hidden layers and Adaptive Neuro Fuzzy Inference System (ANFIS) based model and RBFNN based model were considered to find more adaptive and precise one to accurately predict AC losses of a typical HTS tape. Note that GL and DT models are mathematical based regression models while SVM, FNN, ANFIS and RBFNN models are CI based regression models.
A. Overview of Regression Models
1) Generalized Linear Regression Model
Simplest choice for modelling linear relationship between a response and predictive term is LR model. Since most of the physical phenomena are non-linear, it is impossible to simply solve them by LR, therefore it is necessary to improve LR performance by nonlinear parameters. LR can be generalized by using gamma distribution. The equations (10) and (11) show the LR and GLR [20].\begin{align*} \mu=&\text {b} \times \text {X} \tag{10}\\ \mu ^{-1}=&\text {b} \times \text {X}\tag{11}\end{align*}
2) Decision Tree Regression Model
The DTR model works based on a tree structure. Important components of a DT are root node, decision node, leaf node, splitting and pruning. DT structure is plotted upside down, DT starts by a root nod, in the next levels nodes are split into one or more child nodes which is called decision node. Leaf nodes or Terminal nodes are the last nodes in the DT structure.
In the DTR, the mean value of the training data is assigned to the leaf nodes. When test data falls into the tree, its output is predicted by mean values [21].
3) Support Vector Machine Regression Model
The SVM is basically a collection of set of hyper-planes in high dimensional space. SVM maps input data to higher dimension to increase separability of features between classes or data space. Main concept of SVM is to increase functional margin between hyper-plane and the nearest training data. SVM was introduced for solving complex classification problems, but it can also be applied for regression problems. Support Vector Machine Regression (SVMR) is based on the SVM’s concepts and principles with some little changes in calculation of cost function. In the case of prediction (regression) the most important thing is to find a function that maps input data close to real numbers.
Fig. 2 shows that points should be approximate within the decision boundary lines for good prediction. Red lines are the decision boundaries and blue line is the hyperplane that fits to the training data. The goal of SVMR is to minimize errors (\begin{equation*} \frac {1}{2}\left \|{ w }\right \|^{2}+C\sum \nolimits _{i=1}^{N} \left ({\zeta _{i}+\zeta _{i}^{\ast } }\right)\tag{12}\end{equation*}
4) Feed Forward Neural Network Based Model
The CI based methods usually find the best solution based on an iterative algorithm for finding the optimum value of cost function. In regression problems, cost function is similarity between real output (which is called target) and output of the algorithm (which is called predicted value). Artificial Neural Network (ANN) based methods show their abilities to develop reliable and accurate model to solve non-linear and complex problems in literatures [22]–[25]. One of the basic architectures of ANN is feed forward structure. As it can be seen in Fig. 3, Feed Forward Neural Network (FFNN) includes input layer, hidden layers, and an output layer. Each layer consists of neurons which are connected to neurons of the next layer by synaptic weights [22]. Equation (13) shows the relation between output and the structure of FFNN.\begin{equation*} X_{J} = g (W_{IJ} X_{I})\tag{13}\end{equation*}
5) Adaptive Neuro Fuzzy Inference System Based Model
Another CI method that shows very promising performance is Fuzzy logic [26]. Fuzzy logic-based methods work based on human observation and not based on crisp values, so they are able to consider vagueness and imprecision of data. Developing optimum model for a complex problem is so exhaustive and it needs full knowledge about the physics, technology, and engineering of problem. Therefore, Adaptive Neuro Fuzzy Inference System known as ANFIS was introduced to automatically generate fuzzy set by using ANN structure. As Fig. 4 shows ANFIS includes five layers. At first layer, membership functions are determined for input values which is called Fuzzification layer. In the second layer that is called Rule layer, firing strength of the rules that are generated based on the first layer are predicted. The third layer normalizes the output of previous layer. At next layer, defuzzification procedure is done for the last layer which returns the final predicted value.
6) Radial Basis Function Neural Network (RBFNN)
Although most of the aforementioned CI methods show promising results, choosing the best one depends on database.
The most important advantage and disadvantage of RBFNN are as follows:
Advantage: Due to linear mapping from hidden layer to output layer, RBFNN doesn’t trap into local minima. By this linearity, error surface becomes quadratic and therefore just has a single minimum.
Disadvantage: Determining useful RBF centers are extremely depends on the distribution of input data. Therefore, RBFNN can present reliable outputs whenever experimental results are extracted by proper sampling rate.
The Main concept of the RBFNN is to assign input data to closest and most similar training center. RBFNN consists of functions which are based on Gaussian function and so-called Radial Basis Function (RBF). As shown in Fig. 5, RBFNN includes three layers. First layer is input layer and accept the input data. In the second layer, input data is mapped onto hidden layer. Each neuron in this layer is an RBF with a center and a radius (also called spread). Equation (14) shows the formulation of RBF. Center is determined during training step by a learning method but radius should be determined based on the knowledge of database.\begin{equation*} h\left ({x }\right)=exp\left ({-\frac {\left ({x-c }\right)^{2}}{r^{2}} }\right)\tag{14}\end{equation*}
The most important variables in RBFNN is its weights. The Euclidean distance between the new point and the center of each neuron is calculated and then RBF is applied to the distance to generate the weight or in other words, the influence of each neuron in output layer. Third layer is summation layer, it means that the output of neurons in hidden layer which are multiplied by their associated weights are added together to be presented as an output.
AC Loss Prediction: Results and Discussions
In this paper, in order to develop AI based models for predicting AC loss of HTS tape under nonsinusoidal current, amplitude, phase angle, and total harmonic distortion of current harmonics are considered as input variables. For each order of harmonics (the 3rd, the 5th, and the 7th), 1110 experimental data are extracted based on the variation of input variables, therefore 3330 experimental data are available for developing AI based prediction models.
In this section, 5-fold cross-validation technique is used to evaluate and validate the robustness of the proposed prediction models; therefore, all results are reported based on the average values with their standard deviation. For each harmonic order (the 3rd, the 5th, and the 7th), 1110 experimental data are partitioned into 5 equal sized subsamples. In each repetition of cross-validation, one subsample is used as testing data, one subsample is used as validating data and remained data are used as training data. The main purpose of this paper is to develop an AI based model to predict AC loss by using amplitude of harmonic current, phase angle of harmonic current, and its THD. The range of these variables are not same and in order to have the best training process, it is necessary to normalize them in a same range. Therefore, Min-Max normalization based on Equation (15) is used to normalize all data into the range of zero to one.\begin{equation*} Normalized~ data=\frac {\left ({D-D_{min} }\right)}{\left ({D_{max}-D_{min} }\right)}\tag{15}\end{equation*}
\begin{align*}&\hspace {-2pc}U\_{}Accuracy \\=&\frac {\sqrt {\sum \nolimits _{i=1}^{n} \left ({{Target}_{i}-{Predicted}_{i} }\right)^{2}}}{\sqrt {\sum \nolimits _{i=1}^{n} \left ({{Target}_{i} }\right)^{2}}} \tag{16}\\&\hspace {-2pc}U\_{}Quality \\=&\frac {\sqrt {\frac {1}{n}\sum \nolimits _{i=1}^{n} \left ({{Target}_{i}-{Predicted}_{i} }\right)^{2}}}{\sqrt {\frac {1}{n}\sum \nolimits _{i=1}^{n} \left ({{Target}_{i} }\right)^{2}} +\sqrt {\frac {1}{n}\sum \nolimits _{i=1}^{n} \left ({{Predicted}_{i} }\right)^{2}}} \qquad \tag{17}\\&\hspace {-2pc}RMSE \\=&\sqrt {\frac {1}{n}\sum \nolimits _{i=1}^{n} \left ({{Target}_{i}-{Predicted}_{i} }\right)^{2}} \tag{18}\\&\hspace {-2pc}R-value \\=&1-\frac {\sum \nolimits _{i=1}^{n} \left ({{Target}_{i}-{Predicted}_{i} }\right)^{2}}{\sum \nolimits _{i=1}^{n} \left ({{Target}_{i}-mean }\right)^{2}}\tag{19}\end{align*}
A. Sensitivity Analysis of the Proposed AI Based Models
The main goal of this paper is to find best and adaptive model for predicting AC loss of superconductors under nonsinusoidal currents, therefore, each model is justified in its best performance. In each repetition of cross-validation process, models are trained by training data and then, trained model is evaluated by validating data and U_Accuracy as prediction measure for all the harmonics. All obtained results are shown based on the average of U_Accuracy values for five separated runs and their standard deviation.
1) GLR Based Model
Generalized Linear Regression (GLR) has two main controlling parameters, model specification and distribution function. Model specification (type) helps to find and select best functional form for a statistical model and determine which variables could be included. Most well-known model specifications are ’Constant’, ’Linear’, ’Quadratic’, and ’Interaction’. Another parameter is distribution of variables which can be ’Normal’, ’Poisson’, ’Gamma’, and ’Inverse Gaussian’. As it can be seen in Tables 2 and 3, best model specification for all harmonics is ’Quadratic’ and by using this model type best distribution is ’Poisson’.
2) DTR Based Model
Using best algorithm for selecting the best split predictor at each node of the tree, plays an important role for the DTR performance. Obtained results which are shown in Table 4 prove that using ’All splits’ algorithm will lead to better performance in comparison with ’curvature’ and ’interaction’ algorithms. By using ’All splits’ algorithm, all possible splits are considered as predictor and it helps to search all solution space.
3) SVMR Based Model
One of the most important advantage of SVMR is using Kernel. It can map feature space into higher dimension and helps regression model to find more adaptive space to the target values. Most common used Kernels for SVMR are ’Gaussian’, ’Linear’, and ’Polynomial’ types. According to the obtained results in Table 5, Gaussian and Polynomial kernels present similar performance, but in the most of the harmonics ’Polynomial’ kernel is better than other kernels.
4) FFNN Based Model
Two main parameters of FFNN structure are number of hidden layers and Activation Function (AF) which is applied on each neuron in the layers. In order to find proper AF, at first FFNN is initialized with one hidden layer consisted of 3 neurons. Table 6 shows that best performance could be obtained by using ’Logarithm sigmoid’ AF.
Then, sensitivity analysis has been done on the number of layers by using ’Logarithm sigmoid’ AF for all neurons. Fig. 6 shows that best performance could be achieved by increasing the number of hidden layers. In other hand, computational cost will be increased by the structure deepens, while results are not changed significantly. Therefore, best structure could be obtained by four hidden layers.
Sensitivity analysis of the number of hidden layers for FFNN based models for 3rd, 5th, and 7th harmonics.
5) ANFIS Based Model
It is absolutely important in any Fuzzy sets to use Membership Functions (MFs) most adaptive to the nature of data and the solution space. It helps the rules of Fuzzy sets to cover all possible events. Table 7 shows that ’Gaussian’ and ’Generalized bell-shaped’ MFs are the best options for this research work. By using ’Gaussian’ MF, lowest value of U_Accuracy can be obtained, while low value of U_Accuracy with least value of standard deviation can be achieved by using ’Generalized bell-shaped’ MF.
6) RBFNN Based Model
As mentioned in section (III.A.6.) the most important parameter for RBFNN is spread of radial basis function. In each repetition of cross-validation, proper spread value has been found by seeking from 0.001 to 5. As it can be seen in Fig. 7 which is one of the variations of the spread value for validating data for 5th harmonic, best spread value is 0.8. Sensitivity analysis on spread value as presented in Table 8 shows that best performance of RBFNN could be achieved when the spread value is considered in the range of 0.5 to 1.
B. Nonsinusoidal AC Loss Prediction for Specified Harmonic Order
According to the results of sensitivity analysis process, best parameters are considered for AI models. In this step, in order to evaluate proposed AI models, 5-fold cross-validation technique is used. In each repetition, models are trained by training data and then, performance of trained model is evaluated using testing data. Evaluations are done based on four prediction measures which are presented in equations (16) to (19).
Table 9 and 10 show the performance of proposed models for training and testing data in the 3rd, the 5th, and the 7th harmonics, respectively. Obtained results for training data show that ANFIS and RBF based models present best performance. Although, the performance of these two models are so similar but according to the obtained results for testing data RBF based model shows better performance.
C. A General AI Based Model for All Harmonic Orders
Obtained results for testing data show that RBF based model is very accurate and reliable. Therefore, in this section to achieve final goal of this paper which is to introduce a general model to predict nonsinusoidal AC loss of HTS tape under different current harmonics, RBF based model is introduced.
Same as previous sections, cross-validation is used to evaluate prediction performance of proposed model. All 3330 experimental data are partitioned into five equal sized subsamples. In this step, order of harmonic is considered as input variable in addition to three mentioned variables, therefore, four input variables are used to develop RBF based model.
According to the sensitivity analysis spread value is considered as 0.5. Table 11 shows the performance of proposed model based on four measure factors and Fig. 8 presents the regression results for testing data in one repetition of cross-validation.
Obtained results for RBF based model show that U_Accuracy, U_Quality and RMSE are close to zero and R_Value is one. In addition, Fig. 9 which is based on U_Accuracy measure illustrates that RBF based model is accurate and reliable in comparison with other AI based models. According to Fig. 9 performance of DTR-, FFNN-, ANFIS- and RBF based models are so promising. Among them best performance is belong to RBF, while ANFIS is so close to it. FFNN based model has acceptable average value but its standard deviation is not good enough.
Comparison between proposed RBF based model and other AI based model according to U_Accuracy measure.
Conclusion
Application of artificial intelligence in applied superconductivity is certainly overlooked. In this paper, several artificial intelligence-based models and approaches were introduced and implemented for predicting AC loss of a typical HTS tape. For this purpose, nonsinusoidal AC losses of the tape were modeled using finite element method based on H-formulation in COMSOL Multiphysics. Three main orders of current harmonics i.e. 3rd, 5th and 7th orders were considered to distort the transport current. Amplitude, phase angle, and total harmonic distortion of current harmonics were considered as study parameters.
Six deferent AI based models are considered to find more adaptive and robust prediction model, which are Support Vector Machine (SVM) regression model, Generalized Linear (GL) regression model, Decision Tree (DT) regression model, Feed Forward Neural Network (FFNN) based model with three hidden layer and Adaptive Neuro Fuzzy Inference System (ANFIS) based model and RBFNN based model. For each harmonic order, sensitivity analysis has been done to find best controlling parameters for AI based models. Trained models are tested for 3rd, 5th and 7th orders and also for all harmonic orders condition.
Our investigations based on obtained results for training and testing data with cross-validation technique show that best prediction performance is belong to RBFNN. RBFNN based model presents less than 0.001 and 0.005 U_Accuracy value for training and testing data, respectively. Also, R_Value for both of them is close to one. After RBFNN, ANFIS based model could be a good choice for predicting AC loss with less than 0.009 U_Accuracy value.
The AI-based models presented and implemented in this paper, open new doors for introducing and using them in the field of applied superconductivity. In addition, the optimal model of this paper will enable online loss prediction of HTS coils and windings in superconducting rotating machine of future electric aircrafts.
The future work is to use fuzzy logic/system for setting a smart system capable of predicting the AC loss of HTS rotating machine while nonsinusoidal current is a spectrum of 20 harmonic components. This proposed fuzzy model will be compared with the presented ANFIS and ANN models of this paper from accuracy point of view. Note that fuzzy model is an expert system, which not only needs data to be set, but also need a deep knowledge of the problem/system as well.