I'm crafting a circuit to simulate, etc, and I can't find any spark gap component in its library.
How could it be custom designed, or imported, if it's missing from the library?
In the alternative, could a voltage sensor tied to a switch act as a substitute since the only purpose I'm using the spark gap for is to periodically dissipate a build up of voltage?
I would modify the code in Modelica.Electrical.Analog.Interfaces.IdealSwitchWithArc to make use of their arc model. Alternatively you can model the arc using the CloserWithArc and switch it based on voltage to create the arc.