← Back to team overview

kicad-developers team mailing list archive

Re: Integrated Simulator

 

rectifier.sch - OK. But sometime it hang. And error not found "1n4148":

******
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
******
Circuit: KiCad schematic
Error on line 4 : dd1 2 3 1n4148
Unable to find definition of model 1n4148 - default assumed
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--------------------------
Node                                   Voltage
----                                   -------
1                                            0
2                                  5,76787e-28
3                                 -5,76787e-26
vv1#branch                        -5,76787e-31
Reference value :  0,00000e+00
No. of Data Rows : 10008


В Пятница, 22 июл. 2016 в 5:36 , Eldar Khayrullin <eldar.khayrullin@xxxxxxx> написал:
laser_driver.sch - OK:
******
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
******
Circuit: KiCad schematic
Warning: Model issue on line 1 : .model laser d(is=1e-22 rs=6 n=1.5 cjo=50p xti=100 iave= ...
unrecognized parameter (iave) - ignored
unrecognized parameter (vpk) - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--------------------------
Node                                   Voltage
----                                   -------
1                                            0
5                                          -10
xu1.3                                0,0100446
xu1.5                                 0,796298
4                                           10
xu1.4                                0,0100287
xu1.6                                -0,776209
2                                   0,00805251
xu1.98                                       0
3                                    0,0100287
xu1.20                            -7,93255e-06
xu1.16                                0,475886
xu1.17                             2,15373e-07
xu1.18                                       0
xu1.7                                 0,512086
xu1.8                                     8,17
xu1.9                                    -8,17
xu1.30                               0,0090406
xu1.14                                0,512086
xu1.15                                0,512086
xu1.19                                       0
xu1.21                                    0,53
xu1.22                                       0
xu1.24                                   0,575
xu1.23                             -4,5188e-05
xu1.13                                0,512086
xu1.40                                0,478413
xu1.26                                       0
xu1.27                                       0
xu1.90                                      10
xu1.91                                     -10
xu1.10                                0,512085
6                                     0,512085
xu1.11                                0,067085
xu1.12                                0,957085
7                                    0,0301347
8                                    0,0306366
v.xu1.voc#branch                   1,07945e-06
v.xu1.vnoise3#branch                4,5188e-05
v.xu1.vnoise1#branch               7,93255e-06
v.xu1.vsl#branch                    9,7897e-07
v.xu1.v1#branch                    1,95795e-06
e.xu1.epole#branch                           0
vv3#branch                          -0,0140803
vv2#branch                          -0,0142768
v.xu1.vcl4#branch                  2,96573e-07
v.xu1.vcl3#branch                  2,96597e-07
v.xu1.vo2#branch                  -5,39713e-07
v.xu1.vo1#branch                   5,39713e-07
v.xu1.vcur2#branch                -4,88411e-13
v.xu1.vcur1#branch                 1,07945e-06
v.xu1.vnoise4#branch               -4,5188e-05
v.xu1.vnoise2#branch              -7,93255e-06
v.xu1.vcl2#branch                  8,69209e-12
v.xu1.vcl1#branch                  7,66791e-12
vv1#branch                         5,03282e-05
a$poly$e.xu1.ecmref#branch_1_0               0
a$poly$e.xu1.eref#branch_1_0       0,000100602
a$poly$e.xu1.eos#branch_1_0       -1,91959e-10
 Reference value :  0,00000e+00
 Reference value :  3,57428e-08
 Reference value :  7,78928e-08
 Reference value :  1,19855e-07
No. of Data Rows : 15020


В Пятница, 22 июл. 2016 в 5:33 , Eldar Khayrullin <eldar.khayrullin@xxxxxxx> написал:
Sorry LD_LIBRARY_PATH not LD_PRELOAD

В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin <eldar.khayrullin@xxxxxxx> написал:
After adding option --prefix=/usr (if install path is /usr/local need to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include diodes):

******
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
******
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,00000e+00
No. of Data Rows : 61

В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin <eldar.khayrullin@xxxxxxx> написал:
Opening the sallen_key.sch with eeschema show in the log window:

1) Note: can't find init file.

2) Error: .include filename missing
If delete ".include diodes.lib" - OK.

3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd ( xu1.3 2 ) a$poly$e.xu1.eos
MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly coef = [ 1.7e-3 1 ] ...
Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 0 ) a$poly$e.xu1.eref1
MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 spice2poly coef = [ 0 0.5 0.5 ...
Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 0 ) a$poly$e.xu1.eref2
MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 spice2poly coef = [ 0 0.5 0.5 ...
Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4 xu1.42 ) a$poly$e.xu1.eo3
MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 spice2poly coef = [ 0.7175 0.5 ] ...
Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( xu1.44 5 ) a$poly$e.xu1.eo4
MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 spice2poly coef = [ 0.7355 0.5 ] ...
Unknown model type spice2poly - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,00000e+00
No. of Data Rows : 61

But the simulation and the tune and the probe work.
It will be nice to have the select of visibility of signals (checkbox).


В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx> написал:
Hi,

References