code: def generate_model(self, model_name=None):
          
  
          for i, c in enumerate(self._components):
              c.generate_model(model_name=model_name)
docs: Generate model maps for all components.  model_name should
          be a unique identifier for the model.  If model_name is None
          then the model maps will be generated using the current
          parameters of the ROI.