diff --git a/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Classification Model.ipynb b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Classification Model.ipynb new file mode 100644 index 0000000..72f5797 --- /dev/null +++ b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Classification Model.ipynb @@ -0,0 +1,1690 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "8d4bf69d", + "metadata": {}, + "source": [ + "# Voltage Quality Classification Model\n", + " The quality of power supplied to end-use equipments depends upon the quality of voltage supplied by utility. Voltage is said to have quality if it has rated value at rated frequency without any distortion from sine wave. The normal voltage quality issues are:\n", + "- Voltage Sag\n", + "- Voltage Swell\n", + "- Voltage Flicker\n", + "- Voltage Harmonics\n", + "- Voltage Interruption\n", + "\n", + "Classification of voltage quality is a must for activating corresponding controllers to mitigate the issues using compensating device. Training data is generated by using functions which simulate the above power quality issues." + ] + }, + { + "cell_type": "markdown", + "id": "8ba94acd", + "metadata": {}, + "source": [ + "# Installing the required packages" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "4f7c0ea6", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: xgboost in /opt/anaconda3/lib/python3.8/site-packages (1.4.2)\r\n", + "Requirement already satisfied: scipy in /opt/anaconda3/lib/python3.8/site-packages (from xgboost) (1.6.2)\r\n", + "Requirement already satisfied: numpy in /opt/anaconda3/lib/python3.8/site-packages (from xgboost) (1.20.1)\r\n" + ] + } + ], + "source": [ + "!pip install xgboost" + ] + }, + { + "cell_type": "markdown", + "id": "18fc265e", + "metadata": {}, + "source": [ + "# Importing the required libraries" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "c8212aea", + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "import seaborn as sn\n", + "import matplotlib.pyplot as plt\n", + "from matplotlib import rcParams\n", + "from sklearn.tree import DecisionTreeClassifier\n", + "from sklearn.svm import SVC\n", + "from sklearn.metrics import classification_report, confusion_matrix, accuracy_score\n", + "from xgboost import XGBClassifier\n", + "from sklearn.ensemble import RandomForestClassifier\n", + "from sklearn.model_selection import GridSearchCV\n", + "\n", + "%matplotlib inline\n", + "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\")" + ] + }, + { + "cell_type": "markdown", + "id": "0cf4bd32", + "metadata": {}, + "source": [ + "# Loading the data into the dataframe" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "be3e6804", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
SampleVoltageProblem
0156.46Normal
12111.20Normal
23162.57Normal
34209.00Normal
45249.09Normal
\n", + "
" + ], + "text/plain": [ + " Sample Voltage Problem\n", + "0 1 56.46 Normal\n", + "1 2 111.20 Normal\n", + "2 3 162.57 Normal\n", + "3 4 209.00 Normal\n", + "4 5 249.09 Normal" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data = pd.read_csv(\"Voltage Quality.csv\")\n", + "test = pd.read_csv(\"Voltage Quality Test.csv\")\n", + "data.head()" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "959d88dc", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
SampleVoltageProblem
0156.46Normal
12111.20Normal
23162.57Normal
34209.00Normal
45249.09Normal
\n", + "
" + ], + "text/plain": [ + " Sample Voltage Problem\n", + "0 1 56.46 Normal\n", + "1 2 111.20 Normal\n", + "2 3 162.57 Normal\n", + "3 4 209.00 Normal\n", + "4 5 249.09 Normal" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "test.head()" + ] + }, + { + "cell_type": "markdown", + "id": "865fe385", + "metadata": {}, + "source": [ + "# Total number of rows and columns" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "34b1b141", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(3366, 3)" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.shape # 3366 rows and 3 columns" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "c6fcc035", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(1020, 3)" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "test.shape" + ] + }, + { + "cell_type": "markdown", + "id": "91147657", + "metadata": {}, + "source": [ + "# Checking the type of data" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "a2612df2", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 3366 entries, 0 to 3365\n", + "Data columns (total 3 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 Sample 3366 non-null int64 \n", + " 1 Voltage 3366 non-null float64\n", + " 2 Problem 3366 non-null object \n", + "dtypes: float64(1), int64(1), object(1)\n", + "memory usage: 79.0+ KB\n" + ] + } + ], + "source": [ + "data.info()" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "4bda0fc9", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 1020 entries, 0 to 1019\n", + "Data columns (total 3 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 Sample 1020 non-null int64 \n", + " 1 Voltage 1020 non-null float64\n", + " 2 Problem 1020 non-null object \n", + "dtypes: float64(1), int64(1), object(1)\n", + "memory usage: 24.0+ KB\n" + ] + } + ], + "source": [ + "test.info()" + ] + }, + { + "cell_type": "markdown", + "id": "593b3e7c", + "metadata": {}, + "source": [ + "# Checking for missing values" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "a62ca453", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Sample 0\n", + "Voltage 0\n", + "Problem 0\n", + "dtype: int64" + ] + }, + "execution_count": 9, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.isnull().sum() # No missing values" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "ddf6406b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Sample 0\n", + "Voltage 0\n", + "Problem 0\n", + "dtype: int64" + ] + }, + "execution_count": 10, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "test.isnull().sum()" + ] + }, + { + "cell_type": "markdown", + "id": "451f6cda", + "metadata": {}, + "source": [ + "# Checking for duplicates" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "48f717bc", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "510" + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.duplicated().sum() # 510 duplicates" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "f1aa7d57", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "136" + ] + }, + "execution_count": 12, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "test.duplicated().sum()" + ] + }, + { + "cell_type": "markdown", + "id": "2f7bc812", + "metadata": {}, + "source": [ + "# Finding the unique values in problem column" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "id": "66c66225", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array(['Normal', 'Sag', 'Swell', 'Flicker', 'Interruption', 'Harmonics'],\n", + " dtype=object)" + ] + }, + "execution_count": 13, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.Problem.unique() # 6 unique values" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "e0974cd2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array(['Normal', 'Sag', 'Swell', 'Flicker', 'Interruption', 'Harmonics'],\n", + " dtype=object)" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "test.Problem.unique()" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "99109e7f", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
SampleVoltageProblem
0156.46Normal
12111.20Normal
23162.57Normal
34209.00Normal
45249.09Normal
\n", + "
" + ], + "text/plain": [ + " Sample Voltage Problem\n", + "0 1 56.46 Normal\n", + "1 2 111.20 Normal\n", + "2 3 162.57 Normal\n", + "3 4 209.00 Normal\n", + "4 5 249.09 Normal" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.head()" + ] + }, + { + "cell_type": "markdown", + "id": "1410da43", + "metadata": {}, + "source": [ + "# Analysing statistical data" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "id": "d35d8713", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
SampleVoltageProblem
count3366.0000003366.0000003366
uniqueNaNNaN6
topNaNNaNHarmonics
freqNaNNaN578
mean17.5000000.000226NaN
std9.812166229.620084NaN
min1.000000-585.480000NaN
25%9.000000-208.957500NaN
50%17.5000000.000000NaN
75%26.000000209.255000NaN
max34.000000585.480000NaN
\n", + "
" + ], + "text/plain": [ + " Sample Voltage Problem\n", + "count 3366.000000 3366.000000 3366\n", + "unique NaN NaN 6\n", + "top NaN NaN Harmonics\n", + "freq NaN NaN 578\n", + "mean 17.500000 0.000226 NaN\n", + "std 9.812166 229.620084 NaN\n", + "min 1.000000 -585.480000 NaN\n", + "25% 9.000000 -208.957500 NaN\n", + "50% 17.500000 0.000000 NaN\n", + "75% 26.000000 209.255000 NaN\n", + "max 34.000000 585.480000 NaN" + ] + }, + "execution_count": 16, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.describe(include=\"all\")" + ] + }, + { + "cell_type": "markdown", + "id": "553a108e", + "metadata": {}, + "source": [ + "# Finding outliers" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "51229178", + "metadata": {}, + "outputs": [], + "source": [ + "# Function to find the outliers\n", + "def findoutliers(column):\n", + " outliers=[]\n", + " Q1=column.quantile(.25)\n", + " Q3=column.quantile(.75)\n", + " IQR=Q3-Q1\n", + " lower_limit=Q1-(1.5*IQR)\n", + " upper_limit=Q3+(1.5*IQR)\n", + " for out1 in column:\n", + " if out1>upper_limit or out1 " + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "# Voltage\n", + "fix, (ax1,ax2) =plt.subplots(1,2,figsize=(7,5))\n", + "sn.boxplot(data.Voltage, orient='v',ax=ax1)\n", + "ax1.set_ylabel=data.Voltage.name\n", + "ax1.set_title('Box plot of {}'.format(data.Voltage.name))\n", + "sn.distplot(data.Voltage,ax=ax2) \n", + "ax2.set_title('Distribution plot of {}'.format(data.Voltage.name))" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "id": "784eada8", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "Harmonics 578\n", + "Swell 578\n", + "Sag 578\n", + "Normal 578\n", + "Flicker 544\n", + "Interruption 510\n", + "Name: Problem, dtype: int64" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Problem\n", + "data.Problem.value_counts()" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "id": "012d7672", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAABaYAAAFuCAYAAAB6E89YAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAhoklEQVR4nO3de/TlZV0v8PfHmQRNTTgOHAQMU9LwhjqShcdrKWY5LBPFtNA4iy5461gtzLOO1jmsLC+n0rDDMXW8hWgak61Qmu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+q6ouqKpPV9XvTm1HVNVnq+q102ztt1TVT1XVR6rqc1V1zIDHCwAAt8rq5S4AAAD2BlW1Osnjk5w7NR2T5L7dfXlVvSBJuvt+VXXvJO+tqh+d75fkX5NcUFV/092b5q772CRHTv0qyYaqeniSK5LcM8kJSU5JckGSX0jysCRPTPI7SY5f3CMGAIBbz4xpAADYPberqguTbMosLP7zqf387r582n5YkjclSXd/NskXk2wLps/r7i9397eSvHPqO++x09+nknwyyb0zC6qT5PLu3tzd301ycZKN3d1JNic5Yk8+SAAA2JPMmAYAgN3zre4+er6hqpLkm/NNuzi/b2a/kvx+d/+v7e7jiCTXzTV9d27/u/FaHwCAFcyMaQAAWLwPJnl6kkxLeNwtyaXTsZ+uqgOr6naZLb3xke3OfU+SX66qO0znH1pVBw2pGgAAFsQsCgAAWLwzkvxZVW1Ocn2SZ3b3ddPM6g9ntszHPZO8dX596STp7vdW1Y8l+djU/xtJnpHkhoH1AwDAHlWzJegAAAAAAGAMS3kAAAAAADCUYBoAAAAAgKEE0wAAAAAADCWYBgAAAABgKME0AAAAAABDCaYBAAAAABhKMA0AAAAAwFD/HyEyHXcDwBxuAAAAAElFTkSuQmCC\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "pl = sn.factorplot('Problem',data=data, aspect=4,kind='count')\n", + "pl.set_xticklabels()" + ] + }, + { + "cell_type": "markdown", + "id": "07cb4c79", + "metadata": {}, + "source": [ + "# Identifying the independent and dependent variables" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "d18b49b6", + "metadata": {}, + "outputs": [], + "source": [ + "X = data.iloc[:,:-1] # Independent variable\n", + "y = data.Problem # Dependent variable" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "id": "a22d8277", + "metadata": {}, + "outputs": [], + "source": [ + "x_test = test.iloc[:,:-1]\n", + "y_test = test.Problem " + ] + }, + { + "cell_type": "markdown", + "id": "57dfd617", + "metadata": {}, + "source": [ + "# Decision Tree" + ] + }, + { + "cell_type": "markdown", + "id": "50e0afdc", + "metadata": {}, + "source": [ + "# Defining the model" + ] + }, + { + "cell_type": "code", + "execution_count": 25, + "id": "56e08b15", + "metadata": {}, + "outputs": [], + "source": [ + "model_dt = DecisionTreeClassifier()" + ] + }, + { + "cell_type": "markdown", + "id": "0626248b", + "metadata": {}, + "source": [ + "# Training the model" + ] + }, + { + "cell_type": "code", + "execution_count": 26, + "id": "91e5d0f2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "DecisionTreeClassifier()" + ] + }, + "execution_count": 26, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model_dt.fit(X,y)" + ] + }, + { + "cell_type": "markdown", + "id": "7a358b81", + "metadata": {}, + "source": [ + "# Testing the model" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "id": "5ef648e8", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.95" + ] + }, + "execution_count": 27, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "y_predict_dt = model_dt.predict(x_test)\n", + "as_dt = accuracy_score(y_test,y_predict_dt)\n", + "as_dt" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "894932ae", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " precision recall f1-score support\n", + "\n", + " Flicker 0.92 1.00 0.96 170\n", + " Harmonics 0.91 0.85 0.88 170\n", + "Interruption 1.00 1.00 1.00 170\n", + " Normal 0.95 1.00 0.97 170\n", + " Sag 0.98 0.92 0.95 170\n", + " Swell 0.95 0.92 0.93 170\n", + "\n", + " accuracy 0.95 1020\n", + " macro avg 0.95 0.95 0.95 1020\n", + "weighted avg 0.95 0.95 0.95 1020\n", + "\n" + ] + } + ], + "source": [ + "print(classification_report(y_test,y_predict_dt))" + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "d9a53648", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[170, 0, 0, 0, 0, 0],\n", + " [ 7, 145, 0, 5, 4, 9],\n", + " [ 0, 0, 170, 0, 0, 0],\n", + " [ 0, 0, 0, 170, 0, 0],\n", + " [ 3, 10, 0, 0, 157, 0],\n", + " [ 4, 5, 0, 4, 0, 157]])" + ] + }, + "execution_count": 29, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "confusion_matrix(y_test,y_predict_dt)" + ] + }, + { + "cell_type": "markdown", + "id": "03be07e5", + "metadata": {}, + "source": [ + "# XGBoost" + ] + }, + { + "cell_type": "markdown", + "id": "10b72622", + "metadata": {}, + "source": [ + "# Defining the model" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "id": "d9b1d0d6", + "metadata": {}, + "outputs": [], + "source": [ + "model_xgb = XGBClassifier(n_estimators=300)" + ] + }, + { + "cell_type": "markdown", + "id": "473fe685", + "metadata": {}, + "source": [ + "# Training the model" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "10d8cbdc", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[21:26:24] WARNING: /opt/concourse/worker/volumes/live/7a2b9f41-3287-451b-6691-43e9a6c0910f/volume/xgboost-split_1619728204606/work/src/learner.cc:1061: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.\n" + ] + }, + { + "data": { + "text/plain": [ + "XGBClassifier(base_score=0.5, booster='gbtree', colsample_bylevel=1,\n", + " colsample_bynode=1, colsample_bytree=1, gamma=0, gpu_id=-1,\n", + " importance_type='gain', interaction_constraints='',\n", + " learning_rate=0.300000012, max_delta_step=0, max_depth=6,\n", + " min_child_weight=1, missing=nan, monotone_constraints='()',\n", + " n_estimators=300, n_jobs=16, num_parallel_tree=1,\n", + " objective='multi:softprob', random_state=0, reg_alpha=0,\n", + " reg_lambda=1, scale_pos_weight=None, subsample=1,\n", + " tree_method='exact', validate_parameters=1, verbosity=None)" + ] + }, + "execution_count": 31, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model_xgb.fit(X,y)" + ] + }, + { + "cell_type": "markdown", + "id": "8ffd720a", + "metadata": {}, + "source": [ + "# Testing the model" + ] + }, + { + "cell_type": "code", + "execution_count": 32, + "id": "ab0a0c92", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.95" + ] + }, + "execution_count": 32, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "y_predict_xgb = model_dt.predict(x_test)\n", + "as_xgb = accuracy_score(y_test,y_predict_xgb)\n", + "as_xgb" + ] + }, + { + "cell_type": "code", + "execution_count": 33, + "id": "f98f8111", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " precision recall f1-score support\n", + "\n", + " Flicker 0.92 1.00 0.96 170\n", + " Harmonics 0.91 0.85 0.88 170\n", + "Interruption 1.00 1.00 1.00 170\n", + " Normal 0.95 1.00 0.97 170\n", + " Sag 0.98 0.92 0.95 170\n", + " Swell 0.95 0.92 0.93 170\n", + "\n", + " accuracy 0.95 1020\n", + " macro avg 0.95 0.95 0.95 1020\n", + "weighted avg 0.95 0.95 0.95 1020\n", + "\n" + ] + } + ], + "source": [ + "print(classification_report(y_test,y_predict_xgb))" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "id": "ebdecc0c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[170, 0, 0, 0, 0, 0],\n", + " [ 7, 145, 0, 5, 4, 9],\n", + " [ 0, 0, 170, 0, 0, 0],\n", + " [ 0, 0, 0, 170, 0, 0],\n", + " [ 3, 10, 0, 0, 157, 0],\n", + " [ 4, 5, 0, 4, 0, 157]])" + ] + }, + "execution_count": 34, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "confusion_matrix(y_test,y_predict_xgb)" + ] + }, + { + "cell_type": "markdown", + "id": "f5dc8e32", + "metadata": {}, + "source": [ + "# Random Forest" + ] + }, + { + "cell_type": "markdown", + "id": "d8d6a4f0", + "metadata": {}, + "source": [ + "# Defining the model" + ] + }, + { + "cell_type": "code", + "execution_count": 35, + "id": "8a51ef49", + "metadata": {}, + "outputs": [], + "source": [ + "model_rf = RandomForestClassifier()" + ] + }, + { + "cell_type": "markdown", + "id": "11bf5e15", + "metadata": {}, + "source": [ + "# Training the model" + ] + }, + { + "cell_type": "code", + "execution_count": 36, + "id": "8c568b29", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "RandomForestClassifier()" + ] + }, + "execution_count": 36, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model_rf.fit(X,y)" + ] + }, + { + "cell_type": "markdown", + "id": "bb844013", + "metadata": {}, + "source": [ + "# Testing the model" + ] + }, + { + "cell_type": "code", + "execution_count": 37, + "id": "654580cb", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.9774509803921568" + ] + }, + "execution_count": 37, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "y_predict_rf = model_rf.predict(x_test)\n", + "as_rf = accuracy_score(y_test,y_predict_rf)\n", + "as_rf" + ] + }, + { + "cell_type": "code", + "execution_count": 38, + "id": "afa6cdb1", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " precision recall f1-score support\n", + "\n", + " Flicker 0.97 1.00 0.99 170\n", + " Harmonics 0.94 0.92 0.93 170\n", + "Interruption 1.00 1.00 1.00 170\n", + " Normal 1.00 1.00 1.00 170\n", + " Sag 0.98 0.96 0.97 170\n", + " Swell 0.97 0.98 0.97 170\n", + "\n", + " accuracy 0.98 1020\n", + " macro avg 0.98 0.98 0.98 1020\n", + "weighted avg 0.98 0.98 0.98 1020\n", + "\n" + ] + } + ], + "source": [ + "print(classification_report(y_test,y_predict_rf))" + ] + }, + { + "cell_type": "code", + "execution_count": 39, + "id": "cba6c72b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[170, 0, 0, 0, 0, 0],\n", + " [ 5, 157, 0, 0, 3, 5],\n", + " [ 0, 0, 170, 0, 0, 0],\n", + " [ 0, 0, 0, 170, 0, 0],\n", + " [ 0, 6, 0, 0, 164, 0],\n", + " [ 0, 4, 0, 0, 0, 166]])" + ] + }, + "execution_count": 39, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "confusion_matrix(y_test,y_predict_rf)" + ] + }, + { + "cell_type": "markdown", + "id": "80d38c0b", + "metadata": {}, + "source": [ + "# Model Evaluation" + ] + }, + { + "cell_type": "code", + "execution_count": 40, + "id": "aa4afe29", + "metadata": {}, + "outputs": [], + "source": [ + "Accuracy_Score = [as_dt,as_rf,as_xgb]\n", + "Models = ['Decision Tree', 'Random Forest','XG Boost']" + ] + }, + { + "cell_type": "code", + "execution_count": 41, + "id": "bae685ee", + "metadata": {}, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAa4AAAEWCAYAAAA+bHOCAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAZPElEQVR4nO3de5RlZX3m8e9DNzQoCDSXSCNSiBe80HYARQIIIhMv4wUjjhfCzSgh4w0mRF2uGYPXoDHqUkYJIYIwMDoKIhC5iQqCojTQ0ICiaAsSUUGuIojd/uaPvSseK1Xdp5vqU/02389ateqcd+/97t9+u/o89e59ap9UFZIktWKdmS5AkqSVYXBJkppicEmSmmJwSZKaYnBJkppicEmSmmJwSZKaYnBJ0yzJN5LclWTOTNeyuiR5V5IlSX6d5NYkn5/pmvTIYXBJ0yjJGLAnUMDLRrzv2SPaz8HAgcC+VbUhsAtw0TTvYyTHojYZXNL0Ogi4HDgJOHhwQZJtkpyR5PYkv0py7MCyNyb5XpL7ktyQZKe+vZI8cWC9k5K8v3+8dz/beUeSnwMnJtk0yTn9Pu7qHz9uYPu5SU5M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WhCHBWVY0H8b7A0waO7TFJNqqq+5Z3sHrkMrikEUiyGd2L/TOSFN2966oPljD5R+BMdj+2pfzxKf71Bx4/WFXL+v2tD3wK2KWqfprk6H7d5SXfKcABdKcxXz/ZClX1W7rPUDs3yS/oZpEXTlHr8j6y4v6BtnWA3QaCTFour3FJo7E/3Se9btvfGX4bYAndrOQC4PDxNyr0p9q+D8xL8qy+baN++U+ABf07/Lah+5TdyYwH2h39tbX94T9mbrcm2a/vd066u7MDnAQc0a93/cQOk+yUZF7/eB1gPnAz8G1gr/F3GA6cKryELgjpr8PdMcXnTF0AvHlgPwumOCYJMLikUXkt8KUJbafTfYT9CXQfb3FtkmuA1/Uf9f5q4JN924V0YXQZXeAtBj5Cd6rxP6mqu+muOy0GzqT7iI1xBwJvTXIt8C3gsf02v6D7aJETpziGLYGzk1xHd1f3pcCxVXU73XW6M/paP9+vfzSwS7+fY/jP18zGvXV8vSQ3AIdPsZ4EeHd4Sb1+5rUY2Kmq7pnpeqSpOOOSRJJ96U5PftLQ0prOGZckqSnOuCRJTTG4JElNMbgkSU0xuCRJTTG4JElN+f/6SQGXKNMidAAAAABJRU5ErkJggg==\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "sn.barplot(Accuracy_Score, Models, color=\"r\")\n", + "plt.xlabel('Accuracy Score')\n", + "plt.title('Accuracy Score')\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "id": "e59d07ca", + "metadata": {}, + "source": [ + "Random Forest seems to have the highest accuracy score hence we go ahead with Random Forest algorithm." + ] + }, + { + "cell_type": "markdown", + "id": "f20c8195", + "metadata": {}, + "source": [ + "# Hyperparameter (using grid search)" + ] + }, + { + "cell_type": "code", + "execution_count": 42, + "id": "e513bf46", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Fitting 5 folds for each of 120 candidates, totalling 600 fits\n" + ] + }, + { + "data": { + "text/plain": [ + "GridSearchCV(cv=5, estimator=RandomForestClassifier(),\n", + " param_grid={'max_depth': [10, 15, 14, 13, 12],\n", + " 'n_estimators': [150, 160, 170, 180, 190, 200],\n", + " 'random_state': [4, 5, 6, 7]},\n", + " verbose=1)" + ] + }, + "execution_count": 42, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "parameters = {'max_depth':[10,15,14,13,12],\n", + " 'random_state': [4,5,6,7],\n", + " 'n_estimators':[150,160,170,180,190,200]}\n", + "\n", + "grid = GridSearchCV(model_rf,parameters,cv=5,verbose=1)\n", + "grid.fit(X,y)" + ] + }, + { + "cell_type": "code", + "execution_count": 43, + "id": "10a4aca4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.8773607700142415" + ] + }, + "execution_count": 43, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "grid.best_score_" + ] + }, + { + "cell_type": "code", + "execution_count": 44, + "id": "94bb569e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'max_depth': 13, 'n_estimators': 190, 'random_state': 5}" + ] + }, + "execution_count": 44, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "grid.best_params_" + ] + }, + { + "cell_type": "markdown", + "id": "71b111fc", + "metadata": {}, + "source": [ + "# Training Random Forest with best parameters" + ] + }, + { + "cell_type": "code", + "execution_count": 45, + "id": "0ee81152", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "RandomForestClassifier(max_depth=13, n_estimators=190, random_state=5)" + ] + }, + "execution_count": 45, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model_rf = RandomForestClassifier(n_estimators=190,max_depth=13,random_state=5)\n", + "model_rf.fit(X,y)" + ] + }, + { + "cell_type": "markdown", + "id": "77dd9b12", + "metadata": {}, + "source": [ + "# Testing Random Forest with best parameters" + ] + }, + { + "cell_type": "code", + "execution_count": 51, + "id": "ed03903a", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.9892156862745098" + ] + }, + "execution_count": 51, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "y_predict = model_rf.predict(x_test)\n", + "accuracy_score(y_test,y_predict)" + ] + }, + { + "cell_type": "code", + "execution_count": 52, + "id": "96b24b5a", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " precision recall f1-score support\n", + "\n", + " Flicker 1.00 1.00 1.00 170\n", + " Harmonics 0.94 1.00 0.97 170\n", + "Interruption 1.00 1.00 1.00 170\n", + " Normal 1.00 1.00 1.00 170\n", + " Sag 1.00 0.96 0.98 170\n", + " Swell 1.00 0.98 0.99 170\n", + "\n", + " accuracy 0.99 1020\n", + " macro avg 0.99 0.99 0.99 1020\n", + "weighted avg 0.99 0.99 0.99 1020\n", + "\n" + ] + } + ], + "source": [ + "print(classification_report(y_test,y_predict))" + ] + }, + { + "cell_type": "code", + "execution_count": 53, + "id": "9b77ef9f", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[170, 0, 0, 0, 0, 0],\n", + " [ 0, 170, 0, 0, 0, 0],\n", + " [ 0, 0, 170, 0, 0, 0],\n", + " [ 0, 0, 0, 170, 0, 0],\n", + " [ 0, 7, 0, 0, 163, 0],\n", + " [ 0, 4, 0, 0, 0, 166]])" + ] + }, + "execution_count": 53, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "confusion_matrix(y_test,y_predict)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "596a373a", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.8" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Test.csv b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Test.csv new file mode 100644 index 0000000..77a5450 --- /dev/null +++ b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Test.csv @@ -0,0 +1 @@ +Sample,Voltage,Problem 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,43.47,Sag 2,85.63,Sag 3,125.18,Sag 4,160.93,Sag 5,191.8,Sag 6,216.85,Sag 7,235.31,Sag 8,246.63,Sag 9,250.46,Sag 10,246.68,Sag 11,235.42,Sag 12,217.01,Sag 13,192.02,Sag 14,161.19,Sag 15,125.47,Sag 16,85.94,Sag 17,43.8,Sag 18,-43.14,Sag 19,-85.31,Sag 20,-124.89,Sag 21,-160.68,Sag 22,-191.59,Sag 23,-216.68,Sag 24,-235.19,Sag 25,-246.57,Sag 26,-250.46,Sag 27,-246.74,Sag 28,-235.54,Sag 29,-217.18,Sag 30,-192.23,Sag 31,-161.45,Sag 32,-125.76,Sag 33,-86.26,Sag 34,-44.13,Sag 1,37.83,Sag 2,74.51,Sag 3,108.92,Sag 4,140.03,Sag 5,166.89,Sag 6,188.68,Sag 7,204.75,Sag 8,214.6,Sag 9,217.93,Sag 10,214.65,Sag 11,204.85,Sag 12,188.83,Sag 13,167.08,Sag 14,140.26,Sag 15,109.18,Sag 16,74.78,Sag 17,38.12,Sag 18,-37.54,Sag 19,-74.23,Sag 20,-108.67,Sag 21,-139.81,Sag 22,-166.7,Sag 23,-188.54,Sag 24,-204.65,Sag 25,-214.55,Sag 26,-217.93,Sag 27,-214.7,Sag 28,-204.95,Sag 29,-188.98,Sag 30,-167.27,Sag 31,-140.48,Sag 32,-109.43,Sag 33,-75.06,Sag 34,-38.4,Sag 1,32.18,Sag 2,63.39,Sag 3,92.67,Sag 4,119.13,Sag 5,141.98,Sag 6,160.52,Sag 7,174.19,Sag 8,182.57,Sag 9,185.4,Sag 10,182.61,Sag 11,174.27,Sag 12,160.65,Sag 13,142.14,Sag 14,119.32,Sag 15,92.88,Sag 16,63.62,Sag 17,32.43,Sag 18,-31.94,Sag 19,-63.15,Sag 20,-92.45,Sag 21,-118.94,Sag 22,-141.82,Sag 23,-160.4,Sag 24,-174.1,Sag 25,-182.52,Sag 26,-185.4,Sag 27,-182.65,Sag 28,-174.36,Sag 29,-160.77,Sag 30,-142.3,Sag 31,-119.51,Sag 32,-93.1,Sag 33,-63.85,Sag 34,-32.67,Sag 1,26.54,Sag 2,52.27,Sag 3,76.41,Sag 4,98.23,Sag 5,117.07,Sag 6,132.36,Sag 7,143.63,Sag 8,150.54,Sag 9,152.88,Sag 10,150.57,Sag 11,143.7,Sag 12,132.46,Sag 13,117.21,Sag 14,98.39,Sag 15,76.59,Sag 16,52.46,Sag 17,26.74,Sag 18,-26.33,Sag 19,-52.07,Sag 20,-76.23,Sag 21,-98.07,Sag 22,-116.94,Sag 23,-132.26,Sag 24,-143.56,Sag 25,-150.5,Sag 26,-152.88,Sag 27,-150.61,Sag 28,-143.77,Sag 29,-132.57,Sag 30,-117.34,Sag 31,-98.55,Sag 32,-76.76,Sag 33,-52.65,Sag 34,-26.94,Sag 1,20.89,Sag 2,41.15,Sag 3,60.15,Sag 4,77.33,Sag 5,92.16,Sag 6,104.2,Sag 7,113.07,Sag 8,118.51,Sag 9,120.35,Sag 10,118.54,Sag 11,113.13,Sag 12,104.28,Sag 13,92.27,Sag 14,77.46,Sag 15,60.29,Sag 16,41.3,Sag 17,21.05,Sag 18,-20.73,Sag 19,-40.99,Sag 20,-60.01,Sag 21,-77.21,Sag 22,-92.06,Sag 23,-104.12,Sag 24,-113.01,Sag 25,-118.48,Sag 26,-120.35,Sag 27,-118.56,Sag 28,-113.18,Sag 29,-104.36,Sag 30,-92.37,Sag 31,-77.58,Sag 32,-60.43,Sag 33,-41.45,Sag 34,-21.21,Sag 1,71.7,Swell 2,141.23,Swell 3,206.47,Swell 4,265.44,Swell 5,316.35,Swell 6,357.66,Swell 7,388.11,Swell 8,406.77,Swell 9,413.09,Swell 10,406.87,Swell 11,388.29,Swell 12,357.93,Swell 13,316.7,Swell 14,265.86,Swell 15,206.95,Swell 16,141.75,Swell 17,72.25,Swell 18,-71.16,Swell 19,-140.71,Swell 20,-205.99,Swell 21,-265.01,Swell 22,-315.99,Swell 23,-357.38,Swell 24,-387.92,Swell 25,-406.68,Swell 26,-413.09,Swell 27,-406.96,Swell 28,-388.48,Swell 29,-358.21,Swell 30,-317.06,Swell 31,-266.28,Swell 32,-207.43,Swell 33,-142.27,Swell 34,-72.79,Swell 1,77.35,Swell 2,152.35,Swell 3,222.72,Swell 4,286.34,Swell 5,341.26,Swell 6,385.82,Swell 7,418.66,Swell 8,438.8,Swell 9,445.62,Swell 10,438.91,Swell 11,418.87,Swell 12,386.12,Swell 13,341.64,Swell 14,286.79,Swell 15,223.24,Swell 16,152.91,Swell 17,77.94,Swell 18,-76.76,Swell 19,-151.79,Swell 20,-222.21,Swell 21,-285.88,Swell 22,-340.87,Swell 23,-385.52,Swell 24,-418.46,Swell 25,-438.7,Swell 26,-445.62,Swell 27,-439.01,Swell 28,-419.07,Swell 29,-386.41,Swell 30,-342.02,Swell 31,-287.25,Swell 32,-223.76,Swell 33,-153.47,Swell 34,-78.53,Swell 1,82.99,Swell 2,163.47,Swell 3,238.98,Swell 4,307.24,Swell 5,366.17,Swell 6,413.98,Swell 7,449.22,Swell 8,470.83,Swell 9,478.15,Swell 10,470.94,Swell 11,449.44,Swell 12,414.3,Swell 13,366.58,Swell 14,307.73,Swell 15,239.54,Swell 16,164.07,Swell 17,83.63,Swell 18,-82.36,Swell 19,-162.87,Swell 20,-238.42,Swell 21,-306.75,Swell 22,-365.75,Swell 23,-413.66,Swell 24,-449,Swell 25,-470.72,Swell 26,-478.14,Swell 27,-471.05,Swell 28,-449.66,Swell 29,-414.62,Swell 30,-366.99,Swell 31,-308.22,Swell 32,-240.09,Swell 33,-164.67,Swell 34,-84.26,Swell 1,88.64,Swell 2,174.59,Swell 3,255.24,Swell 4,328.14,Swell 5,391.08,Swell 6,442.14,Swell 7,479.78,Swell 8,502.86,Swell 9,510.67,Swell 10,502.98,Swell 11,480.02,Swell 12,442.48,Swell 13,391.52,Swell 14,328.66,Swell 15,255.83,Swell 16,175.23,Swell 17,89.31,Swell 18,-87.97,Swell 19,-173.94,Swell 20,-254.64,Swell 21,-327.61,Swell 22,-390.63,Swell 23,-441.8,Swell 24,-479.55,Swell 25,-502.74,Swell 26,-510.67,Swell 27,-503.1,Swell 28,-480.25,Swell 29,-442.82,Swell 30,-391.96,Swell 31,-329.19,Swell 32,-256.42,Swell 33,-175.88,Swell 34,-89.99,Swell 1,94.29,Swell 2,185.71,Swell 3,271.49,Swell 4,349.04,Swell 5,415.98,Swell 6,470.3,Swell 7,510.34,Swell 8,534.89,Swell 9,543.2,Swell 10,535.02,Swell 11,510.59,Swell 12,470.67,Swell 13,416.45,Swell 14,349.6,Swell 15,272.13,Swell 16,186.39,Swell 17,95,Swell 18,-93.57,Swell 19,-185.02,Swell 20,-270.86,Swell 21,-348.48,Swell 22,-415.52,Swell 23,-469.94,Swell 24,-510.09,Swell 25,-534.76,Swell 26,-543.2,Swell 27,-535.14,Swell 28,-510.84,Swell 29,-471.03,Swell 30,-416.92,Swell 31,-350.15,Swell 32,-272.76,Swell 33,-187.08,Swell 34,-95.72,Swell 1,58.72,Flicker 2,115.65,Flicker 3,169.07,Flicker 4,217.36,Flicker 5,259.06,Flicker 6,292.88,Flicker 7,317.82,Flicker 8,333.11,Flicker 9,338.28,Flicker 10,333.18,Flicker 11,317.97,Flicker 12,293.11,Flicker 13,259.35,Flicker 14,217.71,Flicker 15,169.47,Flicker 16,116.08,Flicker 17,59.16,Flicker 18,-58.27,Flicker 19,-115.22,Flicker 20,-168.68,Flicker 21,-217.02,Flicker 22,-258.76,Flicker 23,-292.66,Flicker 24,-317.66,Flicker 25,-333.03,Flicker 26,-338.28,Flicker 27,-333.26,Flicker 28,-318.13,Flicker 29,-293.34,Flicker 30,-259.64,Flicker 31,-218.06,Flicker 32,-169.86,Flicker 33,-116.5,Flicker 34,-59.61,Flicker 1,59.28,Flicker 2,116.76,Flicker 3,170.7,Flicker 4,219.45,Flicker 5,261.55,Flicker 6,295.7,Flicker 7,320.87,Flicker 8,336.31,Flicker 9,341.53,Flicker 10,336.39,Flicker 11,321.03,Flicker 12,295.93,Flicker 13,261.84,Flicker 14,219.81,Flicker 15,171.1,Flicker 16,117.19,Flicker 17,59.73,Flicker 18,-58.83,Flicker 19,-116.33,Flicker 20,-170.3,Flicker 21,-219.1,Flicker 22,-261.25,Flicker 23,-295.47,Flicker 24,-320.72,Flicker 25,-336.23,Flicker 26,-341.53,Flicker 27,-336.47,Flicker 28,-321.19,Flicker 29,-296.16,Flicker 30,-262.14,Flicker 31,-220.16,Flicker 32,-171.49,Flicker 33,-117.62,Flicker 34,-60.18,Flicker 1,59.85,Flicker 2,117.88,Flicker 3,172.33,Flicker 4,221.54,Flicker 5,264.04,Flicker 6,298.52,Flicker 7,323.93,Flicker 8,339.51,Flicker 9,344.79,Flicker 10,339.59,Flicker 11,324.09,Flicker 12,298.75,Flicker 13,264.34,Flicker 14,221.9,Flicker 15,172.73,Flicker 16,118.31,Flicker 17,60.3,Flicker 18,-59.39,Flicker 19,-117.44,Flicker 20,-171.93,Flicker 21,-221.19,Flicker 22,-263.74,Flicker 23,-298.28,Flicker 24,-323.77,Flicker 25,-339.43,Flicker 26,-344.78,Flicker 27,-339.67,Flicker 28,-324.25,Flicker 29,-298.98,Flicker 30,-264.63,Flicker 31,-222.25,Flicker 32,-173.13,Flicker 33,-118.74,Flicker 34,-60.76,Flicker 1,54.2,Flicker 2,106.75,Flicker 3,156.07,Flicker 4,200.64,Flicker 5,239.13,Flicker 6,270.35,Flicker 7,293.37,Flicker 8,307.48,Flicker 9,312.26,Flicker 10,307.55,Flicker 11,293.51,Flicker 12,270.56,Flicker 13,239.4,Flicker 14,200.97,Flicker 15,156.43,Flicker 16,107.15,Flicker 17,54.61,Flicker 18,-53.79,Flicker 19,-106.36,Flicker 20,-155.71,Flicker 21,-200.32,Flicker 22,-238.86,Flicker 23,-270.14,Flicker 24,-293.23,Flicker 25,-307.41,Flicker 26,-312.26,Flicker 27,-307.63,Flicker 28,-293.66,Flicker 29,-270.77,Flicker 30,-239.67,Flicker 31,-201.29,Flicker 32,-156.79,Flicker 33,-107.54,Flicker 34,-55.03,Flicker 1,54.76,Flicker 2,107.87,Flicker 3,157.69,Flicker 4,202.73,Flicker 5,241.62,Flicker 6,273.17,Flicker 7,296.43,Flicker 8,310.68,Flicker 9,315.51,Flicker 10,310.76,Flicker 11,296.57,Flicker 12,273.38,Flicker 13,241.89,Flicker 14,203.06,Flicker 15,158.06,Flicker 16,108.26,Flicker 17,55.18,Flicker 18,-54.35,Flicker 19,-107.47,Flicker 20,-157.33,Flicker 21,-202.41,Flicker 22,-241.35,Flicker 23,-272.96,Flicker 24,-296.28,Flicker 25,-310.61,Flicker 26,-315.51,Flicker 27,-310.83,Flicker 28,-296.72,Flicker 29,-273.59,Flicker 30,-242.16,Flicker 31,-203.38,Flicker 32,-158.43,Flicker 33,-108.66,Flicker 34,-55.6,Flicker 1,3.95,Interruption 2,7.78,Interruption 3,11.38,Interruption 4,14.63,Interruption 5,17.44,Interruption 6,19.71,Interruption 7,21.39,Interruption 8,22.42,Interruption 9,22.77,Interruption 10,22.43,Interruption 11,21.4,Interruption 12,19.73,Interruption 13,17.46,Interruption 14,14.65,Interruption 15,11.41,Interruption 16,7.81,Interruption 17,3.98,Interruption 18,-3.92,Interruption 19,-7.76,Interruption 20,-11.35,Interruption 21,-14.61,Interruption 22,-17.42,Interruption 23,-19.7,Interruption 24,-21.38,Interruption 25,-22.42,Interruption 26,-22.77,Interruption 27,-22.43,Interruption 28,-21.41,Interruption 29,-19.74,Interruption 30,-17.48,Interruption 31,-14.68,Interruption 32,-11.43,Interruption 33,-7.84,Interruption 34,-4.01,Interruption 1,3.39,Interruption 2,6.67,Interruption 3,9.75,Interruption 4,12.54,Interruption 5,14.95,Interruption 6,16.9,Interruption 7,18.34,Interruption 8,19.22,Interruption 9,19.52,Interruption 10,19.22,Interruption 11,18.34,Interruption 12,16.91,Interruption 13,14.96,Interruption 14,12.56,Interruption 15,9.78,Interruption 16,6.7,Interruption 17,3.41,Interruption 18,-3.36,Interruption 19,-6.65,Interruption 20,-9.73,Interruption 21,-12.52,Interruption 22,-14.93,Interruption 23,-16.88,Interruption 24,-18.33,Interruption 25,-19.21,Interruption 26,-19.52,Interruption 27,-19.23,Interruption 28,-18.35,Interruption 29,-16.92,Interruption 30,-14.98,Interruption 31,-12.58,Interruption 32,-9.8,Interruption 33,-6.72,Interruption 34,-3.44,Interruption 1,2.82,Interruption 2,5.56,Interruption 3,8.13,Interruption 4,10.45,Interruption 5,12.45,Interruption 6,14.08,Interruption 7,15.28,Interruption 8,16.01,Interruption 9,16.26,Interruption 10,16.02,Interruption 11,15.29,Interruption 12,14.09,Interruption 13,12.47,Interruption 14,10.47,Interruption 15,8.15,Interruption 16,5.58,Interruption 17,2.84,Interruption 18,-2.8,Interruption 19,-5.54,Interruption 20,-8.11,Interruption 21,-10.43,Interruption 22,-12.44,Interruption 23,-14.07,Interruption 24,-15.27,Interruption 25,-16.01,Interruption 26,-16.26,Interruption 27,-16.02,Interruption 28,-15.29,Interruption 29,-14.1,Interruption 30,-12.48,Interruption 31,-10.48,Interruption 32,-8.17,Interruption 33,-5.6,Interruption 34,-2.87,Interruption 1,2.26,Interruption 2,4.45,Interruption 3,6.5,Interruption 4,8.36,Interruption 5,9.96,Interruption 6,11.26,Interruption 7,12.22,Interruption 8,12.81,Interruption 9,13.01,Interruption 10,12.81,Interruption 11,12.23,Interruption 12,11.27,Interruption 13,9.97,Interruption 14,8.37,Interruption 15,6.52,Interruption 16,4.46,Interruption 17,2.28,Interruption 18,-2.24,Interruption 19,-4.43,Interruption 20,-6.49,Interruption 21,-8.35,Interruption 22,-9.95,Interruption 23,-11.26,Interruption 24,-12.22,Interruption 25,-12.81,Interruption 26,-13.01,Interruption 27,-12.82,Interruption 28,-12.24,Interruption 29,-11.28,Interruption 30,-9.99,Interruption 31,-8.39,Interruption 32,-6.53,Interruption 33,-4.48,Interruption 34,-2.29,Interruption 1,1.13,Interruption 2,2.22,Interruption 3,3.25,Interruption 4,4.18,Interruption 5,4.98,Interruption 6,5.63,Interruption 7,6.11,Interruption 8,6.41,Interruption 9,6.51,Interruption 10,6.41,Interruption 11,6.11,Interruption 12,5.64,Interruption 13,4.99,Interruption 14,4.19,Interruption 15,3.26,Interruption 16,2.23,Interruption 17,1.14,Interruption 18,-1.12,Interruption 19,-2.22,Interruption 20,-3.24,Interruption 21,-4.17,Interruption 22,-4.98,Interruption 23,-5.63,Interruption 24,-6.11,Interruption 25,-6.4,Interruption 26,-6.51,Interruption 27,-6.41,Interruption 28,-6.12,Interruption 29,-5.64,Interruption 30,-4.99,Interruption 31,-4.19,Interruption 32,-3.27,Interruption 33,-2.24,Interruption 34,-1.15,Interruption 1,204.75,Harmonics 2,299.85,Harmonics 3,280.91,Harmonics 4,235.1,Harmonics 5,234.03,Harmonics 6,265.42,Harmonics 7,275.65,Harmonics 8,252.21,Harmonics 9,235.12,Harmonics 10,251.99,Harmonics 11,275.57,Harmonics 12,265.64,Harmonics 13,234.21,Harmonics 14,234.88,Harmonics 15,280.53,Harmonics 16,300.07,Harmonics 17,205.99,Harmonics 18,-203.51,Harmonics 19,-299.63,Harmonics 20,-281.29,Harmonics 21,-235.32,Harmonics 22,-233.85,Harmonics 23,-265.2,Harmonics 24,-275.72,Harmonics 25,-252.43,Harmonics 26,-235.12,Harmonics 27,-251.77,Harmonics 28,-275.48,Harmonics 29,-265.85,Harmonics 30,-234.4,Harmonics 31,-234.66,Harmonics 32,-280.14,Harmonics 33,-300.28,Harmonics 34,-207.22,Harmonics 1,206.38,Harmonics 2,301.92,Harmonics 3,282.2,Harmonics 4,235.38,Harmonics 5,233.86,Harmonics 6,265.24,Harmonics 7,275.32,Harmonics 8,251.46,Harmonics 9,234.13,Harmonics 10,251.24,Harmonics 11,275.24,Harmonics 12,265.46,Harmonics 13,234.04,Harmonics 14,235.16,Harmonics 15,281.81,Harmonics 16,302.13,Harmonics 17,207.62,Harmonics 18,-205.12,Harmonics 19,-301.7,Harmonics 20,-282.59,Harmonics 21,-235.61,Harmonics 22,-233.68,Harmonics 23,-265.02,Harmonics 24,-275.4,Harmonics 25,-251.68,Harmonics 26,-234.13,Harmonics 27,-251.02,Harmonics 28,-275.15,Harmonics 29,-265.68,Harmonics 30,-234.23,Harmonics 31,-234.94,Harmonics 32,-281.42,Harmonics 33,-302.34,Harmonics 34,-208.86,Harmonics 1,207.85,Harmonics 2,303.8,Harmonics 3,283.38,Harmonics 4,235.64,Harmonics 5,233.71,Harmonics 6,265.08,Harmonics 7,275.02,Harmonics 8,250.78,Harmonics 9,233.23,Harmonics 10,250.56,Harmonics 11,274.93,Harmonics 12,265.3,Harmonics 13,233.89,Harmonics 14,235.41,Harmonics 15,282.98,Harmonics 16,304.01,Harmonics 17,209.11,Harmonics 18,-206.59,Harmonics 19,-303.58,Harmonics 20,-283.78,Harmonics 21,-235.88,Harmonics 22,-233.53,Harmonics 23,-264.86,Harmonics 24,-275.1,Harmonics 25,-251.01,Harmonics 26,-233.23,Harmonics 27,-250.33,Harmonics 28,-274.85,Harmonics 29,-265.52,Harmonics 30,-234.08,Harmonics 31,-235.19,Harmonics 32,-282.59,Harmonics 33,-304.21,Harmonics 34,-210.36,Harmonics 1,209.33,Harmonics 2,305.68,Harmonics 3,284.56,Harmonics 4,235.9,Harmonics 5,233.56,Harmonics 6,264.92,Harmonics 7,274.72,Harmonics 8,250.11,Harmonics 9,232.33,Harmonics 10,249.88,Harmonics 11,274.63,Harmonics 12,265.14,Harmonics 13,233.74,Harmonics 14,235.67,Harmonics 15,284.16,Harmonics 16,305.89,Harmonics 17,210.59,Harmonics 18,-208.06,Harmonics 19,-305.46,Harmonics 20,-284.96,Harmonics 21,-236.14,Harmonics 22,-233.38,Harmonics 23,-264.7,Harmonics 24,-274.81,Harmonics 25,-250.33,Harmonics 26,-232.34,Harmonics 27,-249.65,Harmonics 28,-274.54,Harmonics 29,-265.35,Harmonics 30,-233.93,Harmonics 31,-235.43,Harmonics 32,-283.75,Harmonics 33,-306.09,Harmonics 34,-211.85,Harmonics 1,210.81,Harmonics 2,307.56,Harmonics 3,285.74,Harmonics 4,236.16,Harmonics 5,233.41,Harmonics 6,264.76,Harmonics 7,274.42,Harmonics 8,249.43,Harmonics 9,231.44,Harmonics 10,249.2,Harmonics 11,274.33,Harmonics 12,264.98,Harmonics 13,233.59,Harmonics 14,235.92,Harmonics 15,285.33,Harmonics 16,307.76,Harmonics 17,212.08,Harmonics 18,-209.53,Harmonics 19,-307.34,Harmonics 20,-286.15,Harmonics 21,-236.41,Harmonics 22,-233.24,Harmonics 23,-264.54,Harmonics 24,-274.51,Harmonics 25,-249.66,Harmonics 26,-231.44,Harmonics 27,-248.97,Harmonics 28,-274.24,Harmonics 29,-265.19,Harmonics 30,-233.77,Harmonics 31,-235.68,Harmonics 32,-284.91,Harmonics 33,-307.96,Harmonics 34,-213.34,Harmonics diff --git a/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality.csv b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality.csv new file mode 100644 index 0000000..2b55a95 --- /dev/null +++ b/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality.csv @@ -0,0 +1 @@ +Sample,Voltage,Problem 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.55,Normal 2,111.38,Normal 3,162.84,Normal 4,209.35,Normal 5,249.5,Normal 6,282.08,Normal 7,306.09,Normal 8,320.82,Normal 9,325.8,Normal 10,320.89,Normal 11,306.24,Normal 12,282.3,Normal 13,249.78,Normal 14,209.68,Normal 15,163.22,Normal 16,111.8,Normal 17,56.98,Normal 18,-56.12,Normal 19,-110.97,Normal 20,-162.46,Normal 21,-209.01,Normal 22,-249.22,Normal 23,-281.86,Normal 24,-305.94,Normal 25,-320.74,Normal 26,-325.8,Normal 27,-320.97,Normal 28,-306.39,Normal 29,-282.51,Normal 30,-250.06,Normal 31,-210.01,Normal 32,-163.59,Normal 33,-112.21,Normal 34,-57.41,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,56.46,Normal 2,111.2,Normal 3,162.57,Normal 4,209,Normal 5,249.09,Normal 6,281.62,Normal 7,305.59,Normal 8,320.29,Normal 9,325.27,Normal 10,320.37,Normal 11,305.74,Normal 12,281.84,Normal 13,249.37,Normal 14,209.34,Normal 15,162.95,Normal 16,111.61,Normal 17,56.89,Normal 18,-56.03,Normal 19,-110.79,Normal 20,-162.19,Normal 21,-208.67,Normal 22,-248.81,Normal 23,-281.4,Normal 24,-305.45,Normal 25,-320.22,Normal 26,-325.27,Normal 27,-320.44,Normal 28,-305.89,Normal 29,-282.05,Normal 30,-249.65,Normal 31,-209.67,Normal 32,-163.33,Normal 33,-112.02,Normal 34,-57.32,Normal 1,50.81,Sag 2,100.08,Sag 3,146.31,Sag 4,188.1,Sag 5,224.18,Sag 6,253.45,Sag 7,275.03,Sag 8,288.26,Sag 9,292.74,Sag 10,288.33,Sag 11,275.17,Sag 12,253.65,Sag 13,224.43,Sag 14,188.4,Sag 15,146.65,Sag 16,100.45,Sag 17,51.2,Sag 18,-50.43,Sag 19,-99.71,Sag 20,-145.97,Sag 21,-187.8,Sag 22,-223.93,Sag 23,-253.26,Sag 24,-274.9,Sag 25,-288.19,Sag 26,-292.74,Sag 27,-288.4,Sag 28,-275.3,Sag 29,-253.85,Sag 30,-224.69,Sag 31,-188.7,Sag 32,-146.99,Sag 33,-100.82,Sag 34,-51.59,Sag 1,47.99,Sag 2,94.52,Sag 3,138.19,Sag 4,177.65,Sag 5,211.73,Sag 6,239.38,Sag 7,259.76,Sag 8,272.25,Sag 9,276.48,Sag 10,272.32,Sag 11,259.88,Sag 12,239.56,Sag 13,211.97,Sag 14,177.94,Sag 15,138.51,Sag 16,94.87,Sag 17,48.36,Sag 18,-47.62,Sag 19,-94.17,Sag 20,-137.87,Sag 21,-177.37,Sag 22,-211.49,Sag 23,-239.19,Sag 24,-259.63,Sag 25,-272.19,Sag 26,-276.48,Sag 27,-272.38,Sag 28,-260.01,Sag 29,-239.75,Sag 30,-212.21,Sag 31,-178.22,Sag 32,-138.83,Sag 33,-95.22,Sag 34,-48.72,Sag 1,45.17,Sag 2,88.96,Sag 3,130.06,Sag 4,167.21,Sag 5,199.28,Sag 6,225.3,Sag 7,244.48,Sag 8,256.24,Sag 9,260.22,Sag 10,256.3,Sag 11,244.6,Sag 12,225.47,Sag 13,199.5,Sag 14,167.47,Sag 15,130.36,Sag 16,89.29,Sag 17,45.51,Sag 18,-44.82,Sag 19,-88.64,Sag 20,-129.76,Sag 21,-166.94,Sag 22,-199.05,Sag 23,-225.12,Sag 24,-244.36,Sag 25,-256.18,Sag 26,-260.22,Sag 27,-256.36,Sag 28,-244.72,Sag 29,-225.65,Sag 30,-199.73,Sag 31,-167.74,Sag 32,-130.66,Sag 33,-89.62,Sag 34,-45.86,Sag 1,42.35,Sag 2,83.41,Sag 3,121.93,Sag 4,156.76,Sag 5,186.83,Sag 6,211.22,Sag 7,229.2,Sag 8,240.23,Sag 9,243.96,Sag 10,240.29,Sag 11,229.32,Sag 12,211.38,Sag 13,187.04,Sag 14,157.01,Sag 15,122.22,Sag 16,83.71,Sag 17,42.67,Sag 18,-42.02,Sag 19,-83.1,Sag 20,-121.65,Sag 21,-156.51,Sag 22,-186.62,Sag 23,-211.06,Sag 24,-229.09,Sag 25,-240.17,Sag 26,-243.96,Sag 27,-240.34,Sag 28,-229.43,Sag 29,-211.55,Sag 30,-187.25,Sag 31,-157.26,Sag 32,-122.5,Sag 33,-84.02,Sag 34,-42.99,Sag 1,39.57,Sag 2,77.93,Sag 3,113.94,Sag 4,146.48,Sag 5,174.57,Sag 6,197.37,Sag 7,214.17,Sag 8,224.47,Sag 9,227.96,Sag 10,224.53,Sag 11,214.28,Sag 12,197.52,Sag 13,174.77,Sag 14,146.71,Sag 15,114.2,Sag 16,78.22,Sag 17,39.87,Sag 18,-39.27,Sag 19,-77.65,Sag 20,-113.67,Sag 21,-146.24,Sag 22,-174.38,Sag 23,-197.21,Sag 24,-214.07,Sag 25,-224.42,Sag 26,-227.96,Sag 27,-224.58,Sag 28,-214.38,Sag 29,-197.67,Sag 30,-174.97,Sag 31,-146.95,Sag 32,-114.47,Sag 33,-78.51,Sag 34,-40.17,Sag 1,36.7,Sag 2,72.28,Sag 3,105.67,Sag 4,135.85,Sag 5,161.91,Sag 6,183.05,Sag 7,198.63,Sag 8,208.19,Sag 9,211.42,Sag 10,208.24,Sag 11,198.73,Sag 12,183.19,Sag 13,162.09,Sag 14,136.07,Sag 15,105.91,Sag 16,72.55,Sag 17,36.98,Sag 18,-36.42,Sag 19,-72.01,Sag 20,-105.42,Sag 21,-135.63,Sag 22,-161.72,Sag 23,-182.91,Sag 24,-198.53,Sag 25,-208.14,Sag 26,-211.42,Sag 27,-208.28,Sag 28,-198.83,Sag 29,-183.33,Sag 30,-162.27,Sag 31,-136.28,Sag 32,-106.16,Sag 33,-72.81,Sag 34,-37.26,Sag 1,33.87,Sag 2,66.72,Sag 3,97.54,Sag 4,125.4,Sag 5,149.45,Sag 6,168.97,Sag 7,183.36,Sag 8,192.17,Sag 9,195.16,Sag 10,192.22,Sag 11,183.45,Sag 12,169.1,Sag 13,149.62,Sag 14,125.6,Sag 15,97.77,Sag 16,66.97,Sag 17,34.13,Sag 18,-33.62,Sag 19,-66.48,Sag 20,-97.32,Sag 21,-125.2,Sag 22,-149.29,Sag 23,-168.84,Sag 24,-183.27,Sag 25,-192.13,Sag 26,-195.16,Sag 27,-192.27,Sag 28,-183.53,Sag 29,-169.23,Sag 30,-149.79,Sag 31,-125.8,Sag 32,-98,Sag 33,-67.21,Sag 34,-34.39,Sag 1,31.05,Sag 2,61.16,Sag 3,89.42,Sag 4,114.95,Sag 5,137,Sag 6,154.89,Sag 7,168.08,Sag 8,176.16,Sag 9,178.9,Sag 10,176.21,Sag 11,168.16,Sag 12,155.01,Sag 13,137.16,Sag 14,115.14,Sag 15,89.62,Sag 16,61.39,Sag 17,31.29,Sag 18,-30.82,Sag 19,-60.94,Sag 20,-89.21,Sag 21,-114.77,Sag 22,-136.85,Sag 23,-154.77,Sag 24,-168,Sag 25,-176.12,Sag 26,-178.9,Sag 27,-176.25,Sag 28,-168.24,Sag 29,-155.13,Sag 30,-137.31,Sag 31,-115.32,Sag 32,-89.83,Sag 33,-61.61,Sag 34,-31.53,Sag 1,28.23,Sag 2,55.6,Sag 3,81.28,Sag 4,104.5,Sag 5,124.54,Sag 6,140.81,Sag 7,152.79,Sag 8,160.14,Sag 9,162.63,Sag 10,160.18,Sag 11,152.87,Sag 12,140.91,Sag 13,124.68,Sag 14,104.67,Sag 15,81.47,Sag 16,55.8,Sag 17,28.44,Sag 18,-28.01,Sag 19,-55.39,Sag 20,-81.09,Sag 21,-104.33,Sag 22,-124.4,Sag 23,-140.7,Sag 24,-152.72,Sag 25,-160.1,Sag 26,-162.63,Sag 27,-160.22,Sag 28,-152.94,Sag 29,-141.02,Sag 30,-124.82,Sag 31,-104.83,Sag 32,-81.66,Sag 33,-56.01,Sag 34,-28.66,Sag 1,25.41,Sag 2,50.04,Sag 3,73.16,Sag 4,94.05,Sag 5,112.09,Sag 6,126.73,Sag 7,137.52,Sag 8,144.13,Sag 9,146.37,Sag 10,144.17,Sag 11,137.58,Sag 12,126.83,Sag 13,112.22,Sag 14,94.2,Sag 15,73.33,Sag 16,50.23,Sag 17,25.6,Sag 18,-25.21,Sag 19,-49.86,Sag 20,-72.99,Sag 21,-93.9,Sag 22,-111.96,Sag 23,-126.63,Sag 24,-137.45,Sag 25,-144.1,Sag 26,-146.37,Sag 27,-144.2,Sag 28,-137.65,Sag 29,-126.92,Sag 30,-112.34,Sag 31,-94.35,Sag 32,-73.5,Sag 33,-50.41,Sag 34,-25.79,Sag 1,22.58,Sag 2,44.48,Sag 3,65.03,Sag 4,83.6,Sag 5,99.64,Sag 6,112.65,Sag 7,122.24,Sag 8,128.12,Sag 9,130.11,Sag 10,128.15,Sag 11,122.3,Sag 12,112.74,Sag 13,99.75,Sag 14,83.74,Sag 15,65.18,Sag 16,44.65,Sag 17,22.76,Sag 18,-22.41,Sag 19,-44.32,Sag 20,-64.88,Sag 21,-83.47,Sag 22,-99.53,Sag 23,-112.56,Sag 24,-122.18,Sag 25,-128.09,Sag 26,-130.11,Sag 27,-128.18,Sag 28,-122.36,Sag 29,-112.82,Sag 30,-99.86,Sag 31,-83.87,Sag 32,-65.33,Sag 33,-44.81,Sag 34,-22.93,Sag 1,19.76,Sag 2,38.92,Sag 3,56.9,Sag 4,73.15,Sag 5,87.18,Sag 6,98.56,Sag 7,106.95,Sag 8,112.1,Sag 9,113.84,Sag 10,112.13,Sag 11,107.01,Sag 12,98.64,Sag 13,87.28,Sag 14,73.27,Sag 15,57.03,Sag 16,39.06,Sag 17,19.91,Sag 18,-19.61,Sag 19,-38.78,Sag 20,-56.77,Sag 21,-73.03,Sag 22,-87.08,Sag 23,-98.49,Sag 24,-106.9,Sag 25,-112.07,Sag 26,-113.84,Sag 27,-112.15,Sag 28,-107.06,Sag 29,-98.72,Sag 30,-87.38,Sag 31,-73.38,Sag 32,-57.16,Sag 33,-39.21,Sag 34,-20.06,Sag 1,16.94,Sag 2,33.36,Sag 3,48.77,Sag 4,62.7,Sag 5,74.73,Sag 6,84.48,Sag 7,91.68,Sag 8,96.09,Sag 9,97.58,Sag 10,96.11,Sag 11,91.72,Sag 12,84.55,Sag 13,74.81,Sag 14,62.8,Sag 15,48.88,Sag 16,33.48,Sag 17,17.07,Sag 18,-16.81,Sag 19,-33.24,Sag 20,-48.66,Sag 21,-62.6,Sag 22,-74.64,Sag 23,-84.42,Sag 24,-91.63,Sag 25,-96.06,Sag 26,-97.58,Sag 27,-96.13,Sag 28,-91.77,Sag 29,-84.62,Sag 30,-74.9,Sag 31,-62.9,Sag 32,-49,Sag 33,-33.61,Sag 34,-17.2,Sag 1,14.12,Sag 2,27.8,Sag 3,40.64,Sag 4,52.25,Sag 5,62.28,Sag 6,70.41,Sag 7,76.4,Sag 8,80.08,Sag 9,81.32,Sag 10,80.1,Sag 11,76.44,Sag 12,70.46,Sag 13,62.35,Sag 14,52.34,Sag 15,40.74,Sag 16,27.9,Sag 17,14.22,Sag 18,-14.01,Sag 19,-27.7,Sag 20,-40.55,Sag 21,-52.17,Sag 22,-62.21,Sag 23,-70.35,Sag 24,-76.36,Sag 25,-80.06,Sag 26,-81.32,Sag 27,-80.11,Sag 28,-76.48,Sag 29,-70.52,Sag 30,-62.42,Sag 31,-52.42,Sag 32,-40.83,Sag 33,-28.01,Sag 34,-14.33,Sag 1,11.29,Sag 2,22.24,Sag 3,32.51,Sag 4,41.8,Sag 5,49.82,Sag 6,56.32,Sag 7,61.12,Sag 8,64.05,Sag 9,65.05,Sag 10,64.07,Sag 11,61.15,Sag 12,56.36,Sag 13,49.87,Sag 14,41.87,Sag 15,32.59,Sag 16,22.32,Sag 17,11.38,Sag 18,-11.21,Sag 19,-22.16,Sag 20,-32.44,Sag 21,-41.73,Sag 22,-49.76,Sag 23,-56.28,Sag 24,-61.09,Sag 25,-64.04,Sag 26,-65.05,Sag 27,-64.09,Sag 28,-61.17,Sag 29,-56.41,Sag 30,-49.93,Sag 31,-41.93,Sag 32,-32.66,Sag 33,-22.4,Sag 34,-11.46,Sag 1,8.47,Sag 2,16.68,Sag 3,24.39,Sag 4,31.35,Sag 5,37.36,Sag 6,42.24,Sag 7,45.84,Sag 8,48.04,Sag 9,48.79,Sag 10,48.06,Sag 11,45.86,Sag 12,42.28,Sag 13,37.41,Sag 14,31.4,Sag 15,24.44,Sag 16,16.74,Sag 17,8.53,Sag 18,-8.4,Sag 19,-16.62,Sag 20,-24.33,Sag 21,-31.3,Sag 22,-37.32,Sag 23,-42.21,Sag 24,-45.82,Sag 25,-48.03,Sag 26,-48.79,Sag 27,-48.07,Sag 28,-45.88,Sag 29,-42.31,Sag 30,-37.45,Sag 31,-31.45,Sag 32,-24.5,Sag 33,-16.8,Sag 34,-8.6,Sag 1,5.65,Sag 2,11.12,Sag 3,16.26,Sag 4,20.9,Sag 5,24.91,Sag 6,28.16,Sag 7,30.56,Sag 8,32.03,Sag 9,32.53,Sag 10,32.04,Sag 11,30.58,Sag 12,28.19,Sag 13,24.94,Sag 14,20.94,Sag 15,16.3,Sag 16,11.16,Sag 17,5.69,Sag 18,-5.6,Sag 19,-11.08,Sag 20,-16.22,Sag 21,-20.87,Sag 22,-24.88,Sag 23,-28.14,Sag 24,-30.55,Sag 25,-32.02,Sag 26,-32.53,Sag 27,-32.05,Sag 28,-30.59,Sag 29,-28.21,Sag 30,-24.97,Sag 31,-20.97,Sag 32,-16.33,Sag 33,-11.2,Sag 34,-5.73,Sag 1,62.11,Swell 2,122.32,Swell 3,178.83,Swell 4,229.91,Swell 5,274,Swell 6,309.78,Swell 7,336.16,Swell 8,352.33,Swell 9,357.8,Swell 10,352.41,Swell 11,336.32,Swell 12,310.02,Swell 13,274.31,Swell 14,230.28,Swell 15,179.25,Swell 16,122.78,Swell 17,62.58,Swell 18,-61.63,Swell 19,-121.87,Swell 20,-178.41,Swell 21,-229.54,Swell 22,-273.7,Swell 23,-309.54,Swell 24,-335.99,Swell 25,-352.24,Swell 26,-357.8,Swell 27,-352.49,Swell 28,-336.49,Swell 29,-310.26,Swell 30,-274.62,Swell 31,-230.64,Swell 32,-179.66,Swell 33,-123.23,Swell 34,-63.05,Swell 1,63.52,Swell 2,125.1,Swell 3,182.89,Swell 4,235.13,Swell 5,280.23,Swell 6,316.82,Swell 7,343.8,Swell 8,360.33,Swell 9,365.93,Swell 10,360.42,Swell 11,343.96,Swell 12,317.07,Swell 13,280.55,Swell 14,235.51,Swell 15,183.32,Swell 16,125.57,Swell 17,64,Swell 18,-63.03,Swell 19,-124.64,Swell 20,-182.47,Swell 21,-234.76,Swell 22,-279.92,Swell 23,-316.58,Swell 24,-343.63,Swell 25,-360.25,Swell 26,-365.93,Swell 27,-360.5,Swell 28,-344.13,Swell 29,-317.31,Swell 30,-280.86,Swell 31,-235.88,Swell 32,-183.74,Swell 33,-126.03,Swell 34,-64.48,Swell 1,64.93,Swell 2,127.9,Swell 3,186.98,Swell 4,240.38,Swell 5,286.49,Swell 6,323.9,Swell 7,351.47,Swell 8,368.38,Swell 9,374.1,Swell 10,368.46,Swell 11,351.64,Swell 12,324.15,Swell 13,286.81,Swell 14,240.77,Swell 15,187.41,Swell 16,128.37,Swell 17,65.43,Swell 18,-64.44,Swell 19,-127.43,Swell 20,-186.54,Swell 21,-240,Swell 22,-286.16,Swell 23,-323.65,Swell 24,-351.3,Swell 25,-368.29,Swell 26,-374.1,Swell 27,-368.55,Swell 28,-351.81,Swell 29,-324.4,Swell 30,-287.13,Swell 31,-241.15,Swell 32,-187.85,Swell 33,-128.84,Swell 34,-65.92,Swell 1,66.34,Swell 2,130.66,Swell 3,191.02,Swell 4,245.57,Swell 5,292.68,Swell 6,330.89,Swell 7,359.06,Swell 8,376.33,Swell 9,382.18,Swell 10,376.42,Swell 11,359.24,Swell 12,331.15,Swell 13,293,Swell 14,245.97,Swell 15,191.46,Swell 16,131.14,Swell 17,66.84,Swell 18,-65.83,Swell 19,-130.18,Swell 20,-190.57,Swell 21,-245.18,Swell 22,-292.35,Swell 23,-330.64,Swell 24,-358.89,Swell 25,-376.24,Swell 26,-382.18,Swell 27,-376.51,Swell 28,-359.41,Swell 29,-331.4,Swell 30,-293.33,Swell 31,-246.36,Swell 32,-191.9,Swell 33,-131.62,Swell 34,-67.35,Swell 1,67.75,Swell 2,133.44,Swell 3,195.07,Swell 4,250.79,Swell 5,298.89,Swell 6,337.92,Swell 7,366.69,Swell 8,384.33,Swell 9,390.3,Swell 10,384.42,Swell 11,366.87,Swell 12,338.18,Swell 13,299.23,Swell 14,251.19,Swell 15,195.53,Swell 16,133.93,Swell 17,68.26,Swell 18,-67.23,Swell 19,-132.94,Swell 20,-194.62,Swell 21,-250.39,Swell 22,-298.56,Swell 23,-337.66,Swell 24,-366.51,Swell 25,-384.24,Swell 26,-390.3,Swell 27,-384.51,Swell 28,-367.05,Swell 29,-338.45,Swell 30,-299.57,Swell 31,-251.59,Swell 32,-195.98,Swell 33,-134.42,Swell 34,-68.78,Swell 1,70.57,Swell 2,139.01,Swell 3,203.22,Swell 4,261.26,Swell 5,311.37,Swell 6,352.03,Swell 7,382,Swell 8,400.37,Swell 9,406.59,Swell 10,400.47,Swell 11,382.18,Swell 12,352.3,Swell 13,311.72,Swell 14,261.68,Swell 15,203.69,Swell 16,139.52,Swell 17,71.11,Swell 18,-70.04,Swell 19,-138.49,Swell 20,-202.74,Swell 21,-260.84,Swell 22,-311.02,Swell 23,-351.75,Swell 24,-381.81,Swell 25,-400.28,Swell 26,-406.59,Swell 27,-400.56,Swell 28,-382.37,Swell 29,-352.57,Swell 30,-312.07,Swell 31,-262.09,Swell 32,-204.16,Swell 33,-140.03,Swell 34,-71.65,Swell 1,73.4,Swell 2,144.56,Swell 3,211.34,Swell 4,271.71,Swell 5,323.82,Swell 6,366.1,Swell 7,397.27,Swell 8,416.38,Swell 9,422.85,Swell 10,416.48,Swell 11,397.47,Swell 12,366.39,Swell 13,324.19,Swell 14,272.14,Swell 15,211.83,Swell 16,145.1,Swell 17,73.95,Swell 18,-72.84,Swell 19,-144.03,Swell 20,-210.85,Swell 21,-271.27,Swell 22,-323.46,Swell 23,-365.82,Swell 24,-397.08,Swell 25,-416.28,Swell 26,-422.85,Swell 27,-416.58,Swell 28,-397.66,Swell 29,-366.67,Swell 30,-324.55,Swell 31,-272.57,Swell 32,-212.32,Swell 33,-145.63,Swell 34,-74.51,Swell 1,76.22,Swell 2,150.12,Swell 3,219.47,Swell 4,282.15,Swell 5,336.27,Swell 6,380.18,Swell 7,412.55,Swell 8,432.39,Swell 9,439.11,Swell 10,432.5,Swell 11,412.75,Swell 12,380.48,Swell 13,336.65,Swell 14,282.61,Swell 15,219.98,Swell 16,150.68,Swell 17,76.8,Swell 18,-75.64,Swell 19,-149.57,Swell 20,-218.96,Swell 21,-281.7,Swell 22,-335.89,Swell 23,-379.89,Swell 24,-412.35,Swell 25,-432.29,Swell 26,-439.11,Swell 27,-432.6,Swell 28,-412.95,Swell 29,-380.77,Swell 30,-337.03,Swell 31,-283.06,Swell 32,-220.49,Swell 33,-151.23,Swell 34,-77.38,Swell 1,79.04,Swell 2,155.69,Swell 3,227.6,Swell 4,292.61,Swell 5,348.73,Swell 6,394.27,Swell 7,427.84,Swell 8,448.41,Swell 9,455.38,Swell 10,448.52,Swell 11,428.04,Swell 12,394.57,Swell 13,349.12,Swell 14,293.08,Swell 15,228.13,Swell 16,156.26,Swell 17,79.64,Swell 18,-78.44,Swell 19,-155.11,Swell 20,-227.07,Swell 21,-292.14,Swell 22,-348.34,Swell 23,-393.96,Swell 24,-427.63,Swell 25,-448.31,Swell 26,-455.38,Swell 27,-448.63,Swell 28,-428.25,Swell 29,-394.88,Swell 30,-349.52,Swell 31,-293.54,Swell 32,-228.66,Swell 33,-156.83,Swell 34,-80.25,Swell 1,81.86,Swell 2,161.24,Swell 3,235.73,Swell 4,303.06,Swell 5,361.18,Swell 6,408.35,Swell 7,443.11,Swell 8,464.43,Swell 9,471.64,Swell 10,464.54,Swell 11,443.33,Swell 12,408.66,Swell 13,361.59,Swell 14,303.54,Swell 15,236.28,Swell 16,161.84,Swell 17,82.49,Swell 18,-81.24,Swell 19,-160.65,Swell 20,-235.18,Swell 21,-302.57,Swell 22,-360.78,Swell 23,-408.03,Swell 24,-442.9,Swell 25,-464.32,Swell 26,-471.64,Swell 27,-464.64,Swell 28,-443.54,Swell 29,-408.98,Swell 30,-362,Swell 31,-304.03,Swell 32,-236.82,Swell 33,-162.43,Swell 34,-83.11,Swell 1,84.69,Swell 2,166.8,Swell 3,243.86,Swell 4,313.5,Swell 5,373.64,Swell 6,422.42,Swell 7,458.39,Swell 8,480.44,Swell 9,487.9,Swell 10,480.55,Swell 11,458.61,Swell 12,422.75,Swell 13,374.06,Swell 14,314.01,Swell 15,244.42,Swell 16,167.42,Swell 17,85.33,Swell 18,-84.04,Swell 19,-166.19,Swell 20,-243.29,Swell 21,-313,Swell 22,-373.21,Swell 23,-422.1,Swell 24,-458.16,Swell 25,-480.32,Swell 26,-487.9,Swell 27,-480.66,Swell 28,-458.84,Swell 29,-423.08,Swell 30,-374.48,Swell 31,-314.51,Swell 32,-244.99,Swell 33,-168.03,Swell 34,-85.98,Swell 1,87.51,Swell 2,172.37,Swell 3,251.99,Swell 4,323.96,Swell 5,386.1,Swell 6,436.51,Swell 7,473.67,Swell 8,496.46,Swell 9,504.17,Swell 10,496.58,Swell 11,473.91,Swell 12,436.85,Swell 13,386.53,Swell 14,324.48,Swell 15,252.57,Swell 16,173,Swell 17,88.18,Swell 18,-86.85,Swell 19,-171.73,Swell 20,-251.4,Swell 21,-323.44,Swell 22,-385.66,Swell 23,-436.17,Swell 24,-473.44,Swell 25,-496.34,Swell 26,-504.17,Swell 27,-496.69,Swell 28,-474.14,Swell 29,-437.19,Swell 30,-386.96,Swell 31,-324.99,Swell 32,-253.16,Swell 33,-173.64,Swell 34,-88.84,Swell 1,90.33,Swell 2,177.92,Swell 3,260.11,Swell 4,334.41,Swell 5,398.55,Swell 6,450.59,Swell 7,488.95,Swell 8,512.47,Swell 9,520.43,Swell 10,512.59,Swell 11,489.19,Swell 12,450.94,Swell 13,399,Swell 14,334.94,Swell 15,260.72,Swell 16,178.58,Swell 17,91.02,Swell 18,-89.65,Swell 19,-177.27,Swell 20,-259.51,Swell 21,-333.87,Swell 22,-398.1,Swell 23,-450.24,Swell 24,-488.71,Swell 25,-512.35,Swell 26,-520.43,Swell 27,-512.71,Swell 28,-489.43,Swell 29,-451.29,Swell 30,-399.44,Swell 31,-335.48,Swell 32,-261.32,Swell 33,-179.24,Swell 34,-91.71,Swell 1,93.16,Swell 2,183.48,Swell 3,268.24,Swell 4,344.86,Swell 5,411,Swell 6,464.67,Swell 7,504.23,Swell 8,528.48,Swell 9,536.69,Swell 10,528.61,Swell 11,504.47,Swell 12,465.03,Swell 13,411.46,Swell 14,345.41,Swell 15,268.86,Swell 16,184.16,Swell 17,93.86,Swell 18,-92.45,Swell 19,-182.81,Swell 20,-267.62,Swell 21,-344.3,Swell 22,-410.54,Swell 23,-464.31,Swell 24,-503.98,Swell 25,-528.35,Swell 26,-536.69,Swell 27,-528.73,Swell 28,-504.72,Swell 29,-465.39,Swell 30,-411.92,Swell 31,-345.96,Swell 32,-269.49,Swell 33,-184.84,Swell 34,-94.57,Swell 1,95.98,Swell 2,189.05,Swell 3,276.37,Swell 4,355.31,Swell 5,423.46,Swell 6,478.75,Swell 7,519.51,Swell 8,544.5,Swell 9,552.96,Swell 10,544.63,Swell 11,519.77,Swell 12,479.12,Swell 13,423.94,Swell 14,355.88,Swell 15,277.02,Swell 16,189.74,Swell 17,96.71,Swell 18,-95.25,Swell 19,-188.35,Swell 20,-275.73,Swell 21,-354.74,Swell 22,-422.98,Swell 23,-478.38,Swell 24,-519.26,Swell 25,-544.37,Swell 26,-552.96,Swell 27,-544.76,Swell 28,-520.02,Swell 29,-479.49,Swell 30,-424.41,Swell 31,-356.45,Swell 32,-277.66,Swell 33,-190.44,Swell 34,-97.44,Swell 1,98.8,Swell 2,194.6,Swell 3,284.5,Swell 4,365.76,Swell 5,435.91,Swell 6,492.83,Swell 7,534.79,Swell 8,560.51,Swell 9,569.22,Swell 10,560.65,Swell 11,535.05,Swell 12,493.21,Swell 13,436.4,Swell 14,366.34,Swell 15,285.16,Swell 16,195.32,Swell 17,99.55,Swell 18,-98.05,Swell 19,-193.89,Swell 20,-283.84,Swell 21,-365.17,Swell 22,-435.42,Swell 23,-492.45,Swell 24,-534.53,Swell 25,-560.38,Swell 26,-569.22,Swell 27,-560.78,Swell 28,-535.31,Swell 29,-493.59,Swell 30,-436.89,Swell 31,-366.93,Swell 32,-285.82,Swell 33,-196.04,Swell 34,-100.31,Swell 1,101.62,Swell 2,200.16,Swell 3,292.63,Swell 4,376.21,Swell 5,448.36,Swell 6,506.91,Swell 7,550.07,Swell 8,576.52,Swell 9,585.48,Swell 10,576.66,Swell 11,550.34,Swell 12,507.3,Swell 13,448.87,Swell 14,376.81,Swell 15,293.31,Swell 16,200.9,Swell 17,102.4,Swell 18,-100.85,Swell 19,-199.43,Swell 20,-291.95,Swell 21,-375.6,Swell 22,-447.86,Swell 23,-506.52,Swell 24,-549.8,Swell 25,-576.39,Swell 26,-585.48,Swell 27,-576.8,Swell 28,-550.6,Swell 29,-507.69,Swell 30,-449.37,Swell 31,-377.41,Swell 32,-293.99,Swell 33,-201.64,Swell 34,-103.17,Swell 1,51.38,Flicker 2,101.19,Flicker 3,147.94,Flicker 4,190.19,Flicker 5,226.67,Flicker 6,256.27,Flicker 7,278.09,Flicker 8,291.46,Flicker 9,295.99,Flicker 10,291.53,Flicker 11,278.22,Flicker 12,256.47,Flicker 13,226.93,Flicker 14,190.5,Flicker 15,148.28,Flicker 16,101.57,Flicker 17,51.77,Flicker 18,-50.99,Flicker 19,-100.82,Flicker 20,-147.59,Flicker 21,-189.89,Flicker 22,-226.42,Flicker 23,-256.07,Flicker 24,-277.95,Flicker 25,-291.39,Flicker 26,-295.99,Flicker 27,-291.6,Flicker 28,-278.36,Flicker 29,-256.67,Flicker 30,-227.18,Flicker 31,-190.8,Flicker 32,-148.62,Flicker 33,-101.94,Flicker 34,-52.16,Flicker 1,51.94,Flicker 2,102.31,Flicker 3,149.57,Flicker 4,192.29,Flicker 5,229.17,Flicker 6,259.09,Flicker 7,281.15,Flicker 8,294.67,Flicker 9,299.25,Flicker 10,294.74,Flicker 11,281.29,Flicker 12,259.29,Flicker 13,229.43,Flicker 14,192.59,Flicker 15,149.91,Flicker 16,102.68,Flicker 17,52.34,Flicker 18,-51.55,Flicker 19,-101.93,Flicker 20,-149.22,Flicker 21,-191.98,Flicker 22,-228.91,Flicker 23,-258.89,Flicker 24,-281.01,Flicker 25,-294.6,Flicker 26,-299.25,Flicker 27,-294.81,Flicker 28,-281.42,Flicker 29,-259.49,Flicker 30,-229.68,Flicker 31,-192.9,Flicker 32,-150.26,Flicker 33,-103.06,Flicker 34,-52.73,Flicker 1,52.51,Flicker 2,103.42,Flicker 3,151.19,Flicker 4,194.37,Flicker 5,231.66,Flicker 6,261.91,Flicker 7,284.2,Flicker 8,297.87,Flicker 9,302.5,Flicker 10,297.94,Flicker 11,284.34,Flicker 12,262.11,Flicker 13,231.92,Flicker 14,194.68,Flicker 15,151.54,Flicker 16,103.8,Flicker 17,52.91,Flicker 18,-52.11,Flicker 19,-103.04,Flicker 20,-150.84,Flicker 21,-194.06,Flicker 22,-231.39,Flicker 23,-261.7,Flicker 24,-284.06,Flicker 25,-297.8,Flicker 26,-302.5,Flicker 27,-298.01,Flicker 28,-284.48,Flicker 29,-262.31,Flicker 30,-232.18,Flicker 31,-195,Flicker 32,-151.89,Flicker 33,-104.18,Flicker 34,-53.31,Flicker 1,53.07,Flicker 2,104.53,Flicker 3,152.82,Flicker 4,196.46,Flicker 5,234.14,Flicker 6,264.72,Flicker 7,287.26,Flicker 8,301.07,Flicker 9,305.75,Flicker 10,301.14,Flicker 11,287.4,Flicker 12,264.92,Flicker 13,234.41,Flicker 14,196.78,Flicker 15,153.17,Flicker 16,104.92,Flicker 17,53.47,Flicker 18,-52.67,Flicker 19,-104.14,Flicker 20,-152.46,Flicker 21,-196.15,Flicker 22,-233.88,Flicker 23,-264.51,Flicker 24,-287.12,Flicker 25,-301,Flicker 26,-305.75,Flicker 27,-301.22,Flicker 28,-287.54,Flicker 29,-265.13,Flicker 30,-234.67,Flicker 31,-197.09,Flicker 32,-153.53,Flicker 33,-105.3,Flicker 34,-53.88,Flicker 1,53.63,Flicker 2,105.64,Flicker 3,154.44,Flicker 4,198.55,Flicker 5,236.63,Flicker 6,267.53,Flicker 7,290.31,Flicker 8,304.27,Flicker 9,309,Flicker 10,304.35,Flicker 11,290.45,Flicker 12,267.74,Flicker 13,236.9,Flicker 14,198.87,Flicker 15,154.8,Flicker 16,106.03,Flicker 17,54.04,Flicker 18,-53.23,Flicker 19,-105.25,Flicker 20,-154.08,Flicker 21,-198.23,Flicker 22,-236.37,Flicker 23,-267.33,Flicker 24,-290.17,Flicker 25,-304.2,Flicker 26,-309,Flicker 27,-304.42,Flicker 28,-290.59,Flicker 29,-267.95,Flicker 30,-237.17,Flicker 31,-199.19,Flicker 32,-155.16,Flicker 33,-106.42,Flicker 34,-54.45,Flicker 1,54.2,Flicker 2,106.76,Flicker 3,156.07,Flicker 4,200.65,Flicker 5,239.13,Flicker 6,270.36,Flicker 7,293.37,Flicker 8,307.48,Flicker 9,312.26,Flicker 10,307.56,Flicker 11,293.52,Flicker 12,270.56,Flicker 13,239.4,Flicker 14,200.97,Flicker 15,156.43,Flicker 16,107.15,Flicker 17,54.61,Flicker 18,-53.79,Flicker 19,-106.36,Flicker 20,-155.71,Flicker 21,-200.32,Flicker 22,-238.86,Flicker 23,-270.15,Flicker 24,-293.23,Flicker 25,-307.41,Flicker 26,-312.26,Flicker 27,-307.63,Flicker 28,-293.66,Flicker 29,-270.77,Flicker 30,-239.67,Flicker 31,-201.29,Flicker 32,-156.79,Flicker 33,-107.54,Flicker 34,-55.03,Flicker 1,54.76,Flicker 2,107.87,Flicker 3,157.69,Flicker 4,202.73,Flicker 5,241.62,Flicker 6,273.17,Flicker 7,296.43,Flicker 8,310.68,Flicker 9,315.51,Flicker 10,310.76,Flicker 11,296.57,Flicker 12,273.38,Flicker 13,241.89,Flicker 14,203.06,Flicker 15,158.06,Flicker 16,108.26,Flicker 17,55.18,Flicker 18,-54.35,Flicker 19,-107.47,Flicker 20,-157.33,Flicker 21,-202.41,Flicker 22,-241.35,Flicker 23,-272.96,Flicker 24,-296.28,Flicker 25,-310.61,Flicker 26,-315.51,Flicker 27,-310.83,Flicker 28,-296.71,Flicker 29,-273.59,Flicker 30,-242.16,Flicker 31,-203.38,Flicker 32,-158.43,Flicker 33,-108.66,Flicker 34,-55.6,Flicker 1,55.33,Flicker 2,108.98,Flicker 3,159.32,Flicker 4,204.82,Flicker 5,244.11,Flicker 6,275.98,Flicker 7,299.48,Flicker 8,313.88,Flicker 9,318.76,Flicker 10,313.96,Flicker 11,299.63,Flicker 12,276.2,Flicker 13,244.38,Flicker 14,205.15,Flicker 15,159.69,Flicker 16,109.38,Flicker 17,55.75,Flicker 18,-54.91,Flicker 19,-108.58,Flicker 20,-158.95,Flicker 21,-204.49,Flicker 22,-243.83,Flicker 23,-275.77,Flicker 24,-299.33,Flicker 25,-313.81,Flicker 26,-318.76,Flicker 27,-314.03,Flicker 28,-299.77,Flicker 29,-276.41,Flicker 30,-244.66,Flicker 31,-205.48,Flicker 32,-160.06,Flicker 33,-109.78,Flicker 34,-56.17,Flicker 1,57.59,Flicker 2,113.43,Flicker 3,165.82,Flicker 4,213.18,Flicker 5,254.07,Flicker 6,287.25,Flicker 7,311.7,Flicker 8,326.7,Flicker 9,331.77,Flicker 10,326.77,Flicker 11,311.85,Flicker 12,287.47,Flicker 13,254.36,Flicker 14,213.52,Flicker 15,166.21,Flicker 16,113.84,Flicker 17,58.03,Flicker 18,-57.15,Flicker 19,-113.01,Flicker 20,-165.44,Flicker 21,-212.84,Flicker 22,-253.78,Flicker 23,-287.02,Flicker 24,-311.55,Flicker 25,-326.62,Flicker 26,-331.77,Flicker 27,-326.85,Flicker 28,-312.01,Flicker 29,-287.69,Flicker 30,-254.64,Flicker 31,-213.86,Flicker 32,-166.59,Flicker 33,-114.26,Flicker 34,-58.46,Flicker 1,58.15,Flicker 2,114.53,Flicker 3,167.44,Flicker 4,215.26,Flicker 5,256.54,Flicker 6,290.04,Flicker 7,314.74,Flicker 8,329.88,Flicker 9,335,Flicker 10,329.95,Flicker 11,314.89,Flicker 12,290.27,Flicker 13,256.83,Flicker 14,215.6,Flicker 15,167.82,Flicker 16,114.95,Flicker 17,58.59,Flicker 18,-57.7,Flicker 19,-114.11,Flicker 20,-167.05,Flicker 21,-214.91,Flicker 22,-256.26,Flicker 23,-289.82,Flicker 24,-314.58,Flicker 25,-329.8,Flicker 26,-335,Flicker 27,-330.03,Flicker 28,-315.04,Flicker 29,-290.49,Flicker 30,-257.12,Flicker 31,-215.95,Flicker 32,-168.21,Flicker 33,-115.37,Flicker 34,-59.03,Flicker 1,58.72,Flicker 2,115.65,Flicker 3,169.07,Flicker 4,217.36,Flicker 5,259.05,Flicker 6,292.87,Flicker 7,317.81,Flicker 8,333.1,Flicker 9,338.27,Flicker 10,333.17,Flicker 11,317.96,Flicker 12,293.1,Flicker 13,259.34,Flicker 14,217.71,Flicker 15,169.46,Flicker 16,116.07,Flicker 17,59.16,Flicker 18,-58.27,Flicker 19,-115.22,Flicker 20,-168.68,Flicker 21,-217.01,Flicker 22,-258.76,Flicker 23,-292.65,Flicker 24,-317.65,Flicker 25,-333.02,Flicker 26,-338.27,Flicker 27,-333.25,Flicker 28,-318.12,Flicker 29,-293.33,Flicker 30,-259.63,Flicker 31,-218.05,Flicker 32,-169.85,Flicker 33,-116.5,Flicker 34,-59.61,Flicker 1,59.28,Flicker 2,116.76,Flicker 3,170.7,Flicker 4,219.45,Flicker 5,261.55,Flicker 6,295.7,Flicker 7,320.87,Flicker 8,336.31,Flicker 9,341.53,Flicker 10,336.39,Flicker 11,321.03,Flicker 12,295.93,Flicker 13,261.84,Flicker 14,219.8,Flicker 15,171.1,Flicker 16,117.19,Flicker 17,59.73,Flicker 18,-58.83,Flicker 19,-116.33,Flicker 20,-170.3,Flicker 21,-219.1,Flicker 22,-261.25,Flicker 23,-295.47,Flicker 24,-320.72,Flicker 25,-336.23,Flicker 26,-341.53,Flicker 27,-336.46,Flicker 28,-321.18,Flicker 29,-296.15,Flicker 30,-262.13,Flicker 31,-220.15,Flicker 32,-171.49,Flicker 33,-117.62,Flicker 34,-60.18,Flicker 1,59.85,Flicker 2,117.88,Flicker 3,172.33,Flicker 4,221.55,Flicker 5,264.04,Flicker 6,298.52,Flicker 7,323.94,Flicker 8,339.52,Flicker 9,344.79,Flicker 10,339.6,Flicker 11,324.09,Flicker 12,298.75,Flicker 13,264.34,Flicker 14,221.9,Flicker 15,172.73,Flicker 16,118.31,Flicker 17,60.3,Flicker 18,-59.39,Flicker 19,-117.44,Flicker 20,-171.93,Flicker 21,-221.19,Flicker 22,-263.74,Flicker 23,-298.29,Flicker 24,-323.78,Flicker 25,-339.44,Flicker 26,-344.79,Flicker 27,-339.68,Flicker 28,-324.25,Flicker 29,-298.98,Flicker 30,-264.64,Flicker 31,-222.26,Flicker 32,-173.13,Flicker 33,-118.75,Flicker 34,-60.76,Flicker 1,60.4,Flicker 2,118.97,Flicker 3,173.93,Flicker 4,223.61,Flicker 5,266.5,Flicker 6,301.3,Flicker 7,326.95,Flicker 8,342.68,Flicker 9,348,Flicker 10,342.76,Flicker 11,327.11,Flicker 12,301.53,Flicker 13,266.8,Flicker 14,223.97,Flicker 15,174.34,Flicker 16,119.41,Flicker 17,60.86,Flicker 18,-59.94,Flicker 19,-118.54,Flicker 20,-173.53,Flicker 21,-223.25,Flicker 22,-266.2,Flicker 23,-301.07,Flicker 24,-326.79,Flicker 25,-342.6,Flicker 26,-348,Flicker 27,-342.84,Flicker 28,-327.27,Flicker 29,-301.77,Flicker 30,-267.1,Flicker 31,-224.33,Flicker 32,-174.74,Flicker 33,-119.85,Flicker 34,-61.32,Flicker 1,60.98,Flicker 2,120.1,Flicker 3,175.58,Flicker 4,225.72,Flicker 5,269.02,Flicker 6,304.15,Flicker 7,330.04,Flicker 8,345.92,Flicker 9,351.29,Flicker 10,346,Flicker 11,330.2,Flicker 12,304.38,Flicker 13,269.32,Flicker 14,226.09,Flicker 15,175.98,Flicker 16,120.54,Flicker 17,61.44,Flicker 18,-60.51,Flicker 19,-119.66,Flicker 20,-175.17,Flicker 21,-225.36,Flicker 22,-268.72,Flicker 23,-303.91,Flicker 24,-329.88,Flicker 25,-345.83,Flicker 26,-351.29,Flicker 27,-346.08,Flicker 28,-330.36,Flicker 29,-304.62,Flicker 30,-269.62,Flicker 31,-226.45,Flicker 32,-176.39,Flicker 33,-120.98,Flicker 34,-61.9,Flicker 1,61.54,Flicker 2,121.21,Flicker 3,177.2,Flicker 4,227.81,Flicker 5,271.51,Flicker 6,306.96,Flicker 7,333.1,Flicker 8,349.12,Flicker 9,354.54,Flicker 10,349.2,Flicker 11,333.26,Flicker 12,307.2,Flicker 13,271.81,Flicker 14,228.18,Flicker 15,177.61,Flicker 16,121.66,Flicker 17,62.01,Flicker 18,-61.07,Flicker 19,-120.76,Flicker 20,-176.79,Flicker 21,-227.45,Flicker 22,-271.2,Flicker 23,-306.72,Flicker 24,-332.93,Flicker 25,-349.03,Flicker 26,-354.54,Flicker 27,-349.28,Flicker 28,-333.42,Flicker 29,-307.44,Flicker 30,-272.12,Flicker 31,-228.54,Flicker 32,-178.02,Flicker 33,-122.1,Flicker 34,-62.48,Flicker 1,5.36,Interruption 2,10.56,Interruption 3,15.44,Interruption 4,19.86,Interruption 5,23.66,Interruption 6,26.75,Interruption 7,29.03,Interruption 8,30.43,Interruption 9,30.9,Interruption 10,30.43,Interruption 11,29.05,Interruption 12,26.77,Interruption 13,23.69,Interruption 14,19.89,Interruption 15,15.48,Interruption 16,10.6,Interruption 17,5.4,Interruption 18,-5.32,Interruption 19,-10.53,Interruption 20,-15.41,Interruption 21,-19.82,Interruption 22,-23.64,Interruption 23,-26.73,Interruption 24,-29.02,Interruption 25,-30.42,Interruption 26,-30.9,Interruption 27,-30.44,Interruption 28,-29.06,Interruption 29,-26.79,Interruption 30,-23.72,Interruption 31,-19.92,Interruption 32,-15.52,Interruption 33,-10.64,Interruption 34,-5.45,Interruption 1,5.08,Interruption 2,10.01,Interruption 3,14.63,Interruption 4,18.81,Interruption 5,22.42,Interruption 6,25.34,Interruption 7,27.5,Interruption 8,28.82,Interruption 9,29.27,Interruption 10,28.83,Interruption 11,27.51,Interruption 12,25.36,Interruption 13,22.44,Interruption 14,18.84,Interruption 15,14.66,Interruption 16,10.04,Interruption 17,5.12,Interruption 18,-5.04,Interruption 19,-9.97,Interruption 20,-14.6,Interruption 21,-18.78,Interruption 22,-22.39,Interruption 23,-25.32,Interruption 24,-27.49,Interruption 25,-28.82,Interruption 26,-29.27,Interruption 27,-28.84,Interruption 28,-27.53,Interruption 29,-25.38,Interruption 30,-22.47,Interruption 31,-18.87,Interruption 32,-14.7,Interruption 33,-10.08,Interruption 34,-5.16,Interruption 1,4.8,Interruption 2,9.45,Interruption 3,13.82,Interruption 4,17.77,Interruption 5,21.17,Interruption 6,23.94,Interruption 7,25.98,Interruption 8,27.23,Interruption 9,27.65,Interruption 10,27.23,Interruption 11,25.99,Interruption 12,23.96,Interruption 13,21.2,Interruption 14,17.8,Interruption 15,13.85,Interruption 16,9.49,Interruption 17,4.84,Interruption 18,-4.76,Interruption 19,-9.42,Interruption 20,-13.79,Interruption 21,-17.74,Interruption 22,-21.15,Interruption 23,-23.92,Interruption 24,-25.96,Interruption 25,-27.22,Interruption 26,-27.65,Interruption 27,-27.24,Interruption 28,-26,Interruption 29,-23.98,Interruption 30,-21.22,Interruption 31,-17.82,Interruption 32,-13.88,Interruption 33,-9.52,Interruption 34,-4.87,Interruption 1,4.52,Interruption 2,8.9,Interruption 3,13,Interruption 4,16.72,Interruption 5,19.93,Interruption 6,22.53,Interruption 7,24.45,Interruption 8,25.62,Interruption 9,26.02,Interruption 10,25.63,Interruption 11,24.46,Interruption 12,22.55,Interruption 13,19.95,Interruption 14,16.75,Interruption 15,13.04,Interruption 16,8.93,Interruption 17,4.55,Interruption 18,-4.48,Interruption 19,-8.86,Interruption 20,-12.97,Interruption 21,-16.69,Interruption 22,-19.9,Interruption 23,-22.51,Interruption 24,-24.43,Interruption 25,-25.62,Interruption 26,-26.02,Interruption 27,-25.63,Interruption 28,-24.47,Interruption 29,-22.56,Interruption 30,-19.97,Interruption 31,-16.77,Interruption 32,-13.07,Interruption 33,-8.96,Interruption 34,-4.59,Interruption 1,3.95,Interruption 2,7.78,Interruption 3,11.37,Interruption 4,14.62,Interruption 5,17.42,Interruption 6,19.7,Interruption 7,21.37,Interruption 8,22.4,Interruption 9,22.75,Interruption 10,22.41,Interruption 11,21.38,Interruption 12,19.71,Interruption 13,17.44,Interruption 14,14.64,Interruption 15,11.4,Interruption 16,7.81,Interruption 17,3.98,Interruption 18,-3.92,Interruption 19,-7.75,Interruption 20,-11.34,Interruption 21,-14.59,Interruption 22,-17.4,Interruption 23,-19.68,Interruption 24,-21.36,Interruption 25,-22.4,Interruption 26,-22.75,Interruption 27,-22.41,Interruption 28,-21.39,Interruption 29,-19.73,Interruption 30,-17.46,Interruption 31,-14.66,Interruption 32,-11.42,Interruption 33,-7.84,Interruption 34,-4.01,Interruption 1,3.39,Interruption 2,6.67,Interruption 3,9.76,Interruption 4,12.54,Interruption 5,14.95,Interruption 6,16.9,Interruption 7,18.34,Interruption 8,19.22,Interruption 9,19.52,Interruption 10,19.23,Interruption 11,18.35,Interruption 12,16.91,Interruption 13,14.97,Interruption 14,12.56,Interruption 15,9.78,Interruption 16,6.7,Interruption 17,3.41,Interruption 18,-3.36,Interruption 19,-6.65,Interruption 20,-9.73,Interruption 21,-12.52,Interruption 22,-14.93,Interruption 23,-16.89,Interruption 24,-18.33,Interruption 25,-19.22,Interruption 26,-19.52,Interruption 27,-19.23,Interruption 28,-18.36,Interruption 29,-16.93,Interruption 30,-14.98,Interruption 31,-12.58,Interruption 32,-9.8,Interruption 33,-6.72,Interruption 34,-3.44,Interruption 1,2.82,Interruption 2,5.56,Interruption 3,8.12,Interruption 4,10.44,Interruption 5,12.44,Interruption 6,14.07,Interruption 7,15.27,Interruption 8,16,Interruption 9,16.25,Interruption 10,16.01,Interruption 11,15.27,Interruption 12,14.08,Interruption 13,12.46,Interruption 14,10.46,Interruption 15,8.14,Interruption 16,5.58,Interruption 17,2.84,Interruption 18,-2.8,Interruption 19,-5.54,Interruption 20,-8.1,Interruption 21,-10.42,Interruption 22,-12.43,Interruption 23,-14.06,Interruption 24,-15.26,Interruption 25,-16,Interruption 26,-16.25,Interruption 27,-16.01,Interruption 28,-15.28,Interruption 29,-14.09,Interruption 30,-12.47,Interruption 31,-10.47,Interruption 32,-8.16,Interruption 33,-5.6,Interruption 34,-2.86,Interruption 1,2.26,Interruption 2,4.45,Interruption 3,6.5,Interruption 4,8.36,Interruption 5,9.96,Interruption 6,11.26,Interruption 7,12.22,Interruption 8,12.81,Interruption 9,13.01,Interruption 10,12.81,Interruption 11,12.23,Interruption 12,11.27,Interruption 13,9.97,Interruption 14,8.37,Interruption 15,6.52,Interruption 16,4.46,Interruption 17,2.28,Interruption 18,-2.24,Interruption 19,-4.43,Interruption 20,-6.49,Interruption 21,-8.35,Interruption 22,-9.95,Interruption 23,-11.26,Interruption 24,-12.22,Interruption 25,-12.81,Interruption 26,-13.01,Interruption 27,-12.82,Interruption 28,-12.23,Interruption 29,-11.28,Interruption 30,-9.99,Interruption 31,-8.39,Interruption 32,-6.53,Interruption 33,-4.48,Interruption 34,-2.29,Interruption 1,1.69,Interruption 2,3.33,Interruption 3,4.87,Interruption 4,6.26,Interruption 5,7.47,Interruption 6,8.44,Interruption 7,9.16,Interruption 8,9.6,Interruption 9,9.75,Interruption 10,9.6,Interruption 11,9.16,Interruption 12,8.45,Interruption 13,7.48,Interruption 14,6.27,Interruption 15,4.88,Interruption 16,3.35,Interruption 17,1.71,Interruption 18,-1.68,Interruption 19,-3.32,Interruption 20,-4.86,Interruption 21,-6.25,Interruption 22,-7.46,Interruption 23,-8.44,Interruption 24,-9.16,Interruption 25,-9.6,Interruption 26,-9.75,Interruption 27,-9.61,Interruption 28,-9.17,Interruption 29,-8.45,Interruption 30,-7.48,Interruption 31,-6.28,Interruption 32,-4.9,Interruption 33,-3.36,Interruption 34,-1.72,Interruption 1,1.41,Interruption 2,2.78,Interruption 3,4.06,Interruption 4,5.22,Interruption 5,6.22,Interruption 6,7.03,Interruption 7,7.63,Interruption 8,8,Interruption 9,8.12,Interruption 10,8,Interruption 11,7.64,Interruption 12,7.04,Interruption 13,6.23,Interruption 14,5.23,Interruption 15,4.07,Interruption 16,2.79,Interruption 17,1.42,Interruption 18,-1.4,Interruption 19,-2.77,Interruption 20,-4.05,Interruption 21,-5.21,Interruption 22,-6.22,Interruption 23,-7.03,Interruption 24,-7.63,Interruption 25,-8,Interruption 26,-8.12,Interruption 27,-8,Interruption 28,-7.64,Interruption 29,-7.05,Interruption 30,-6.24,Interruption 31,-5.24,Interruption 32,-4.08,Interruption 33,-2.8,Interruption 34,-1.43,Interruption 1,1.13,Interruption 2,2.23,Interruption 3,3.25,Interruption 4,4.18,Interruption 5,4.99,Interruption 6,5.64,Interruption 7,6.12,Interruption 8,6.41,Interruption 9,6.51,Interruption 10,6.41,Interruption 11,6.12,Interruption 12,5.64,Interruption 13,4.99,Interruption 14,4.19,Interruption 15,3.26,Interruption 16,2.23,Interruption 17,1.14,Interruption 18,-1.12,Interruption 19,-2.22,Interruption 20,-3.25,Interruption 21,-4.18,Interruption 22,-4.98,Interruption 23,-5.63,Interruption 24,-6.11,Interruption 25,-6.41,Interruption 26,-6.51,Interruption 27,-6.41,Interruption 28,-6.12,Interruption 29,-5.65,Interruption 30,-5,Interruption 31,-4.2,Interruption 32,-3.27,Interruption 33,-2.24,Interruption 34,-1.15,Interruption 1,0.56,Interruption 2,1.11,Interruption 3,1.62,Interruption 4,2.09,Interruption 5,2.49,Interruption 6,2.81,Interruption 7,3.05,Interruption 8,3.2,Interruption 9,3.25,Interruption 10,3.2,Interruption 11,3.05,Interruption 12,2.82,Interruption 13,2.49,Interruption 14,2.09,Interruption 15,1.63,Interruption 16,1.12,Interruption 17,0.57,Interruption 18,-0.56,Interruption 19,-1.11,Interruption 20,-1.62,Interruption 21,-2.08,Interruption 22,-2.49,Interruption 23,-2.81,Interruption 24,-3.05,Interruption 25,-3.2,Interruption 26,-3.25,Interruption 27,-3.2,Interruption 28,-3.06,Interruption 29,-2.82,Interruption 30,-2.49,Interruption 31,-2.09,Interruption 32,-1.63,Interruption 33,-1.12,Interruption 34,-0.57,Interruption 1,0.35,Interruption 2,0.68,Interruption 3,1,Interruption 4,1.29,Interruption 5,1.53,Interruption 6,1.73,Interruption 7,1.88,Interruption 8,1.97,Interruption 9,2,Interruption 10,1.97,Interruption 11,1.88,Interruption 12,1.73,Interruption 13,1.53,Interruption 14,1.29,Interruption 15,1,Interruption 16,0.69,Interruption 17,0.35,Interruption 18,-0.34,Interruption 19,-0.68,Interruption 20,-1,Interruption 21,-1.28,Interruption 22,-1.53,Interruption 23,-1.73,Interruption 24,-1.88,Interruption 25,-1.97,Interruption 26,-2,Interruption 27,-1.97,Interruption 28,-1.88,Interruption 29,-1.73,Interruption 30,-1.54,Interruption 31,-1.29,Interruption 32,-1,Interruption 33,-0.69,Interruption 34,-0.35,Interruption 1,0.17,Interruption 2,0.34,Interruption 3,0.5,Interruption 4,0.64,Interruption 5,0.77,Interruption 6,0.87,Interruption 7,0.94,Interruption 8,0.98,Interruption 9,1,Interruption 10,0.98,Interruption 11,0.94,Interruption 12,0.87,Interruption 13,0.77,Interruption 14,0.64,Interruption 15,0.5,Interruption 16,0.34,Interruption 17,0.17,Interruption 18,-0.17,Interruption 19,-0.34,Interruption 20,-0.5,Interruption 21,-0.64,Interruption 22,-0.76,Interruption 23,-0.87,Interruption 24,-0.94,Interruption 25,-0.98,Interruption 26,-1,Interruption 27,-0.99,Interruption 28,-0.94,Interruption 29,-0.87,Interruption 30,-0.77,Interruption 31,-0.64,Interruption 32,-0.5,Interruption 33,-0.34,Interruption 34,-0.18,Interruption 1,0.09,Interruption 2,0.17,Interruption 3,0.25,Interruption 4,0.32,Interruption 5,0.38,Interruption 6,0.43,Interruption 7,0.47,Interruption 8,0.49,Interruption 9,0.5,Interruption 10,0.49,Interruption 11,0.47,Interruption 12,0.43,Interruption 13,0.38,Interruption 14,0.32,Interruption 15,0.25,Interruption 16,0.17,Interruption 17,0.09,Interruption 18,-0.09,Interruption 19,-0.17,Interruption 20,-0.25,Interruption 21,-0.32,Interruption 22,-0.38,Interruption 23,-0.43,Interruption 24,-0.47,Interruption 25,-0.49,Interruption 26,-0.5,Interruption 27,-0.49,Interruption 28,-0.47,Interruption 29,-0.43,Interruption 30,-0.38,Interruption 31,-0.32,Interruption 32,-0.25,Interruption 33,-0.17,Interruption 34,-0.09,Interruption 1,204.16,Harmonics 2,299.1,Harmonics 3,280.44,Harmonics 4,235,Harmonics 5,234.09,Harmonics 6,265.48,Harmonics 7,275.77,Harmonics 8,252.48,Harmonics 9,235.48,Harmonics 10,252.26,Harmonics 11,275.69,Harmonics 12,265.7,Harmonics 13,234.27,Harmonics 14,234.78,Harmonics 15,280.06,Harmonics 16,299.32,Harmonics 17,205.4,Harmonics 18,-202.92,Harmonics 19,-298.88,Harmonics 20,-280.81,Harmonics 21,-235.22,Harmonics 22,-233.91,Harmonics 23,-265.26,Harmonics 24,-275.84,Harmonics 25,-252.7,Harmonics 26,-235.48,Harmonics 27,-252.04,Harmonics 28,-275.6,Harmonics 29,-265.92,Harmonics 30,-234.46,Harmonics 31,-234.56,Harmonics 32,-279.68,Harmonics 33,-299.53,Harmonics 34,-206.62,Harmonics 1,214.5,Harmonics 2,312.26,Harmonics 3,288.69,Harmonics 4,236.81,Harmonics 5,233.04,Harmonics 6,264.35,Harmonics 7,273.68,Harmonics 8,247.73,Harmonics 9,229.19,Harmonics 10,247.49,Harmonics 11,273.58,Harmonics 12,264.57,Harmonics 13,233.21,Harmonics 14,236.56,Harmonics 15,288.25,Harmonics 16,312.46,Harmonics 17,215.79,Harmonics 18,-213.2,Harmonics 19,-312.05,Harmonics 20,-289.12,Harmonics 21,-237.07,Harmonics 22,-232.86,Harmonics 23,-264.14,Harmonics 24,-273.77,Harmonics 25,-247.97,Harmonics 26,-229.19,Harmonics 27,-247.26,Harmonics 28,-273.48,Harmonics 29,-264.79,Harmonics 30,-233.39,Harmonics 31,-236.31,Harmonics 32,-287.82,Harmonics 33,-312.65,Harmonics 34,-217.08,Harmonics 1,213.02,Harmonics 2,310.38,Harmonics 3,287.51,Harmonics 4,236.55,Harmonics 5,233.19,Harmonics 6,264.52,Harmonics 7,273.98,Harmonics 8,248.41,Harmonics 9,230.09,Harmonics 10,248.17,Harmonics 11,273.88,Harmonics 12,264.73,Harmonics 13,233.37,Harmonics 14,236.3,Harmonics 15,287.08,Harmonics 16,310.58,Harmonics 17,214.31,Harmonics 18,-211.73,Harmonics 19,-310.17,Harmonics 20,-287.93,Harmonics 21,-236.81,Harmonics 22,-233.01,Harmonics 23,-264.3,Harmonics 24,-274.07,Harmonics 25,-248.65,Harmonics 26,-230.09,Harmonics 27,-247.94,Harmonics 28,-273.79,Harmonics 29,-264.95,Harmonics 30,-233.55,Harmonics 31,-236.06,Harmonics 32,-286.66,Harmonics 33,-310.78,Harmonics 34,-215.58,Harmonics 1,195.3,Harmonics 2,287.83,Harmonics 3,273.36,Harmonics 4,233.44,Harmonics 5,234.99,Harmonics 6,266.45,Harmonics 7,277.56,Harmonics 8,256.55,Harmonics 9,240.86,Harmonics 10,256.35,Harmonics 11,277.49,Harmonics 12,266.67,Harmonics 13,235.18,Harmonics 14,233.25,Harmonics 15,273.03,Harmonics 16,288.06,Harmonics 17,196.49,Harmonics 18,-194.11,Harmonics 19,-287.59,Harmonics 20,-273.7,Harmonics 21,-233.62,Harmonics 22,-234.8,Harmonics 23,-266.23,Harmonics 24,-277.62,Harmonics 25,-256.75,Harmonics 26,-240.87,Harmonics 27,-256.15,Harmonics 28,-277.42,Harmonics 29,-266.89,Harmonics 30,-235.37,Harmonics 31,-233.07,Harmonics 32,-272.7,Harmonics 33,-288.28,Harmonics 34,-197.67,Harmonics 1,193.82,Harmonics 2,285.95,Harmonics 3,272.19,Harmonics 4,233.18,Harmonics 5,235.14,Harmonics 6,266.61,Harmonics 7,277.85,Harmonics 8,257.23,Harmonics 9,241.76,Harmonics 10,257.03,Harmonics 11,277.79,Harmonics 12,266.83,Harmonics 13,235.33,Harmonics 14,233,Harmonics 15,271.86,Harmonics 16,286.18,Harmonics 17,195,Harmonics 18,-192.64,Harmonics 19,-285.71,Harmonics 20,-272.51,Harmonics 21,-233.36,Harmonics 22,-234.95,Harmonics 23,-266.39,Harmonics 24,-277.91,Harmonics 25,-257.42,Harmonics 26,-241.76,Harmonics 27,-256.83,Harmonics 28,-277.72,Harmonics 29,-267.05,Harmonics 30,-235.52,Harmonics 31,-232.82,Harmonics 32,-271.53,Harmonics 33,-286.4,Harmonics 34,-196.17,Harmonics 1,192.35,Harmonics 2,284.07,Harmonics 3,271.01,Harmonics 4,232.92,Harmonics 5,235.29,Harmonics 6,266.78,Harmonics 7,278.15,Harmonics 8,257.9,Harmonics 9,242.66,Harmonics 10,257.71,Harmonics 11,278.09,Harmonics 12,266.99,Harmonics 13,235.48,Harmonics 14,232.74,Harmonics 15,270.69,Harmonics 16,284.3,Harmonics 17,193.52,Harmonics 18,-191.17,Harmonics 19,-283.83,Harmonics 20,-271.32,Harmonics 21,-233.09,Harmonics 22,-235.1,Harmonics 23,-266.56,Harmonics 24,-278.21,Harmonics 25,-258.1,Harmonics 26,-242.66,Harmonics 27,-257.52,Harmonics 28,-278.03,Harmonics 29,-267.21,Harmonics 30,-235.67,Harmonics 31,-232.57,Harmonics 32,-270.37,Harmonics 33,-284.53,Harmonics 34,-194.68,Harmonics 1,190.87,Harmonics 2,282.19,Harmonics 3,269.83,Harmonics 4,232.66,Harmonics 5,235.44,Harmonics 6,266.94,Harmonics 7,278.45,Harmonics 8,258.58,Harmonics 9,243.56,Harmonics 10,258.39,Harmonics 11,278.39,Harmonics 12,267.15,Harmonics 13,235.63,Harmonics 14,232.49,Harmonics 15,269.52,Harmonics 16,282.42,Harmonics 17,192.03,Harmonics 18,-189.7,Harmonics 19,-281.95,Harmonics 20,-270.14,Harmonics 21,-232.83,Harmonics 22,-235.25,Harmonics 23,-266.72,Harmonics 24,-278.51,Harmonics 25,-258.77,Harmonics 26,-243.56,Harmonics 27,-258.2,Harmonics 28,-278.33,Harmonics 29,-267.37,Harmonics 30,-235.82,Harmonics 31,-232.32,Harmonics 32,-269.21,Harmonics 33,-282.65,Harmonics 34,-193.19,Harmonics 1,202.69,Harmonics 2,297.22,Harmonics 3,279.26,Harmonics 4,234.74,Harmonics 5,234.24,Harmonics 6,265.65,Harmonics 7,276.06,Harmonics 8,253.16,Harmonics 9,236.37,Harmonics 10,252.94,Harmonics 11,275.99,Harmonics 12,265.86,Harmonics 13,234.42,Harmonics 14,234.52,Harmonics 15,278.89,Harmonics 16,297.44,Harmonics 17,203.91,Harmonics 18,-201.45,Harmonics 19,-297,Harmonics 20,-279.63,Harmonics 21,-234.95,Harmonics 22,-234.06,Harmonics 23,-265.43,Harmonics 24,-276.14,Harmonics 25,-253.37,Harmonics 26,-236.38,Harmonics 27,-252.73,Harmonics 28,-275.91,Harmonics 29,-266.08,Harmonics 30,-234.61,Harmonics 31,-234.31,Harmonics 32,-278.51,Harmonics 33,-297.65,Harmonics 34,-205.13,Harmonics 1,201.21,Harmonics 2,295.34,Harmonics 3,278.08,Harmonics 4,234.48,Harmonics 5,234.39,Harmonics 6,265.81,Harmonics 7,276.36,Harmonics 8,253.84,Harmonics 9,237.27,Harmonics 10,253.62,Harmonics 11,276.29,Harmonics 12,266.03,Harmonics 13,234.57,Harmonics 14,234.27,Harmonics 15,277.71,Harmonics 16,295.56,Harmonics 17,202.43,Harmonics 18,-199.98,Harmonics 19,-295.12,Harmonics 20,-278.44,Harmonics 21,-234.68,Harmonics 22,-234.2,Harmonics 23,-265.59,Harmonics 24,-276.43,Harmonics 25,-254.05,Harmonics 26,-237.27,Harmonics 27,-253.41,Harmonics 28,-276.21,Harmonics 29,-266.24,Harmonics 30,-234.76,Harmonics 31,-234.07,Harmonics 32,-277.35,Harmonics 33,-295.78,Harmonics 34,-203.64,Harmonics 1,199.73,Harmonics 2,293.47,Harmonics 3,276.9,Harmonics 4,234.22,Harmonics 5,234.54,Harmonics 6,265.97,Harmonics 7,276.66,Harmonics 8,254.51,Harmonics 9,238.17,Harmonics 10,254.3,Harmonics 11,276.59,Harmonics 12,266.19,Harmonics 13,234.72,Harmonics 14,234.01,Harmonics 15,276.54,Harmonics 16,293.69,Harmonics 17,200.94,Harmonics 18,-198.51,Harmonics 19,-293.24,Harmonics 20,-277.25,Harmonics 21,-234.42,Harmonics 22,-234.35,Harmonics 23,-265.75,Harmonics 24,-276.73,Harmonics 25,-254.72,Harmonics 26,-238.17,Harmonics 27,-254.1,Harmonics 28,-276.51,Harmonics 29,-266.4,Harmonics 30,-234.91,Harmonics 31,-233.82,Harmonics 32,-276.19,Harmonics 33,-293.9,Harmonics 34,-202.14,Harmonics 1,198.25,Harmonics 2,291.59,Harmonics 3,275.72,Harmonics 4,233.96,Harmonics 5,234.69,Harmonics 6,266.13,Harmonics 7,276.96,Harmonics 8,255.19,Harmonics 9,239.07,Harmonics 10,254.99,Harmonics 11,276.89,Harmonics 12,266.35,Harmonics 13,234.88,Harmonics 14,233.76,Harmonics 15,275.37,Harmonics 16,291.81,Harmonics 17,199.46,Harmonics 18,-197.05,Harmonics 19,-291.36,Harmonics 20,-276.07,Harmonics 21,-234.15,Harmonics 22,-234.5,Harmonics 23,-265.91,Harmonics 24,-277.03,Harmonics 25,-255.4,Harmonics 26,-239.07,Harmonics 27,-254.78,Harmonics 28,-276.82,Harmonics 29,-266.56,Harmonics 30,-235.06,Harmonics 31,-233.57,Harmonics 32,-275.02,Harmonics 33,-292.03,Harmonics 34,-200.65,Harmonics 1,196.78,Harmonics 2,289.71,Harmonics 3,274.54,Harmonics 4,233.7,Harmonics 5,234.84,Harmonics 6,266.29,Harmonics 7,277.26,Harmonics 8,255.87,Harmonics 9,239.97,Harmonics 10,255.67,Harmonics 11,277.19,Harmonics 12,266.51,Harmonics 13,235.03,Harmonics 14,233.51,Harmonics 15,274.2,Harmonics 16,289.93,Harmonics 17,197.97,Harmonics 18,-195.58,Harmonics 19,-289.48,Harmonics 20,-274.88,Harmonics 21,-233.89,Harmonics 22,-234.65,Harmonics 23,-266.07,Harmonics 24,-277.32,Harmonics 25,-256.07,Harmonics 26,-239.97,Harmonics 27,-255.46,Harmonics 28,-277.12,Harmonics 29,-266.73,Harmonics 30,-235.22,Harmonics 31,-233.32,Harmonics 32,-273.86,Harmonics 33,-290.15,Harmonics 34,-199.16,Harmonics 1,211.55,Harmonics 2,308.5,Harmonics 3,286.33,Harmonics 4,236.29,Harmonics 5,233.34,Harmonics 6,264.68,Harmonics 7,274.27,Harmonics 8,249.09,Harmonics 9,230.99,Harmonics 10,248.86,Harmonics 11,274.18,Harmonics 12,264.9,Harmonics 13,233.52,Harmonics 14,236.05,Harmonics 15,285.91,Harmonics 16,308.7,Harmonics 17,212.82,Harmonics 18,-210.27,Harmonics 19,-308.28,Harmonics 20,-286.74,Harmonics 21,-236.54,Harmonics 22,-233.16,Harmonics 23,-264.46,Harmonics 24,-274.36,Harmonics 25,-249.32,Harmonics 26,-230.99,Harmonics 27,-248.62,Harmonics 28,-274.09,Harmonics 29,-265.11,Harmonics 30,-233.7,Harmonics 31,-235.81,Harmonics 32,-285.49,Harmonics 33,-308.9,Harmonics 34,-214.09,Harmonics 1,210.07,Harmonics 2,306.62,Harmonics 3,285.15,Harmonics 4,236.03,Harmonics 5,233.49,Harmonics 6,264.84,Harmonics 7,274.57,Harmonics 8,249.77,Harmonics 9,231.88,Harmonics 10,249.54,Harmonics 11,274.48,Harmonics 12,265.06,Harmonics 13,233.67,Harmonics 14,235.8,Harmonics 15,284.74,Harmonics 16,306.83,Harmonics 17,211.34,Harmonics 18,-208.8,Harmonics 19,-306.4,Harmonics 20,-285.56,Harmonics 21,-236.28,Harmonics 22,-233.31,Harmonics 23,-264.62,Harmonics 24,-274.66,Harmonics 25,-250,Harmonics 26,-231.89,Harmonics 27,-249.31,Harmonics 28,-274.39,Harmonics 29,-265.27,Harmonics 30,-233.85,Harmonics 31,-235.56,Harmonics 32,-284.33,Harmonics 33,-307.03,Harmonics 34,-212.6,Harmonics 1,208.59,Harmonics 2,304.74,Harmonics 3,283.97,Harmonics 4,235.77,Harmonics 5,233.64,Harmonics 6,265,Harmonics 7,274.87,Harmonics 8,250.44,Harmonics 9,232.78,Harmonics 10,250.22,Harmonics 11,274.78,Harmonics 12,265.22,Harmonics 13,233.82,Harmonics 14,235.54,Harmonics 15,283.57,Harmonics 16,304.95,Harmonics 17,209.85,Harmonics 18,-207.33,Harmonics 19,-304.52,Harmonics 20,-284.37,Harmonics 21,-236.01,Harmonics 22,-233.46,Harmonics 23,-264.78,Harmonics 24,-274.95,Harmonics 25,-250.67,Harmonics 26,-232.78,Harmonics 27,-249.99,Harmonics 28,-274.7,Harmonics 29,-265.43,Harmonics 30,-234,Harmonics 31,-235.31,Harmonics 32,-283.17,Harmonics 33,-305.15,Harmonics 34,-211.1,Harmonics 1,207.12,Harmonics 2,302.86,Harmonics 3,282.79,Harmonics 4,235.51,Harmonics 5,233.79,Harmonics 6,265.16,Harmonics 7,275.17,Harmonics 8,251.12,Harmonics 9,233.68,Harmonics 10,250.9,Harmonics 11,275.09,Harmonics 12,265.38,Harmonics 13,233.97,Harmonics 14,235.29,Harmonics 15,282.4,Harmonics 16,303.07,Harmonics 17,208.37,Harmonics 18,-205.86,Harmonics 19,-302.64,Harmonics 20,-283.19,Harmonics 21,-235.75,Harmonics 22,-233.61,Harmonics 23,-264.94,Harmonics 24,-275.25,Harmonics 25,-251.35,Harmonics 26,-233.68,Harmonics 27,-250.68,Harmonics 28,-275,Harmonics 29,-265.6,Harmonics 30,-234.15,Harmonics 31,-235.06,Harmonics 32,-282,Harmonics 33,-303.28,Harmonics 34,-209.61,Harmonics 1,205.64,Harmonics 2,300.98,Harmonics 3,281.61,Harmonics 4,235.25,Harmonics 5,233.94,Harmonics 6,265.32,Harmonics 7,275.47,Harmonics 8,251.8,Harmonics 9,234.58,Harmonics 10,251.58,Harmonics 11,275.39,Harmonics 12,265.54,Harmonics 13,234.12,Harmonics 14,235.03,Harmonics 15,281.23,Harmonics 16,301.19,Harmonics 17,206.88,Harmonics 18,-204.39,Harmonics 19,-300.76,Harmonics 20,-282,Harmonics 21,-235.48,Harmonics 22,-233.76,Harmonics 23,-265.1,Harmonics 24,-275.55,Harmonics 25,-252.02,Harmonics 26,-234.58,Harmonics 27,-251.36,Harmonics 28,-275.3,Harmonics 29,-265.76,Harmonics 30,-234.3,Harmonics 31,-234.81,Harmonics 32,-280.84,Harmonics 33,-301.4,Harmonics 34,-208.12,Harmonics diff --git a/main.py b/main.py new file mode 100644 index 0000000..0435ec5 --- /dev/null +++ b/main.py @@ -0,0 +1,161 @@ +import pandas as pd +import numpy as np +import tensorflow as tf +import matplotlib.pyplot as plt + + +def data_read(data_address): + df = pd.read_csv(data_address) + label_mapping = {label: idx for idx, + label in enumerate(df['Problem'].unique())} + df['Problem'] = df['Problem'].map(label_mapping) + + df.replace([np.inf, -np.inf], np.nan, inplace=True) + df.dropna(inplace=True) + + X = np.array(df['Voltage']) + Y = np.array(df['Problem']) + + # 归一化处理 + X = (X - np.min(X)) / (np.max(X) - np.min(X)) + + # 转换为时间序列数据格式 + time_steps = 34 + X_series, Y_series = [], [] + for i in range(0, len(X) - time_steps): + X_series.append(X[i:(i + time_steps)]) + Y_series.append(Y[i + time_steps - 1]) + + return np.array(X_series).reshape(-1, time_steps, 1), np.array(Y_series) + + +X_train, Y_train = data_read( + 'Liu\data\VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main\Voltage Quality.csv') +X_test, Y_test = data_read( + 'Liu/data/VOLTAGE-QUALITY-CLASSIFICATION-MODEL--main/Voltage Quality Test.csv') + +# 获取类别数量 +n_classes = len(np.unique(Y_train)) + +# 构建模型 +model = tf.keras.models.Sequential([ + tf.keras.layers.LSTM(50, return_sequences=True, input_shape=(34, 1)), + tf.keras.layers.LSTM(50), + tf.keras.layers.Dense(n_classes, activation='softmax') # 修改为适应多分类 +]) + +# 编译模型 +model.compile(optimizer='adam', + loss='sparse_categorical_crossentropy', metrics=['accuracy']) + +# 训练模型 +model.fit(X_train, Y_train, epochs=3000, validation_split=0.2) + +# 评估模型 +loss, accuracy = model.evaluate(X_test, Y_test) + + +# 制作扰动数据 + +# 损失函数 +loss_fn = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True) + +# 定义损失函数 +loss_fn = tf.keras.losses.SparseCategoricalCrossentropy() + +# 转换X_train和Y_train为TensorFlow张量 +X_train_tensor = tf.convert_to_tensor(X_train, dtype=tf.float32) +Y_train_tensor = tf.convert_to_tensor(Y_train, dtype=tf.int32) + +# 使用tf.GradientTape来计算梯度 +with tf.GradientTape() as tape: + # 确保tape监视输入张量 + tape.watch(X_train_tensor) + # 前向传播,计算预测值 + predictions = model(X_train_tensor) + # 计算损失 + loss = loss_fn(Y_train_tensor, predictions) + +# 计算关于输入X的梯度 +gradients = tape.gradient(loss, X_train_tensor) + +# 计算每个输入的梯度的L2范数 +gradient_magnitudes = tf.norm(gradients, axis=1) + +# 创建每个gamma对应的准确率的字典 +accuracy_per_gamma = {} + +# 选择最大的γ * |X|个梯度 +for gamma in [0.05, 0.1, 0.2, 0.4]: # 你需要选择一个合适的γ值 + num_gradients_to_select = int( + gamma * tf.size(gradient_magnitudes, out_type=tf.dtypes.float32)) + + # 获取最大梯度的索引 + # tf.argsort返回的是升序排列的,所以用[::-1]来获得降序的索引 + top_gradients_indices = tf.argsort(gradient_magnitudes, direction='DESCENDING')[ + :num_gradients_to_select] + + # 创建集合A,这里是所有选定的最大梯度的索引 + A = top_gradients_indices.numpy() + + # 创建一个新的梯度张量,初始化为原始梯度的副本 + updated_gradients = tf.identity(gradients) + + # 获取所有索引 + all_indices = tf.range(start=0, limit=tf.size( + gradient_magnitudes, out_type=tf.dtypes.int32), dtype=tf.int32) + + # 创建一个布尔掩码,其中集合A中的索引为False,其他为True + mask = ~tf.reduce_any(tf.equal(tf.expand_dims( + all_indices, 1), tf.reshape(A, (1, -1))), axis=1) + + # 使用这个掩码更新不在集合A中的梯度为0 + updated_gradients = tf.where( + mask, updated_gradients, tf.zeros_like(updated_gradients)) + + # 创建准确率列表 + accuracy_list = [] + + for learning_rate in [0.1, 0.2, 0.3, 0.4, 0.5]: + + # 更新X_train_tensor + X_train_updated = X_train_tensor - updated_gradients + + # 编译模型 + model.compile( + optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy']) + + # 训练模型 + model.fit(X_train, Y_train, epochs=3000, validation_split=0.2) + + # 评估模型 + loss, accuracy = model.evaluate(X_test, Y_test) + + # 记录准确率 + accuracy_list.append(accuracy) + + # 记录该gamma下的准确率 + accuracy_per_gamma[gamma] = accuracy_list + +# 学习率样本 +learning_rates = [0.1, 0.2, 0.3, 0.4, 0.5] + +# 不同的gamma值 +gammas = [0.05, 0.1, 0.2, 0.4] + +# 创建图像 +plt.figure(figsize=(10, 6)) + +# 为每个gamma值绘制曲线 +for gamma in gammas: + plt.plot(learning_rates, accuracy_per_gamma[gamma], marker='o', label=f'Gamma={gamma}') + +# 添加标题和标签 +plt.title('Accuracy vs Learning Rate for Different Gammas') +plt.xlabel('Learning Rate') +plt.ylabel('Accuracy') +plt.legend() + +# 显示图像 +plt.show() +