parallel (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

parallel (Control Design and Simulation Module, MathScript Function)

Member of the connect class.

Syntax

SysPar = parallel(SysIn_1, SysIn_2)

SysPar = parallel(SysIn_1, SysIn_2, inlist_1, inlist_2, outlist_1, outlist_2)

Description

Connects two system models in parallel to produce a model SysPar with input and output connections you specify. The input models must be either continuous models or discrete models with identical sampling times. Refer to the LabVIEW Control Design User Manual for information about connecting models together in a parallel configuration.

Examples

Inputs

Name Description
SysIn_1 Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
SysIn_2 Specifies an LTI model in transfer function, zero-pole-gain, or state-space form.
inlist_1 Specifies the index numbers of the SysIn_1 inputs this function connects to the inputs of the SysIn_2 model. For example, if inlist_1 is [1, 4] and inlist_2 is [3, 5], SysPar connects the first input of SysIn_1 to the third input of SysIn_2 and the fourth input of SysIn_1 to the fifth input of SysIn_2. inlist_1 is an integer vector.
inlist_2 Specifies the index numbers of the SysIn_2 inputs this function connects to the inputs of the SysIn_1 model. inlist_2 is an integer vector.
outlist_1 Specifies the index numbers of the SysIn_1 outputs this function sums with the outputs of the SysIn_2 model. For example, if outlist_1 is [3, 6] and outlist_2 is [3, 2], SysPar sums the third output of SysIn_1 with the third output of SysIn_2 and sums the sixth output of SysIn_1 with the second output of SysIn_2. outlist_1 is an integer vector.
outlist_2 Specifies the SysIn_2 outputs this function sums to the SysIn_1 outputs. outlist_2 is an integer vector.

Outputs

Name Description
SysPar Returns an LTI model consisting of the SysIn_1 and SysIn_2 models connected in parallel. SysPar is a model in transfer function, zero-pole-gain, or state-space form. If the input models are not of the same form, the following hierarchy determines the form of the SysPar model: state-space>zero-pole-gain>transfer function. For example, if the SysIn_1 model is in state-space form and the SysIn_2 model is in zero-pole-gain form, the SysPar model is in state-space form.

Examples

SysIn_1 = tf([1, 1], [1 -1, 3])SysIn_2 = zpk([1], [1, -1], 1)
SysPar = parallel(SysIn_1, SysIn_2)

Related Topics

append
feedback
series