Anfonwch hwn fel neges destun: Modeling of photonic devices