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

Click For Summary
SUMMARY

The discussion centers on the challenge of extracting transient response data from Pspice Schematics 9.1 for use in conjunction with FEMM 4.2 simulations. The user seeks a method to output simulated points as text files, as Pspice only provides graphical plots. The goal is to automate the process of running FEMM simulations based on the transient response of a solenoid circuit. The user is open to coding solutions that can facilitate this integration.

PREREQUISITES
  • FEMM 4.2 for magnetostatic simulations
  • Pspice Schematics 9.1 for circuit simulation
  • Basic scripting knowledge for automation
  • Understanding of transient analysis in circuit simulations
NEXT STEPS
  • Research methods to export data from Pspice Schematics 9.1
  • Learn how to automate FEMM simulations using scripts
  • Explore data manipulation techniques for plotting in modern programming languages
  • Investigate alternative circuit simulation tools that support direct data export
USEFUL FOR

Electrical engineers, circuit designers, and simulation specialists looking to integrate circuit and magnetostatic simulations for enhanced analysis of solenoid responses.

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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
4
Views
26K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 12 ·
Replies
12
Views
16K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
11
Views
10K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
13K