Package hec.rss.model
Class ReverseReservoirYieldAnalysis
java.lang.Object
hec.rss.model.YieldAnalysis
hec.rss.model.ReverseYieldAnalysisBase
hec.rss.model.ReverseReservoirYieldAnalysisBase
hec.rss.model.ReverseReservoirYieldAnalysis
- All Implemented Interfaces:
Cloneable
public class ReverseReservoirYieldAnalysis
extends ReverseReservoirYieldAnalysisBase
implements Cloneable
The Class ReservoirYieldAnalysis.
-
Field Summary
Fields inherited from class hec.rss.model.YieldAnalysis
STORAGE_EPSILON -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new reservoir yield analysis. -
Method Summary
Modifier and TypeMethodDescriptionclone()hec.rss.client.AdjustmentOptionsgetLowerAdjacentZones(OpSet opSet) doublegetMobileZone(OpSet opSet) getUpperAdjacentZones(OpSet opSet) doubleintinitializeCompute(RssRun run) voidbooleanintbooleanreadFile(BufferedReader reader) Read file.voidsetAdjustmentOptions(hec.rss.client.AdjustmentOptions adjustmentOptions) intsetDistanceToLimit(RssRun run) voidsetNextHeuristicsScale(int currentIterationNumber) voidsetSecondIterScale(boolean scaleUp) booleantestMovingUp(int decision) intinttestStorage(int iter) booleanwriteFile(BufferedWriter writer, RssAlt alt) Write file.Methods inherited from class hec.rss.model.ReverseReservoirYieldAnalysisBase
getDistanceToLimit, getMovingUp, getReservoir, getZone, resetReservoir, setMovingUp, setReservoir, setZoneMethods inherited from class hec.rss.model.ReverseYieldAnalysisBase
getSatisfyMap, getTolerance, initSatisfyRuleList, setLowerZoneStorage, setSatisfyMap, setToleranceMethods inherited from class hec.rss.model.YieldAnalysis
calcAvgStartingRuleDemand, getMaxHeuristicIterations, getMaxIterations, getOpRuleLimitTS, getOpRuleResultTS, getResPoolStorTS, getResZoneElevTS, getResZoneStorTS, getSimulationTimeArray, getUseBisectionAfterIts, getWAMaxStorTS, getWARuleLimitTS, getWARuleResultTS, getWASimulationTimeArray, getWAStorTS, getWaterAccount, getYieldAnalysisData, getYieldAnalysisRuleRefs, getYieldAnalysisRuleRefs, initializeRuleRefs, loadWaterAccountData, makeDecisionUseBisection, setMaxHeuristicIterations, setMaxIterations, setNextBisectionScaleBracketed, setNextBisectionScaleNotBracketed, setNextHeuristicsScaleWA, setNumLagSteps, setNumRoutingSteps, setNumRoutingSteps, setNumRoutingSteps, setRuleRefs, setUseBisectionOnly, setUseHydropowerRules, setYieldAnalysisRuleDemandScale, setYieldAnalysisRuleUseDemandScale, testRule, testStorage, testWaterAccountRule, testWaterAccountStorage, updateByDemandScale, useBisectionOnly, useHydropowerRules
-
Constructor Details
-
ReverseReservoirYieldAnalysis
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
- Overrides:
initializeComputein classYieldAnalysis
-
initializeOutputArrays
public void initializeOutputArrays()- Overrides:
initializeOutputArraysin classYieldAnalysis
-
getUpperElevLimit
-
getLowerElevLimit
-
isExcludedStep
-
loadData
- Overrides:
loadDatain classYieldAnalysis
-
testRules
-
testStorage
public int testStorage(int iter) -
testMovingUp
public boolean testMovingUp(int decision) -
setDistanceToLimit
-
getMobileZone
-
getUpperAdjacentZones
-
getLowerAdjacentZones
-
setSecondIterScale
public void setSecondIterScale(boolean scaleUp) -
setNextHeuristicsScale
public void setNextHeuristicsScale(int currentIterationNumber) -
writeFile
Write file.- Overrides:
writeFilein classReverseReservoirYieldAnalysisBase- Parameters:
writer- the writeralt- the alt- Returns:
- true, if successful
- Throws:
IOException- Signals that an I/O exception has occurred.
-
readFile
Read file.- Overrides:
readFilein classYieldAnalysis- Parameters:
reader- the reader- Returns:
- true, if successful
- Throws:
IOException- Signals that an I/O exception has occurred.
-
clone
- Overrides:
clonein classYieldAnalysis
-