Guilin Sun
Ansys Employee

negative capactance: by definition it is the difference of charges over voltage, delta_Q/delta_v. It is possible to have positive and negative numerically. Proper choice of delta_c might be important.

https://optics.ansys.com/hc/en-us/articles/360042326774-Semiconductor-insulator-semiconductor-capacitor-SISCAP-Mach-Zehnder-modulator

 

you may refer this example for resistance  https://optics.ansys.com/hc/en-us/articles/360042328774-Traveling-Wave-Mach-Zehnder-Modulator

as now you have voltage and current.