Klasse FWSimpleSimComponent

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.FWSimpleSimComponent
Alle implementierten Schnittstellen:
IntegratableComponent, FWSimFieldContainer

public final class FWSimpleSimComponent extends FWSimComponent implements IntegratableComponent
Autor:
Andreas Enders
  • Konstruktordetails

  • Methodendetails

    • createVariables

      public HashMap<String,FWSimVariable<?>> createVariables()
      Beschreibung aus Klasse kopiert: FWSimComponent
      called only once when the SimComponent is created. Hereby the FieldMap is filled with the interfacing fields.
      Angegeben von:
      createVariables in Schnittstelle FWSimFieldContainer
      Angegeben von:
      createVariables in Klasse FWSimComponent
      Gibt zurück:
      variables from the field map
      Siehe auch:
    • bind

      protected void bind()
      The model initialization function. Will be called only once, before running the model using process().
      Setzt außer Kraft:
      bind in Klasse FWSimComponent
    • init

      protected void init()
      Beschreibung aus Klasse kopiert: FWSimComponent
      The model initialization function. Will be called only once, before running the model using process().
      Angegeben von:
      init in Klasse FWSimComponent
    • process

      protected void process()
      Beschreibung aus Klasse kopiert: FWSimComponent
      The main model calculation function. Is guaranteed to be called once per module-specific time step.
      Angegeben von:
      process in Klasse FWSimComponent
    • postIntegrate

      public void postIntegrate()
      Beschreibung aus Schnittstelle kopiert: IntegratableComponent
      The model integration function. Is guaranteed to be called once per module-specific time step.
      Angegeben von:
      postIntegrate in Schnittstelle IntegratableComponent
    • getLinkedVariableNames

      public Set<String> getLinkedVariableNames()
      Gibt zurück:
      the linkedVariableNames
    • getProcessAlgorithms

      public LinkedList<FWSimVariable<?>> getProcessAlgorithms()
      Gibt zurück:
      the processAlgorithms
    • getIntegrateAlgorithms

      public LinkedList<FWSimVariable<?>> getIntegrateAlgorithms()
      Gibt zurück:
      the integrateAlgorithms
    • showFields

      public void showFields()
    • getEditFormXML

      public final org.jdom2.Element getEditFormXML(boolean aEnabled)
      Angegeben von:
      getEditFormXML in Schnittstelle FWSimFieldContainer
      Setzt außer Kraft:
      getEditFormXML in Klasse FWSimComponent
      Parameter:
      aEnabled -
      Gibt zurück:
      a xml element with all the settings of this component()
      Siehe auch:
    • toXML

      public org.jdom2.Element toXML()
      Angegeben von:
      toXML in Schnittstelle FWSimFieldContainer
      Setzt außer Kraft:
      toXML in Klasse FWSimComponent
      Gibt zurück:
      a xml element with all the settings of this component()
      Siehe auch:
    • fillTestVariables

      public HashMap<String,FWSimVariable<?>> fillTestVariables(int aParamIndex, FWSimComponent.TEST_STATE aDefineOrCheck)
      called for single component test to check the components algorithm. aParamIndex: Used to set up different test cases. Start with 0 - result check with 1 aso
      Angegeben von:
      fillTestVariables in Klasse FWSimComponent
      Parameter:
      aDefineOrCheck - : Use TEST_STATE.DEFINE for defining the test default values and TEST_STATE.CHECK for the accepted results
      Siehe auch:
      • Ungültige Referenz
        net.simplace.sim.util.FWSimFieldContainer#fillTestVariables(int aParamIndex, TEST_STATE aDefineOrCheck)
    • clone

      protected FWSimComponent clone(FWSimVarMap aVarMap)
      Angegeben von:
      clone in Klasse FWSimComponent
      Parameter:
      aVarMap -
      Gibt zurück:
      the deep clone of the SimComponent