# Storage Threshold

## General Description

Returns one of two values depending on current volume in a Storage node. [API Reference](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.StorageThresholdParameter.html)

## Attributes

<table><thead><tr><th width="158">Name</th><th width="409">Description</th><th>Required</th></tr></thead><tbody><tr><td>threshold</td><td>Threshold to compare the value of the recorder to</td><td>Yes</td></tr><tr><td>storage</td><td>storage: pywr._core.AbstractStorage</td><td>Yes</td></tr><tr><td>ratchet</td><td>If true the parameter behaves like a ratchet. Once it is triggered first it stays in the triggered position (default=False)</td><td>Yes</td></tr></tbody></table>

## Example

coming soon...

```json
{

}
```


---

# 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://water-strategy.gitbook.io/waterstrategy/modeling-basics/parameters/threshold-parameters/storage-threshold.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.
