Several points:
- ?The .ASY and .MOD need to be in the same
folder as the .ASC, not a separate one.
- It works if you delete UIC. Don't use UIC
unless it's essential.
- You set Trise and Tfall to 0, which is
impossible. LTspice uses default values, which may not be
suitable. I set them to 0.1?, but they could be bigger if you
adjust Ton and Tperiod to allow for them.
On 2024-05-19 06:51, gho via groups.io
wrote:
I'm only using LTSpice at hobby level. I've created a component
for bi-di current-sense amplifier INA181 from PSpice model
supplied by TI and a little test schematic (/g/LTspice/files/Temp/ina181a1-test.zip).
But using an inductor as load simulation stops with "Singular
matrix" error. And with a resistor it gets very slow after a
while and output looks not as expected. Maybe someone can make
this work better.
--
OOO - Own Opinions Only
Best wishes
John Woodgate, Rayleigh, Essex
UK
Keep trying