Semi-Automated Switching Regulator Modeling Method and Tool