Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="region"></param>
 /// <param name="currentYear"></param>
 public void assignLCLU(string region, int currentYear)
 {
     UH  = FDLCLU.FastArea_UN(region, "EigthAcre", currentYear);
     UL  = FDLCLU.FastArea_UN(region, "QuarterAcre", currentYear);
     Sub = FDLCLU.FastArea_UN(region, "ThirdAcre", currentYear);
     ExH = FDLCLU.FastArea_UN(region, "HalfAcre", currentYear);
     ExL = FDLCLU.FastArea_UN(region, "Acre", currentYear);
 }
Esempio n. 2
0
        // ====================================================================================================
        // Percent impervious by class
        // ICLUS 4th national climate assessment US EPA
        // Industrial-72%, Commercial-85%, EigthAcre-65%, QuarterAcre-38%, ThirdAcre-30%, HalfAcre-25%, Acre-20%
        //
        // =============================================================
        // Industrial Buildings - roof area, rainfall runoff, capture
        internal double INDroof(int year)
        {
            double temp = 0;
            int    i    = 0;

            //int j = 0;
            IND_harvesting = new double[FUnitCount];
            //RWacres = new double[FUnitCount];
            foreach (string name in FUnitData.UnitNames)
            {
                double ind = LCLUclasses.FastArea_UN(name, "Ind", year);
                RWacres[i] = ind;
                // acres
                temp = ind * RWconstants.IND_RoofAreaProp * RWconstants.RoofAreaLoss * RWconstants.RoofAreaEfficiency
                       * RWconstants.IND_Impervious;
                IND_harvesting[i] = temp;
                i++;
            }
            return(temp);
        }