Skip to main content

pyedautils

Python Energy Data Analysis Utilities

CI - Test Coverage PyPI Latest Release PyPI Downloads

A pip-installable library of compact utility functions for analyzing and visualizing energy and comfort time-series data.

Features

  • Data I/O — Save/load DataFrames in CSV, pickle, compressed pickle, and JSON formats
  • Data quality — Gap, stuck-value and range-outlier detection, interval inference, ok/warning/critical flags, missing-value plots
  • Thermal comfort — SIA 180:2014 adaptive comfort curves, summer-half-year filter, overheating hours/KPIs (Minergie / SIA 180), comfort-compass distribution
  • Psychrometrics — Moist-air states (dew point, wet bulb, enthalpy, density) and air-handling processes (heating, cooling, humidification, mixing, heat recovery)
  • Energy signature — Proposed Energy Signature (Eriksson et al. 2020): balance temperature, heat loss coefficient, DHW and circulation demand
  • Unit conversion — SI ↔ IP conversions for psychrometric quantities, including whole moist-air states
  • Degree days / climate correction — Swiss HGT 20/12, ATD (SIA 380), CDD, reference climatology, SIA-380-style normalization, fixed-base degree-day regression (ASHRAE G14 metrics), BFE GT&S method
  • Geocoding — Address geocoding, WGS84/LV95 conversion, altitude lookup, Swiss postal codes, Haversine distance
  • Plotting — Plotly- and D3-based visualizations:
    • daily profiles with confidence bands, median-week and calendar heatmaps
    • energy signature (simple and PES), seasonal plots (overlapping, miniplots, before/after, polar), density by season
    • comfort: SIA 180, Mollier h,x-diagram, comfort compass, comfort donuts, overheating, temperature/humidity time series
    • statistics: sum frequency, STL decomposition, distribution, boxplot, outliers, correlation, scatter, autocorrelation
    • heating/cooling gradient boxplots, solar-influence dual-axis plot
    • degree days vs. reference, degree-day regression
  • Data preparation
    • Season detection — Astronomical or meteorological season classification for any date
    • Solar position — Sun elevation and azimuth for a location and time (single timestamp or vectorized over a pandas Series/DatetimeIndex)
    • Gradients — Heating/cooling gradients (K/h) by direction and season
    • Solar influence — Detect direct solar influence on a sensor
    • Reshape — Per-id resampling of long-format data, IQR outlier removal, long-to-wide pivoting
  • Swiss weather data
    • MeteoSwiss — Download historical 10-minute/hourly/daily data (open data portal) by station or postal code, current measurements, nearest station by sensor type and altitude
    • Agrometeo.ch — Station list, nearest station, download of hourly weather data by station or postal code
    • Swiss open data — Monthly degree-day series of the BFE and the Stadt Zürich

Installation

pip install pyedautils

Quick start

from pyedautils.plots import plot_daily_profiles_overview
from pyedautils.data_io import load_data

df = load_data("my_data.csv")
fig = plot_daily_profiles_overview(df)
fig.show()

Documentation

Full API reference, examples with interactive plots, and usage guides:

retomarek.github.io/pyedautils

License

Disclaimer — The author declines any liability or responsibility in connection with the published code and documentation.

Metadata

Release files for pyedautils 0.0.30

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyedautils 0.0.30
File Size Uploaded Provenance Actions
pyedautils-0.0.30.tar.gz 1.3 MB Without provenance Details for pyedautils-0.0.30.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyedautils 0.0.30
File Interpreter ABI Platform Actions
pyedautils-0.0.30-py3-none-any.whl Python 3 none any Details for pyedautils-0.0.30-py3-none-any.whl

Total release size: 2.1 MB

Release files / pyedautils-0.0.30.tar.gz

Download URL pyedautils-0.0.30.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
82d5717424c1b5026a43805c94b56aee4a8e1e1cfd889589fe769fb883f5aab1
BLAKE2b-256 checksum
How to use checksums
07aed205183fc28fb7bf26f6b072eb1572b3604be0d80f7d548f86057fdc4d82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / pyedautils-0.0.30-py3-none-any.whl

Download URL pyedautils-0.0.30-py3-none-any.whl
Size 827.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a107a172fa322caa68f01fbb45d137d0e40b52780799dbbf91c2dc35c6d1af3
BLAKE2b-256 checksum
How to use checksums
386104c4e7dfd371d87e7894f104f0d463aa9ea512fcc550f1c13655225601f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for pyedautils 0.0.30

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.30 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page