Thermal crosstalk and fabrication variations are detrimental to accurate control of integrated photonic systems. We build a calibration-based control algorithm accounting for these factors in a dual Mach-Zehnder Interferometer (MZI) structure, and experimentally demonstrate automated control of optical transmission with only 3% error.