InitializeFlange

Initializes a flange with pre-defined position, speed and acceleration (usually, this is reference data from a control bus)

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This component is used to optionally initialize the position, speed, and/or acceleration of the flange to which this component is connected. Via parameters use_s_start, use_v_start, use_a_start the corresponding input signals s_start, v_start, a_start are conditionally activated. If an input is activated, the corresponding flange property is initialized with the input value at start time.

For example, if "use_s_start = true", then flange.s is initialized with the value of the input signal "s_start" at the start time.

Additionally, it is optionally possible to define the "StateSelect" attribute of the flange position and the flange speed via parameter "stateSelection".

This component is especially useful when the initial values of a flange shall be set according to reference signals of a controller that are provided via a signal bus.

Parameters (4)

use_s_start

Value: true

Type: Boolean

Description: = true, if initial position is defined by input s_start, otherwise not initialized

use_v_start

Value: true

Type: Boolean

Description: = true, if initial speed is defined by input v_start, otherwise not initialized

use_a_start

Value: true

Type: Boolean

Description: = true, if initial acceleration is defined by input a_start, otherwise not initialized

stateSelect

Value: StateSelect.default

Type: StateSelect

Description: Priority to use flange angle and speed as states

Connectors (4)

s_start

Type: RealInput

Description: Initial position of flange

v_start

Type: RealInput

Description: Initial speed of flange

a_start

Type: RealInput

Description: Initial angular acceleration of flange

flange

Type: Flange_b

Description: Flange that is initialized

Components (4)

set_s_start

Type: Set_s_start

set_v_start

Type: Set_v_start

set_a_start

Type: Set_a_start

set_flange_f

Type: Set_flange_f