public class RssAlt extends Manager implements java.lang.Cloneable, hec.rss.model.reports.AltInputReportInfc
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_EXT
The Constant FILE_EXT.
|
static int |
FLOW_COMPUTE_DEFAULT
The Constant FLOW_COMPUTE_DEFAULT.
|
static int |
FLOW_COMPUTE_INSTANT
The Constant FLOW_COMPUTE_INSTANT.
|
static int |
FLOW_COMPUTE_PERAVG
The Constant FLOW_COMPUTE_PERAVG.
|
static int |
INFLOW_FACTOR_GLOBAL
types for the inflow factor.
|
static int |
INFLOW_FACTOR_LOCATION
The Constant INFLOW_FACTOR_LOCATION.
|
static int |
PER_AVG_TIME
The Constant PER_AVG_TIME.
|
static java.lang.String |
REPORT_EXT
The Constant REPORT_EXT.
|
static int |
VERSION
1001 moved compute holdout, unreg and log level from run to alt.
|
LASTMODIFIED_STRING_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
RssAlt()
Instantiates a new rss alt.
|
RssAlt(java.lang.String name)
The Alternative must be constructed with a name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAltPluginData(hec.rss.plugins.model.AltPluginData data)
Adds the alt plugin data.
|
void |
addEmbeddedAltRef(ModelReference altRef)
Adds the embedded alt ref.
|
void |
addPluginSettings(PluginSettings options)
Adds the plugin settings.
|
void |
addResOpSetSelection(int resId,
int opsetId)
adds an entry into the reservoir operation set selection table matching the
reservoir index the the operation set index.
|
void |
addResSysOpSetSelection(long resId,
int opsetId)
adds an entry into the reservoir operation set selection table matching the
reservoir index the the operation set index.
|
void |
addRun(java.lang.String run)
Adds the run.
|
void |
clearAllResOpSetSelection()
clears all entries in the reservoir operation set selection table.
|
void |
clearAllResSysOpSetSelection()
clears all entries in the reservoir operation set selection table.
|
void |
clearPluginSettings(java.lang.String clsname)
Clear plugin settings.
|
void |
clearUserOtherAltOverrides() |
java.lang.Object |
clone()
Creates a new object of the same class as this object.
|
int |
compute(RssRun rssRun)
Compute.
|
boolean |
containsEmbeddedAltRefList(ModelReference altRef)
Contains embedded alt ref list.
|
boolean |
copyInto(RssAlt alt)
Copy into.
|
void |
deleteRun(java.lang.String run)
Delete run.
|
void |
deleting()
called when the manager proxy is deleting the manager
allows the manager to do any additional clean required.
|
java.util.Vector |
getActiveTSProxies(java.util.Vector vec,
int iotype)
returns a vector of required input, or generated output TSRecordProxies
used in the current alternative
default implementation elements, assume all records are active
|
hec.rss.plugins.model.AltPluginData |
getAltPluginData(java.lang.String type)
Gets the instance of AltPluginData for the given Type model.
|
boolean |
getComputeCumLoc()
return whether unregulated flow computations will be done.
|
boolean |
getComputeHoldout()
return whether reservoir holdout flow computations will be done.
|
hec.rss.compute.ResSimComputeLauncher |
getComputeLauncher()
Gets the compute launcher.
|
boolean |
getComputeUnReg()
return whether unregulated flow computations will be done.
|
java.lang.String |
getDataSetPath()
Gets the input time series data set path.
|
java.util.List<ModelReference> |
getEmbeddedAltRefList()
Gets the embedded alt ref list.
|
int |
getFlowComputeType()
Gets the flow compute type.
|
int |
getFlowComputeType(int timeStepSeconds)
determine what flow compute type an alternative should be using, if its flow
compute type isn't set (set to FLOW_COMPUTE_DEFAULT).
|
double |
getGlobalInflowFactor()
Gets the global inflow factor.
|
java.lang.String |
getGVDataSetPath()
Gets the data set path.
|
java.util.Vector |
getHindcastData()
Returns a Vector list of HindCast Data Objects.
|
HotstartOptions |
getHotstartOptions()
Gets the hotstart options.
|
int |
getInflowFactorType()
Gets the inflow factor type.
|
java.lang.String |
getInputGVDataPath()
Gets the input global variable data path.
|
GVDataSet |
getInputGVDataSet()
gets the default Input Globacl Variable DataSet used by this alternative.
|
GVDataSet |
getInputGVDataSet(java.lang.String variant,
boolean hasNonDefaultInput)
get the input TSDataSet for a particular variant
|
GVDataSet |
getInputGVDataSet(TsVariant variant) |
java.lang.String |
getInputTSDataName()
Gets the input ts data name.
|
java.lang.String |
getInputTSDataPath()
Gets the input ts data path.
|
java.lang.String |
getInputTSDataPath(java.lang.String variant) |
TSDataSet |
getInputTSDataSet()
gets the default Input TSDataSet used by this alternative.
|
TSDataSet |
getInputTSDataSet(java.lang.String variant,
boolean hasNonDefaultInput)
get the input TSDataSet for a particular variant
|
TSDataSet |
getInputTSDataSet(TsVariant variant) |
java.util.List<java.lang.String> |
getInputTSVariantNames() |
java.util.List<TsVariant> |
getInputTSVariants() |
long |
getLastModifiedTime()
return the latest last modified time from either
this or it's managers.
|
double |
getLocationInflowFactor(JunctionElement element,
java.lang.String localFlowName)
Gets the location inflow factor.
|
java.util.List<InflowLocationFactor> |
getLocationInflowFactors()
Gets the location inflow factors.
|
double[] |
getLocationInflowFactors(JunctionElement element,
double[] factorArray)
get the factor array for the JunctionElement.
|
int |
getLogLevel()
Gets the log level.
|
java.lang.String |
getObservedTSDataName()
Gets the observed ts data name.
|
java.lang.String |
getObservedTSDataPath()
Gets the observed ts data path.
|
TSDataSet |
getObservedTSDataSet()
Gets the observed ts data set.
|
java.lang.String |
getOperationsName()
Gets the operations name.
|
java.lang.String |
getOperationsPath()
Gets the operations path.
|
java.lang.String |
getOutputTSDataName()
Gets the output ts data name.
|
TSDataSet |
getOutputTSDataSet()
gets the Output TSDataSet used by this alternative.
|
OutputVerticalDatumType |
getOutputVerticalDatumType() |
java.util.List<hec.rss.plugins.model.AltPluginData> |
getPluginDataList()
Gets the list of PluginData for the Alternative.
|
PluginSettings |
getPluginSettings(java.lang.String clsname)
Gets the plugin settings.
|
int |
getResOpSetSelection(int resId)
retrieves the operation set selection for the given reservoir index - returns
RMAConst.UNDEF_INT if the reservoir has no operation set selection.
|
int |
getResSysOpSetSelection(int resSysId)
Gets the res sys op set selection.
|
java.util.Vector<java.lang.String> |
getRunList()
Gets the run name list.
|
RssSystem |
getSystem()
gets the RssSystem used by this alternative.
|
int |
getSystemIndex()
Gets the system index.
|
java.lang.String |
getSystemName()
Gets the system name.
|
java.lang.String |
getSystemPath()
Deprecated.
- use getSystemIndex()
|
int |
getTimestep()
Gets the timestep.
|
static int[] |
getTimeStep(RssAlt alt)
Gets the time step.
|
int |
getTimestepIncrement()
Gets the timestep increment.
|
java.lang.String |
getTimeStepString()
get the TimeStep String.
|
TsVariant |
getTsVariant(java.lang.String variantName) |
java.lang.String |
getUseOtherAltCollectionSequence(java.lang.String name)
Returns the name of the collection sequence alternative used for the release overrides for
|
java.lang.String |
getUseOtherAltName(java.lang.String name)
Returns the name of the alternative used for the release overrides for
|
int |
getVersion()
Gets the version.
|
WaterAccountSet |
getWaterAccountSet()
Gets the water account set.
|
int |
getWaterAccountSetIindex() |
DssOutputData |
getWriteDSSOutputDataTable()
Gets the write dss output data table.
|
YieldAnalysis |
getYieldAnalysis()
Gets the yield analysis.
|
java.util.List<YieldAnalysisRuleRef> |
getYieldAnalysisHydropowerRules()
Get the list of hydropower rules that can be used as a basis for Yield Analysis.
|
java.util.List<YieldAnalysisRuleRef> |
getYieldAnalysisWaterSupplyRules()
Get the list of Water Supply rules that can be used as a basis for Yield Analysis.
|
int |
indexOfEmbeddedAltRefList(ModelReference altRef)
Index of embedded alt ref list.
|
void |
init() |
void |
initCompute()
Inits the compute.
|
boolean |
isDefaultFlowCompute()
Checks if is default flow compute.
|
boolean |
isPerAvgFlow()
return true if period average flow calcs.
|
boolean |
isUsingInflowFactors()
Checks if is using inflow factors.
|
boolean |
isValid()
Checks the whether the Run ready to perform a compute.
|
boolean |
modifiyForSaveAs()
called during saveAs to allow managers to modify themselves as necessary, returns true if there are
changes made.
|
void |
outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
Alternative Input Report Interface for data.
|
boolean |
readFile(Identifier id) |
boolean |
refreshData(Manager origMgr)
refresh this managers data from the origMgr's data
|
boolean |
reLoadChildManagers()
called when this
Manager contains other Managers (ie an Alternative)
so that it can tell all of it's child Managers to reload. |
boolean |
reLoadFile(Identifier id)
readData retrieves the Run data from the specified ASCII file.
|
void |
removeEmbeddedAltRef(ModelReference altRef)
Removes the embedded alt ref.
|
void |
removeResSysOpSetSelection(long resId)
removes an entry into the reservoir operation set selection table matching the
reservoir index.
|
void |
renameRun(java.lang.String old,
java.lang.String newr)
Rename run.
|
boolean |
replaceAllReleaseOverrides()
Replace all with other alt.
|
boolean |
saveChildManagers()
called when this
Manager contains other Managers (ie an Alternative)
so that it can tell all of it's child Managers to save. |
Manager |
saveManagerAs(java.lang.String directory,
java.lang.String filePrefix,
ManagerProxyListContainer container)
duplicate this, RssSystem and InputTsData.
|
void |
setComputeCumLoc(boolean computeCumLoc) |
void |
setComputeHoldout(boolean computeHoldout)
Sets the compute holdout.
|
void |
setComputeUnReg(boolean computeUnReg)
Sets the compute un reg.
|
void |
setCopyOverrides(boolean copyOverrides)
set whether the release (and other) overrides get copied when the alternative is copied to/from the simulation area
|
void |
setDataSetPath(java.lang.String path)
Sets the data set path.
|
void |
setEmbeddedAltRefList(java.util.List<ModelReference> embeddedAltRefList)
Sets the embedded alt ref list.
|
void |
setFlowComputeType(int type)
Sets the flow compute type.
|
void |
setGlobalInflowFactor(double factor)
Sets the global inflow factor.
|
void |
setGVDataSetPath(java.lang.String path)
Sets the global variable input data set path.
|
void |
setHindcastData(java.util.Vector data)
Sets the hindcast data.
|
void |
setInflowFactorType(int inflowType)
Sets the inflow factor type.
|
void |
setLocationInflowFactors(java.util.List<InflowLocationFactor> inflowFactors)
Sets the location inflow factors.
|
void |
setLogLevel(int logLevel)
Sets the log level.
|
void |
setModified(boolean modified)
Set the modified flag to true or false.
|
void |
setObservedDataSetPath(java.lang.String path)
Sets the observed data set path.
|
void |
setOperationsPath(java.lang.String path)
Sets the operations path.
|
void |
setOutputVerticalDatumType(OutputVerticalDatumType _outputVerticalDatumType) |
void |
setPerAvgFlow(boolean b)
set true if period average flow calcs.
|
void |
setReleaseOverridesAlt(java.lang.String name,
AltOverride ao)
Sets the release values.
|
void |
setReplaceAll(boolean replace)
Sets the replace all.
|
void |
setSystem(RssSystem system)
don't call this method to set the system, use setSystemIndex().
|
void |
setSystemIndex(int networkID)
Sets the system index.
|
void |
setSystemPath(java.lang.String path)
Deprecated.
- use setSystemIndex()
|
void |
setTimeStep(int timeStep,
int increment)
Sets the time step and increment type it is.
|
void |
setTSDataSets(TSDataSet copyInputTsDataSet,
TSDataSet copyOutputTsDataSet)
don't call this method to set the TSDataSets.
|
void |
setUseObsTSData(boolean b)
Set the flag that indicates whether observed TS data will be used in the compute (to set junction flows)
|
void |
setUseOtherAltResults(boolean set,
java.lang.String key)
Sets the use other alt results.
|
void |
setUserName(java.lang.String userName)
Sets the user name.
|
void |
setUseYieldAnalysis(boolean useYieldAnalysis)
Sets the uses Yield Analysis flag.
|
void |
setUsingInflowFactors(boolean usingFactors)
Sets the using inflow factors.
|
void |
setWaterAccountSet(WaterAccountSet waterAccountSet)
Sets the water account set.
|
void |
setWaterAccountSetIndex(int index) |
void |
setWriteDSSOutputDataTable(DssOutputData table)
Sets the write dss output data table.
|
void |
setYieldAnalysis(YieldAnalysis yieldAnalysis)
Sets the yield analysis.
|
boolean |
shouldCopyOverrides()
should the release (and other) overrides get copied when the alternative is copied to/from the simulation area
|
java.lang.String |
toString() |
void |
unloading()
called when the manager proxy is unloading the manager.
|
boolean |
useObsTSData()
Check the flag that indicates whether observed TS data will be used in the compute (to set junction flows)
|
boolean |
useOtherAltResults(java.lang.String name)
Returns if the particular controlled outlet uses another alternative's results
for its release overrride.
|
boolean |
useYieldAnalysis()
Uses Yield Analysis.
|
boolean |
writeFile(Identifier id)
writeData saves the Run data to the specified ASCII file.
|
boolean |
writeReport(java.io.BufferedWriter writer,
RunTimeWindow rtw,
RssRun run)
Write report.
|
addModifiableListener, backupFile, copyFile, deleteFile, finalize, getCallback, getCommonDataList, getDirectory, getDSSFileManager, getDSSFileManagerWrapper, getFieldObject, getFileManager, getFilename, getGmtOffset, getIdentifier, getInputITSDataSet, getLastModifiedTimeString, getOutputITSDataSet, getPath, getProxyList, getReadOnly, getRelativePath, getReloadOk, getUnitSystem, getUserInterface, getWorkspace, getWorkspacePath, hasLock, isCanceled, isForecastManager, loadComplete, loadSaveAsFile, makeAbsolutePath, makeAbsolutePath, makeAbsolutePathFromWatershed, makeRelativePath, makeRelativePathFromWatershed, newFile, newTSRecordProxy, newTSRecordProxy, notify, openFile, printErrorMessage, printLogMessage, printMessage, printSeparator, printStatus, printTableRow, printWarningMessage, reLoadFile, removeCallBack, removeModifiableListener, renamed, saveManager, saveManagerAs, setFieldObject, setIdentifier, setLastModifiedTime, setLastModifiedTime, setLineAttributes, setLocked, setModifiedFalse, setPath, setProgress, setProxyList, setReadOnly, setReloadOk, setUserInterface, setUserInterface, setWorkspacecompareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setName, setValid, update, useRecursiveModifiedTestaddObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObserverspublic static final java.lang.String FILE_EXT
public static final java.lang.String REPORT_EXT
public static final int PER_AVG_TIME
public static final int VERSION
public static final int INFLOW_FACTOR_GLOBAL
public static final int INFLOW_FACTOR_LOCATION
public static final int FLOW_COMPUTE_DEFAULT
public static final int FLOW_COMPUTE_PERAVG
public static final int FLOW_COMPUTE_INSTANT
public RssAlt(java.lang.String name)
name - a short, unique name to identify the Runpublic RssAlt()
public boolean useObsTSData()
public OutputVerticalDatumType getOutputVerticalDatumType()
public void setOutputVerticalDatumType(OutputVerticalDatumType _outputVerticalDatumType)
public void setUseObsTSData(boolean b)
public void setEmbeddedAltRefList(java.util.List<ModelReference> embeddedAltRefList)
embeddedAltRefList - the new embedded alt ref listpublic java.util.List<ModelReference> getEmbeddedAltRefList()
public int indexOfEmbeddedAltRefList(ModelReference altRef)
altRef - the alt refpublic boolean containsEmbeddedAltRefList(ModelReference altRef)
altRef - the alt refpublic void addEmbeddedAltRef(ModelReference altRef)
altRef - the alt refpublic void removeEmbeddedAltRef(ModelReference altRef)
altRef - the alt refpublic java.util.List<YieldAnalysisRuleRef> getYieldAnalysisWaterSupplyRules()
public java.util.List<YieldAnalysisRuleRef> getYieldAnalysisHydropowerRules()
public boolean modifiyForSaveAs()
modifiyForSaveAs in class Managerpublic void addResOpSetSelection(int resId,
int opsetId)
resId - the res idopsetId - the opset idpublic void addResSysOpSetSelection(long resId,
int opsetId)
resId - the res idopsetId - the opset idpublic void removeResSysOpSetSelection(long resId)
resId - the res idpublic void setHindcastData(java.util.Vector data)
data - the new hindcast datapublic java.util.Vector getHindcastData()
public void clearAllResOpSetSelection()
public void clearAllResSysOpSetSelection()
public int getResOpSetSelection(int resId)
resId - the res idpublic int getResSysOpSetSelection(int resSysId)
resSysId - the res sys idpublic RssSystem getSystem()
public GVDataSet getInputGVDataSet(TsVariant variant)
variant - public GVDataSet getInputGVDataSet()
public java.lang.String getGVDataSetPath()
public java.lang.String getInputGVDataPath()
public void setGVDataSetPath(java.lang.String path)
path - the new data set pathpublic GVDataSet getInputGVDataSet(java.lang.String variant, boolean hasNonDefaultInput)
variant - the variant name or null for the default TSDataSetpublic TSDataSet getInputTSDataSet(TsVariant variant)
variant - public TSDataSet getInputTSDataSet(java.lang.String variant, boolean hasNonDefaultInput)
variant - the variant name or null for the default TSDataSetpublic TSDataSet getInputTSDataSet()
getInputTSDataSet in class Managerpublic TSDataSet getOutputTSDataSet()
getOutputTSDataSet in class Managerpublic java.lang.String getSystemName()
public java.lang.String getOperationsName()
public java.lang.String getObservedTSDataName()
public java.lang.String getObservedTSDataPath()
public TSDataSet getObservedTSDataSet()
public java.lang.String getInputTSDataName()
public java.lang.String getInputTSDataPath()
public java.lang.String getInputTSDataPath(java.lang.String variant)
public java.lang.String getOutputTSDataName()
public DssOutputData getWriteDSSOutputDataTable()
public void setWriteDSSOutputDataTable(DssOutputData table)
table - the new write dss output data table@Deprecated public void setSystemPath(java.lang.String path)
path - the new system pathpublic void setSystemIndex(int networkID)
networkID - the new system index@Deprecated public java.lang.String getSystemPath()
public int getSystemIndex()
public void setOperationsPath(java.lang.String path)
path - the new operations pathpublic java.lang.String getOperationsPath()
public void setFlowComputeType(int type)
type - the new flow compute typepublic void setPerAvgFlow(boolean b)
b - the new per avg flowpublic void setDataSetPath(java.lang.String path)
path - the new data set pathpublic void setObservedDataSetPath(java.lang.String path)
path - the new observed data set pathpublic java.lang.String getDataSetPath()
public boolean writeFile(Identifier id)
The file is written using type=param formatting. See the readData method for definition of types and parameters.
public boolean reLoadFile(Identifier id)
The file must have type=param formatting. The following types and parameters are defined.
Run Name= (String) name of the Run
Run Description= (String) description of the Run
System Path= (String) relative path name of the System file
Operations Path= (String) relative path name of the Operations file
InputTSData Path= (String) relative path name of the input TSDataSet file
OutputTSData Path= (String) relative path name of the output TSDataSet file
Start Time= (String) start of forecast date/time string in any standard HEC format
End Time= (String) end of forecase date/time string in any standard HEC format
Lookback= (int) lookback period in days
Time Step= (double) computation time step in hours
reLoadFile in class Managerid - the idRun#writeDatapublic boolean readFile(Identifier id)
public boolean isValid()
public void setTimeStep(int timeStep,
int increment)
timeStep - the time stepincrement - the incrementHecTimepublic int getTimestep()
public int getTimestepIncrement()
public hec.rss.plugins.model.AltPluginData getAltPluginData(java.lang.String type)
type - String. Typically use choices defined in AltPluginDataFactorypublic int compute(RssRun rssRun)
rssRun - the rss runpublic void addAltPluginData(hec.rss.plugins.model.AltPluginData data)
data - the datapublic void setReplaceAll(boolean replace)
replace - the new replace allpublic boolean replaceAllReleaseOverrides()
public boolean useOtherAltResults(java.lang.String name)
name - the namepublic java.lang.String getUseOtherAltName(java.lang.String name)
name - the namepublic java.lang.String getUseOtherAltCollectionSequence(java.lang.String name)
name - the namepublic void setReleaseOverridesAlt(java.lang.String name,
AltOverride ao)
name - the nameao - the aopublic void setUseOtherAltResults(boolean set,
java.lang.String key)
set - the setkey - the keypublic void clearUserOtherAltOverrides()
public java.lang.String getTimeStepString()
1HOUR, 1DAY, 30MINUTEpublic void addRun(java.lang.String run)
run - the runpublic java.util.Vector<java.lang.String> getRunList()
public void deleteRun(java.lang.String run)
run - the runpublic void deleting()
Managerpublic void renameRun(java.lang.String old,
java.lang.String newr)
old - the oldnewr - the newrpublic long getLastModifiedTime()
getLastModifiedTime in class Managerpublic void unloading()
public boolean saveChildManagers()
ManagerManager contains other Managers (ie an Alternative)
so that it can tell all of it's child Managers to save.
By default it just calls _proxyList.saveManager(hec.lang.UserId.getUserId(), this)saveChildManagers in class Managerpublic boolean reLoadChildManagers()
ManagerManager contains other Managers (ie an Alternative)
so that it can tell all of it's child Managers to reload.
By default it just calls reLoadFile()reLoadChildManagers in class Managerpublic void setModified(boolean modified)
NamedTypesetModified in interface rma.lang.ModifiablesetModified in class Managerpublic Manager saveManagerAs(java.lang.String directory, java.lang.String filePrefix, ManagerProxyListContainer container)
saveManagerAs in class Managerdirectory - the directoryfilePrefix - the file prefixcontainer - the containerpublic boolean refreshData(Manager origMgr)
ManagerrefreshData in class Managerpublic java.lang.Object clone()
NamedTypepublic boolean copyInto(RssAlt alt)
alt - the altpublic void setInflowFactorType(int inflowType)
inflowType - the new inflow factor typepublic int getInflowFactorType()
public void setGlobalInflowFactor(double factor)
factor - the new global inflow factorpublic double getGlobalInflowFactor()
public void setLocationInflowFactors(java.util.List<InflowLocationFactor> inflowFactors)
inflowFactors - the new location inflow factorspublic java.util.List<InflowLocationFactor> getLocationInflowFactors()
public double[] getLocationInflowFactors(JunctionElement element, double[] factorArray)
element - the elementfactorArray - the factor arraypublic void setUsingInflowFactors(boolean usingFactors)
usingFactors - the new using inflow factorspublic boolean isDefaultFlowCompute()
public int getFlowComputeType()
public boolean isPerAvgFlow()
public boolean isUsingInflowFactors()
public double getLocationInflowFactor(JunctionElement element, java.lang.String localFlowName)
element - the elementlocalFlowName - the local flow namepublic HotstartOptions getHotstartOptions()
public boolean getComputeUnReg()
public void setComputeUnReg(boolean computeUnReg)
computeUnReg - the new compute un regpublic void setComputeCumLoc(boolean computeCumLoc)
selected - public boolean getComputeCumLoc()
public void setCopyOverrides(boolean copyOverrides)
selected - public boolean shouldCopyOverrides()
public boolean getComputeHoldout()
public void setComputeHoldout(boolean computeHoldout)
computeHoldout - the new compute holdoutpublic int getLogLevel()
public void setLogLevel(int logLevel)
logLevel - the new log levelpublic int getVersion()
public static int[] getTimeStep(RssAlt alt)
alt - the altpublic int getFlowComputeType(int timeStepSeconds)
timeStepSeconds - the timestep in seconds in case the Alt's network
is available.public void initCompute()
public void setUseYieldAnalysis(boolean useYieldAnalysis)
useYieldAnalysis - the new use yield analysispublic boolean useYieldAnalysis()
public void setUserName(java.lang.String userName)
userName - the new user namepublic void addPluginSettings(PluginSettings options)
options - the optionspublic PluginSettings getPluginSettings(java.lang.String clsname)
clsname - the clsnamepublic java.util.List<hec.rss.plugins.model.AltPluginData> getPluginDataList()
public void clearPluginSettings(java.lang.String clsname)
clsname - the clsnamepublic boolean writeReport(java.io.BufferedWriter writer,
RunTimeWindow rtw,
RssRun run)
writer - the writerrtw - the rtwrun - the runpublic void outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
hec.rss.model.reports.AltInputReportInfcoutputReport in interface hec.rss.model.reports.AltInputReportInfcpublic hec.rss.compute.ResSimComputeLauncher getComputeLauncher()
public void setSystem(RssSystem system)
system - the new systempublic void setTSDataSets(TSDataSet copyInputTsDataSet, TSDataSet copyOutputTsDataSet)
copyInputTsDataSet - the copy input ts data setcopyOutputTsDataSet - the copy output ts data setpublic void setYieldAnalysis(YieldAnalysis yieldAnalysis)
yieldAnalysis - the new yield analysispublic YieldAnalysis getYieldAnalysis()
public void setWaterAccountSet(WaterAccountSet waterAccountSet)
waterAccountSet - the new water account setpublic WaterAccountSet getWaterAccountSet()
public void setWaterAccountSetIndex(int index)
public int getWaterAccountSetIindex()
public java.util.List<java.lang.String> getInputTSVariantNames()
public java.util.List<TsVariant> getInputTSVariants()
public TsVariant getTsVariant(java.lang.String variantName)
variantName - public java.util.Vector getActiveTSProxies(java.util.Vector vec,
int iotype)