Subsystem - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

DynamicSystems

  

Subsystem

  

extract the subsystem from a system by specifying a set of inputs, outputs, and/or states

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Subsystem(system, opts)

Subsystem(system, inputs, opts)

Subsystem(system, inputs, outputs, opts)

Subsystem(system, inputs, outputs, states, opts)

Parameters

system

-

System; system object

inputs

-

set(posint), all, none; set of indexes of selected inputs to extract from system (the default is all)

outputs

-

set(posint), all, none; set of indexes of selected outputs to extract from system (the default is all)

states

-

set(posint), all, none; set of indexes of selected states to extract from system (the default is all)

opts

-

(optional) equation(s) of the form option = value; specify options for the Subsystem command

Options

• 

outputtype = tf, coeff, zpk, ss, or de

  

Specifies the subtype of the returned system object.  The default return type is based on the type of the system objects specified in the systems parameter. See the Description section for more details on the return type.

Description

• 

The Subsystem command extracts a subsystem from a system object given a set of selected inputs, outputs and/or states. The input, output, and state variables in the new subsystem are chosen based on the index of their corresponding sets as they appear in the original system object.

• 

The returned system type is the same as the input system type, unless the outputtype option is used, or the input is an ae system type.

• 

In the specific case when the system parameter is an algebraic equation (ae) and no option is specified, the Subsystem command returns a system object in state space form by default. If the algebraic equation system does not have a state space representation, an error is returned. For details on algebraic equation object support by the DynamicSystems package, see DynamicSystems[AlgEquation].

Examples

Define a state-space system with n states, m inputs, and p outputs.

(1)

Extract a subsystem with three inputs (u1(t), u2(t), and u4(t)), one output (y2(t)), and three states (x1(t), x3(t), and x6(t)).

(2)

Extract a subsystem in differential equation form  with all of the inputs, two outputs (y1(t) and y2(t)), and the first state.

(3)

Extract a subsystem with  three inputs (u1(t), u2(t), and u4(t)), output y2(t), and no states.

(4)

When the inputs, outputs, and states arguments are omitted, the Subsystem command returns the original system.

(5)

Extract a subsystem with no inputs, no outputs, and no states.

(6)

Extract subsystem with inputs u1(t), u2(t) and u3(t). Observe that index repetition and sorting are not relevant in a set.

(7)

Extract subsystem with inputs u1(t) and u3(t) and outputs y1(t) and y2(t).

(8)

Compatibility

• 

The DynamicSystems[Subsystem] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

Description of the Model of a Linear System Object

DynamicSystems

DynamicSystems[AlgEquation]

DynamicSystems[Coefficients]

DynamicSystems[DiffEquation]

DynamicSystems[PrintSystem]

DynamicSystems[StateSpace]

DynamicSystems[TransferFunction]

DynamicSystems[ZeroPoleGain]

 


Download Help Document