Maximum of input values.
Syntax
Prefix Max(expression)
- expression: signal expression
- Prefix
- TIME for calculation of the Maximum for all time steps for one entity (default setting, can also be neglected)
- Time Max("x" in "unit") function returns the maximum i.e. of all the elements within the given time range.
- ENTITY calculation of the Maximum for all entities at one time step (has to be placed in front of function if needed)
- Entity Max("x" in "unit") function returns the maximum i.e. of all the entities for a given time step.
- TIME for calculation of the Maximum for all time steps for one entity (default setting, can also be neglected)
Example
Time Max("produced water per time increment" in "STB")
alternative version
Max("produced water per time increment" in "STB")
As you see in the following table the Max function produces following output based on the 'original signal' as input:
Date/Time |
Original Signal |
Time Max |
01.02.2007 00:00 |
8 |
0 |
01.03.2007 00:00 |
0 |
0 |
01.04.2007 00:00 |
15 |
0 |
01.05.2007 00:00 |
22 |
0 |
01.06.2007 00:00 |
24 |
0 |
01.07.2007 00:00 |
13 |
0 |
01.08.2007 00:00 |
27 |
0 |
01.09.2007 00:00 |
6 |
0 |
Entity Max("produced water per time increment" in "STB")
As seen in the following table the Entity Max function produces following output based on the 'original signal1' and 'original signal2' as input:
Date/Time |
Original Signal1 |
Original Signal2 |
Entity Max for signal1 |
Entity Max for signal 2 |
01.02.2007 00:00 |
8 |
#NULL! |
27 |
34 |
01.03.2007 00:00 |
0 |
#NULL! |
27 |
34 |
01.04.2007 00:00 |
15 |
19 |
27 |
34 |
01.05.2007 00:00 |
22 |
12 |
27 |
34 |
01.06.2007 00:00 |
24 |
34 |
27 |
34 |
01.07.2007 00:00 |
13 |
19 |
27 |
34 |
01.08.2007 00:00 |
27 |
15 |
27 |
34 |
01.09.2007 00:00 |
6 |
19 |
27 |
34 |