blockInverseBlockConstraints
Construct inverse model by requiring that two inputs and two outputs are identical
Information
Exchange input and output signals of a block, i.e., the previous block inputs become block outputs and the previous block outputs become block 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 InverseBlockConstraints instances:
InverseBlockConstraint invert[3]; // Block to be inverted has 3 input signals
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u1 | Input signal 1 (u1 = u2) | |
| Modelica.Blocks.Interfaces.RealInput | u2 | Input signal 2 (u1 = u2) | |
| Modelica.Blocks.Interfaces.RealOutput | y1 | Output signal 1 (y1 = y2) | |
| Modelica.Blocks.Interfaces.RealOutput | y2 | Output signal 2 (y1 = y2) |