Recent Articles:

About Me
I love making stuff and solving puzzles. I am mak...
Lua Libraries
Here are some Lua libraries that I have used or fi...
Intro :Trying to learn and standardize the Foreig...
This section contains links to everything related ...
Lua Compiler
Some notes on the C code of the Lua Compiler Lua ...



FastHenry tool looks very useful and handy to calculate R and L impedance matrix of different structures. The website is here.


I wrote a small Lua script to generate a Fast Henry input file. I then discretized a circular wire (using LuaMath and then created an input file with all the segments. The repository for the utils and the code is here

  • The obtained inductance matches the inductance calculated for a circular wire using the inductance expression as given here
  • the skin effect also shows up because I see the resistance increasing with frequency and the inductance falling somewhat.
  • When i removed the .equiv statements which was making all the starting nodes of all the segments of the same potential the inductance changed a little bit not much but the skin effect was lost.

Copyright 2018 Milind Gupta