DynamicSystems[ParallelConnect]  create the equivalent system representation of two or more system objects connected in parallel

Calling Sequence


ParallelConnect(systems, opts)
ParallelConnect(systems, inputconnections, opts)
ParallelConnect(systems, inputconnections, outputconnections, opts)


Parameters


systems



list(System); list of system objects

inputconnections



(optional) listlist or all or none; list of lists of indexes specifying input connections

outputconnections



(optional) listlist or all or none; list of lists of indexes specifying output connections

opts



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

•

Unless inputconnections or outputconnections are specified, all input vectors of each system object are connected together and all output vectors are summed. The returned system has the same number of inputs as each system object and the same number of outputs as each system object. For this reason, when no inputconnections or no outputconnections are specified, each system object must have the same number of inputs or outputs, respectively.

•

If inputconnections are provided, specific inputs of each system object are connected . For k system objects, each index list contains k indexes. The kth index in a list corresponds to an input in the kth system object. The number of input index lists must not exceed the size of the input vector of the system object with the least number of inputs. If all is specified, all input vectors of each system object are connected together. If none is specified, no inputs are connected together, therefore, the returned system has a number of inputs equal to the sum of all system object inputs.

•

If outputconnections are provided, specific outputs of each system object are summed. For k system objects, each index list contains k indexes. The kth index in a list corresponds to an output in the kth system object. The number of output index lists must not exceed the size of the output vector of the system object with the least number of outputs. If all is specified, all output vectors of each system object are summed. If none is specified, no outputs are summed, therefore, the returned system has a number of outputs equal to the sum of all system object outputs.

•

The system objects 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 ParallelConnect 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[ParallelConnect] command was introduced in Maple 18.



Examples


>


Example 1: Connect 2 MIMO systems in parallel
>


>


>


>


 (1) 
Now, using sys1 and sys2, merge all inputs, but do not sum the outputs.
>


>


 (2) 
Again, using sys1 and sys2, sum all outputs, but do not merge the inputs.
>


>


 (3) 
Example 2: Connect 2 MIMO systems in parallel with the 2nd input of sys1 connected to the 2nd input of sys2, and the 1st output of sys1 summed to the only output of sys2.
>


>


>


 (4) 
Example 3: Connect 3 MIMO systems in parallel with the 2nd, 3rd and 2nd inputs of sys1, sys2 and sys3 respectively connected together, the 3rd, 2nd and 1st inputs of sys1, sys2 and sys3 respectively connected together, and the 1st, 2nd and 3rd outputs of sys1, sys2 and sys3 respectively summed together.
>


>


>


>


>


 (5) 
Alternately, connect sys1c and sys2c first, and then connect sys3c to obtain the same result.
>


>


>


 (6) 

