Thermal model for transformers
Project description
Transformer thermal model
transformer-thermal-model is a library for modelling the transformer top-oil and
hot-spot temperature based on the transformer specifications, a load profile and an ambient temperature profile.
The model is an implementation according to the standard IEC 60076-7, also known as de Loading Guide.
Quick Start
Install from PyPI:
pip install transformer-thermal-model
Simple example:
import pandas as pd
from transformer_thermal_model.model import Model
from transformer_thermal_model.cooler import CoolerType
from transformer_thermal_model.schemas import UserTransformerSpecifications, InputProfile
from transformer_thermal_model.transformer import PowerTransformer
# Create transformer specs
tr_specs = UserTransformerSpecifications(
load_loss=1000, nom_load_sec_side=1500, no_load_loss=200, amb_temp_surcharge=20
)
transformer = PowerTransformer(user_specs=tr_specs, cooling_type=CoolerType.ONAF)
# Create load and ambient temperature profiles
datetime_index = pd.date_range("2020-01-01", periods=168, freq="15min")
profile_input = InputProfile.create(
datetime_index=datetime_index,
load_profile=pd.Series([1250] * 168, index=datetime_index),
ambient_temperature_profile=pd.Series([21] * 168, index=datetime_index),
)
# Run the model
model = Model(temperature_profile=profile_input, transformer=transformer)
results = model.run()
For more examples, see the documentation.
Features
- Temperature modeling: Calculate top-oil and hot-spot temperatures according to IEC 60076-7
- Multiple transformer types: Power, distribution, and three-winding transformers are supported
- ONAN/ONAF modelling: Model with different cooling types
- Hot-spot calibration: Automatic calibration of hot-spot factors
- Aging calculations: Analyze transformer aging
Documentation
License
This project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.
Licenses third-party libraries
This project includes third-party libraries, which are licensed under their own respective Open-Source licenses. SPDX-License-Identifier headers are used to show which license is applicable.
The concerning license files can be found in the LICENSES directory.
Contributing
Please read CODE_OF_CONDUCT, CONTRIBUTING and PROJECT GOVERNANCE for details on the process for submitting pull requests to us.
Contact
Please read SUPPORT for how to get in touch with the Transformer Thermal Model project.
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 transformer_thermal_model-0.6.0.tar.gz.
File metadata
- Download URL: transformer_thermal_model-0.6.0.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee4905021a0b4a94c4ef7e7c21adf38ac05b687a6ed787f312e509403c1786d
|
|
| MD5 |
7754f983e057fa8550de09380f98de41
|
|
| BLAKE2b-256 |
d47f1dcead8623c3b8586e7b695288b7840324331f01f2561e6ac6fbea4115b2
|
Provenance
The following attestation bundles were made for transformer_thermal_model-0.6.0.tar.gz:
Publisher:
publish.yaml on alliander-opensource/transformer-thermal-model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
transformer_thermal_model-0.6.0.tar.gz -
Subject digest:
cee4905021a0b4a94c4ef7e7c21adf38ac05b687a6ed787f312e509403c1786d - Sigstore transparency entry: 1348854838
- Sigstore integration time:
-
Permalink:
alliander-opensource/transformer-thermal-model@1248c1271dced96bb74c369d39e822dd9ef91d29 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alliander-opensource
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@1248c1271dced96bb74c369d39e822dd9ef91d29 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file transformer_thermal_model-0.6.0-py3-none-any.whl.
File metadata
- Download URL: transformer_thermal_model-0.6.0-py3-none-any.whl
- Upload date:
- Size: 52.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28e9669c36f200c8565e6f1027a92a947eba2512856e624c7af32cafdad64b7b
|
|
| MD5 |
3098322d869e70287c3c843d8f68c424
|
|
| BLAKE2b-256 |
c06d422c83ba4e2ea8f7d6d6e5b0845529c6c87aaa8f44469aa16f5408eb107d
|
Provenance
The following attestation bundles were made for transformer_thermal_model-0.6.0-py3-none-any.whl:
Publisher:
publish.yaml on alliander-opensource/transformer-thermal-model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
transformer_thermal_model-0.6.0-py3-none-any.whl -
Subject digest:
28e9669c36f200c8565e6f1027a92a947eba2512856e624c7af32cafdad64b7b - Sigstore transparency entry: 1348854965
- Sigstore integration time:
-
Permalink:
alliander-opensource/transformer-thermal-model@1248c1271dced96bb74c369d39e822dd9ef91d29 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alliander-opensource
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@1248c1271dced96bb74c369d39e822dd9ef91d29 -
Trigger Event:
workflow_dispatch
-
Statement type: