Package hec.rss.model

Class ReverseWaterAccountYieldAnalysis

All Implemented Interfaces:
Cloneable

public class ReverseWaterAccountYieldAnalysis extends ReverseYieldAnalysisBase
The Class WaterAccountYieldAnalysis.
  • Constructor Details

    • ReverseWaterAccountYieldAnalysis

      public ReverseWaterAccountYieldAnalysis(RssAlt alt)
  • Method Details

    • setAdjustmentOptions

      public void setAdjustmentOptions(hec.rss.client.ReverseWaterAccountAdjustmentOptions adjustmentOptions)
    • getSatisfyMap

      public Map<Integer,Boolean> getSatisfyMap()
      Overrides:
      getSatisfyMap in class ReverseYieldAnalysisBase
    • setSatisfyMap

      public void setSatisfyMap(Map<Integer,Boolean> satisfyMap)
      Overrides:
      setSatisfyMap in class ReverseYieldAnalysisBase
    • getAdjustmentOptions

      public hec.rss.client.ReverseWaterAccountAdjustmentOptions getAdjustmentOptions()
    • setWaterAccountIndex

      public void setWaterAccountIndex(int waterAccountIndex)
      Sets the water account.
      Parameters:
      waterAccountIndex - the new water account index
    • getWaterAccountIndex

      public int getWaterAccountIndex()
      Gets the water account index.
      Returns:
      the water account index
    • getWaterAccount

      public WaterAccount getWaterAccount()
      Gets the water account.
      Returns:
      the water account
    • getReservoir

      public ReservoirElement getReservoir()
    • getWALowerZone

      public StorageZone getWALowerZone()
    • setWaterAccount

      public void setWaterAccount(WaterAccount wa)
      Sets the water account.
    • initializeCompute

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

      public void initializeYARuleRefs(RssAlt alt)
    • initializeOutputArrays

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

      public int setConPoolStor(RssRun run)
    • getHeuristicScale

      public double getHeuristicScale(double deltaStorage)
    • setNextHeuristicsScale

      public void setNextHeuristicsScale(int currentIterationNumber)
    • saveFinalStorage

      public void saveFinalStorage(int iter)
    • writeFile

      public boolean writeFile(BufferedWriter writer, RssAlt alt) throws IOException
      Write file.
      Overrides:
      writeFile in class YieldAnalysis
      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
      Description copied from class: YieldAnalysis
      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

      Overrides:
      clone in class YieldAnalysis