Package hec.rss.model
Interface OpControllable
- All Known Implementing Classes:
OpControllableElement,OpControllableObject,OpController
public interface OpControllable
Interface for objects that can be controlled by OpController objects.
-
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object of the same class as this objectreturns the adjustable parameter associated with the controllable objectdoublegets the total current adjustable parameter valuedoublegetDecrROCLimit(RunTimeStep rts, double[] relcap, double[] dt, double elev, List rulelist) doublegetFlowForPrevGateHeight(RunTimeStep rts, double resElev) returns the estimated flow if the gate openings from the previous time step are maintaineddoublegetIncrROCLimit(RunTimeStep rts, double[] relcap, double[] dt, double elev, List rulelist) doublegetInstFlowCap(RunTimeStep rts, double elev, double[] cntrl, double[] unctrl) return the instantaneous flow capacity at the given time step and elevationdoubleintindex of release element this contrable is associated withbooleanprepares for post processingbooleanprepares for computationintinitOperationStep(RunTimeStep rts, int iteration) initialization called before each operation stepvoidrecalcPhysicalLimits(RunTimeStep rts, double[] xt, double[] et, int tcnt) voidrecalcPhysicalLimitsInst(RunTimeStep rts, double elev) voidsets the parent controllerdoublesetParameterValue(double val, RunTimeStep rts) sets the adjustable parameter value, returns the value actually appliedvoidsets the associated release element and release element idvoidsetReleaseElementId(int elementId) set index of release element this contrable is associated with
-
Method Details
-
clone
Object clone()Creates a new object of the same class as this object -
setController
sets the parent controller -
initializeCompute
prepares for computation -
initForPostProcessing
prepares for post processing -
getAdjustableParameter
AdjustableParameter getAdjustableParameter()returns the adjustable parameter associated with the controllable object -
setParameterValue
sets the adjustable parameter value, returns the value actually applied -
getCurrentParameterValue
double getCurrentParameterValue()gets the total current adjustable parameter value -
getPreviousParameterValue
-
getReleaseElementId
int getReleaseElementId()index of release element this contrable is associated with -
setReleaseElementId
void setReleaseElementId(int elementId) set index of release element this contrable is associated with -
setReleaseElement
sets the associated release element and release element id -
initOperationStep
initialization called before each operation step -
recalcPhysicalLimitsInst
-
recalcPhysicalLimits
-
getInstFlowCap
return the instantaneous flow capacity at the given time step and elevation -
getFlowForPrevGateHeight
returns the estimated flow if the gate openings from the previous time step are maintained -
getIncrROCLimit
-
getDecrROCLimit
-