Enviar por SMS: Modeling of photonic devices