code: def get_irradiance_value_for_hoy(self, hoy):
          
          count = int(hoy * self.timestep)
          return self.direct_normal_irradiance[count], \
              self.diffuse_horizontal_irradiance[count]
docs: Get direct and diffuse irradiance values for an hoy.