Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Sv translation
languageen

Bricks in QUDE represent commands in our system. They have to be combined in an logical order to lead to the desired results. In this article, we'll be talking about the bricks in QUDE and their functions.

Info
titleHelpful articles

Take a look at our article "Introduction to QUDE" if you want to know more about QUDE in general.

Plus, we prepared some helpful examples about the creation of evaluation rules for data points and message rules.



All bricks and their functions:

NameBrickDescription
Result

Whatever is tied to the right side of the result brick defines the result of the calculation.

More There can be more than one result brick can be used for in an evaluation rule, if there is more than one relevant outcome.

The calculation is finished when once one result brick is evaluated.

Data point: The value transferred from the right side is saved to the time series.

Message rule: A message rule is generated whenever the transferred value from the right equals "true".

Bricks for values
Numeric data point

Numeric data points, that have been added to the data point list with the help of the search function, can be chosen in this brick and get integrated into the calculation.

Boolean data point

Boolean data points, that have been added to the data point list with the help of the search function, can be chosen in this brick and get integrated into the calculation.

Enumeration

Enumerations, that have been added to the data point list with the help of the search function, can be chosen in this brick and get integrated into the calculation.

Facility property

Facility properties, that have been added to the property list with the help of the search function, can be chosen in this brick and get integrated into the calculation.

Constant

Used to include a constant, numeric value into in the calculation, that can be chosen in the brick.

Outcome: Numeric

example

Logical expressions with boolean outcome ("true" or "false")
Relational operator

Compares the right and left expression by using the chosen relational operator.

Relational operators: =, ≠, <, ≤, > and ≥

example

Boolean operator

Brick to logically combine multiple boolean values with each other.

Options: TRUE (Conjuction) / FALSE (Disjuction)

example

Boolean value

Used to include a constant boolean value in the evaluation, that can be chosen via drop down.


Condition

Checks a numeric expression for a condition.

Conditions:

  • even
  • odd
  • prime
  • whole
  • positive
  • negative
  • divisible by (an additional expression ca be added)
Schedule

Checks, if the current time stamp is inside (is active) or outside (is not active) of the included schedule (facility property).

example

Calculation rules with numeric outcome
Basic calculation operations

Compares the right and left expression by using the chosen basic calculation operator.

Calculation operations: +, -, x, : and ^

example

Calculation rules

Applies the selected calculation rule to the right-bound numeric expression.

Calculation rulesSquare root, absolute value, - (negativ mathematical sign), Integral, log10, e^ and 10^

Triogonometric functions

Applies the selected function to the right-bound numeric expression.

Functionssin, cos, tan, asin, acos and atan

Mathematical constants

Used to include a mathematical constant in the calculation, that can be chosen via dropdown.

Mathematical constants: π, e, φ, √2, √½ and ∞

Conditionals and loops

Conditional

This brick is used to only perform a calculation ("do"), whenever a certain condition ("if") is met.

The calculated calculation that is linked to "do" will be performed if the expressions at "if" equals "true".

If the condition equals "false", it will not be perfomed.

Instead, the calculation will continue below the brick.


Conditional with further outcome

This brick is used to add a further outcometo outcome to the procedure of a calculation ("else").

If the condition in "if" is "true", the part in "do" will be triggered

If the condition in "if" is "fale", the part in "else" will be triggered

Example

Loop

 Calculations can be repeated with this brick. The number of loops depends on the numeric expression, that is docked at linked to "repeat x times".

"reapeat x times" can only be combined with an expression, that represents an integer.

Variables
Definition of a variable

Brick to determine the value of a variable in "item".

"item" is the name of a variable that can be defined individually.

Supported data types: Boolean, numeric, enumerative

example

Variable


Retrieves the value of a defined variable