ActivatedConstraint2

Activate constraint block with derivative

    ActivatedConstraint2

Library

StateMachine

Description

This block is based on the Activate Constraint block,
but it imposes the constraint that their inputs be zero only when they are activated.

Parameters

ActivatedConstraint2_0

NameLabelDescriptionData TypeValid Values

x0

Initial output guess value

Vector

x0d

Initial output derivative guess value

Vector

Ports

NameTypeDescriptionIO TypeNumber

x

explicit

output

1

x'

explicit

output

2

=0

explicit

input

1

Port 4

activation

input

1

Diagram

ActivatedConstraint2