# Gene Pool to Day Schedule

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

![](https://459479801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9N5K8lMbAhbyBVgms%2Fuploads%2Fgit-blob-6a3f4fc87beeeca2c244a4d1da93c45c56106ba9%2FGene_Pool_to_Day_Schedule.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-energy/blob/master/honeybee_grasshopper_energy/src/HB%20Gene%20Pool%20to%20Day%20Schedule.py)

Modify a native Grasshopper Gene Pool component into a format that makes it easy to input daily schedules into the other schedule components.

This essentially turns the Gene Pool into a list of 24 sliders representing an hourly timeseries over a day. Each slider runs from the *low\_bound* to *high\_bound*.

## Inputs

* **gene\_pool \[Required]**

  The output of a native Grasshopper Gene Pool component.&#x20;
* **template**

  An integer for the template for which the values of the gene pool will be set. Default: 0. Choose one of the templates:&#x20;

  0 - maximum values from 9:00 to 17:00 1 - minimum values from 9:00 to 17:00 2 - maximum values from 7:00 to 22:00 3 - minimum values from 7:00 to 22:00 4 - maximum values from 0:00 to 24:00 5 - minimum values from 0:00 to 24:00&#x20;
* **low\_bound**

  A number for the lower boundary of the schedule values.&#x20;
* **up\_bound**

  A number for the upper boundary of the schedule range.&#x20;
* **decimals**

  An integer greater than or equal to 0 for the number of decimal places to use in each slider. Default: 1.&#x20;
* **run \[Required]**

  Set to "True" to run the component and modify the connected gene pool. Note that you on't be able to edit a connected gene pool while this input is set to "True".&#x20;

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
