Skip to main content

Thermal model for transformers

Project description

Transformer thermal model

PyPI version License: MPL2.0 Downloads Downloads DOI

Quality Gate Status Code Smells Coverage Duplicated Lines (%) Maintainability Rating

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


Download files

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

Source Distribution

transformer_thermal_model-0.6.0.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

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

transformer_thermal_model-0.6.0-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file transformer_thermal_model-0.6.0.tar.gz.

File metadata

File hashes

Hashes for transformer_thermal_model-0.6.0.tar.gz
Algorithm Hash digest
SHA256 cee4905021a0b4a94c4ef7e7c21adf38ac05b687a6ed787f312e509403c1786d
MD5 7754f983e057fa8550de09380f98de41
BLAKE2b-256 d47f1dcead8623c3b8586e7b695288b7840324331f01f2561e6ac6fbea4115b2

See more details on using hashes here.

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

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

File details

Details for the file transformer_thermal_model-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for transformer_thermal_model-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28e9669c36f200c8565e6f1027a92a947eba2512856e624c7af32cafdad64b7b
MD5 3098322d869e70287c3c843d8f68c424
BLAKE2b-256 c06d422c83ba4e2ea8f7d6d6e5b0845529c6c87aaa8f44469aa16f5408eb107d

See more details on using hashes here.

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

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