model.setLogicalSwitch()