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.json18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json
index ce493eab..22a10f43 100644
--- a/src/ngspicetoModelica/Mapping.json
+++ b/src/ngspicetoModelica/Mapping.json
@@ -12,10 +12,17 @@
},
"Sources":{
- "pulse":"Analog.Sources.TrapezoidVoltage",
- "sine":"Analog.Sources.SineVoltage",
- "pwl" : "Analog.Sources.TableVoltage",
- "dc" : "Analog.Sources.ConstantVoltage"
+ "v":{
+ "pulse":"Analog.Sources.TrapezoidVoltage",
+ "sine":"Analog.Sources.SineVoltage",
+ "pwl" : "Analog.Sources.TableVoltage",
+ "dc" : "Analog.Sources.ConstantVoltage"
+ },
+
+ "i":{
+ "dc":"Analog.Sources.ConstantCurrent"
+ }
+
},
"Devices":{
"d":{
@@ -153,7 +160,8 @@
"m":"e-3",
"meg":"e6",
"n":"e-9",
- "f":"e-15"
+ "f":"e-15",
+ "ma":"e-3"
}