Esempio n. 1
0
 private void DoEnergyArbitration(object sender, EventArgs e)
 {
     MetVariables();
     foreach (MicroClimateZone MCZone in microClimateZones)
     {
         MCZone.DoCanopyCompartments();
         BalanceCanopyEnergy(MCZone);
         CalculateGc(MCZone);
         CalculateGa(MCZone);
         CalculateInterception(MCZone);
         CalculatePM(MCZone);
         CalculateOmega(MCZone);
         SetCanopyEnergyTerms(MCZone);
     }
 }
Esempio n. 2
0
        private void DoEnergyArbitration(object sender, EventArgs e)
        {
            dayLengthEvap  = MathUtilities.DayLength(Clock.Today.DayOfYear, SunAngleNetPositiveRadiation, weather.Latitude);
            dayLengthLight = MathUtilities.DayLength(Clock.Today.DayOfYear, SunSetAngle, weather.Latitude);

            foreach (MicroClimateZone MCZone in microClimateZones)
            {
                MCZone.DoCanopyCompartments();
                CalculateShortWaveRadiation(MCZone);
                CalculateEnergyTerms(MCZone);
                CalculateLongWaveRadiation(MCZone);
                CalculateSoilHeatRadiation(MCZone);
                CalculateGc(MCZone);
                CalculateGa(MCZone);
                CalculateInterception(MCZone);
                CalculatePM(MCZone);
                CalculateOmega(MCZone);
                SetCanopyEnergyTerms(MCZone);
            }
        }