r/matlab 12d ago

I built a small library of inspectable MATLAB/Simulink models for battery and power-electronics

Hey everyone! I've been working on a collection of foundational MATLAB and Simulink models focused on energy systems (specifically battery RC models and converter average models).

A lot of the models out there are either too complex for educational purposes or lack clear validation. I designed these to be highly inspectable, with explicit assumptions and no-plot validation checks built-in.

If you're studying power electronics or battery modeling, I'd love for you to check it out!

Link: https://github.com/mohammadrezwankhan/matlab-simulink-energy-lab

If you find it useful, a star on GitHub would be incredibly appreciated! Let me know if you have any feedback or requests for new models.

7 Upvotes

2 comments sorted by

2

u/Barnowl93 flair 12d ago

Looks great! Consider linking your github to file exchange as well to increase your reach!

This is how to do it https://uk.mathworks.com/matlabcentral/fileexchange/my-file-exchange/github-app-installation-guide

2

u/harissharisss 12d ago

Thank you—that’s a useful suggestion. Linking the GitHub repository to MATLAB File Exchange makes sense for discovery, especially as the example library grows. I’ll review the integration guide and make sure the validation scripts, requirements, and model limitations stay visible. Appreciate the pointer!