Skip to content

koswadi/transformer-performance-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Transformer Performance Analysis

Python-Based Analysis of Transformer Parameters, Efficiency, Losses, and Voltage Regulation


πŸ“– Project Overview

This project presents a comprehensive transformer performance analysis using Python. The analysis focuses on extracting equivalent circuit parameters from Open Circuit Test and Short Circuit Test data, evaluating transformer efficiency, calculating voltage regulation, and analyzing power losses under varying load conditions.

The project demonstrates both electrical engineering fundamentals and engineering computation skills through numerical modeling, visualization, and technical reporting.


🎯 Objectives

  • Determine transformer equivalent circuit parameters.
  • Analyze core and copper losses.
  • Calculate transformer efficiency under different loading conditions.
  • Evaluate voltage regulation for various power factors.
  • Visualize transformer performance characteristics.
  • Create a reusable Python-based engineering analysis workflow.

βš™οΈ Engineering Topics Covered

1. Open Circuit Test Analysis

Determination of shunt branch parameters:

  • Core Loss (Pcore)
  • Core Loss Resistance (Rc)
  • Magnetizing Reactance (Xm)
  • Magnetizing Current (Im)

Equations

Rc = VocΒ² / Poc

Ic = Poc / Voc

Im = √(Ioc² - Ic²)

Xm = Voc / Im

2. Short Circuit Test Analysis

Determination of series branch parameters:

  • Equivalent Resistance (Req)
  • Equivalent Reactance (Xeq)
  • Copper Loss (Pcu)

Equations

Zeq = Vsc / Isc

Req = Psc / IscΒ²

Xeq = √(Zeq² - Req²)

3. Voltage Regulation Analysis

Voltage Regulation (%) =
((Vnl - Vfl) / Vfl) Γ— 100

Analysis is performed under:

  • 0.8 Lagging Power Factor
  • 1.0 Unity Power Factor
  • 0.8 Leading Power Factor

4. Efficiency Analysis

Ξ· =
Output Power /
(Output Power + Core Loss + Copper Loss)

Evaluated at:

  • 25% Load
  • 50% Load
  • 75% Load
  • 100% Load
  • 125% Load

5. Loss Analysis

  • Core Loss
  • Copper Loss
  • Total Loss

The relationship between transformer loading and losses is investigated through graphical analysis.


πŸ“‚ Project Structure

transformer-performance-analysis/
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ .gitignore
β”‚
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ raw/
β”‚   β”‚   └── transformer_test_data.csv
β”‚   β”‚
β”‚   └── processed/
β”‚       └── calculated_results.csv
β”‚
β”œβ”€β”€ notebooks/
β”‚   β”œβ”€β”€ 01_data_exploration.ipynb
β”‚   β”œβ”€β”€ 02_transformer_calculations.ipynb
β”‚   └── 03_performance_analysis.ipynb
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ transformer_parameters.py
β”‚   β”œβ”€β”€ efficiency_analysis.py
β”‚   β”œβ”€β”€ voltage_regulation.py
β”‚   β”œβ”€β”€ load_analysis.py
β”‚   └── visualization.py
β”‚
β”œβ”€β”€ results/
β”‚   β”œβ”€β”€ figures/
β”‚   β”‚   β”œβ”€β”€ efficiency_curve.png
β”‚   β”‚   β”œβ”€β”€ voltage_regulation_curve.png
β”‚   β”‚   β”œβ”€β”€ load_vs_losses.png
β”‚   β”‚   β”œβ”€β”€ efficiency_heatmap.png
β”‚   β”‚   └── transformer_equivalent_circuit.png
β”‚   β”‚
β”‚   └── reports/
β”‚       └── transformer_performance_report.pdf
β”‚
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ methodology.md
β”‚   β”œβ”€β”€ transformer_theory.md
β”‚   └── project_summary.md
β”‚
└── tests/
    β”œβ”€β”€ test_efficiency.py
    β”œβ”€β”€ test_voltage_regulation.py
    └── test_transformer_parameters.py

πŸ“Š Sample Dataset

Rated_kVA,100
Rated_Voltage_HV,11000
Rated_Voltage_LV,415

OC_Voltage,415
OC_Current,3.2
OC_Power,620

SC_Voltage,450
SC_Current,9.1
SC_Power,980

πŸ–₯️ Python Modules

transformer_parameters.py

calculate_rc()
calculate_xm()
calculate_req()
calculate_xeq()

efficiency_analysis.py

calculate_efficiency()
maximum_efficiency()

voltage_regulation.py

calculate_voltage_regulation()

load_analysis.py

calculate_losses()
load_profile_analysis()

visualization.py

plot_efficiency_curve()
plot_voltage_regulation()
plot_losses()
plot_heatmap()

πŸ“ˆ Expected Outputs

Efficiency Curve

Shows transformer efficiency variation across loading levels.


Voltage Regulation Curve

Illustrates voltage regulation under different power factor conditions.


Load vs Losses

Compares core losses, copper losses, and total losses.


Efficiency Heatmap

Visual representation of efficiency as a function of load factor and power factor.


Equivalent Circuit

Transformer equivalent circuit derived from OC and SC test results.


πŸ”¬ Methodology

Transformer Test Data
            β”‚
            β–Ό
Open Circuit Analysis
            β”‚
            β–Ό
Short Circuit Analysis
            β”‚
            β–Ό
Equivalent Circuit Parameters
            β”‚
            β–Ό
Loss Calculation
            β”‚
            β–Ό
Voltage Regulation
            β”‚
            β–Ό
Efficiency Analysis
            β”‚
            β–Ό
Visualization & Reporting

πŸ“Œ Key Findings

  • Transformer efficiency reaches its maximum near the optimal load point.
  • Copper losses increase proportionally to the square of load current.
  • Voltage regulation is highly dependent on power factor.
  • Core losses remain approximately constant regardless of load level.
  • Performance visualization improves engineering decision-making and operational assessment.

πŸ›  Technologies Used

  • Python
  • NumPy
  • Pandas
  • Matplotlib
  • Jupyter Notebook
  • Electrical Power Systems Analysis

πŸš€ How to Run

git clone https://github.com/yourusername/transformer-performance-analysis.git

cd transformer-performance-analysis

pip install -r requirements.txt

python src/transformer_parameters.py

πŸ‘¨β€πŸ’» Author

Electrical Engineering Portfolio Project demonstrating:

  • Power Systems Engineering
  • Transformer Analysis
  • Engineering Computation
  • Python Programming
  • Technical Documentation

T## Results

Efficiency Curve

Efficiency Curve

Transformer efficiency under varying load conditions.


Voltage Regulation Curve

Voltage Regulation

Voltage regulation performance across different loading levels.


Transformer Loss Analysis

Transformer Losses

Comparison between core losses and copper losses.


Transformer Parameter Heatmap

Transformer Heatmap

Visual representation of transformer parameter distribution.ransformer Performance Analysis | Electrical Engineering + Python Portfolio Project

About

Python-based transformer performance analysis including efficiency evaluation, voltage regulation assessment, transformer loss analysis, parameter estimation, and engineering data visualization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages