IndustrialControlSystems.MathOperations.IntegerType

Integer mathematical operations

Information

  

Description

This sub-package contains the math operations for integer numbers.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
IndustrialControlSystems.MathOperations.IntegerType.Add Add Sum of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Sub Sub Difference of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Div Div Integer division of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Mod Mod Modulus of Integer division of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Mult Mult Product of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Pow Pow Power of two integer numbers
IndustrialControlSystems.MathOperations.IntegerType.Expression Expression User defined function integer function
IndustrialControlSystems.MathOperations.IntegerType.Functions Functions Functions
IndustrialControlSystems.MathOperations.IntegerType.Interfaces Interfaces Interfaces

IndustrialControlSystems.MathOperations.IntegerType.Add IndustrialControlSystems.MathOperations.IntegerType.Add

Sum of two integer numbers

Information

  

Description

Model of a sum of two integers.
The output ( y ) is the sum of the inputs ( u1, u2 ) signals.

    y = u1 + u2
  

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Sub IndustrialControlSystems.MathOperations.IntegerType.Sub

Difference of two integer numbers

Information

  

Description

Model of a difference of two integers.
The output ( y ) is the difference of the inputs ( u1, u2 ) signals.

    y = u1 - u2
  

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Div IndustrialControlSystems.MathOperations.IntegerType.Div

Integer division of two integer numbers

Information

  

Description

Model of the integer division difference of two integers.
The output ( y ) is the integer division of the inputs ( u1, u2 ) signals.

    y = div(u1,u2)
  

If the input u2 is equal to 0, an error is reported.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Mod IndustrialControlSystems.MathOperations.IntegerType.Mod

Modulus of Integer division of two integer numbers

Information

  

Description

Model of the modulus of integer division difference of two integers.
The output ( y ) is the modulus of the integer division of the inputs ( u1, u2 ) signals.

    y = mod(u1,u2)
  

If the input u2 is equal to 0, an error is reported.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Mult IndustrialControlSystems.MathOperations.IntegerType.Mult

Product of two integer numbers

Information

  

Description

Model of the product of two integers.
The output ( y ) is the product of the inputs ( u1, u2 ) signals.

    y = u1*u2
  

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Pow IndustrialControlSystems.MathOperations.IntegerType.Pow

Power of two integer numbers

Information

  

Description

Model of the power of two integers.
The output ( y ) is the input ( u1 ) to the power of the second input ( u2 ) signals.

    y = u1 ^ u2
  

The input u1 cannot be equal to zero if the second one, u2, is less than zero.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntSimpleOperation (Partial interface of a generic two input integer math operation).

Parameters

NameDescription
Tssampling time

Connectors

NameDescription
u1input
u2input
youtput

IndustrialControlSystems.MathOperations.IntegerType.Expression IndustrialControlSystems.MathOperations.IntegerType.Expression

User defined function integer function

Information

  

Description

Model of a generic function of n integers.
The output ( y ) is the result of the generic function f(.) of the inputs ( u(:) ) signals.

    y = f(u[:])
  

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.MathOperations.IntegerType.Interfaces.IntNinOperation (Partial interface of a generic n-input integer math operation).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
fnameString that represent the name of the implemented function

Connectors

NameDescription
u[nInput]input vector
youtput

Automatically generated Mon May 21 13:34:14 2012.