Some options are used only with particular types of systems. If an option is not usable, it is ignored.
•
|
initialconditions = Vector(realcons) or list of equations
|
Specifies the initial conditions of the system. For a state-space system the initial conditions are specified as a Vector with dimension equal to the number of state-variables. For a differential-equation system the initial conditions are a list of equations. For transfer-function, coefficients, zero-pole-gain, and difference-equation (discrete DE) systems, initial conditions are ignored. Ignored initial conditions are equivalent to initial conditions of zero.
•
|
output = algebraic, list(algebraic), or listlist(algebraic)
|
Specifies the expressions to plot.
A single algebraic expression generates a plot of the expression versus time. The names of the system variables in the expression are replaced with their values at each instant of the solution. For example, for a continuous system with y1 as an output variable and x1 as a state variable, the expression t*x1*y1^2 plots versus .
A list(algebraic) expression generates a multiplot of each element in the list versus time. The names of the system variables in the elements are replaced with their values at each instant of the solution. For example, for a discrete system with y1 and y2 as an output variables and u1 as an input variable, the list [y1, y2/u1] plots y1(q) versus q and y2(q)/u1(q) versus q.
A listlist(algebraic) expression generates a parametric multiplot, with each sublist specifying the coordinates of the corresponding plot. If the sublists contain two elements, then the plots are 2-D plane curves. If the sublists contain three elements, then the plots are 3-D space curves. The names of the system variables in the elements are replaced with their values at each instant of the solution. For example, for a continuous system with y1 and y2 as output variables, the listlist [[y1, y2]] plots versus .
As described above, system variables are substituted for the corresponding names in the expressions. Continuous systems do not have access to the input variables, while discrete systems do.
The default is to plot all output variables of a system versus time.
•
|
parameters = set(name = complexcons) or list(name = complexcons)
|
|
Specifies numeric values for parameters in sys. These values override those specified by the parameters field of the system object, which in turn override the settings in in SystemOptions(parameters). The numeric value on the right-hand side of each equation is substituted for the name on the left-hand side in the expressions that define the model. No checking is done during the substitution to determine whether the substituted value is valid. For example, a complex value can be substituted for the coefficient of a polynomial. If the complex value had been originally assigned to the model at creation, a warning would be generated.
|
|
Continuous System Options
|
|
•
|
dsolveargs = list( equation )
|
Specifies extra parameters to be passed to dsolve. The simulation is achieved by formulating the system as a set of differential equations and then passing them to dsolve. With this option additional parameters can be passed to dsolve. See dsolve/numeric/DAE for details.
Specifies the duration of the simulation. The simulation starts at and proceeds until t = duration. The default value is assigned by DynamicSystems[SystemOptions].
•
|
ignoredirac = truefalse
|
|
True means replace any function calls to Dirac in the system with 0; false means raise an error when a Dirac is present in the system. The default is false.
|
|