# Type Limit

![](/files/-MihpehfHm2vTilOPHrF)

![](/files/-Mihpehg-Rqt3xuHayx3) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-energy/blob/master/honeybee_grasshopper_energy/src//HB%20Type%20Limit.py)

Create a custom ScheduleTypeLimit object that can be assigned to any schedule object.

Schedule types exist for the sole purpose of validating schedule values against upper/lower limits and assigning a data type and units to the schedule values. As such, they are not necessary to run energy simulations but their use is generally considered good practice.

## Inputs

* **name \[Required]**

  Text to set the name for the ScheduleTypeLimit. This should be unique to avoif conflcit with other schedule types.&#x20;
* **low\_limit**

  An optional number for the lower limit for values in the schedule. If None, there will be no lower limit.&#x20;
* **up\_limit**

  An optional number for the upper limit for values in the schedule. If None, there will be no upper limit.&#x20;
* **discrete**

  Boolean to not whether the values of the schedule are continuous or discrete. The latter means that only integers are accepted as schedule values. Default: False for 'Continuous'.&#x20;
* **unit\_type**

  Text for an EnergyPlus unit type, which will be used to assign units to the values in the schedule. Note that this field is not used in the actual calculations of EnergyPlus. Default: 'Dimensionless'. Choose from the following:

  * Dimensionless
  * Temperature
  * DeltaTemperature
  * PrecipitationRate
  * Angle
  * ConvectionCoefficient
  * ActivityLevel
  * Velocity
  * Capacity
  * Power
  * Availability
  * Percent
  * Control
  * Mode

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
* **type\_limit**

  A ScheduleTypeLimit object that can be assigned to any schedule object.&#x20;


---

# 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://docs.ladybug.tools/hb-energy-primer/components/2_schedules/type_limit.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.
