Example project for Data center cooling pumps

The Uptimely Core example project uses synthetic telemetry for six cooling-system pumps across two data centers and four server rooms. It demonstrates asset hierarchies, time-based telemetry, and externally calculated measurements in an Uptimely Core workflow.

Health scores, warning thresholds, and operating-point recommendations are illustrative calculations.

The Uptimely project root is this directory. Keep uptimely.toml, spec/, data/, tests, and artifacts here. code/ is a separate Python source and development project, independent of the spec. Its init.sh syncs the code-specific environment.

Analytical profiles

Profile is Uptimely's primary concept to organize data science in manageable components.

Each profile is declared in spec/profiles/<profile_id>.yaml. Larger profiles can also use a spec/profiles/<profile_id>/ directory for fields such as features. Each profile names a seed operator that initializes its dataset, either by reading data or by transforming another profile.

Profile Purpose
pump_telemetry Combines pump readings with asset metadata.
pump Resolves capacity from the pump, series, then category and combines telemetry with external measurements.
constants Provides physical constants for cooling pump analytics.
pump_series Provides capacity metadata for pump series.
pump_category Provides capacity metadata for pump categories.
pump_telemetry_by_minute Summarizes maximum bearing temperature per pump and minute.
pump_telemetry_by_hour Summarizes maximum bearing temperature per pump and hour.
pump_telemetry_by_day Summarizes maximum bearing temperature per pump and day.
pump_telemetry_when_warning Filters telemetry to warning readings.
pump_telemetry_by_hour_when_warning Summarizes warning readings by hour and calculates an illustrative operating-point recommendation.

Project files

Path Purpose
data/input/ Synthetic telemetry, asset metadata, constants, and external workflow inputs.
data/output/ Materialized profile results written by the workflow.
code/src/pump_analytics.py Analytical calculations and profile transformations.
code/src/pump_io.py Input readers, output writers, and the sample external workflow.
code/src/pump_merge.py Custom merge for external measurements.
code/src/pump_util.py Small helper used by the analytical functions.
code/pyproject.toml Python runtime dependencies.
code/init.sh Installs uv if needed and syncs the code development environment.
code/.devcontainer/ Development container configuration.
spec/ YAML dimensions, function catalog, and profile declarations.
tests/ Provisional JSON input and expected output cases for non-I/O compute bindings.
uptimely.toml Project defaults, Engine settings, and configured input and output paths.
config/production.toml Production overrides for the project configuration.
artifacts/ The active build, Explorer snapshot, and latest run and test metadata, including test case data.

Entrypoint

The YAML files in spec/ describe the dimensions, functions, profiles, and operators. File and directory names identify keys in the combined Spec. Operators use Python function entrypoints and explicit feature references. The build derives function contracts and feature interfaces from those declarations.

Build and run

When a build is created, the YAML files are combined into a specification file in JSON format.

At the same time, a portable execution plan with resolved function arguments is generated. It can be consumed either by Uptimely's built-in engine, or deployed to any orcestrator that can execute Python functions.

Try yourself

Follow the steps in Uptimely Core readme or in documentation quick start to build, run and explore the project.