These are heat sum thresholds for transition from one phase to another. **The defaults are arbitrarily chosen, and have no relevance to actual biology (until some research results have been provided and we can define the defaults sensibly)**
*`THRESHOLD_1` Eggs to larvae. Default = 260.0
*`THRESHOLD_2` Larvae to pupa. Default = 360.0
*`THRESHOLD_3` Larvae to adult. Default = 560.0
#### Heat sum cutoffs
The daily contribution to the heat sum is calculated from min and max temperatures using the single sine wave function.
The single sine wave function has by default the cutoffs set to 0.0 (lower) and 40.0 (upper). These can be adjusted by setting the parameters `dd_lower` and `dd_upper`
It is recommended to use an IDE (Integrated Development Environment) such as [NetBeans](https://netbeans.apache.org/) or [Eclipse](https://www.eclipse.org/) to develop and test the model.