# MIN

### Description

Extracts the minimum on a set of numbers or event values

### MIN(Vector\<Number/Event>)

```java
MIN(vector: Vector<Number/Event>): Scalar<Number>
```

Extract the lowest value as Scalar\<any> from the given parameter.

#### Parameters

<table><thead><tr><th width="172">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>vector</td><td>A vector of type &#x3C;Number/Event></td></tr></tbody></table>

#### Returns

Returns the lowest value as Scalar\<Number>

***

### MIN(GroupedScalar\<any, Number/Event>)

```java
MIN(group: GroupedScalar<any, Number/Event>): Scalar<Number>
```

Extract the lowest value as Scalar\<any> from the given parameter.

#### Parameters

<table><thead><tr><th width="172">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>group</td><td>A GroupedScalar of type &#x3C;any, Number/Event></td></tr></tbody></table>

#### Returns

Returns the lowest value as Scalar\<Number>

***

### MIN(GroupedVector\<any, Number/Event>)

```java
MIN(group: GroupedVector<any, Number/Event>): Scalar<Number>
```

Extract the lowest value as Scalar\<any> from the given parameter.

#### Parameters

<table><thead><tr><th width="219">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>group</td><td>A GroupedVector of type &#x3C;any, Number/Event></td></tr></tbody></table>

#### Returns

Returns the lowest value as Scalar\<Number>

***

### Examples

Retrieve the minimum of the GridPowerConsumption time series.

```java
MIN($GridPowerConsumption)
```
