public void RunModel(int year) { IMA.WaterForTheDelta = false; IMA.CAPneeded = 500000; // need to add the drought affect on flows // need to add the climate change effect on flows UpStream(year); PM.StreamPowellMead(year); //StreamPowellMead(year); IMA.Allocate(year, PM.Capwater); // sw.WriteLine(year + "," + (PM.StateMead - Constants.meadDeadPool) + "," + (PM.StatePowell - Constants.powellDeadPool)); DownStream(); }
/// <summary> /// Insertion of CO river model /// </summary> /// <param name="year"></param> //public bool RunModel(int year) public bool RunMeadPowellReservoirs(int year) { //int test = COriverTraceStartYear; IMA.WaterForTheDelta = false; IMA.CAPneeded = 500000; // need to add the drought affect on flows // need to add the climate change effect on flows UpStream(year); PM.StreamPowellMead(year); //StreamPowellMead(year); IMA.Allocate(year, PM.GetCapwater()); // // sw.WriteLine(year + "," + (PM.StateMead- Constants.meadDeadPool) + "," +( PM.StatePowell-Constants.powellDeadPool)); DownStream(); return(true); }