From c5a108d361ea264cbe33b8486e8ad0b6b32d252b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 6 May 2016 12:53:50 +0530 Subject: Added JFET model --- src/ngspicetoModelica/Mapping.json | 41 ++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) (limited to 'src/ngspicetoModelica/Mapping.json') diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 5d5d84d1..2600d65a 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -120,10 +120,43 @@ } }, - "a" : "Analog.Semiconductors.Diode", - "b" : "Analog.Semiconductors.Diode", - "M" :"BondLib.Electrical.Analog.Spice" - + + "j":{ + "import":"Analog.Semiconductors", + "mapping":{ + "bf":"Bf", + "br":"Br", + "is":"Is", + "vak":"Vak", + "tf":"Tauf", + "tr":"Taur", + "cjs":"Ccs", + "cje":"Cje", + "cjc":"Cjc", + "vje":"Phie", + "mje":"Me", + "vjc":"Phic", + "mjc":"Mc" + }, + "default":{ + "Bf":"50", + "Br":"0.1", + "Is":"1e-16", + "Tauf":"1.2e-10", + "Taur":"5e-9", + "Vak":"0.02", + "Ccs":"1e-12", + "Cje":"4e-12", + "Cjc":"5e-13", + "Phie":"0.8", + "Me":"0.4", + "Phic":"0.8", + "Mc":"0.333" + + } + + } + }, -- cgit