summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/Mapping.json
blob: ce493eabe8ef09af6c4648c5377bef894e3bb6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
	"Components":{
				"R" : "Analog.Basic.Resistor",
				"C" : "Analog.Basic.Capacitor",
				"L" : "Analog.Basic.Inductor",
				"e" : "Analog.Basic.VCV",
				"g" : "Analog.Basic.VCC",
				"f" : "Analog.Basic.CCC",
				"h" : "Analog.Basic.CCV",
				"0" : "Analog.Basic.Ground",
				"gnd" : "Analog.Basic.Ground"

		},
	"Sources":{
		"pulse":"Analog.Sources.TrapezoidVoltage",
		"sine":"Analog.Sources.SineVoltage",
		"pwl" : "Analog.Sources.TableVoltage",
		"dc" : "Analog.Sources.ConstantVoltage"
		},
	"Devices":{
		"d":{
			"import":"Analog.Semiconductors.Diode",
			"mapping":{

				"is":"Ids"
			},
			"default":{
				"Ids":"880.5e-18",
				"Vt":"0.025",
				"R":"1e12"
			}

		},

		"m":{
			"import":"BondLib.Electrical.Analog.Spice",
			"mapping":{
				"tnom":"TNOM",
				"vto":"VTO",
				"gamma":"GAMMA",
				"phi":"PHI",
				"ld":"LD",
				"uo":"U0",
				"lambda":"LAMBDA",
				"tox":"TOX",
				"pb":"PB",
				"cj":"CJ",
				"cjsw":"CJSW",
				"mj":"MJ",
				"mjsw":"MJSW",
				"cgdo":"CGDO",
				"js":"JS",
				"cgbo":"CGB0",
				"cgso":"CGS0"
				
			
			},
			"default":{
				"TNOM":"300",
				"VTO":"0",
				"GAMMA":"0",
				"PHI":"0",
				"LD":"0",
				"U0":"0",
				"LAMBDA":"0",
				"TOX":"3e-9",
				"PB":"0.8",
				"CJ":"0",
				"CJSW":"1e-9",
				"MJ":"0.33",
				"MJSW":"0.33",
				"CGDO":"0",
				"JS":"0",
				"CGB0":"0",
				"CGS0":"0"


			}

		},	
		"q":{
			"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"

			}

		},
		"a" : "Analog.Semiconductors.Diode",
		"b" : "Analog.Semiconductors.Diode",
		"M" :"BondLib.Electrical.Analog.Spice"
		
	
	},
	

	"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",
		"p":"e-12",
		"t":"e12",
		"g":"e9",
		"m":"e-3",
		"meg":"e6",
		"n":"e-9",
		"f":"e-15"

	}
	
}