Need help on finding a program that can output transient curves as txt

AI Thread Summary
The discussion focuses on finding a program that can output transient curves as text files for simulating the response of a ferrous rod in a solenoid. The user is currently utilizing FEMM 4.2 for magnetostatic simulations and Pspice Schematics 9.1 for circuit analysis but is struggling to extract simulated data points from Pspice. They are seeking a solution that allows for scripting to automate the process of obtaining the current transient response. The conversation also touches on older methods of plotting results, suggesting a desire for more modern alternatives. The user is looking for practical advice or tools that can facilitate this data extraction.
Astrofan
Messages
21
Reaction score
0
Hello!

I'm currently working on a solenoid and trying to simulate the response of a ferrous rod in the coil.

I've been using FEMM 4.2 for my magnetostatic simulations, and

Pspice Schematics 9.1 for the circuit part.

I was thinking of combining the two by using scripts to let FEMM run through the current transient response of the circuit to get an exact result (rather than just using a single current value and assuming a rectangular pulse)

However, my current problem is that Pspice only gives me the plot of the transient and by looking at all the files that it generates (in the same folder as the schematic file) i couldn't find any in which the simulated points are placed.

Please help me find a way around this problem, anything that will work and can be written into code will be fine for me.

Thanks in advance

P.S. Please redirect me if I'm posting in the wrong place
 
Last edited by a moderator:
Engineering news on Phys.org
Back in the days of Basic and dot matrix printers, I did this to plot results:

Write the points into an array,
scale the array entries so that every one was a number between 0 and 100,
which is essentially divide each entry by largest one , multiply by 100 and INT;

make each array entry into a string variable of ASCII space characters and an asterisk at the point corresponding to that entry's value,
for example if value of an entry is 50 then L$=49(chr$20h)+chr$(2Ah) , pardon my rusty grammar;

set my Epson dot matrix printer to 132 character line width;
print the string variables one to a line.

Take the paper as it comes out of the printer and turn it sideways and you have a plot.

In the days of TI99's and fanfold paper it worked great even for long plots.
Surely there's more modern tools nowadays..

old jim
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Back
Top