# Type Limit

![](https://459479801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9N5K8lMbAhbyBVgms%2Fuploads%2Fgit-blob-168625b6755451aca1b98f7a08470cfe620c15a4%2FType_Limit.png?alt=media)

![](https://459479801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9N5K8lMbAhbyBVgms%2Fuploads%2Fgit-blob-4a7e8c7c5ac92dc2ed5cc2a473dba2744cef1a95%2FType_Limit.png?alt=media) - [\[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;
