Skip to main content

PT60

Public observations → reusable AC power-flow cases → a verifiable dataset and toolchain.

PT60 connects Portuguese public network, asset and operating records into reproducible AC power-flow cases for the 60, 130, 150, 220 and 400 kV network. The retained network contains 3,783 buses, 4,943 lines and 228 transformers. Two seasonal weeks provide 336 hourly samples of 15-minute operating intervals, with archived inputs, primary results and spatial-allocation comparisons.

Start here

Download the dataset · Read the paper and supporting material · Explore the network · Use the Python tools

Four deliverables

Deliverable Canonical entry
Dataset PT60 v2.1.0-rc2 download, including source attribution, manifest and file hashes
Python package pt60-tools on PyPI; import pt60, command pt60
Website Project and downloads, interactive map
Paper Chinese manuscript and supporting material; canonical local source: paper/PT60_SCIENTIFIC_DATA_CN_READER_FIRST_DRAFT.md

The dataset is a release candidate; permanent repository deposit and DOI are pending. The paper is a manuscript, not a published article. The Python package is published on PyPI.

Install and load

Use Python 3.13 in a virtual environment:

python -m pip install pt60-tools==0.4.3
pt60 fetch https://grid.jczw.xyz/download --output work/PT60-v2.1.0-rc2 --sha256 07727842080141300c4ddf180f82a4e7f9f66e3a444a30297d650f79a3486913
export PT60_DATA="$PWD/work/PT60-v2.1.0-rc2"
pt60 verify
pt60 info
pt60 view

The browser opens at http://127.0.0.1:8050. The local viewer works without external map services. The hosted map uses the same dataset and stable IDs.

from pt60 import Dataset

data = Dataset("work/PT60-v2.1.0-rc2")
case = data.cases("SUMMER")[0]
inputs = data.load_input(case["case_id"])
results = data.results(case["case_id"])

Build and reproduce cases

Install solver dependencies only when calculating new results:

python -m pip install "pt60-tools[solve]==0.4.3"
pt60 init --output work/my-input
# Edit the generated input files.
pt60 solve --input work/my-input --output work/my-result
pt60 replay --case PT60_2025_SUMMER_WEEK_JUL07_13_H000 --output work/replayed-case
pt60 view --result-dir work/my-result

pt60 batch --full --spatial --output work/reproduction reproduces the full seasonal experiment and its controls. Outputs must be outside the frozen release. See the usage guide for fields and API. The core installation requires NumPy, without PyTorch or GridSFM.

Development and provenance

pt60/ is the installable package; portuguese_hv_network/src/ builds the underlying network; portuguese_hv_network/site/ serves the website; paper/ contains the current manuscript and figure sources. Install from this checkout with python -m pip install -e '.[solve,test]' and run python -m pytest tests/test_pt60_tools.py.

The acquisition pipeline compiles the static network from source records. The distributed toolchain starts from that compiled network and archived observations to reproduce cases. Source roles, inferred quantities and model assumptions are retained in the dataset. Convergence demonstrates numerical consistency; it does not establish agreement with an operator state estimate.

Historical releases remain under data/releases/ for provenance. They are not alternative current downloads. Exploratory OPF and neural work is retained in experiments/opf_neural/ and output/opf/, outside the core package and paper.

License

Source code is MIT licensed. Data retain source-specific terms, including E-REDES CC BY 4.0 and OpenStreetMap ODbL obligations. See dataset attribution and the dataset's license files.

Release files for pt60-tools 0.4.3

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

Source distribution (sdist)

Source distribution for pt60-tools 0.4.3
File Size Uploaded
pt60_tools-0.4.3.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pt60-tools 0.4.3
File Interpreter ABI Platform
pt60_tools-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.9 kB

Release files / pt60_tools-0.4.3.tar.gz

Download URL pt60_tools-0.4.3.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
791caddcbea3f03b601df7eb9c375a3a6ca2d7dc65dd5af3f856a5feebf8ee88
BLAKE2b-256 checksum
How to use checksums
432d7b40393124af5fb3b434be4eb9814c5e828a2aa4bf8481188b22eae7da1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pt60_tools-0.4.3-py3-none-any.whl

Download URL pt60_tools-0.4.3-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5328040dbb166591532672b22b51bcefb152bfb2f3c0c6c131e70fe7797ccb8
BLAKE2b-256 checksum
How to use checksums
a363f9c187607508ad3e2c9838772e808f655ae716d147c1c67ccfb03792ef78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

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