https://www.prasunbarua.com/2025/04/python-for-power-electronics-simulating.html