Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Latest commit

 

History

History
62 lines (48 loc) · 2.02 KB

README.md

File metadata and controls

62 lines (48 loc) · 2.02 KB

EMF Calculator

Build Status Documentation Status codecov

- NOTE: The 3D analysis portion of this package is unverified and experimental.

About

This package provides tools for performing electromagnetic field (EMF) analysis for transmission lines.

Installation

The development version of this repository may be installed via pip:

pip install git+https://github.com/mpewsey/emf#egg=emf

Example

To perform an analysis, simply create a list of phases or phase segments and pass them to the desired analysis constructor:

from emf import Phase2D, EMFAnalysis2D

phases = [
    Phase2D('A', -10, 10.6, 0.033, 525000, 1000, 120, 3, 0.45),
    Phase2D('B', 0, 10.6, 0.033, 525000, 1000, 0, 3, 0.45),
    Phase2D('C', 10, 10.6, 0.033, 525000, 1000, -120, 3, 0.45)
]

emf = EMFAnalysis2D(phases)

Methods can be called on the analysis object to acquire the desired field values or to generate plots of cross sections. For example, the below plots were generated from the above phase configuration.

geometry.png
mag_field_contour.png mag_field_profile.png
elec_field_contour.png elec_field_profile.png
space_potential_contour.png space_potential_profile.png