Telefona gönder: Modeling of photonic devices