In this paper, a new TFBG optical fiber humidity sensor based on electrospinning nanofibers of composite polymer material and graphene oxide is designed. The TFBG transmission spectrums of different grating parameters and environmental temperature and humidity are simulated by. Optimize the performance of your photonic applications with RSoft GratingMOD CMT, a general design tool that rapidly simulates complicated grating profiles in optical fibers and integrated waveguide circuits. GratingMOD efficiently powers CMT or coupled mode theory analysis. The evolution of optical structures developed towards humidity.