integrated grid into the system