photonic simulation