public class ReservoirElement extends Element implements java.lang.Cloneable, ReleaseElement, hec.rss.model.reports.AltInputReportInfc
| Modifier and Type | Field and Description |
|---|---|
static int |
DAM_ID |
static int |
DNSTRM_ID |
static java.lang.String |
ELEVATION |
static java.lang.String |
EVAPORATION |
static java.lang.String |
KNOWN_ELEVATION |
static java.lang.String |
KNOWN_EVAPORATION |
static java.lang.String |
KNOWN_RELEASE |
static java.lang.String |
KNOWN_SPILL |
static java.lang.String |
KNOWN_STORAGE |
static int |
OUTLET_ID |
static java.lang.String |
SPILL |
static int |
SPILL_ID |
static java.lang.String |
STORAGE |
static int |
STORAGE_ID |
static int |
TAILWATER_ID |
DIVERSION_ELEMENT_ID, DIVERTEDOUTLET_ELEMENT_ID, INFLOW, JUNCTION_ELEMENT_ID, OUTFLOW, REACH_ELEMENT_ID, RESERVIOR_ELEMENT_ID_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTRTN_CANCELED, RTN_NOPROBLEM, RTN_OPCHANGE, RTN_PROBLEMPV_ELEVATION, PV_REGULATED_FLOW, PV_REGULATED_STAGE, PV_STORAGE, PV_TOTAL_RELEASE, PV_UNREGULATED_FLOW, PV_UNREGULATED_STAGECUMLOC_OUTPUT_DATA, GRPID_DIVERSION, GRPID_JUNCTION, GRPID_REACH, GRPID_RESERVOIR, HINDCAST_IDS, HOLDOUT_OUTPUT_DATA, INPUT_DATA, OUTPUT_DATA, PULSE_OUTPUT_DATA, UNREG_OUTPUT_DATA, VID_ADJPARAM_FLOW, VID_CAPACITY_FACTOR, VID_CTRLOUT_HINDFLW, VID_CTRLOUT_RELEASE, VID_DAM_LEAK, VID_DAM_RELEASE, VID_DIV_FLOW, VID_DIV_FLOW_ROUTED, VID_DIV_HINDFLW, VID_DIV_RELEASE, VID_DIVOUT_FLOW, VID_DIVOUT_FLOW_ROUTED, VID_ENERGYREQUIRED_TSINPUT, VID_FIRST, VID_FOREBAY_ELEV, VID_FOREBAY_HEADLOSS, VID_GATE_OPENING, VID_GATE_PERCENTOPEN, VID_JUNC_ELEV, VID_JUNC_FLOW_CUMLOC, VID_JUNC_FLOW_DIV, VID_JUNC_FLOW_HOLD, VID_JUNC_FLOW_IN, VID_JUNC_FLOW_LIMIT, VID_JUNC_FLOW_LOCAL, VID_JUNC_FLOW_PULSE, VID_JUNC_FLOW_REG, VID_JUNC_FLOW_UNREG, VID_JUNC_FLOW_VIOL, VID_JUNC_HINDFLOW, VID_JUNC_INFLOW, VID_JUNC_INFLOW_LOCAL_TOTAL, VID_JUNC_STAGE, VID_JUNC_STAGE_LIMIT, VID_JUNC_STAGE_REG, VID_JUNC_STAGE_UNREG, VID_JUNC_STAGE_VIOL, VID_LAST, VID_NODE_FLOW, VID_NODE_HINDFLW, VID_NODE_HINDSTG, VID_NODE_KNOWNFLOW, VID_NODE_STAGE, VID_OPCTRL_CONSTRAINTID, VID_OPCTRL_DECISION, VID_OPCTRL_MAXLIMIT, VID_OPCTRL_MINLIMIT, VID_OPCTRL_RULEID, VID_OPCTRL_ZONEID, VID_OPRULE_FLOW_SPACE, VID_OPRULE_MAX, VID_OPRULE_MAX_STAGE, VID_OPRULE_MIN, VID_OPRULE_MIN_STAGE, VID_OPRULE_ROUTE_LAG, VID_OPRULE_ROUTE_MAXOFFSET, VID_OPRULE_ROUTE_MINOFFSET, VID_OPRULE_SPEC, VID_OPRULE_STOR_BAL, VID_OPRULE_STOR_BAL_INDEX, VID_OPRULE_VIOL_ELEV, VID_OPRULE_VIOL_FLOW, VID_OPRULE_VIOL_STAGE, VID_OPRULE_VIOL_STOR, VID_OPRULEFL_CUMLOC, VID_OPRULETS_TSINPUT, VID_OPSET_ACTIVEZONE, VID_OPSET_GC_ELEV, VID_OPSET_GC_STOR, VID_OPSET_KNOWNZONEELEV, VID_OPSET_PROJECTEDELEV, VID_OPSET_ZONEELEV, VID_OPSET_ZONESTOR, VID_OUTGRP_RELEASE, VID_POOL_AREA, VID_POOL_ELEV, VID_POOL_ELEVROC, VID_POOL_EVAP, VID_POOL_HINDELEV, VID_POOL_HINDSTOR, VID_POOL_HOLDOUT, VID_POOL_INFLOW, VID_POOL_INPUTEVAP, VID_POOL_NETINFLOW, VID_POOL_OUTFLOW, VID_POOL_SEEP, VID_POOL_STOR, VID_PULSE_BACKQ, VID_PULSE_PULSEQ, VID_PUMP_FLOWAVG, VID_PUMP_VOL, VID_PUMPRULE_FLOWAVG, VID_PUMPRULE_FLOWAVG_CAP, VID_PUMPRULE_FLOWINST, VID_PUMPRULE_FLOWINST_CAP, VID_PUMPRULE_HOURS, VID_PUMPRULE_HOURS_CAP, VID_PUMPRULE_NUMPUMP, VID_PUMPRULE_NUMPUMP_CAP, VID_PUMPRULE_UNITHOURS, VID_PUMPRULE_UNITHOURS_CAP, VID_PUMPRULE_VOL, VID_PUMPRULE_VOL_CAP, VID_PWR_CAPABILITY, VID_PWR_EFF, VID_PWR_ENGYGEN, VID_PWR_ENGYPATTERN, VID_PWR_ENGYPERGEN, VID_PWR_ENGYPERREQD, VID_PWR_ENGYREQD, VID_PWR_ENGYVIOL, VID_PWR_FLWPWR, VID_PWR_HDPWR, VID_PWR_HYDLSS, VID_PWR_MAXCAPACITY, VID_PWR_PER_BALGEN, VID_PWR_PER_GCGEN, VID_PWR_PER_MINPUMPGEN, VID_PWR_PER_MINRELGEN, VID_PWR_PER_POWGEN, VID_PWR_PER_PUMPGEN, VID_PWR_PLNTFAC, VID_PWR_PWRCAP, VID_PWR_REQUIRED, VID_PWR_SPILL, VID_PWR_VIOL, VID_RCH_SEEP, VID_REACH_FLOW_CUMLOC, VID_REACH_FLOW_IN, VID_REACH_FLOW_REG, VID_REACH_FLOW_UNREG, VID_RES_GCRELEASE, VID_RES_HOLDOUT, VID_RES_RELEASE, VID_SPILL_FLOW, VID_SPILL_HINDFLOW, VID_STATE_VAR, VID_STATE_VAR_HIND, VID_TAIL_ELEV, VID_UNCTOUT_FLOW, VID_UNCTOUT_HINDFLW, VID_WA_ACCOUNT_DEMAND, VID_WA_ACCOUNT_INFLOW, VID_WA_CURRENT_MAX_VOLUME, VID_WA_CURRENT_VOLUME, VID_WA_HINDSTOR, VID_WA_RULE_DEMAND| Constructor and Description |
|---|
ReservoirElement() |
ReservoirElement(RssSystem sys,
int idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(RssNode n,
int idir)
override add node to make connections to child elements
|
void |
calcPeriodRelAndGenLimits(RunTimeStep rts,
int istep,
int periodSteps,
ReservoirLimitSet limitSet,
OpRule callingRule)
Calculate the release, release volume, and energy generation limits for the
remaing part of the given period.
|
double |
calcPumpbackVolCap(RunTimeStep rts,
int istep,
int periodSteps)
calculates the maximum pump volume for all active pump rules at the given
time step and starting elevation over the given period
|
double |
calcPumpbackVolMin(RunTimeStep rts,
int istep,
int periodSteps) |
void |
clearTSProxyList()
dumps all ts proxies
|
java.lang.Object |
clone()
Creates a new object of the same class as this object.
|
int |
computeForecast(RunTimeWindow rtw,
int computeFlag)
performs a compute over the runtime window using forecast logic
|
int |
computeForecastStep(RunTimeStep rts)
computes a single forecast time step
|
int |
computeHindcast(RunTimeWindow rtw,
int computeFlag)
performs a compute over the runtime window using hindcast logic
|
int |
computeHindcastStep(RunTimeStep rts)
computes a single hindcast time step
|
int |
computePumpbackStep(RunTimeStep rts)
after regular computations are complete for a time step, pumpback operation
moves a volume of water from the source reservoir to this reservoir
|
void |
copyInto(ReservoirElement re)
Performs a deep copy that clones data of the given ReservoirElement.
|
DivertedOutletElement |
createDivertedOutlet(RssNode node0,
RssNode node1,
java.util.Vector ptVec,
double tol)
Adds a new DivertedOutlet to the reservoir
|
java.util.List<OpRuleRef> |
findRuleRefsFor(Element elem)
find all the OpRuleRefs that have their release element is elem.
|
java.util.List<OpRule> |
findRulesFor(Element elem) |
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
|
PairedValuesExt |
getCompositeRelease() |
java.util.List<ConditionalBlockRef> |
getConditionalBlockRefs(int opid,
java.util.List<ConditionalBlockRef> condList)
Adds all ConditionalBlockRefs utilized by the Operation Set matching the given OpSet Id.
|
java.util.Vector |
getDefaultModelVariables()
Returns a list of Model Variables that are used in the default plot
required by PlottableObject interface
|
WaterAccount |
getDefaultWaterAccount() |
java.util.Vector |
getDivertedOutlets() |
java.util.List |
getDownstreamNodes(java.util.List vec)
returns all downstream nodes in the node list
does not recurse through child elements
|
java.util.Hashtable |
getDownstreamRuleNodes(int opid)
gets a Hashtable of nodes used by downstream operating ruls for the given OpSet
|
void |
getDownstreamRules(int opid,
java.util.List rulevec)
adds downstream rule references to the given vector
|
double |
getEffectiveElev(RunTimeStep rts)
returns elevation for the given RunTimeStep at the upstream end of this element.
|
double |
getExpectedNetInflowVol(RunTimeStep rts,
int steps,
OpRule rule)
compute the expected net inflow volume that will occur between the end
of the current time step and the end of number of steps given considering
the net inflow as well as expected rule related releases other than
the given rule.
|
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
java.util.Vector |
getFlowContolTSRecordProxies()
special handling for reservoir element, overrides default implementation in Element.java
|
AdjustableFlow |
getGatedFlowFunction()
Deprecated.
|
double |
getGuideCurveStorage(RunTimeStep rts) |
int |
getLabelPosition() |
java.util.Vector |
getModelVariables(java.util.Vector variableList)
returns a vector of all plottable model variables for reservoirs
|
java.lang.String |
getNextChildName(java.lang.String classname,
java.lang.String basename)
returns the next unique name for the given child element class
and base name
|
java.lang.String |
getNextControlledOutletName() |
java.lang.String |
getNextDivertedOutletName() |
java.lang.String |
getNextOutletGroupName() |
java.lang.String |
getNextPowerPlantName() |
java.lang.String |
getNextPumpName() |
java.lang.String |
getNextReversiblePumpName() |
java.lang.String |
getNextUncontrolledOutletName() |
PowerPlant[] |
getPowerPlants()
Returns a list of power plants attached to this reservoir element.
|
double |
getPrevEffectiveElev(RunTimeStep rts)
returns elevation for one time step prior to the given RunTimeStep at the
upstream end of this element.
|
Pump[] |
getPumps()
Returns a list of pumps attached to this reservoir element.
|
hec.map.WorldPt |
getReferencePt()
Returns a reservoir reference point
|
hec.map.WorldRegion |
getRegion()
Returns the reservoir region
|
java.util.Vector |
getRequiredTSRecordProxies()
returns the flow TSRecordProxies from upstream nodes on this element
and any TSRecordProxies required by active operating rules
|
ReservoirOp |
getReservoirOp() |
java.util.List |
getReservoirOutletElements(java.util.List list)
adds all ReservoirOutletElement children to the given List.
|
long |
getReservoirProjectId() |
ReservoirSysOp |
getReservoirSysOp()
returns the reservoir system operations object that is assiciated with
this reservoir if one exists.
|
java.lang.String |
getResOpName()
return the name of the ReservoirOp object associated with this element
|
java.util.List |
getRuleConnectivityRefs()
Returns a List of RuleConnectivityRef objects identifying all rule
references to other objects in the network.
|
void |
getRules(int opid,
java.util.List rulevec)
Adds rule references to the given vector.
|
Element |
getStorageElement() |
Storage |
getStorageFunction() |
void |
getStorageZones(int opid,
java.util.List<StorageZone> zoneList)
Adds storage zones to the given list
|
java.util.Vector |
getStreamSegmentVector()
gets the stream segment vector
|
double |
getSystemGenerationLimits2(RunTimeStep rts,
OpRule rule,
double[] max,
double[] min,
int istep,
int periodSteps)
temp method called by SystemPowerRule evaluate method to get generation limits
|
void |
getSystemHydropowerOpRules(int opid,
java.util.ArrayList ruleList)
adds SystemHydropwerOpRule references to the given ArrayList
|
double |
getTotalCompositeRelease(double elev)
get the total composite release for the elevation
|
java.util.Vector |
getTSRecordProxies()
overrides Element.getTSRecordProxies to also get proxies from active reservoir operations
|
java.util.Vector |
getTSRecords(ModelVariable plotVariable,
java.util.Vector proxyList,
java.util.Vector runs)
gets the TSRecordProxies that match the requested model variables
|
VerticalDatumSettings |
getVerticalDatumSettings() |
boolean |
hasDownstreamGoals(int opid)
returns true if the current operating rule set has any downstream goals
|
boolean |
hasPowerPlant()
determines whether reservoir has one or more power plants
|
boolean |
hasPump()
determines whether reservoir has one or more power plants
|
boolean |
importFrom(ReservoirImport ri,
java.lang.StringBuffer results)
import the Physical and Operations elments from ri
|
int |
initForecastOperations(RunTimeWindow rtw)
Initializes adjustable parameter values over forecast time window
|
boolean |
initForPostProcessing(RunTimeWindow rtw)
Prepares this run for post processing in the ResSim Simulation Module.
|
boolean |
initialize(RunTimeWindow rtw)
initialize prior to a compute
|
int |
initPumpbackStep(RunTimeStep rts) |
void |
outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
Alternative Input Report Interface for data.
|
boolean |
prepCumLocFlowCompute()
Set state of elements and nodes in preparation of cumulative local flow compute.
|
boolean |
prepHoldoutCompute()
sets up reservoir to act as a headwater for holdout flow computations
|
boolean |
prepPulseRoutingCompute(int outletId)
sets up reservoir to act as a headwater for pulse routing computations
|
boolean |
prepRegulatedFlowCompute()
Set state of elements and nodes in preparation of regulated flow compute.
|
boolean |
prepUnregulatedFlowCompute(boolean disableDivertedOutlets)
Set state of elements and nodes in preparation of unregulated flow compute.
|
void |
reconnectDivertedOutlet(RssNode node1) |
void |
resetOpsIds() |
void |
restoreElementState(int stateid)
restore the state of the element and its function matching the given
identifier
|
void |
saveElementState(int stateid)
save the current state of the element and its function with the given
identifier
|
void |
setDefaultWaterAccount(WaterAccount wa) |
void |
setEvaporationTS(boolean useTS)
Deprecated.
|
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setLabelPosition(int p) |
void |
setName()
over-ride setName to echo rename to child elements - not implemented yet
|
void |
setReferencePt(hec.map.WorldPt wpt) |
void |
setRegion(hec.map.WorldRegion reg)
Sets the reservoir region
|
void |
setReservoirOp(ReservoirOp resOp)
Sets a ReservoirOp to the dbf.
|
void |
setReservoirProjectId(long id) |
void |
setReservoirSysOp(ReservoirSysOp resSysOp)
Sets a ReservoirSysOp
|
void |
setStorageFunction(Storage storage) |
void |
setStreamSegmentVector(java.util.Vector segvec)
sets the stream segment vector
|
void |
setupForSerialization()
called just before ascii serialization
|
void |
setUseOverridesForThisReservoir(boolean set)
Sets the flag used in the Release Overrides that tells the override
options to use another alternative's info to override this reservoir's
outlets
|
void |
setVerticalDatumSettings(VerticalDatumSettings vds) |
java.lang.String |
toString()
over toString to return name - check if ok to move to namedtype
|
void |
updateDecisions(RunTimeStep rts,
int iteration)
make operations decisions for this time step
|
void |
updateSegments()
recalculates segments based on associated nodes and current stream alignment
|
void |
updateTSProxyList()
overrides Element.updateTSProxyList to also get proxies from active
reservoir operations
|
boolean |
useOverridesForThisReservoir()
Gets the flag used in the Release Overrides that tells the override
options to use another alternative's info to override this reservoir's
outlets
|
addChildElement, addChildElementAt, addNode, applyHindcastData, calcSeepageFlow, children, cleanupFromDeSerialization, cleanVectors, computeForecastStep, computeSubStepFlow, copyInto, dispose, dispose, downStreamFrom, findAdjParam, findAdjParam, findElement, getActiveStateVariables, getChildElementAt, getChildElementCount, getComputedTSRecordProxies_old, getComputedTSRecordProxies, getDisplayName, getDownstreamElements, getDownstreamNode, getElement, getElementByName, getElementsByClass, getElementType, getElementTypeId, getElementVector, getForebayHeadLoss, getFullName, getFunction, getHindcastDataList, getKeyStringForObject, getLinkedElementList, getNode, getNodeCount, getNodeDir, getNodeDirVector, getNodeVector, getObjectForKeyString, getObjectTypeId, getObsDataVector, getOutletElementList, getOutletElementList, getParent, getPlotTypeDirectory, getPlotTypeFile, getPlotTypeNames, getPlotTypes, getReleaseElements, getSystem, getTailwaterElevationObjects, getTopParent, getTopParentName, getTSDataSet, getTSRecordProxy, getTSRecordProxy, getTSRecords, getUnitSystem, getUpstreamNode, hasElementsOfClass, hasForebayHeadLoss, initForecastLoop, initHindcastLoop, isActive, isDirty, isDisposed, isNodeComputed, readData, removeAllChildElements, removeChild, removeNode, resetParentElement, restoreHotstartState, saveHotstartState, setActive, setActive, setDirty, setFunction, setHasForebayHeadLoss, setName, setObsDataVector, setParentElement, writeDataaddModifiableListener, compareTo, getDescription, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setValid, update, useRecursiveModifiedTestpublic static final java.lang.String KNOWN_STORAGE
public static final java.lang.String KNOWN_ELEVATION
public static final java.lang.String KNOWN_RELEASE
public static final java.lang.String KNOWN_EVAPORATION
public static final java.lang.String KNOWN_SPILL
public static final java.lang.String ELEVATION
public static final java.lang.String STORAGE
public static final java.lang.String EVAPORATION
public static final java.lang.String SPILL
public static final int STORAGE_ID
public static final int DNSTRM_ID
public static final int DAM_ID
public static final int OUTLET_ID
public static final int SPILL_ID
public static final int TAILWATER_ID
public ReservoirElement()
public ReservoirElement(RssSystem sys, int idx)
public void setVerticalDatumSettings(VerticalDatumSettings vds)
public VerticalDatumSettings getVerticalDatumSettings()
public double getEffectiveElev(RunTimeStep rts)
getEffectiveElev in class Elementpublic double getPrevEffectiveElev(RunTimeStep rts)
getPrevEffectiveElev in class Elementpublic java.util.Vector getFlowContolTSRecordProxies()
getFlowContolTSRecordProxies in class Elementpublic java.util.List getReservoirOutletElements(java.util.List list)
list - public PowerPlant[] getPowerPlants()
public Pump[] getPumps()
public java.util.Vector getRequiredTSRecordProxies()
getRequiredTSRecordProxies in class Elementpublic java.util.List getRuleConnectivityRefs()
getRuleConnectivityRefs in class Elementpublic double getGuideCurveStorage(RunTimeStep rts)
public void saveElementState(int stateid)
saveElementState in class Elementstateid - identifier for the statepublic void restoreElementState(int stateid)
ElementrestoreElementState in class Elementstateid - identifier for the statepublic void updateDecisions(RunTimeStep rts, int iteration)
updateDecisions in interface ReleaseElementrts - iteration - public int initForecastOperations(RunTimeWindow rtw)
initForecastOperations in interface ReleaseElementpublic PairedValuesExt getCompositeRelease()
public double getTotalCompositeRelease(double elev)
public java.util.Vector getModelVariables(java.util.Vector variableList)
getModelVariables in interface hec.res.model.PlottableObjectgetModelVariables in class Elementpublic boolean hasPump()
public boolean useOverridesForThisReservoir()
public void setUseOverridesForThisReservoir(boolean set)
set - true, uses overrides on this reservoirpublic boolean hasPowerPlant()
public java.util.Vector getDefaultModelVariables()
getDefaultModelVariables in interface hec.res.model.PlottableObjectgetDefaultModelVariables in class Elementpublic java.util.Vector getTSRecords(ModelVariable plotVariable, java.util.Vector proxyList, java.util.Vector runs)
getTSRecords in interface hec.res.model.PlottableObjectgetTSRecords in class Elementpublic void setupForSerialization()
ElementsetupForSerialization in class Elementpublic void updateSegments()
public java.util.Vector getStreamSegmentVector()
public void setStreamSegmentVector(java.util.Vector segvec)
public void setReservoirProjectId(long id)
public long getReservoirProjectId()
public java.lang.String getNextDivertedOutletName()
public java.lang.String getNextControlledOutletName()
public java.lang.String getNextUncontrolledOutletName()
public java.lang.String getNextOutletGroupName()
public java.lang.String getNextPumpName()
public java.lang.String getNextPowerPlantName()
public java.lang.String getNextReversiblePumpName()
public void setDefaultWaterAccount(WaterAccount wa)
public WaterAccount getDefaultWaterAccount()
public java.lang.String getNextChildName(java.lang.String classname,
java.lang.String basename)
public java.util.Vector getDivertedOutlets()
public DivertedOutletElement createDivertedOutlet(RssNode node0, RssNode node1, java.util.Vector ptVec, double tol)
public void reconnectDivertedOutlet(RssNode node1)
public java.lang.Object clone()
public void copyInto(ReservoirElement re)
public boolean initialize(RunTimeWindow rtw)
initialize in class Elementpublic boolean initForPostProcessing(RunTimeWindow rtw)
initForPostProcessing in class Elementpublic boolean prepRegulatedFlowCompute()
public boolean prepCumLocFlowCompute()
public boolean prepUnregulatedFlowCompute(boolean disableDivertedOutlets)
public boolean prepHoldoutCompute()
public boolean prepPulseRoutingCompute(int outletId)
public void setName()
public int computeHindcast(RunTimeWindow rtw, int computeFlag)
ElementcomputeHindcast in class Elementpublic int computeHindcastStep(RunTimeStep rts)
ElementcomputeHindcastStep in class Elementpublic int computeForecast(RunTimeWindow rtw, int computeFlag)
ElementcomputeForecast in class Elementpublic int computeForecastStep(RunTimeStep rts)
ElementcomputeForecastStep in class Elementpublic int initPumpbackStep(RunTimeStep rts)
public int computePumpbackStep(RunTimeStep rts)
rts - public void resetOpsIds()
public java.lang.String getResOpName()
public void setReservoirOp(ReservoirOp resOp)
public ReservoirOp getReservoirOp()
public void setReservoirSysOp(ReservoirSysOp resSysOp)
public ReservoirSysOp getReservoirSysOp()
public void addNode(RssNode n, int idir)
public Element getStorageElement()
public Storage getStorageFunction()
public void setStorageFunction(Storage storage)
@Deprecated public void setEvaporationTS(boolean useTS)
public hec.map.WorldRegion getRegion()
public hec.map.WorldPt getReferencePt()
getReferencePt in class Elementpublic void setReferencePt(hec.map.WorldPt wpt)
public void setRegion(hec.map.WorldRegion reg)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorgetFieldObject in class Elementfld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorsetFieldObject in class Elementfld - The java field object representing the member field to be setfobj - The data to set in that field@Deprecated public AdjustableFlow getGatedFlowFunction()
public java.lang.String toString()
public boolean hasDownstreamGoals(int opid)
public java.util.List getDownstreamNodes(java.util.List vec)
getDownstreamNodes in class Elementpublic java.util.Hashtable getDownstreamRuleNodes(int opid)
public void getStorageZones(int opid,
java.util.List<StorageZone> zoneList)
opid - zoneList - public void getRules(int opid,
java.util.List rulevec)
public java.util.List<ConditionalBlockRef> getConditionalBlockRefs(int opid, java.util.List<ConditionalBlockRef> condList)
opid - id number for an existing OpSetcondList - list object to hold the set of ConditionalBlockRef objects found by this methodpublic void getDownstreamRules(int opid,
java.util.List rulevec)
public void getSystemHydropowerOpRules(int opid,
java.util.ArrayList ruleList)
public double getSystemGenerationLimits2(RunTimeStep rts, OpRule rule, double[] max, double[] min, int istep, int periodSteps)
rts - rule - max - min - istep - periodsteps - public void calcPeriodRelAndGenLimits(RunTimeStep rts, int istep, int periodSteps, ReservoirLimitSet limitSet, OpRule callingRule)
rts - istep - periodSteps - callingRule - public double calcPumpbackVolCap(RunTimeStep rts, int istep, int periodSteps)
rts - istep - periodSteps - public double calcPumpbackVolMin(RunTimeStep rts, int istep, int periodSteps)
public double getExpectedNetInflowVol(RunTimeStep rts, int steps, OpRule rule)
rts - current time stepsteps - number of steps into the future to lookrule - the rule needing this estimatepublic void clearTSProxyList()
clearTSProxyList in class Elementpublic void updateTSProxyList()
updateTSProxyList in class Elementpublic java.util.Vector getActiveTSProxies(java.util.Vector vec,
int iotype)
getActiveTSProxies in class Elementpublic java.util.Vector getTSRecordProxies()
getTSRecordProxies in class Elementpublic boolean importFrom(ReservoirImport ri, java.lang.StringBuffer results)
ri - results - put the import resultspublic void setLabelPosition(int p)
public int getLabelPosition()
public java.util.List<OpRuleRef> findRuleRefsFor(Element elem)
elem - the release element to look for.public void outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
hec.rss.model.reports.AltInputReportInfcoutputReport in interface hec.rss.model.reports.AltInputReportInfc