Skip to main content

klayout-pex-plugin-palace

Palace electrostatic decks from KLayout-PEX PEX25D scenes: the capacitance matrix of every net, floating conductor and the ground plane, by FEM.

Usage

pip install klayout-pex-plugin-palace
pex25d export cell.pex25d --to palace --out_dir deck
cd deck && palace -np 4 config.json
  • Output of the exporter:
  • Run Palace in the deck directory: paths in the config are relative.
  • Results: in postpro/
    • terminal-C.csv: the Maxwell matrix
    • terminal-Cm.csv: mutual capacitances
    • terminal i is the group with tag i in mesh.json
  • In IIC-OSIC-TOOLS: Palace is in /foss/tools/bin. As root, mpirun refuses to start, so use palace -serial config.json.

Options

The mesh options of klayout-pex-plugin-gmsh, plus:

Option Default Meaning
order 1 Polynomial order of the finite elements; 2 is about 1% more accurate with the default mesh, at about 9 times the run time
outer_boundary zero_charge Domain box: zero_charge (no field crosses it) or ground (0 V)
linear_tol 1e-8 Relative residual of the linear solver
linear_max_iterations 200

Pass them with pex25d export --option NAME=VALUE (klayout-pex 0.6.3 or later) or options={...} in Python.

Development

poetry install    # uses ../klayout-pex-plugin-gmsh until it is on PyPI
poetry run pytest # runs Palace too, if it is on PATH

Metadata

Release files for klayout-pex-plugin-palace 0.1.1

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

Source distribution (sdist)

Source distribution for klayout-pex-plugin-palace 0.1.1
File Size Uploaded Provenance Actions
klayout_pex_plugin_palace-0.1.1.tar.gz 15.8 kB With provenance Details for klayout_pex_plugin_palace-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klayout-pex-plugin-palace 0.1.1
File Interpreter ABI Platform Actions
klayout_pex_plugin_palace-0.1.1-py3-none-any.whl Python 3 none any Details for klayout_pex_plugin_palace-0.1.1-py3-none-any.whl

Total release size: 33.9 kB

Release files / klayout_pex_plugin_palace-0.1.1.tar.gz

Download URL klayout_pex_plugin_palace-0.1.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f0549958c2c7539688ec1c5f1c434d897dd0855252380521d736535aaf573741
BLAKE2b-256 checksum
How to use checksums
960ce667e804dccdadd05d60db61643aa3b82b817cf1208e81bf25f616403fc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / klayout_pex_plugin_palace-0.1.1-py3-none-any.whl

Download URL klayout_pex_plugin_palace-0.1.1-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19138f4714126f1ea7ddd738fe20c25e22c896af8aef7d7148f30c84e0d13fed
BLAKE2b-256 checksum
How to use checksums
7e8b8129e9987a559a651ffcc4951a3d66d202e824caa83bef3563f17ac17bd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for klayout-pex-plugin-palace 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for klayout_pex_plugin_palace-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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