Class StateSpaceModel

    • Field Detail

      • prior

        public Parameter prior
        An expression for the prior distribution from which the samples are drawn.
      • processNoise

        public Parameter processNoise
        The process noise. This should be an expression that returns random data. If the system contains multiple state variables, the process noise should be an expression that returns an ArrayToken. For example, multivariateGaussian is one such function. For a two-state system, for example, you could set this to "multivariateGaussian({0.0,0.0},[1.0,0.4;0.4,1.0])" which will return a two-element Gaussian random vector with zero mean and the specified covariance function.
      • priorDistribution

        public Parameter priorDistribution
        An expression for a prior distribution from which the initial particles are sampled.
      • stateVariableNames

        public Parameter stateVariableNames
        The names of the state variables, in an array of strings. The default is an ArrayToken of an empty String.
      • t

        public Parameter t
        The value of current time. This parameter is not visible in the expression screen except in expert mode. Its value initially is just 0.0, a double, but upon each firing, it is given a value equal to the current time as reported by the director.
    • Constructor Detail

      • StateSpaceModel

        public StateSpaceModel​(CompositeEntity container,
                               java.lang.String name)
                        throws IllegalActionException,
                               NameDuplicationException
        Construct a StateSpaceModel with a name and a container. The container argument must not be null, or a NullPointerException will be thrown. This actor will use the workspace of the container for synchronization and version counts. If the name argument is null, then the name is set to the empty string. Increment the version of the workspace.
        Parameters:
        container - The container.
        name - The name of this actor.
        Throws:
        IllegalActionException - If the container is incompatible with this actor.
        NameDuplicationException - If the name coincides with an actor already in the container.