Support for programmatic spice model declaration
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading SKiDL's netlist generation entry point and how it currently represents SPICE models; the issue identifies PySpice's DeviceModel in PySpice/Spice/Netlist.py as the reference. The requested outcome is a SKiDL wrapper that lets users declare models programmatically before generate_netlist runs. The issue does not name SKiDL files or tests to run.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
PySpice provides the ability to programmatically declare models with the DeviceModel class. For example, to include the generic BJT model at the beginning of the BJT chapter (chapter 8) in the NgSpice manual, you could do
DeviceModel(name="QMOD1", modele_type="NPN level=2")
While there is an obvious workaround for this in skidl (write it to a file and reference it like any other spice model), this adds a layer of difficulty to using simple, generic models and adds an even greater level of difficulty for programmatic generation of models.
Would it be possible to add a skidl wrapper around this pyspice functionality? It's technically possible to specify the model from the output of generate_netlist, but of course at this point it's too late.
Thanks!
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 184
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di devbisme/skidl
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
SPICE netlist wires the wrong node to a subcircuit port when an earlier pin is unconnectedForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
[SKiDL BUG] Using components that do not contain a defined datasheet property throws 'Key Error'Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di devbisme/skidl
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
QuantConnect/lean-cli#792 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-webui/open-webui#35360 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno