From 955682e89b02d66b1985687cd1d2466f6c06320e Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 14:46:23 +0530 Subject: Inbuilt model of Ngspice is mapped(Only Zener is mapped for time being) --- src/ngspicetoModelica/Mapping.json | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'src/ngspicetoModelica/Mapping.json') diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 3ecc26a2..5ebd2aff 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -25,15 +25,31 @@ "Q": "Analog.Semiconductors", "q": "Analog.Semiconductors" }, - "Parameters":{ - "Diode":"List Of Diode Param", - "Mosfet":"List of Mosfet Param" - }, + "Models":{ - - }, + "zener":{ + "import":"Analog.Semiconductors.ZDiode", + "mapping":{ + "v_breakdown":"Bv", + "i_breakdown":"Ibv", + "i_sat":"Ids", + "n_forward":"Nbv" + + }, + "default":{ + "Ids":"880.5e-18", + "Vt":"0.025", + "R":"1e12", + "Bv":"8.1", + "Ibv":"0.020245", + "Nbv":"1.6989" + } + + } + }, + "Units":{ "k":"e3", "u":"e-6", -- cgit