Git Product home page Git Product logo

zenithclown / decompose Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 632 KB

Principal Component Analysis (PCA) Algorithm was implemented to determine the Functional Age of the Power Transformer using Return Voltage Measurement (RVM). [submitted]

Home Page: https://ieeexplore.ieee.org/document/9972517

Python 78.05% Makefile 9.95% Batchfile 12.00%
transformer tan-delta dissipation-factor return-voltage central-time-constant initial-rate machine-learning principal-component-analysis curve-fitting regression

decompose's Introduction

decompose
(supplement code)
Debmalya Pramanik Dr. Arijit Baral

A implementation of Principal Component Analysis (PCA) Algorithm for determining the Functional Age of Power Transformer, for the Paper Titled "Reliable Estimation of Dissipation Factor of In-service Power Transformer", by Debmalya Pramanik (ORCiD:0000-0002-3955-8170) and Dr. Arijit Baral (ORCiD:0000-0002-1905-9059).

Abstract

Insulation failure is a severe threat to high voltage equipment, and its protection using a reliable and efficient diagnostic tool has always been the interest to power utilities. Many traditional and newer techniques are available. Due to the complex aging process of oil-paper insulation, experts generally perform assessments after carefully evaluating measurement data. The paper presents a methodology to analyze recovery voltage measurement data to estimate aging sensitive performance parameters (dissipation factor).

Keywords

power transformer, dissipation factor, tan delta, return voltage, recovery voltage, central time constant, principal component analysis, regression, oil moisture, initial rate, machine learning, curve fitting

IEEE Conference Paper Link

Figures

Significant figures related to the paper is added here for reference. Images files are available here, and the overall flowchart of the proposed algorithm and PCA is created using draw.io founded by Gaudenz Alder.

Significant Figures from Conference Paper

Fig.: RVM Spectrum of trf1

Fig.: The Scree Plot to determine Optimal Components

image image

Fig.:

Fig.:

image image

Fig.:

Fig.:

image image

Fig.:

Fig.:

image image

Fig.:

Fig.:


Figure 1 Two-Electrode Model for Capturing RV Data


Figure 2 RVM Spectrum of trf1


Figure 3 The Scree Plot representing the Percentage of Explained Variance of all the Individual Principal Components calculated from PCA considering all the Transformer Parameters


Figure 4 First Principal Component (PC-1) vs tan ๐›ฟ


Figure 5 PC-1 against Dissipation Factor with Class Label based on User-Defined Boundaries


Figure 6 Proposed Curve to Estimate tan ๐›ฟ w.r.t. PC-1


Figure 7 Final Proposed Polynomial Equation to Determine tan ๐›ฟ considering an Error Band of 0.25 ๐œŽ^2

License & Citaitions

This is licensed to ยฉ Debmalya Pramanik, Arijit Baral MIT License. If you find this document useful, please cite the original paper as (or refer to citation file):

Paper/Plain Text Citations

D. Pramanik and A. Baral, "Reliable Estimation of Dissipation Factor of In-service Power Transformer," 2022 IEEE 2nd Mysore Sub Section International Conference (MysuruCon), Mysuru, India, 2022, pp. 1-6, doi: 10.1109/MysuruCon55714.2022.9972517.

BibTex

@INPROCEEDINGS{9972517,
  author={Pramanik, Debmalya and Baral, Arijit},
  booktitle={2022 IEEE 2nd Mysore Sub Section International Conference (MysuruCon)}, 
  title={Reliable Estimation of Dissipation Factor of In-service Power Transformer}, 
  year={2022},
  volume={},
  number={},
  pages={1-6},
  keywords={Voltage measurement;Fitting;Estimation;High-voltage techniques;Aging;Oil insulation;Reliability;power transformer;dissipation factor;tan delta;return voltage;recovery voltage;central time constant;principal component analysis;regression;oil moisture;initial rate;machine learning;curve fitting},
  doi={10.1109/MysuruCon55714.2022.9972517}}

Credits & Reference

Principal Component Analysis (PCA) tries to find the axes with the maximum variance [1]. The decomposition.PCA() function is written using the mathematical formulation and step-by-step guide provided by Sebastian Raschka.

[1] Raschka, S. (2015). Python Machine Learning. Packt Publishing Ltd.

Additional Notes

Paper is still under review and modifications, thus the content may change significantly.

decompose's People

Contributors

dependabot[bot] avatar zenithclown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

decompose's Issues

Inconsistent Output

Overview

On implementation of decompose.PCA upon calculation of the explained_variance_ and principal components the PCA plot is somewhat transposed. My guess, some/all eigenvalues are wrongly calculated, or the matrix W is defined wrong.

Steps to Reproduce

  1. Calculate and Plot PCA using iris Dataset
  2. Implement PCA using decompose.PCA(), and sklearn.decomposition.PCA()
  3. Compare the Output Graph and/or Values.

[Updates]: Update the Project and Repository Content

Contact Details

No response

What happened?

The project contains a supplementary code, which might be updated on the final review and publication of the paper. Upon completion, the following needs to be addressed:

  • #6
  • #7
  • #8
  • Update and/or check securities and dependabot alerts.
  • #9
  • #10

Python Version

3.9.12 (default)

What type of operating system are you using?

Windows 10, Linux (debian/ubuntu/mint/etc.)

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

MAKE File Error

Overview

On using sphinx to generate documentation, the make html command raises the following error:

$ decompose\sphinx-docs>make html
Running Sphinx v4.4.0
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 3 source files that are out of date
updating environment: [new config] 3 added, 0 changed, 0 removed
reading sources... [100%] modules
\decompose.rst:10: ERROR: Unknown directive type "automodule".

.. automodule:: decompose.pca
   :members:
   :undoc-members:
   :show-inheritance:
decompose.rst:18: ERROR: Unknown directive type "automodule".

.. automodule:: decompose
   :members:
   :undoc-members:
   :show-inheritance:
looking for now-outdated files... none found
pickling environment... done
checking consistency... decompose\sphinx-docs\modules.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] modules
generating indices... genindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.

The HTML pages are in _build\html.

Steps to Check

  • Check sphinx-apidoc syntax.
  • Check automodule library and syntax.
  • Manually add and update decompose.rst

Context

$ conda --version
conda 4.12.0

$ pip show sphinx
Name: Sphinx
Version: 4.4.0
Summary: Python documentation generator
Home-page: https://www.sphinx-doc.org/
Author: Georg Brandl
Author-email: [email protected]
License: BSD
Location: c:\users\debmalya\anaconda3\lib\site-packages
Requires: requests, Jinja2, sphinxcontrib-serializinghtml, docutils, snowballstemmer, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, babel, sphinxcontrib-jsmath, packaging, colorama, importlib-metadata, sphinxcontrib-applehelp, sphinxcontrib-qthelp, Pygments, alabaster, imagesize
Required-by: spyder, numpydoc

$ pip --version
pip 21.2.4 from C:\Users\debmalya\anaconda3\lib\site-packages\pip (python 3.9)

Python Version : 3.9.12
Operating System : Windows/Linux
Desktop Environment : Gnome/KDE/XFCE/Mate/Cinnamon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.