Boolean To Integer - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Signal Converters : componentLibrary/signalBlocks/signalConverters/BooleanToInteger

Boolean To Integer

Converts a Boolean signal to an integer signal

 

Description

Connections

Variables

Parameters

See Also

Description

The Boolean To Integer component converts the Boolean input, u, to an integer value preset by the parameters Integer True and Integer False. The equation of this component is

y=integerFalseu=falseintegerTrueu=true

Connections

Name

Description

u

Connection for the Boolean input signal

y

Connection for the integer output signal

Variables

Symbol

Units

Description

u

-

Boolean input signal

y

-

Integer output signal

Parameters

Symbol

Default

Units

Description

Modelica ID

Integer True

1.0

-

Output signal for true Boolean input

integerTrue

Integer False

0.0

-

Output signal for false Boolean input

integerFalse

See Also

Signal Converters

Signal Blocks Overview

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

 

 

 

 

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam