Extractor - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Extractor

Extract signal from vector

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Extractor component extracts a signal from an input vector based on an input index.

If the index input is out of range, then the output is 0 unless the parameter Allow Out of Range is true, then the output is the value of the Out of Range parameter.

Equations

y&equals;{uindex0<indexninOut of Range ValueAllow Out of Range Value0otherwise

Connections

Name

Description

Modelica ID

u

Real input vector

u

y

Real output signal

y

index

Integer input

index

Parameters

Name

Default

Units

Description

Modelica ID

nin

1

 

Number of inputs

nin

Allow Out Of Range

false

 

See description

allowOutOfRange

Out Of Range Value

1·1010

 

Output value if index is out of range

outOfRangeValue

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Routing

Selectors

Signal Blocks