BYUCamachoLab / simphony

A simulator for photonic integrated circuits.
https://simphonyphotonics.rtfd.io
Other
119 stars 35 forks source link

Active component models #74

Open alexsludds opened 2 years ago

alexsludds commented 2 years ago

Hello, I was wondering if it is possible to create active component models? I am imaging an addition to a component which changes phase during the evaluation of the system.

I essentially, in pseudocode, I want to be able to do:

voltage_sweep = np.linspace(-1,1,num=100) output_storage = [] for v in voltage_sweep: component.apply_voltage(v) system.update() output_storage.append(system.S21)

Actives add a lot of good simulation capabilities to photonic systems and let us test different routines such as calibration.

Best, -Alex

SkandanC commented 2 years ago

Hello @alexsludds,

This is a great idea. If we implement this, Simphony would have to run through the subnetwork growth routines each time. This could make it inefficient, but it's doable.

According to @cjcarver, this would involve getting into the realm of time domain simulations which we are working on as well atm.