Ejemplo n.º 1
0
        // #Andrea 01/12/2015 - renamed deltaTTShoot to deltaTTRemobilization
        ///Virtual method to init the Element at the beginning of a day step.
        public void InitDayStep(double deltaTTRemobilization, LeafState LLState, bool isPrematurelyDying)
        {
            N.InitDayStep();
            DM.InitDayStep();

            if ((LLState == LeafState.Mature ||
                 LLState == LeafState.Senescing) &&
                !isPrematurelyDying)
            {
                //N.InitDayStepDailyLabile(N.Labile * MaxLeafRRND * deltaTTShoot);  // pm 29 May 2013, replaced air temperature by canopy temperature - modified by #Andrea 01/12/2015
                N.InitDayStepDailyLabile(N.Labile * MaxLeafRRND * deltaTTRemobilization); // #Andrea 01/12/2015
            }
            else
            {
                N.InitDayStepDailyLabile(0);
            }

            DailyLabileSenescenceN = 0;
        }