DynamicSystems[SeriesConnect]  create the equivalent system representation of two or more system objects connected in series

Calling Sequence


SeriesConnect(systems, indexes, opts)


Parameters


systems



list(System); list of system objects

indexes



(optional) list(list); list of lists specifying the indexes of the outputs and inputs to be connected in two consecutive systems in series, i.e. [[outputs sys 1], [inputs sys 2], [outputs sys 2],..., [inputs sys n]].

opts



(optional) equation(s) of the form option = value; specify options for the SeriesConnect 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 SeriesConnect command creates the equivalent system representation of two or more system objects connected in series.

•

The systems are connected in series in the order specified, matching the outputs of the previous system to the inputs of the next system unless index lists are specified.

•

If indexes is provided, specific outputs of the previous system are connected to specific inputs of the next system in the order given by the indexes in the lists.

•

When two systems are specified, the first list contains the indexes of the outputs of the first system, and the second list contains the indexes of the inputs of the second system. For subsequent series connections, the same rule applies. For n systems, the necessary number of index lists is (2n  2).

•

The returned system has the same number of inputs as the first system specified, and the same number of outputs as the last system specified.

•

The systems must be either all continuous or all discrete with the same sampling times.

•

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 SeriesConnect 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].



Compatibility


•

The DynamicSystems[SeriesConnect] command was introduced in Maple 18.



Examples


>


Example 1: SISO series connection
>


>


>


>


 (1) 
Example 2: MIMO series connection
>


>


>


>


 (2) 
Example 3: Series connection of two systems with 2nd output of 1st system to 1st input of 2nd system
>


>


>


 (3) 
Example 4: Series connection of two systems with 1st output of 1st system to 2nd input of 2nd system and 2nd output of 1st system to 1st input of 2nd system
>


>


 (4) 
Example 5: Series connection of three systems as shown in the figure.
>


>


 (5) 
Alternately, using the series4 result:
>


>


 (6) 

