InverseBlockConstraints
Construct inverse model by requiring that two inputs and two outputs are identical
Library
Modelica/Blocks/Math
Description
Exchange input and output signals of a block, i.e., the previousblock inputs become block outputs and the previous block outputs becomeblock inputs. This block is used to construct inverse models.Its usage is demonstrated in example:Modelica.Blocks.Examples.InverseModel.
Note, if a block shall be inverted that has several input and output blocks,then this can be easily achieved by using a vector of InverseBlockConstraintsinstances:
InverseBlockConstraint invert[3]; // Block to be inverted has 3 input signals
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u1 | implicit | Input signal 1 (u1 = u2) | input | 1 |
u2 | implicit | Input signal 2 (u1 = u2) | input | 2 |
y1 | implicit | Output signal 1 (y1 = y2) | output | 1 |
y2 | implicit | Output signal 2 (y1 = y2) | output | 2 |