# Standard scripts reference

## Calculate daylight autonomy

#### German Molina |  November 4, 2017 | version  1.0.0

Calcualtes the Daylight Autonomy for one or more workplanes

[See details](/emp-doc/standard-scripts-reference/calculate-daylight-autonomy.md)

### Inputs:

1. Expected lux -- required
2. Expected time -- required
3. Beggining of the occupied hours -- required
4. End of the occupied hours -- required
5. Workplanes to calculate -- required

## Convergence test

#### German Molina |  November 2, 2017 | version  1.0.0

Tries to find the 'best' ambient parameters for solving your model

[See details](/emp-doc/standard-scripts-reference/convergence-test.md)

### Inputs:

1. File with sensor points to perform test -- required
2. Number of randomly selected sensors to use for convergence test -- optional
3. Increase in Ambient Divisions (i.e. next AD will be arg3\*AD) -- optional
4. Increase in Ambient Bounces (i.e. next AB will be AB + arg4) -- optional

## Solves the whole model

#### German Molina |  November 2, 2017 | version  1.0.0

This script solves all the objectives in the model

[See details](/emp-doc/standard-scripts-reference/solves-the-whole-model.md)

### Inputs:

None

## Solves a single workplane

#### German Molina |  November 2, 2017 | version  1.0.0

This script solves all the objectives in the model that correspond to a single workplane

[See details](/emp-doc/standard-scripts-reference/solves-a-single-workplane.md)

### Inputs:

1. The workplane name -- required
2. A file with options -- optional


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://groundhoglighting.gitbook.io/emp-doc/standard-scripts-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
