Interface AlchemistSimulationAdapter

  • All Implemented Interfaces:

    
    public interface AlchemistSimulationAdapter
    
                        

    The Alchemist simulation adapter that allows MultiVesta adapter to interact with the simulation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Double getTime() Get the simulation time.
      abstract Double rval(String obs) Get the value for the given observation.
      abstract Double rval(Integer obsId) Get the value for the given observation.
      abstract Unit doStep() Perform a simulation step.
      abstract Unit performWholeSimulation() Perform the whole simulation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • rval

         abstract Double rval(String obs)

        Get the value for the given observation.

        Parameters:
        obs - the name of the observation
      • rval

         abstract Double rval(Integer obsId)

        Get the value for the given observation.

        Parameters:
        obsId - the id of the observation
      • doStep

         abstract Unit doStep()

        Perform a simulation step. In Alchemist this means that the simulation will be advanced of the number of step needed to reach the next time.