-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file I/V sources #254
Comments
Hello, I am waiting for the availability of the sources of V&I based on files. Is there another way to simulate the file-based V&I source? Will this new feature be inside V1.0.2? |
The file-based sources are not SPICE core devices, but XSPICE devices. These sources require ports definition and modelcard. You cannot define such type using the red voltage source. Please wait an update. I am planning to prepare v.1.0.2 release in 1-2 months and the next release will include file-based sources. |
The data file should contain the space separated values. The first column is time and the second column is current/voltage. Here is an example of the DAT file contents.
|
Great work @ra3xdh, thank you for taking the project forward! |
Closing this ticket as completed. The file sources will be available since v1.0.2. |
Ngspice supports file-based current and voltage sources via XSPICE device type "filesource". It's need to add a GUI entry for this device. The
ifile.cpp
andvfile.cpp
should be modified to generate SPICE netlist.The text was updated successfully, but these errors were encountered: