Package hec.rss.model
Class ReservoirYieldAnalysis
java.lang.Object
hec.rss.model.YieldAnalysis
hec.rss.model.ReservoirYieldAnalysis
- All Implemented Interfaces:
Cloneable
The Class ReservoirYieldAnalysis.
-
Field Summary
Fields inherited from class hec.rss.model.YieldAnalysis
STORAGE_EPSILON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intset the demand variable limitbooleanreadFile(BufferedReader reader) Read file.voidsetDemandVarLimit(int demandVarLimit) get the demand variable limitvoidsetUseDemandVarLimit(boolean useDemandVarLimit) set the reservoir yield analysis to use the demand variable limit or notbooleanshould the reservoir yield analysis use the demand variable limitbooleanwriteFile(BufferedWriter writer, RssAlt alt) Write file.Methods 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, initializeCompute, initializeOutputArrays, initializeRuleRefs, loadData, 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
-
ReservoirYieldAnalysis
public ReservoirYieldAnalysis()Instantiates a new reservoir yield analysis.
-
-
Method Details
-
writeFile
Write file.- Overrides:
writeFilein classYieldAnalysis- 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.
-
setDemandVarLimit
public void setDemandVarLimit(int demandVarLimit) get the demand variable limit- Parameters:
demandVarLimit-
-
getDemandVarLimit
public int getDemandVarLimit()set the demand variable limit- Returns:
-
clone
- Overrides:
clonein classYieldAnalysis
-
useDemandVarLimit
public boolean useDemandVarLimit()should the reservoir yield analysis use the demand variable limit- Returns:
-
setUseDemandVarLimit
public void setUseDemandVarLimit(boolean useDemandVarLimit) set the reservoir yield analysis to use the demand variable limit or not- Parameters:
useDemandVarLimit- true to use demand variable limit
-