Loading 3D model… large boards can take a moment.
A tool for calculating the optimal trace width to maximize magnetic moment for PCB magnetorquer coils with various copper weights. This tool helps design optimal PCB-based magnetorquer coils by considering various constraints like trace width, spacing, current density, and power limitations.
This repository contains two different versions of the magnetorquer optimization tool:
magnetorquer_optimization.py - Command line version with basic functionalitymagnetorquer_optimize_with_graphics.py - GUI version with interactive graphsnumpy
scipy
matplotlib
Clone this repository:
git clone https://github.com/yourusername/magtorque-optimization.git
cd magtorque-optimization
Install required packages:
pip install numpy scipy matplotlib
Run the basic optimization script: (I recommend using the graphical onen as this one is outdated)
python magnetorquer_optimization.py
You'll be prompted to enter:
Run the graphical interface version:
python magnetorquer_optimize_with_graphics.py
This provides an interactive interface where you can:
magnetorquer_optimization.py (Command Line Version)
magnetorquer_optimize_with_graphics.py (GUI Version)
Feel free to open issues or submit pull requests. Areas that need improvement:
MIT License - See LICENSE file for details
No comments yet. Be the first to ask about this board.