Git Product home page Git Product logo

electric-image-method's Introduction

Electric-Image-Method

This python script calculates the electrical capacitance matrix of a set of conductive spheres. See http://en.wikipedia.org/wiki/Capacitance for more on the theory.

Updates

12/03/2015 : Updates to the program to include the possibility to calculate the Capacitance Matrix over a conductive plane + Readme updates

How to use

The first step is to create the set of electrodes, to do this you must give them 4 caracteristics, the x,y,z coordinates and the radius.

example :

import image_theory
  
# All distances are in m
  
x=5
y=5
z=3
radius = 0.1
    
electrode = sphere_propreties(x,y,z,radius)

Once you created a certain number of electrodes you can pass them to the capacity_matrix function, the ouput will be the capacitance matrix.

import image_theory

... # Here we create the electrodes

capacitance_matrix = capacity_matrix(electrode1, electrode2, electrode3)

If you want to calculate the capacitance matrix over or under a plane you can use the capacity_matrix_over_conductive_interface function, but you must first create a condcutive plane with only one caracterisctic : the z value.

import image_theory

z_plane = 2

plane  = PlaneProprieties(z_plane)

... # Here we create the electrodes

capacitance_matrix = capacity_matrix_over_conductive_interface(plane, electrode1, electrode2, electrode3)

Note that in this case you have to cheak for two things, first that all the electrodes are on the same side of the plane, then that no electrodes intersect each other or the plane

Roadmap :

  • Capacitance Matrix over a conductive surface [done]
  • Capacitance Matrix over a dielectric surface [work in progress]
  • Capacitance Matrix over a 2 layer dielectric surface with complex permitivities [work in progress]
  • Capacitance Matrix over a multi-layered dielectric surface with complex permitivities [standby]
  • Graphical representation of the electrode system [standby]
  • Custom error messages and geometry verification [standby]

References :

[1] Introduction to Electrodynamics (3rd Edition) (1998) by David J. Griffiths

[2] Electromagnetic Wave Theory (1985) by James R Wait

electric-image-method's People

Contributors

anthony-camembeargames avatar

Watchers

James Cloos avatar  avatar

Forkers

pdwangchao

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.