Class OSVariableTSRef

java.lang.Object
hec.rss.plugins.opsupport.model.OSVariableTSRef
All Implemented Interfaces:
TSLocation, RssTSLocation, Cloneable, rma.lang.Modifiable

public class OSVariableTSRef extends Object implements Cloneable, rma.lang.Modifiable, RssTSLocation
  • Field Details

  • Constructor Details

  • Method Details

    • getViewport

      public int getViewport()
    • setViewport

      public void setViewport(int i)
    • getOSConfig

      public OpSupportConfig getOSConfig()
    • clone

      public OSVariableTSRef clone()
      Overrides:
      clone in class Object
    • clearData

      public void clearData()
    • setTSDataType

      public void setTSDataType(int i)
    • getTSDataType

      public int getTSDataType()
    • setByIndependentVariable

      public void setByIndependentVariable(IndependentVariable iv)
    • getName

      public String getName()
    • setName

      public void setName(String s)
    • getTSType

      public int getTSType()
    • setTSType

      public void setTSType(int i)
    • getTypeID

      public int getTypeID()
    • setTypeID

      public void setTypeID(int i)
    • getHECMinutes

      public int[] getHECMinutes()
    • getElementID

      public int getElementID()
    • setElementID

      public void setElementID(int i)
    • getModelVariableID

      public int getModelVariableID()
    • setModelVariableID

      public void setModelVariableID(int i)
    • getStateVariableID

      public int getStateVariableID()
    • setStateVariableID

      public void setStateVariableID(int i)
    • getGlobalVariableID

      public int getGlobalVariableID()
    • setGlobalVariableID

      public void setGlobalVariableID(int i)
    • getProxyName

      public String getProxyName()
    • setProxyName

      public void setProxyName(String s)
    • getTimeSeriesName

      public String getTimeSeriesName()
    • setTimeSeriesName

      public void setTimeSeriesName(String s)
    • getStateVariableName

      public String getStateVariableName()
    • setStateVariableName

      public void setStateVariableName(String s)
    • getGlobalVariableName

      public String getGlobalVariableName()
    • setGlobalVariableName

      public void setGlobalVariableName(String s)
    • read

      public void read(BufferedReader reader) throws IOException
      Throws:
      IOException
    • write

      public void write(BufferedWriter writer)
    • isModified

      public boolean isModified()
      Specified by:
      isModified in interface rma.lang.Modifiable
    • setModified

      public void setModified(boolean bool)
      Specified by:
      setModified in interface rma.lang.Modifiable
    • initCompute

      public void initCompute(RssRun rssRun, OpSupportTabConfig tabConfig, int tsdatatype)
      Parameters:
      rssRun -
    • initTSProxy

      public void initTSProxy(OpSupportTabConfig tabConfig, RssSystem system, TSRecordProxy proxy, int tsDataType)
    • initComp

      public void initComp(RssRun rssRun, OpSupportTabConfig tabConfig, int tsdatatype, RssSystem system)
    • getValue

      public double getValue(int step)
    • setValue

      public void setValue(int step, double value)
      Parameters:
      row -
      parseDouble -
    • saveData

      public boolean saveData()
      Returns:
    • refreshData

      public void refreshData()
    • getTSRecord

      public TSRecord getTSRecord()
    • getTSTextName

      public String getTSTextName(RssSystem network)
    • getAsIndependentVariable

      public IndependentVariable getAsIndependentVariable(RssSystem rsys)
      Returns:
    • computeRecession

      public void computeRecession(int irow, double recessionConst, int method, int dtMinutes, double maxRecessPeriod)
      Parameters:
      irow -
    • setToObs

      public void setToObs(int irow, OSVariableTSRef observedTS)
      Parameters:
      irow -
      _observedTS -
    • calcLocal

      public void calcLocal(int irow, OSVariableTSRef observedTS, OSVariableTSRef computedTS)
      Parameters:
      irow -
      _observedTS -
      _computedTS -
    • clearTimeSeries

      public void clearTimeSeries(int irow, int endrow)
      Parameters:
      irow -
    • getOvrdValues

      public double[] getOvrdValues()
      Returns:
    • isLargest

      public boolean isLargest(double val)
    • isSmallest

      public boolean isSmallest(double val)
    • getSystem

      public RssSystem getSystem()
    • getActiveTSProxies

      public Vector getActiveTSProxies(Vector vec, int iotype, RssAlt alt)
      returns a vector of required input, or generated output TSRecordProxies used in the current alternative
    • getTSDataSet

      public TSDataSet getTSDataSet(boolean isInput)
      Description copied from interface: TSLocation
      returns the input or output TSData set currently associated with this loation
      Specified by:
      getTSDataSet in interface TSLocation
    • getTSRecordProxy

      public TSRecordProxy getTSRecordProxy(int varId)
      Description copied from interface: RssTSLocation
      get TSRecordProxy by model variable id
      Specified by:
      getTSRecordProxy in interface RssTSLocation