In an average home, a patio door will be opened and closed several times in a day. Its prime function…