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 and Python implementations are available; a C++ core is in development.
Documentation
| Language | Status | Documentation |
|---|---|---|
| R | Available | R reference and articles |
| C++ | In development | — |
| Python | Available | Python reference |
- Source on GitHub
- Companion package for the spatial dimension: geoscales
Released under the Apache License 2.0.