Package to create out of a single load profile a profile for a whole district using the diversity factor
Project description
Time Series Scaling Module (TSSM)
TSSM is a python package for the up-scaling of time series or load such as electricity, heating, etc.
Warning
This package is under heavy development!
Getting started
Install TSSM
Install tssm directly from PyPi as follows:
pip install tssm
Further installation instructions can be found in the documentation under 'Getting started'.
Usage
example usages can be found in the examples' folder.
Basic workflow
A small example how tssm can be used is described as follows:
# import module and Daily period variable
from tssm import TimeSeriesScalingModule as tssm, DAILY
# initialize class with a number of buildings of 202 with a simultaneity factor of 0.786
scaling = tssm(number_of_buildings=202, simultaneity_factor=0.786)
# read profile from data.csv file and use the Electricity and Date column
scaling.data.read_profile_from_csv_with_date(path="./data.csv", column_of_load="Electricity", column_of_date="Date")
# calculate linear scaled values with a daily simultaneity factor and average value
daily_scaled_values = scaling.calculate_using_average_values(period=DAILY)
Examples
A first example shows the linear approach. It scales the time series between the scaled time series and an average.
A second example shows the scaling approach. It scales the time series between the scaled time series and a scaling time series.
A third example shows the normal distribution approach. It scales the time series by applying a normal distribution to every time step.
A fourth example shows the different ways to import the data.
A fifth example shows the speed of the different approaches.
License
The module is licensed under BSD 3-Clause License.
Further, License information can be found here.
Reference
Acknowledgements
Content
The documentation of the tssm code can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tssm-0.0.4.tar.gz.
File metadata
- Download URL: tssm-0.0.4.tar.gz
- Upload date:
- Size: 115.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e498e0fc2a06c3a8cfc067433135011524c888b043b91aba0901c7a812df2f29
|
|
| MD5 |
5b4bea8b5364382e32a9a52875509036
|
|
| BLAKE2b-256 |
71e086114dcd2f73ca76b78d07ff3985fdc6f50ca9ef4fb161d4a53bda455a0e
|
File details
Details for the file tssm-0.0.4-py3-none-any.whl.
File metadata
- Download URL: tssm-0.0.4-py3-none-any.whl
- Upload date:
- Size: 114.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8189a2a2b2c12f6bc1346d42560013b2a4afd1c7601185c12df59cb230330987
|
|
| MD5 |
be040a92e6e747c4e6c5d99519019da7
|
|
| BLAKE2b-256 |
40cf26d636b768bec94d84cb65096233731d39da47e790b671a814e13e5e43c0
|