simulation of magnetics for power electronics using python | Comidoc