Vacuum tube modeling software - beta testers wanted Vacuum tube modeling software - beta testers wanted - Page 14 - diyAudio
Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Tubes / Valves All about our sweet vacuum tubes :) Threads about Musical Instrument Amps of all kinds should be in the Instruments & Amps forum

Vacuum tube modeling software - beta testers wanted
Vacuum tube modeling software - beta testers wanted
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 13th November 2012, 06:40 AM   #131
Audio Vice is offline Audio Vice  Germany
diyAudio Member
Join Date: Apr 2012
Andrei, thank you for the good tool!

I just tried version 0.9.1 on a linux-box with Ubuntu 12.04LTS.
Unzip all files from the distribution to a single directory and get the patch file "tubefit-gcc4.patch.txt" posted earlier in this thread.

To get it running, you have to install some tools on a command line:
$ sudo apt-get install gcc m4 tk8.5

This will install GCC 4.6, so you must apply the patch "tubefit-gcc4.patch.txt":
$ patch -b < tubefit-gcc4.patch.txt

This command alters the file tubefit.c.

Then simply compile and install with:
$ sudo make install
$ sudo cp models.m4 /usr/local/bin

Now you can run and enjoy
$ curvecaptor

  Reply With Quote
Old 13th November 2012, 07:21 AM   #132
Zoran is offline Zoran  Serbia
diyAudio Member
Join Date: Jan 2004
Location: Belgrade
I am using N Koren Matlab sheets
for the tubes spice models
but recently i found A dimitry java set of software that is good
no data entery just point to the picture
here is the link to download
Model Paint Tools: Trace Tube Parameters over Plate Curves, Interactively
the software runs trough the terminal (i am a mac user)
syntax on terminal is
java -jar "/location of the jar file/paint_kit.jar" "/location of the file/tube curves.jpg"
java -jar "/Users/zoran/Desktop/Model_Paint_Tools/paint_kit.jar" "/Users/zoran/Desktop/Model_Paint_Tools/Graph/12au7.jpg"
on win is the same with differences in syntax for the run command window
Also I found some soft called Montega (google)
now I am going to read a bit this thread
  Reply With Quote
Old 27th December 2013, 01:16 AM   #133
grindstone is offline grindstone  United States
diyAudio Member
grindstone's Avatar
Join Date: Jun 2007
Location: GMT-6
For linux users, one more addition to Torsten's post. To get the distortion plots to work, you will also need to install fftw2 besides tcl & tk.

FWIW, I just used gcc 4.8.1 and it built properly.
  Reply With Quote
Old 24th May 2015, 04:04 PM   #134
Argentous is offline Argentous
diyAudio Member
Join Date: May 2015
Hi there. I need some help.
I finally figured out how to use Curve Captor and get a SPICE model. I copied and pasted the output model from Curve Captor into a text file. From there I inported that text file into LTSpice. Here is the contents of said text file:

* 6aw8a macro model
.subckt 6aw8a P G K
koren5(0.03503586366,6.707742819,75.61368016,4.088 058766,1.154855707)
.ends 6aw8a

* 6aw8a LTSpice model
.subckt 6aw8a P G K
Bp P K I=(0.03503586366m)*uramp(V(P,K)*ln(1.0+exp((6.7077 42819)+(6.707742819)*(75.61368016)*V(G,K)/sqrt((4.088058766k)+(V(P,K))**2)))/(6.707742819))**(1.154855707)
.ends 6aw8a

Then, I used the Auto Generate Component feature to make a component out of the model. I then made a test circuit to use the new component in. However, when I run the simulation, I get the following error.

Click the image to open in full size.

I don't know what is wrong. I know that the problem is in this component because when I remove it from the simulation, it runs without error.
  Reply With Quote
Old 24th May 2015, 11:28 PM   #135
cogsncogs is offline cogsncogs  United States
diyAudio Member
cogsncogs's Avatar
Join Date: Jul 2003
Location: Wayne, West Virginia
You only need this part for your model:
* 6aw8a LTSpice model
.subckt 6aw8a P G K
Bp P K I=(0.03503586366m)*uramp(V(P,K)*ln(1.0+exp((6.707742819)+(6.707742819)*(75.61368016)*V(G,K)/sqrt((4.088058766k)+(V(P,K))**2)))/(6.707742819))**(1.154855707)
.ends 6aw8a
You will also need to add the inter-electrode capacitances as in my model below:
* 6AW8A (triode section) LTSpice model
* Modified Koren model (8 parameters): mean fit error 0.115916mA
* Traced by Wayne Clay on 10/19/2014 using Engauge Digitizer
* and Curve Captor v0.9.1
.subckt 6AW8AT  P G K
    Bp  P K  I=
+ (0.03960037226m)*uramp(V(P,K)*ln(1.0+(-0.02810705112)+exp((5.049360412)+
+ (5.049360412)*((71.53397072)+(-1430.15241m)*V(G,K))*V(G,K)/sqrt((60.13556928)**2+
+ (V(P,K)-(11.95246653))**2)))/(5.049360412))**(1.130546864)
    Cgk G K 3.9p ; 0.7p added (3.2p)
    Cgp G P 2.9p ; 0.7p added (2.2p)
    Cpk P K 0.52p ; 0.2p added (0.32p)
    Rpk P K 1G ; to avoid floating nodes
    d3  G K dx1
.model dx1 d(is=1n rs=2k cjo=1pf N=1.5 tt=1n)
.ends 6AW8AT
  Reply With Quote
Old 27th May 2015, 09:41 PM   #136
andrei is offline andrei  Canada
diyAudio Member
Join Date: Dec 2002
Location: Canada
I've posted a walk-through video making a triode model:

Ancient 0.9.1 still works on the latest Mac OS X 10.10.3... I'm sort of feeling nostalgic.
  Reply With Quote


Vacuum tube modeling software - beta testers wantedHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wanted: Coral Beta 8 or Beta 10 full range speaker francofil Swap Meet 2 28th April 2010 08:34 AM
Vacuum Tube Computer Simulation Modeling oldheathkitphil Software Tools 11 19th July 2007 02:12 PM
HELP with Box Modeling Software 69stingray Multi-Way 5 1st January 2006 04:40 PM
Need help with Modeling Software Wright Multi-Way 26 17th November 2003 01:23 PM

New To Site? Need Help?

All times are GMT. The time now is 06:53 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio