Skip to content

Magnetic field visualization for ideal transmission line using Python.

Notifications You must be signed in to change notification settings

orestis42/transmission_line_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Transmission Line Visualization

image

Overview

This script provides a comprehensive analysis and visualization of the magnetic field around two parallel cylindrical conductors (ideal transmission line) using Python. The conductors are aligned along the z-axis with a constant current flowing through them.

Problem Description

The script addresses the following tasks related to the electromagnetic field analysis:

  1. Vector Potential Calculation: Compute the magnetic vector potential at any point in the Cartesian coordinate system considering the distances from the point to the conductors.
  2. Graphical Representation:
    • Plot the vector potential in the xy-plane.
    • Graph normalized vector potential and equipotential lines.
    • Visualize the magnetic induction B field lines using streamlines.

Installation

To install the necessary dependencies, use pipenv. It is recommended to use a virtual environment to manage your dependencies.

Clone the repository.

git clone [email protected]:orestis42/transmission_line_visualization.git

Navigate to the project directory.

cd transmission_line_visualization

Install dependencies using pipenv.

pipenv install

Usage

pipenv run python ./src/transmission_line_visualization/transmission_line_visualization.py

About

Magnetic field visualization for ideal transmission line using Python.

Topics

Resources

Stars

Watchers

Forks

Languages