/// <summary> /// Attempt to initialise models based on the current time, and test if they are sensible /// </summary> private bool TryInitiliase(IntervalValues I) { Temperature.UpdateAirTemperature(I.Time); Radiation.UpdateRadiationValues(I.Time); var sunAngle = Solar.SunAngle(I.Time); Canopy.DoSolarAdjustment(sunAngle); if (IsSensible()) { return(true); } else { I.Sunlit = new AreaValues(); I.Shaded = new AreaValues(); return(false); } }