Simulation of within-canopy radiation exchange