MATLAB, specifically through and the Simscape Electrical toolbox, allows you to build virtual prototypes of complex circuits.