ERROR: Node I is floating and connected to current source IC
ERROR: Node L1 is floating and connected to current source IC
Direct Newton iteration for .op point succeeded.
Date: Fri Jan 15 12:12:57 2021
Total elapsed time: 0.150 seconds.
So ein allgemeiner LTspice-Faden könnte mir schon gefallen...
Zu deinem Problem meint meine SwitcherCAD III - Doku (scad3.pdf):
Auf S.18 im Kapitel "Schematic Capture - Basic Schematic Editing" findet sich:
SPICE Directive: Place text on the schematic that will be included in the netlist. This lets you mix schematic capture with a SPICE netlist. It lets you set simulation options, include files that contain models, define new models, or use any other valid SPICE commands. You can even use it to run a subcircuit that you don't have a symbol for...
Auf S.65 fängt ein neues Kapitel an:
C. Simulator Directives -- Dot Commands
Über Directiven kann man also alles mögliche in die Simulation reinfummeln - nicht nur Dot-Commands.
Grob gesagt wird bei einem RUN aus Schaltbild und Directiven erst mal eine Netliste erzeugt. Diese wird dann SPICE zur Simulation vorgeworfen.
Version 4
SHEET 1 880 680
TEXT 160 80 Left 2 ;"text"
TEXT 144 136 Left 2 !"spice directive"
Spice unterscheidet also:
; = Kommentar und
! = Kommando.
Und in LTspice hat man trotz vieler Absicherungen für dau Selten-user diesen Punkt nicht automatisch eingefügt. Naja, dann wird mal wieder geredet (kommuniziert).
Und in LTspice hat man trotz vieler Absicherungen für dau Selten-user diesen Punkt nicht automatisch eingefügt.
Das ist auch gut so, weil sich auf diese Weise auch "Befehle" einfügen lassen, die nicht direkt Kommandos an den Simulationsalgorithmus sind.
MIr fällt auf die Schnelle kein Fall ein, wo die ERSTE Zeile keinen Punkt hat. Aber mindestens bei allen folgenden Zeilen ist ein Punkt möglich (Neue Direktive) oder nicht (z.B. Teil einer Subcircuit).
"Uns fällt kein Grund ein, warum die erste Zeile keinen Punkt haben soll, für alle weiteren (gleich behandelten!) Zeilen gilt das aber nicht" ist eine sehr schlechte Grundlage für eine Automatik.
Eine Warnung wäre aber wünschenswert.
[zit obiger Seite]
SIMPLIS (SIMulation of Piecewise LInear Systems) is a circuit simulator specifically designed to handle the simulation challenges of switching power systems. Like SPICE, SIMPLIS works at the component level but typically can perform a transient analysis of a switching circuit 10 to 50 times faster. For switching power systems, the piecewise linear (PWL) modeling and simulation techniques employed by SIMPLIS result in qualitatively superior convergence behavior compared to SPICE
(zit ende]
wie mach ich das denn das ich die Params V und P im Model/.asc ändern kann?
edit. also je Bauteil einzeln, wie bei widerständen zb.
anstatt nur global im .net file.
wie mach ich das denn das ich die Params V und P im Model/.asc ändern kann?
Bei KiCad/ngspice schreibe ich die Parameter mit an den Bauteilwert bzw. die MODEL-Bezeichnung. In deinem Fall wäre das z.B. "LAMP VLnom=6 PLnom=0.2" anstatt nur "LAMP". Vielleicht klappt das bei LTSpice auch.