Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Rain"></param>
 /// <param name="LCLUclass"></param>
 /// <param name="UnitData"></param>
 public RainWaterHarvesting(DataClassRainFall Rain, DataClassLcluArea LCLUclass, UnitData UnitData)
 {
     RainFall    = Rain;
     LCLUclasses = LCLUclass;
     FUnitData   = UnitData;
     FUnitCount  = FUnitData.UnitCount;
     FYearCount  = RainFall.LastYear - RainFall.FirstYear;
     Initialize();
 }
Esempio n. 2
0
        /// <summary>
        /// The data file that holds the area for each LCLU class for each state and county
        /// </summary>
        //string LcluClassesDataFilename = "LCLUclassArea.csv";
        /// <summary>
        /// Runoff Curve numbers for each LCLU class
        /// </summary>
        //string LcluClassesRCNDataFilename = "LCLUrcn.csv";

        ///
        public StormWater(DataClassLcluArea DC, DataClassLcluRCN rcn)
        {
            RCNarea        = DC;
            RCN            = rcn;
            isInstantiated = true;
            //string soil = "B";
            //double test = rcn.FastTurfRCN(soil);
            //string unit = "California Southwest";
            //double Test = RCNarea.FastTurfArea(unit,2020);
        }
Esempio n. 3
0
 /// <summary>
 /// "FD - the version 2 of ICLUS lclu data - five urban classes"
 /// </summary>
 /// <param name="crf"></param>
 /// <param name="TheRateData"></param>
 /// <param name="TheAcreData - the original data we used: Ag, Industry, and urban classes"></param>
 /// <param name="FD" ></param>
 public RuralDemand_LCLU_urban(WaterSimCRFModel crf, RateDataClass TheRateData, DataClassLCLU TheAcreData, DataClassLcluArea FD)
 {
     CRF     = crf;
     FRDC    = TheRateData;
     FDClclu = TheAcreData;
     FDLCLU  = FD;
     //
     SetBaseValues();
     isInstantiated = true;
     // assigns itself to the owner
     crf.URBAN = this;
     CRF.URBAN = this; // does this make a difference?
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Rain"></param>
 /// <param name="LCLUclass"></param>
 public RainWaterHarvesting(DataClassRainFall Rain, DataClassLcluArea LCLUclass)
 {
     RainFall    = Rain;
     LCLUclasses = LCLUclass;
 }