InverseBlockConstraints

Construct inverse model by requiring that two inputs and two outputs are identical

    InverseBlockConstraints

Library

Blocks/Math

Description

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

Parameters

InverseBlockConstraints_0

NameLabelDescriptionData TypeValid Values

mo_u1

u1

u1

Structure

mo_u1/fixed

fixed

Cell of scalars

true
false

mo_u1/start

start

Cell of scalars

mo_u2

u2

u2

Structure

mo_u2/fixed

fixed

Cell of scalars

true
false

mo_u2/start

start

Cell of scalars

mo_y1

y1

y1

Structure

mo_y1/fixed

fixed

Cell of scalars

true
false

mo_y1/start

start

Cell of scalars

mo_y2

y2

y2

Structure

mo_y2/fixed

fixed

Cell of scalars

true
false

mo_y2/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

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