Skip to main content

gsim 0.2.0

Electromagnetic simulation for photonics and electronics, powered by GDSFactory+

gsim-logo

Overview

gsim connects GDSFactory layout designs to multiple EM solvers for photonic and electronic simulation. It handles geometry extraction, mesh generation, port configuration, and cloud execution so you can go from GDS to S-parameters with minimal boilerplate.

Solvers

Module Solver Method Use Case
gsim.palace Palace FEM RF/microwave, impedance extraction, driven simulations
gsim.meep Meep FDTD Photonic components, S-parameters, mode propagation

Features

  • Layer stack extraction — build 3D geometry from PDK layer stacks
  • Port configuration — convert GDSFactory ports into solver-compatible definitions
  • Mesh generation — GMSH finite-element meshes with configurable quality presets (Palace)
  • Cloud execution — upload, run, and download results via gsim.gcloud
  • Visualization — solver-agnostic 3D/2D component preview (PyVista, Matplotlib)

Installation

pip install gsim

For local Palace execution on Linux x86_64, install the optional prebuilt binary separately:

pip install "palacetoolkit-palace-cpu @ https://github.com/EpsilonForge/PalaceToolkit/releases/download/palace-cpu-v0.1.2/palacetoolkit_palace_cpu-0.1.0-py3-none-linux_x86_64.whl"

For development (requires uv):

git clone https://github.com/gdsfactory/gsim
cd gsim
uv sync --dev

Or use the justfile:

just dev

Documentation

See the documentation for API reference and examples.

License

Apache-2.0

Download files

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

Source Distribution

gsim-0.2.0.tar.gz (286.1 kB view details)

Uploaded Source

Built Distribution

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

gsim-0.2.0-py3-none-any.whl (312.3 kB view details)

Uploaded Python 3

File details

Details for the file gsim-0.2.0.tar.gz.

File metadata

  • Download URL: gsim-0.2.0.tar.gz
  • Upload date:
  • Size: 286.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gsim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f179b63d1e0852a8bfef037f1b418f343b61311f092465baddcbdb91b8c3cbc4
MD5 32b643cd6af4b8e6cafea8429331fc1d
BLAKE2b-256 0ea26e247168fcbdce02f7910e42a36f1340e6802e65d82335a42e34b7ccbe03

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsim-0.2.0.tar.gz:

Publisher: release.yml on gdsfactory/gsim

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

File details

Details for the file gsim-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gsim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 312.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gsim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 571a054967f868236bc16cab4d449d46ac789d2ba7f9aba01dae1baf323862e6
MD5 2be956a59109d9f174df8d8c4e2dce07
BLAKE2b-256 697ce0aa8bfceb94f5729fde6fbf390c24094e7e1ffe1fcc4143a61ae023e089

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsim-0.2.0-py3-none-any.whl:

Publisher: release.yml on gdsfactory/gsim

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 Sentry Error logging StatusPage Status page