Photonflux is a photonic circuit simulation tool for simple, extensible simulation of large active photonic systems.
It solves the problem that existing simulation tools are unable to capture many important phenomena that are key to creating working products including:
- Complex active component models
- Component variation and Monte-Carlo simulation
- Thermal crosstalk between components
- Fabry-Perot reflections from on-chip components
Here, we build a circuit simulator on NetworkX, a complex network solver, to enable arbitrarily reconfigurable circuit models and systems. As opposed to other approaches, circuits / schematics are defined using a netlist generated from a layout. The primary reason for this is that photon designers typically do not use a idea -> schematic -> layout -> fabrication flow, but often skip the schematic step entirely (idea -> layout -> fabrication). The reason for this is that layouts in photonics are expressive and contain far more detail about the operation of systems than a schematic would capture.
Layouts for simulation in photonflux are defined in a yaml markup format that can be automatically generated using .
To see examples of what is possible in photonflux please see our examples.
For more information on the future of the package see our roadmap.
python -m pip install photonflux --upgrade
First install the package from github using:
git clone https://github.com/alexsludds/photonflux.git
Then, navigate to the download directory and install as an editable python package
python -m pip install -e .
We include several examples in the examples folder, but if your usecase is not there please create an github issue and we can work together on it.
Contributors (in chronological order):
- Alex Sludds (MIT): Initial code and documentation.