Class FMI20ContinuousStateDerivative


  • public class FMI20ContinuousStateDerivative
    extends java.lang.Object
    An object that represents the Derivatives of a continuous state variable of an FMU for FMI-2.0.

    A Functional Mock-up Unit file is a .fmu file in zip format that contains a .xml file named "modelDescription.xml". In that file, the Derivatives element may contain elements such as Unknown.

    FMI documentation may be found at http://www.modelisar.com/fmi.html.

    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Thierry S. Nouidui
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Field Detail

      • index

        public java.lang.Integer index
        The index of the state derivative.
      • dependencies

        public java.lang.String[] dependencies
        The input ports on which an output has a direct dependency.
      • dependentScalarVariables

        public java.util.LinkedList<FMIScalarVariable> dependentScalarVariables
        The list of dependent ScalarVariable elements.
      • scalarVariable

        public FMIScalarVariable scalarVariable
        The FMI scalar variable for this state.
      • hasChanged

        public boolean hasChanged
        The signal indicating changed.
      • dependentInputIndexes

        public java.util.LinkedList<java.lang.Integer> dependentInputIndexes
        The list of indexes of dependent input elements.
      • dependentStateIndexes

        public java.util.LinkedList<java.lang.Integer> dependentStateIndexes
        The list of indexes of dependent continuous elements.
    • Constructor Detail

      • FMI20ContinuousStateDerivative

        public FMI20ContinuousStateDerivative()
        Create an empty Derivative.
      • FMI20ContinuousStateDerivative

        public FMI20ContinuousStateDerivative​(FMIModelDescription fmiModelDescription,
                                              org.w3c.dom.Node element)
        Create a Derivative element from an XML Element.
        Parameters:
        fmiModelDescription - the Model Description for this derivative.
        element - The XML Node that contains attributes.