EMF Documentation

https://travis-ci.com/mpewsey/emf.svg?branch=master https://readthedocs.org/projects/emf/badge/?version=latest https://codecov.io/gh/mpewsey/emf/branch/master/graph/badge.svg

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.

API Documentation

EMF Analysis (emf)

This module contains components for performing EMF analysis.

2D Analysis

Phase2D(name, x, y, diameter, voltage, …) A class representing a transmission line phase.
EMFAnalysis2D(phases[, mu0, e0]) A class for performing electric and magnetic field analysis of transmission lines.

3D Analysis

Phase3D(name, x1, x2, diameter, voltage, …) A class representing a transmission line phase.
EMFAnalysis3D(phases[, mu0, e0]) A class for performing electric and magnetic field analysis of transmission lines.

Base Components (emf.base)

This module contains base components used by other modules.

Constants

get_magnetic_perm(name) Returns the magnetic permeability from the built-in dictionary by name.
get_electric_perm(name) Returns the electric permittivity from the built-in dictionary by name.

Base Classes

_BaseEMFAnalysis(phases[, mu0, e0]) A base class for performing electric and magnetic field analysis of transmission lines.
_BasePhase(name, diameter, voltage, current, …) A base class for creating a transmission line phase.