device type '2SA2126' not recognized!

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Locked
markusr
Unlicenced User
Posts: 6
Joined: Fri 2021-05-07 11:11

device type '2SA2126' not recognized!

Post by markusr »

I have a problem with the simulation of a custom component not recognize on simulation. I entered the spice data in "Properties - Edit All Properties As Text" with the following content:

Code: Select all

{PACKAGE=TO230P250X650X920-3P}
{PRIMITIVE=ANALOGUE}
*SCRIPT SPICE
.MODEL 2SA2126 PNP(
+IS=7.77692e-12 BF=257.151 NF=1.11685 VAF=29.6831
+IKF=3.46844 ISE=4.00086e-12 NE=3.49993 BR=6.35793
+NR=1.17824 VAR=9.04744 IKR=6.25463 ISC=1.75e-13
+NC=4 RB=6.41025 IRB=0.176199 RBM=0.100005
+RE=0.00060456 RC=0.140678 XTB=0.836046 XTI=1.0283
+EG=1.05 CJE=1.27161e-10 VJE=0.802654 MJE=0.85
+TF=3.87522e-10 XTF=1000 VTF=2944.25 ITF=113.793
+CJC=8.6111e-11 VJC=0.430089 MJC=0.395997 XCJC=0.754502
+FC=0.754853 CJS=0 VJS=0.75 MJS=0.5
+TR=5.37192e-08 PTF=0 KF=0 AF=1)
*ENDSCRIPT
When the simulation is started returns the error "Device Type '2SA2126' Not Recognized!" . Apparently Spice data should be formatted correctly as other components created in the same way work properly.The same parameters used in another simulator they work correctly.
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: device type '2SA2126' not recognized!

Post by Ettore »

Such a script works just fine to me and I don't get any error.
I think is the way you have made the device part and how did you link the script to. Post your Proteus .pdsprj file here so we can get a look.
Kind regards,
Ettore Arena - Labcenter Electronics.
markusr
Unlicenced User
Posts: 6
Joined: Fri 2021-05-07 11:11

Re: device type '2SA2126' not recognized!

Post by markusr »

Hi Ettore,

sorry for late i think I've solved by modifying the properties from {PRIMITIVE=ANALOGUE} to {PRIMITIVE=ANALOGUE,NPN} and {PRIMITIVE=ANALOGUE,PNP} respectively. Using only PNP/NPN without ANALOGUE does not work. So if I'm right must be used both.
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: device type '2SA2126' not recognized!

Post by Ettore »

Nope, mine's working just fine even with PRIMITIVE=ANALOGUE only. In such the script case PNP or NPN suffixes in the property get only descriptive purposes. Once again I can't tell what is wrong if you don't post your project file.
Kind regards,
Ettore Arena - Labcenter Electronics.
markusr
Unlicenced User
Posts: 6
Joined: Fri 2021-05-07 11:11

Re: device type '2SA2126' not recognized!

Post by markusr »

Ok, in the meanwhile i've changed the component to understand where the problem but is there anyway.
Attachments
buffer.pdsprj
(21.55 KiB) Downloaded 187 times
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: device type '2SA2126' not recognized!

Post by Ettore »

You are using an illegal (cracked) copy of the software so I cannot and won't provide any support. Please purchase a licence from https://www.labcenter.com/pricing/comm/ or contact one of our distributors here: https://www.labcenter.com/dealers/
Kind regards,
Ettore Arena - Labcenter Electronics.
Locked