top of page

Troubleshooting

S-parameters larger than 1.0 (0dB) with Modal Port

The modal port needs to make an assumption for the wave impedance of the port in order to function. It does this based on the port mode but it is possible that it makes a wrong assumption. This will yield the wrong wave impedance and thus a bad S-parameter. To force a specific mode type specify the modetype='TE', 'TM' or 'TEM' in the ModalPort constructor.


If this happens without modal port, please contact us for help.

Running EMerge (UMFPACK) in Spyder

Running EMerge from Spyder might be prove difficult as by default Spyder's environment can only install dependencies from conda (forge). 

It is adviced to set the Python interpreter as a conda or pyenv environment where you install EMerge from pip using ``pip install emerge`.

In order to use this installation in Spyder you have to install the spyer kernels using "pip install "spyder-kernels==3.0.*`

The default python shipped with Spyder may run in its own OpenMP runtime which may cause problems when using the UMFPACK solver. 

Exception: Unknown OpenCASCADE entity of dimension X with tag Y

This error usually occurs if the geometry is invalid. Most of the times this is due to user error but it might also happen due to bugs. Please check the following possible mistakes. If not, reach out for support.

  1. Two geomerty operations operating on the same instead of different objects after copy paste.

  2. Assinging two boundary conditions to the same object

  3. Assinging boundary conditions or doing operations on objects that have been removed after boolean operations.

ValueError: Edge cannot be formed by the same node.

This error indicates a problem with the mesh generated by GMSH and the processing in EMerge. Please reach out via Github, Discord or email to get help with this error. Please also include your EMerge version and script for better help.

bottom of page