code: def gen_source_models(self, gsim_lt):
          
          num_gsim_paths = 1 if self.num_samples else gsim_lt.get_num_paths()
          for i, rlz in enumerate(self):
              yield LtSourceModel(
                  rlz.value, rlz.weight, ('b1',), [], num_gsim_paths, i, 1)
docs: Yield the underlying LtSourceModel, multiple times if there is sampling