Skip to main content

gsim 0.1.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 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.1.0.tar.gz (235.8 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.1.0-py3-none-any.whl (261.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsim-0.1.0.tar.gz
  • Upload date:
  • Size: 235.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gsim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b800b11f3dc20201da9f64f475c1a5668d858a4dcd8f1b07bb24e99fec3cc726
MD5 4f813f378d30e1935deeff3339abdc28
BLAKE2b-256 601ba655c808215d826cadba2276e4f1e3d0a25e84a1f4b06f11530b457748b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsim-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: gsim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 261.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gsim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 257ebf9b893dace5af3986ffed165fb0ec5a421c30062ff863b72abcbaf52e6f
MD5 d41162535f270e5e8aa5bd4a7716ef95
BLAKE2b-256 ade365ac7898de6f3f321e24e24ab6a419b705499ad6d824d60f201b424f9266

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsim-0.1.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