Ring resonator/modulator simulation automation and substrate scattering analysis for applications in integrated silicon photonic circuits