code: def initialize(self, grid, num_of_paths, seed):
          
          self.grid = grid
          self.num_of_paths = num_of_paths
          self.seed = seed
          if self.initial_state.date is None:
              self.initial_state.date = grid[0]
docs: inits producer for a simulation run