Package hec.rss.model

Class ReverseReservoirYieldAnalysis

All Implemented Interfaces:
Cloneable

public class ReverseReservoirYieldAnalysis extends ReverseReservoirYieldAnalysisBase implements Cloneable
The Class ReservoirYieldAnalysis.
  • Constructor Details

    • ReverseReservoirYieldAnalysis

      public ReverseReservoirYieldAnalysis(RssAlt alt)
      Instantiates a new reservoir yield analysis.
  • Method Details

    • getAdjustmentOptions

      public hec.rss.client.AdjustmentOptions getAdjustmentOptions()
    • setAdjustmentOptions

      public void setAdjustmentOptions(hec.rss.client.AdjustmentOptions adjustmentOptions)
    • initializeCompute

      public int initializeCompute(RssRun run)
      Overrides:
      initializeCompute in class YieldAnalysis
    • initializeOutputArrays

      public void initializeOutputArrays()
      Overrides:
      initializeOutputArrays in class YieldAnalysis
    • getUpperElevLimit

      public double getUpperElevLimit(RunTimeStep rts)
    • getLowerElevLimit

      public double getLowerElevLimit(RunTimeStep rts)
    • isExcludedStep

      public boolean isExcludedStep(RunTimeStep rts)
    • loadData

      public int loadData(RssRun run, int iter)
      Overrides:
      loadData in class YieldAnalysis
    • testRules

      public int testRules(RssRun run, int iter)
    • testStorage

      public int testStorage(int iter)
    • testMovingUp

      public boolean testMovingUp(int decision)
    • setDistanceToLimit

      public int setDistanceToLimit(RssRun run)
    • getMobileZone

      public StorageZone getMobileZone(OpSet opSet)
    • getUpperAdjacentZones

      public List<StorageZone> getUpperAdjacentZones(OpSet opSet)
    • getLowerAdjacentZones

      public List<StorageZone> getLowerAdjacentZones(OpSet opSet)
    • setSecondIterScale

      public void setSecondIterScale(boolean scaleUp)
    • setNextHeuristicsScale

      public void setNextHeuristicsScale(int currentIterationNumber)
    • writeFile

      public boolean writeFile(BufferedWriter writer, RssAlt alt) throws IOException
      Write file.
      Overrides:
      writeFile in class ReverseReservoirYieldAnalysisBase
      Parameters:
      writer - the writer
      alt - the alt
      Returns:
      true, if successful
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • readFile

      public boolean readFile(BufferedReader reader) throws IOException
      Read file.
      Overrides:
      readFile in class YieldAnalysis
      Parameters:
      reader - the reader
      Returns:
      true, if successful
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • clone

      public Object clone()
      Overrides:
      clone in class YieldAnalysis