Text this: Modeling optical transmissivity of graphene grate in on-chip silicon photonic device