timescales
Nested timeframes and calendars for optimization and simulation models
timescales organizes the time dimension of model data: build nested calendars — from annual to hourly, typical periods, and fiscal years — keep your tables as tables while they gain calendar structure, convert values between any two resolutions with conserved totals, sample partial years, and see every level of a design at once. The R implementation is active; a C++ core and Python bindings are in development.
Documentation
| Language | Status | Documentation |
|---|---|---|
| R | Available | R reference and articles |
| C++ | In development | — |
| Python | In development | — |
- Source on GitHub
- Companion package for the spatial dimension: geoscales
Released under the Apache License 2.0.