<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def select_model(self, name):
 """ choose an existing model """

        if name not in self._parent:
            raise KeyError('model "{}" not present'.format(name))
        self._current_model_group = name