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