summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/NgspicetoModelica.py
diff options
context:
space:
mode:
authorEyantra698Sumanto2022-01-11 15:30:23 +0530
committerEyantra698Sumanto2022-01-25 19:10:05 +0530
commitc19d2338775920f02dc86c2463879517d6c95825 (patch)
tree21a5f6bf7d38ee598f6df097be88bce8d3e9de02 /src/ngspicetoModelica/NgspicetoModelica.py
parent840090d0eedac3c60026269f50f9bb8365e4801b (diff)
downloadeSim-c19d2338775920f02dc86c2463879517d6c95825.tar.gz
eSim-c19d2338775920f02dc86c2463879517d6c95825.tar.bz2
eSim-c19d2338775920f02dc86c2463879517d6c95825.zip
Adding search option for OpenModelica
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rwxr-xr-x[-rw-r--r--]src/ngspicetoModelica/NgspicetoModelica.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py
index 4df65c8d..6951e3c8 100644..100755
--- a/src/ngspicetoModelica/NgspicetoModelica.py
+++ b/src/ngspicetoModelica/NgspicetoModelica.py
@@ -344,7 +344,7 @@ class NgMoConverter:
stat = self.mappingData["Sources"][sourceType][typ[0]] +\
' ' + compName + '(offset = ' +\
self.getUnitVal(typ[1]) +\
- ', V = ' + self.getUnitVal(words[4]) + ', freqHz = ' +\
+ ', V = ' + self.getUnitVal(words[4]) + ', f = ' +\
self.getUnitVal(words[5]) + ', startTime = ' +\
self.getUnitVal(words[6]) + ', phase = ' +\
self.getUnitVal(theta[0]) + ');'