public class TandemOp extends java.lang.Object implements RssReturnStatusConstants
RTN_CANCELED, RTN_NOPROBLEM, RTN_OPCHANGE, RTN_PROBLEM| Constructor and Description |
|---|
TandemOp(RssSystem sys)
Constructor that requires an RssSystem
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveRule(TandemOpRule rule)
Adds a tandem rule to the active set for the current decision step
|
void |
evaluateLimits(RunTimeStep rts,
int iteration)
evaluate rule limits for given time step
|
int |
evaluateTandemOpStep(RunTimeStep rts,
int iteration) |
double |
getBalanceReleaseVol(TandemOpRule rule,
RunTimeStep rts) |
hec.rss.model.TandemOp.TandemSystem |
getTandemSystem(ReservoirElement resUp,
ReservoirElement resDn)
Get an previously created TandemSystem that contains one or both of the given
reservoirs.
|
hec.rss.model.TandemOp.TandemSystem |
getTandemSystem(TandemOpRule rule) |
boolean |
hasReservoirs() |
void |
initForecast(IterationBlock iterblk)
find the reservoirs in the active iteration block
note that reservoirs are added to this list in upstream to downstream order
by their order in the IterationBlock
|
void |
initForecastStep(RunTimeStep rts)
reset data for new forecast time step
|
public TandemOp(RssSystem sys)
sys - public void evaluateLimits(RunTimeStep rts, int iteration)
rts - public void initForecast(IterationBlock iterblk)
public void initForecastStep(RunTimeStep rts)
rts - public void addActiveRule(TandemOpRule rule)
rule - public hec.rss.model.TandemOp.TandemSystem getTandemSystem(ReservoirElement resUp, ReservoirElement resDn)
resUp - upstream reservoir of a tandem pairresDn - downstream reservoir of a tandem pairpublic hec.rss.model.TandemOp.TandemSystem getTandemSystem(TandemOpRule rule)
public int evaluateTandemOpStep(RunTimeStep rts, int iteration)
public double getBalanceReleaseVol(TandemOpRule rule, RunTimeStep rts)
public boolean hasReservoirs()