MCPcopy Index your code
hub / github.com/PrincetonUniversity/magnet

github.com/PrincetonUniversity/magnet @0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.1 ↗ · + Follow
110 symbols 349 edges 29 files 7 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build MagNet Logo

Princeton MagNet is a large-scale dataset designed to enable researchers to model magnetic core loss using machine learning to accelerate the design process of power electronics. The dataset contains a large amount of voltage and current data of different magnetic components with different shapes of waveforms and different properties measured in the real world. Researchers may use these data as pairs of excitations and responses to build up analytical magnetic models or calculate the core loss to derive static models.

Website

Princeton MagNet is currently deployed at https://mag-net.princeton.edu/

MagNet Challenge Link

Download the Latest Version of the MagNet Handbook (03-25-2023)

Documentation

The web application for Princeton MagNet uses the magnet package, a python package under development where most of the functionality is exposed. Before magnet is released on PyPI, it can be installed using pip install git+https://github.com/PrincetonUniversity/magnet.

Please pip install mag-net and pip install . in the magnet folder before running streamlit.

How to Cite

If you used MagNet, please cite us with the following.

  • D. Serrano et al., "Why MagNet: Quantifying the Complexity of Modeling Power Magnetic Material Characteristics," in IEEE Transactions on Power Electronics, doi: 10.1109/TPEL.2023.3291084. Paper

  • H. Li et al., "How MagNet: Machine Learning Framework for Modeling Power Magnetic Material Characteristics," in IEEE Transactions on Power Electronics, doi: 10.1109/TPEL.2023.3309232. Paper

  • H. Li, D. Serrano, S. Wang and M. Chen, "MagNet-AI: Neural Network as Datasheet for Magnetics Modeling and Material Recommendation," in IEEE Transactions on Power Electronics, doi: 10.1109/TPEL.2023.3309233. Paper

Team Members

Princeton MagNet is currently maintained by the Power Electronics Research Lab as Princeton University. We also collaborate with Dartmouth College, and Plexim.

MagNet Team

Sponsors

This work is sponsored by the ARPA-E DIFFERENTIATE Program, Princeton CSML DataX program, Princeton Andlinger Center for Energy and the Environment, and National Science Foundation under the NSF CAREER Award.

MagNet Sponsor

Core symbols most depended-on inside this repo

contributor
called by 10
app/main.py
core_loss_default
called by 9
src/magnet/core.py
plot_core_loss
called by 8
src/magnet/plots.py
ui_multiple_materials
called by 8
app/main.py
load_dataframe
called by 6
src/magnet/io.py
BH_Transformer
called by 6
src/magnet/core.py
loss_BH
called by 6
src/magnet/core.py
read
called by 5
src/magnet/utils/config.py

Shape

Function 58
Method 42
Class 10

Languages

Python87%
C13%

Modules by API surface

src/magnet/simplecs/classes.py23 symbols
src/magnet/net.py21 symbols
scripts/automated_data_collection_files/DSP_code.c14 symbols
src/magnet/utils/config.py12 symbols
src/magnet/core.py9 symbols
src/magnet/plots.py6 symbols
src/magnet/io.py5 symbols
tests/test_config.py4 symbols
scripts/convex_hull.py2 symbols
app/ui_predict.py2 symbols
app/ui_intro.py2 symbols
app/ui_db.py2 symbols

For agents

$ claude mcp add magnet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page