summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/Mapping.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspicetoModelica/Mapping.json')
-rw-r--r--src/ngspicetoModelica/Mapping.json28
1 files changed, 22 insertions, 6 deletions
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",