code: def setMaxSpeed(self, edgeID, speed):
          
          self._connection._sendDoubleCmd(
              tc.CMD_SET_EDGE_VARIABLE, tc.VAR_MAXSPEED, edgeID, speed)
docs: setMaxSpeed(string, double) -> None
  
          Set a new maximum speed (in m/s) for all lanes of the edge.