Skip to main content

Add your description here

Project description



RePeriods : a tool to find Representatives Periods

What is it?

RePeriods is a Python package that provides multiple methods to process time series in order to find Representative Periods.
Representative Periods (RPs) are a concept often used in the context of energy systems and optimization. They are particularly useful in situations where you want to model and analyze the behavior of a system over time, but it's computationally or practically infeasible to consider every individual time step. RPs are used to capture the essential characteristics of a time series in a more manageable way. Here are some specific applications where RPs can be useful:

  1. Energy System Modeling: RPs can be used in the modeling of energy systems, such as power grids or renewable energy generation, to represent the variability and uncertainty of energy sources over time. They provide a way to simplify complex time series data while preserving key features.

  2. Energy Management: In energy management systems, RPs can help make decisions about how to allocate energy resources optimally. By using RPs, you can make informed decisions about when to generate, store, or use energy based on representative patterns.

  3. Optimization: RPs are commonly used in optimization problems, where they can significantly reduce computational complexity. Instead of considering every time step, you can optimize over a set of RPs, which captures the essential behavior of the system.

  4. Long-Term Planning: When planning for the long term, RPs can help in scenarios like capacity expansion of power plants, designing energy storage systems, or making investment decisions in renewable energy projects. They allow you to consider long-term trends without needing high-resolution data.

  5. Risk Assessment: RPs can be used in risk assessment and scenario analysis. By considering a range of representative scenarios, you can evaluate the potential impacts of various uncertainties on your system.

  6. Control Strategies: In control systems, RPs can inform control strategies by providing a simplified representation of system dynamics. This can be especially useful in real-time control applications.

  7. Forecasting: RPs can be used as a basis for forecasting future energy generation or consumption. Forecasting based on representative patterns is often more computationally efficient than forecasting every time step.

  8. Research and Analysis: Researchers and analysts may use RPs to study the behavior of energy systems, identify trends, and gain insights into system performance without the computational burden of analyzing every data point.

In summary, RPs are a valuable tool in various aspects of energy system analysis, optimization, and decision-making. They allow you to strike a balance between capturing important temporal dynamics and managing computational complexity. The choice of RPs and how they are defined can have a significant impact on the accuracy and efficiency of models and systems in the field of energy management and beyond.

Table of Contents

Install

Can be installed with Pypi :

pip install reperiods

or if needed :

pip install reperiods[kmedoids]

Dependencies

reperiods requires,

  • Python >= 3.10
  • pandas>=2.0.3, for time series management
  • plotly>=5.15.0, for embedded visualisation
  • PuLP>=2.7.0, for optimization process

If you want to use k-medoids method, you need:

  • scikit-learn-extra>=0.3.0, for k-medoids process

That requires python<3.12 and numpy<2.0.

Documentation

See https://robinsonbeaucour.github.io/RePeriods/ .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reperiods-2.0.1.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reperiods-2.0.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file reperiods-2.0.1.tar.gz.

File metadata

  • Download URL: reperiods-2.0.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for reperiods-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f3fe8818f8c0d1a2aec3c29d833d147d40df8647799658bdb7e55758050e38a0
MD5 bfa0f86ab006552a8ca97c61ab70f2a9
BLAKE2b-256 496e364fa304f47f4887c1593d7afcf33f9462fdbcc22559f5c4722062d4df81

See more details on using hashes here.

Provenance

The following attestation bundles were made for reperiods-2.0.1.tar.gz:

Publisher: python-publish.yaml on RobinsonBeaucour/RePeriods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reperiods-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: reperiods-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for reperiods-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf230196649db6e4b85019b9acf3b78c7edbb767d661dd2461e0d7405b981c5a
MD5 e40ae74087d7de6fe603c3c0f782ddf3
BLAKE2b-256 865626c63fe3230d6c6f6673638803a6b759f682d0bfb767b717a74a1346428b

See more details on using hashes here.

Provenance

The following attestation bundles were made for reperiods-2.0.1-py3-none-any.whl:

Publisher: python-publish.yaml on RobinsonBeaucour/RePeriods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page