error when using subcircuit2ssc for RohM SiC MOSFET

4 views (last 30 days)
I tried to import spice file of RohM SiC MOSFET SCT4018KR and the following error occurs, the other spice file of RohM SiC MOSFET SCT3040KR is working fine.
>>SiC_4018
Error using spiceBase.findEnclosure
Delimiters must occur in pairs in .func r11(i,v)
{242.1m*ASINH(I*R12(V)/7.139)*exp((tj-t0)/-675.1*exp((tj-t0)/-36.83))+
20.4m*exp((tj-t0)/-836.2)*i*r12(v)}.

Answers (1)

Ganapathi Subramanian R
Ganapathi Subramanian R on 3 Jun 2024
Edited: Ganapathi Subramanian R on 3 Jun 2024
Hi Ravi,
The error which you are facing might be due to several factors, such as typo errors in syntax or expression, issue with the underlying code, and undefined sub-circuits in the netlist.
Please ensure that all the sub-circuits are defined within the file.
SPICE conversion assistant is used to convert SPICE function to Simscape equivalents.
It appears that the issue you are facing is due to SPICE conversion assistant's inability to convert 'asinh' SPICE function.
Kindly refer to the below documentation for further details regarding the basic functions supported by SPICE conversion assistant.
I hope this helps.
Thanks
  1 Comment
Ravi
Ravi on 3 Jun 2024
Thanks for your comment.
I have already resolved the asinh problem, after that one of the model is working. But this specific device model is giving error for the .func r11(i,v), for this case I have also replaces the equation of asinh, but have this delimiter error

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!