Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162010 > unrolled thread

Need a calculator that knows about coulombs

Started byGene Heskett <gheskett@shentel.net>
First post2015-12-23 02:20 +0100
Last post2016-01-03 12:00 +0100
Articles 12 on this page of 52 — 15 participants

Back to article view | Back to linux.debian.user


Contents

  Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:20 +0100
    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:40 +0100
    Re: Need a calculator that knows about coulombs Jimmy Johnson <jimmyjhn@gmail.com> - 2015-12-23 02:40 +0100
      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:50 +0100
        Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 03:10 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:10 +0100
            Re: Need a calculator that knows about coulombs Joe <joe@jretrading.com> - 2015-12-23 12:50 +0100
              Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 16:10 +0100
            Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 19:30 +0100
              Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 20:10 +0100
              Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 20:20 +0100
                Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 20:40 +0100
                  Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 22:20 +0100
                    Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 01:30 +0100
                      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:40 +0100
                  Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-24 02:10 +0100
                    Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 02:40 +0100
                      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 03:00 +0100
                        Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 03:20 +0100
                          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 04:50 +0100
                    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:50 +0100
                      Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-24 03:10 +0100
                        Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 04:40 +0100
                    Re: Need a calculator that knows about coulombs Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-24 12:30 +0100
                      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 16:40 +0100
          Re: Need a calculator that knows about coulombs Gary Roach <gary719_list1@verizon.net> - 2015-12-24 01:00 +0100
            Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 01:40 +0100
              Re: Need a calculator that knows about coulombs Anders Andersson <pipatron@gmail.com> - 2015-12-24 01:40 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:40 +0100
        Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 03:20 +0100
          Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-23 04:40 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:50 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:40 +0100
            Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 19:40 +0100
    Re: Need a calculator that knows about coulombs rlharris@oplink.net - 2015-12-23 02:40 +0100
    Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 03:00 +0100
      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:40 +0100
    Re: Need a calculator that knows about coulombs Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-12-23 04:50 +0100
    Re: Need a calculator that knows about coulombs Jörg-Volker Peetz <jvpeetz@web.de> - 2015-12-23 15:00 +0100
      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 16:20 +0100
        Re: Need a calculator that knows about coulombs Jörg-Volker Peetz <jvpeetz@web.de> - 2015-12-28 10:40 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 14:00 +0100
            Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-28 18:40 +0100
              Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 21:00 +0100
    Re: Need a calculator that knows about coulombs Gener Badenas <gener.ong.badenas@gmail.com> - 2015-12-28 08:10 +0100
      Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 13:20 +0100
        Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 09:40 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-29 10:50 +0100
        Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 12:00 +0100
          Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 12:10 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-29 16:50 +0100
      Re: Need a calculator that knows about coulombs ken <gebser@mousecar.com> - 2016-01-03 12:00 +0100

Page 3 of 3 — ← Prev page 1 2 [3]


#162157

FromJörg-Volker Peetz <jvpeetz@web.de>
Date2015-12-28 10:40 +0100
Message-ID<qKCrw-8pT-13@gated-at.bofh.it>
In reply to#162046
Gene Heskett wrote on 12/23/15 16:12:
> On Wednesday 23 December 2015 08:49:34 Jörg-Volker Peetz wrote:
> 
>> e.g., Qucs
>> https://en.wikipedia.org/wiki/Quite_Universal_Circuit_Simulator
>>
>> Regards,
>> jvp.
> 
> Sounds like exactly what might be useful here. But no qucs exists in the 
> wheezy repos. Dowloaded src, will see if it will build on wheezy.
> 

Could you get Qucs working?

By the way, I just remember there's the Emacs builtin calculator "calc" which
a.o. can handle expressions with units.

Regards,
jvp.

[toc] | [prev] | [next] | [standalone]


#162163

FromGene Heskett <gheskett@shentel.net>
Date2015-12-28 14:00 +0100
Message-ID<qKFz5-242-21@gated-at.bofh.it>
In reply to#162157
On Monday 28 December 2015 04:30:06 Jörg-Volker Peetz wrote:

> Gene Heskett wrote on 12/23/15 16:12:
> > On Wednesday 23 December 2015 08:49:34 Jörg-Volker Peetz wrote:
> >> e.g., Qucs
> >> https://en.wikipedia.org/wiki/Quite_Universal_Circuit_Simulator
> >>
> >> Regards,
> >> jvp.
> >
> > Sounds like exactly what might be useful here. But no qucs exists in
> > the wheezy repos. Dowloaded src, will see if it will build on
> > wheezy.
>
> Could you get Qucs working?

Yes and no. I've drawn a schematic but cannot make it simulate it.  Going 
out to the workbench and building it with my limited junk box parts 
assortment results in a working circuit, if you don't mind your coffee 
being lukewarm by the time it fires. :(  I have extracted some more 
parts from scrap electronics, which may result in too fast a response, 
some 0.01 uF caps for the pump cap, and a couple .22 uF's for the 
storage cap, and 1n914 si diodes for test, but I have some schottky's, 
an assortment of tantalum caps, a few hexfets & such coming from 
aliexpress via China Post, but they'll be into 2016 by the time they get 
here.  And I haven't carved up a pcb to hold it all yet either. PCB I 
have, but I'll have to carve isolation islands by hand and surface mount 
the leaded parts. Thats time consuming when the mills spindle is 100x 
too slow to spin an etching tool correctly. 2" per minute or less. I 
have done it, using eagle for the drawing source, but the etching is 
similar to watching paint dry. I will likely use a 1/16" carbide mill so 
I don't have to retrace so many times to get an adequate separation of 
the copper. The std v tip etch tool only cuts a thou deep and wide 
unless you want to wear it out cutting the glass under the copper.
 
The qucs simulation is hampered by its lack of two part models, a decent 
hexfet, and a total lack of anything that looks like a 40 Amp SSR.  I 
tried to make an enhancement mode hexfet from an n channel MOSFET, but 
it wants the blanks filled in with info only the mask designer and 
silicon foundry would know.  In that regard, its obvious I don't know 
what the heck I am doing, darn it. 

> By the way, I just remember there's the Emacs builtin calculator
> "calc" which a.o. can handle expressions with units.

I've looked at units, and it could probably be scripted to do what I 
want, but I'd need a better grasp of math to do it and get results out 
of gnuplot by 1/31/16. :(  I can capture it on a digital scope in 10 
seconds once the soldering iron has pasted a test circuit together. :)

> Regards,
> jvp.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#162165

FromJohn Hasler <jhasler@newsguy.com>
Date2015-12-28 18:40 +0100
Message-ID<qKJW3-5eQ-13@gated-at.bofh.it>
In reply to#162163
Gene writes:
> And I haven't carved up a pcb to hold it all yet either.

I never do pcbs for this sort of thing.  I just solder point to point on
a breadboard.  Printed circuit boards are for production.
 
> The qucs simulation is hampered by its lack of two part models, a decent 
> hexfet, and a total lack of anything that looks like a 40 Amp SSR.

The circuit simulators in the Debian archive have libraries of models
for all these things.

BTW many SSRs can be driven directly by logic.  Here's one:
https://www.sparkfun.com/products/13015

And here's an application note:
http://www.wrcakron.com/catalog/10b_SSR_Applications.pdf
-- 
John Hasler 
jhasler@newsguy.com
Elmwood, WI USA

[toc] | [prev] | [next] | [standalone]


#162169

FromGene Heskett <gheskett@shentel.net>
Date2015-12-28 21:00 +0100
Message-ID<qKM7x-6GM-15@gated-at.bofh.it>
In reply to#162165
On Monday 28 December 2015 12:35:01 John Hasler wrote:

> Gene writes:
> > And I haven't carved up a pcb to hold it all yet either.
>
> I never do pcbs for this sort of thing.  I just solder point to point
> on a breadboard.  Printed circuit boards are for production.

Which, since I was in the environs of a surviving radio shack this 
morning, I stopped in and picked up a couple breadboards.
>
> > The qucs simulation is hampered by its lack of two part models, a
> > decent hexfet, and a total lack of anything that looks like a 40 Amp
> > SSR.
>
> The circuit simulators in the Debian archive have libraries of models
> for all these things.
>
> BTW many SSRs can be driven directly by logic.  Here's one:
> https://www.sparkfun.com/products/13015

What I have are clones of the crydom SSR, 3-32 volts & around 10 mills to 
fire them. I have it making about 1.35 volts into a 100k load right now, 
and since the shack didn't have any small hexfets, I've used some 
2n2222a I had, and have put 100 ohms between the collector of a 2n2222a 
and the - bolt, with about 18 volts connected to the + bolt.  Not tested 
yet, my back gave out, but probably by the time the day is done I'll 
know if it works.  Response time looks to be around 100 milliseconds, 
plenty fast enough when driven by my function generator set at 4.5 v 
p-p.  The Breakout Board can swing to nearly 5 volts, but probably 
capable of less current than the generator, which could slow the 
response, but this job can tolerate a seconds lag if it has to.

> And here's an application note:
> http://www.wrcakron.com/catalog/10b_SSR_Applications.pdf

I'll grab that, it could be educational.  Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#162154

FromGener Badenas <gener.ong.badenas@gmail.com>
Date2015-12-28 08:10 +0100
Message-ID<qKA6m-732-3@gated-at.bofh.it>
In reply to#162010

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett <gheskett@shentel.net> wrote:

> Greetings all;
>
> Do we have such a beast?
>
> Thanks.
>
>
There might be some projects in github that does this.


> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Some mill pix are at:
> Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>
>
>


-- 
Java <http://javadevnotes.com/java-array-length-examples> and Groovy
<http://grails.asia/groovy-list-tutorial-and-examples>

[toc] | [prev] | [next] | [standalone]


#162162

FromGene Heskett <gheskett@shentel.net>
Date2015-12-28 13:20 +0100
Message-ID<qKEWl-1Oy-11@gated-at.bofh.it>
In reply to#162154
On Monday 28 December 2015 01:59:44 Gener Badenas wrote:

Back on the list where this belongs.

> On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett <gheskett@shentel.net> 
wrote:
> > Greetings all;
> >
> > Do we have such a beast?
> >
> > Thanks.
>
> There might be some projects in github that does this.

Qucs seems to be the default plaything for such these days.  However I am 
having a heck of a time making it work to actually do the simulation of 
the charge-pump detection circuit I have drawn, basically 2 caps, 2 
diodes and a loading R on the output.

I have joined the qucs-help mailing list, but it appears I may be the 
only subscriber.  No other activity in about 18 hours anyway.

I've looked at git-hub a few times but it doesn't take long to get lost 
in that corn maze.

> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > Some mill pix are at:
> > Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#162179

FromJoel Rees <joel.rees@gmail.com>
Date2015-12-29 09:40 +0100
Message-ID<qKXZ0-6lv-11@gated-at.bofh.it>
In reply to#162162
erk.

On Tue, Dec 29, 2015 at 5:12 PM, Joel Rees <joel.rees@gmail.com> wrote:
> On Mon, Dec 28, 2015 at 9:15 PM, Gene Heskett <gheskett@shentel.net> wrote:
>> On Monday 28 December 2015 01:59:44 Gener Badenas wrote:
>>
>> Back on the list where this belongs.
>>
>>> On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett <gheskett@shentel.net>
>> wrote:
>>> > Greetings all;
>>> >
>>> > Do we have such a beast?
>>> >
>>> > Thanks.
>>>
>>> There might be some projects in github that does this.
>>
>> Qucs seems to be the default plaything for such these days.  However I am
>> having a heck of a time making it work to actually do the simulation of
>> the charge-pump detection circuit I have drawn, basically 2 caps, 2
>> diodes and a loading R on the output.
>>
>> I have joined the qucs-help mailing list, but it appears I may be the
>> only subscriber.  No other activity in about 18 hours anyway.
>>
>> I've looked at git-hub a few times but it doesn't take long to get lost
>> in that corn maze.
>>
>>> > Cheers, Gene Heskett
>>> > --
>>> > "There are four boxes to be used in defense of liberty:
>>> >  soap, ballot, jury, and ammo. Please use in that order."
>>> > -Ed Howdershelt (Author)
>>> > Some mill pix are at:
>>> > Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>
>
> So, Gene, did you try stackexchange, like Anders suggested some time back?
>
> On Thu, Dec 24, 2015 at 9:36 AM, Anders Andersson <pipatron@gmail.com> wrote:
>> http://electronics.stackexchange.com/
>>
>> Hope this helps.
>>
>
> Stackexchange does seem to be the default mail list for a lot of
> off-list support these days.
>
> Also, would something like this help?
>
>     joel@joelsbox:~$ bc -l
>     bc 1.06.95
>     Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software
> Foundation, Inc.
>     This is free software with ABSOLUTELY NO WARRANTY.
>     For details type `warranty'.
>
>     # code follows
>     define vc(vs,t,r,c) {
>     return vs * (1-e(-t/(r*c)))
>     }
>
>     # use follows
>     for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ), "\n" }
>     0:0
>     .1:13.62082702075229745240
>     .2:25.69559630209412900880
>     .3:36.39979605263053873920
>     .4:45.88899535985331237480
>     ...

You said 51 ohm resistor, and t would make more sense than i, so make that

    for ( t=0.0; t<5.0; t += 0.1 ) { print t, ": ", vc(120,t,51,.01 ), "\n" }

And you could calculate the power and current in the loop and print
that, as well.

>
> The -l option brings in the library, I don't remember if you needed
> that for the power of e function, e(), but it doesn't hurt.
>
> I refreshed my memory on the R time constant, and the associated
> calculus (which you can mostly ignore) here:

heh.

"RC time constant"

mea culpa

>     http://www.electronics-tutorials.ws/rc/rc_1.html
>     https://en.wikipedia.org/wiki/RC_time_constant
>
> I'll try to play with your circuit using qucs on openbsd to see if I
> can shed some light on that. Too bad we don't have a debian package
> between squeeze (was it?) and sid.

-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html

[toc] | [prev] | [next] | [standalone]


#162181

FromGene Heskett <gheskett@shentel.net>
Date2015-12-29 10:50 +0100
Message-ID<qKZ4J-76v-3@gated-at.bofh.it>
In reply to#162179
On Tuesday 29 December 2015 03:39:25 Joel Rees wrote:

> erk.
>
> On Tue, Dec 29, 2015 at 5:12 PM, Joel Rees <joel.rees@gmail.com> wrote:
> > On Mon, Dec 28, 2015 at 9:15 PM, Gene Heskett <gheskett@shentel.net> 
wrote:
> >> On Monday 28 December 2015 01:59:44 Gener Badenas wrote:
> >>
> >> Back on the list where this belongs.
> >>
> >>> On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett
> >>> <gheskett@shentel.net>
> >>
> >> wrote:
> >>> > Greetings all;
> >>> >
> >>> > Do we have such a beast?
> >>> >
> >>> > Thanks.
> >>>
> >>> There might be some projects in github that does this.
> >>
> >> Qucs seems to be the default plaything for such these days. 
> >> However I am having a heck of a time making it work to actually do
> >> the simulation of the charge-pump detection circuit I have drawn,
> >> basically 2 caps, 2 diodes and a loading R on the output.
> >>
> >> I have joined the qucs-help mailing list, but it appears I may be
> >> the only subscriber.  No other activity in about 18 hours anyway.
> >>
> >> I've looked at git-hub a few times but it doesn't take long to get
> >> lost in that corn maze.
> >>
> >>> > Cheers, Gene Heskett
> >>> > --
> >>> > "There are four boxes to be used in defense of liberty:
> >>> >  soap, ballot, jury, and ammo. Please use in that order."
> >>> > -Ed Howdershelt (Author)
> >>> > Some mill pix are at:
> >>> > Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>
> >
> > So, Gene, did you try stackexchange, like Anders suggested some time
> > back?
> >
> > On Thu, Dec 24, 2015 at 9:36 AM, Anders Andersson 
<pipatron@gmail.com> wrote:
> >> http://electronics.stackexchange.com/
> >>
> >> Hope this helps.
> >
> > Stackexchange does seem to be the default mail list for a lot of
> > off-list support these days.
> >
> > Also, would something like this help?
> >
> >     joel@joelsbox:~$ bc -l
> >     bc 1.06.95
> >     Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software
> > Foundation, Inc.
> >     This is free software with ABSOLUTELY NO WARRANTY.
> >     For details type `warranty'.
> >
> >     # code follows
> >     define vc(vs,t,r,c) {
> >     return vs * (1-e(-t/(r*c)))
> >     }
> >
> >     # use follows
> >     for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01
> > ), "\n" } 0:0
> >     .1:13.62082702075229745240
> >     .2:25.69559630209412900880
> >     .3:36.39979605263053873920
> >     .4:45.88899535985331237480
> >     ...
>
> You said 51 ohm resistor, and t would make more sense than i, so make
> that
>
>     for ( t=0.0; t<5.0; t += 0.1 ) { print t, ": ", vc(120,t,51,.01 ),
> "\n" }

The 51 ohm resistor is the surge limiter R, in series with the psu 
primary windings for a few seconds at powerup.  Has zero to do with this 
other than the SSR's triggered by this will turn the thing on and at 
some time after the psu's filters are charged, bypass the R with another 
identical SSR, a chinese equ to a 40 amp crydom block of epoxy.

The load R for these two identical circuits is 100k Ohms, to get a 
reasonable turnoff time when the 500 hz excitation stops.

> And you could calculate the power and current in the loop and print
> that, as well.
>
> > The -l option brings in the library, I don't remember if you needed
> > that for the power of e function, e(), but it doesn't hurt.
> >
> > I refreshed my memory on the R time constant, and the associated
> > calculus (which you can mostly ignore) here:
>
> heh.
>
> "RC time constant"
>
> mea culpa
>
> >     http://www.electronics-tutorials.ws/rc/rc_1.html
> >     https://en.wikipedia.org/wiki/RC_time_constant
> >
> > I'll try to play with your circuit using qucs on openbsd to see if I
> > can shed some light on that. Too bad we don't have a debian package
> > between squeeze (was it?) and sid.

I'd still like to make qucs work, just to learn how to run that puppy, 
but what hardware I have pasted together right now, looks as if it will 
do the job.

Thanks Joel.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#162182

FromJoel Rees <joel.rees@gmail.com>
Date2015-12-29 12:00 +0100
Message-ID<qL0au-7IT-15@gated-at.bofh.it>
In reply to#162162
On Tue, Dec 29, 2015 at 6:12 PM, Gene Heskett <gheskett@shentel.net> wrote:
>
> A paste of what I entered:
>
> define vc(vs,t,r,c) {
> return vs * (1-e(-t/(r*c)))
> }
> for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" } 0:0

Sorry I missed that. Probably should stay off the list when I'm in a
hurry. Rip the 0:0 off the end and see how that works:

for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" }

Or you could unpack it  bit:

for ( i=0.0; i<5.0; i += 0.1 ) {
  print i, ":", vc(120,i,83,.01 ),"\n"
}

The units should be volts, seconds, ohms, and farads. I'm not positive
about farads, but the units were set up so that this equation would
work without conversion, as I recall.

Adding current and power should look something like

scale=5;
vs = 120;
r = 100000;
c = .00001;
for ( t=0.0; t<5.0; t += 0.1 ) {
  vr = vs - vc;
  a = vr / r;
  p = vr * a;
  print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p,  "\n"
}


-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html

[toc] | [prev] | [next] | [standalone]


#162183

FromJoel Rees <joel.rees@gmail.com>
Date2015-12-29 12:10 +0100
Message-ID<qL0k9-824-1@gated-at.bofh.it>
In reply to#162182
I don't believe I did this.

On Tue, Dec 29, 2015 at 7:56 PM, Joel Rees <joel.rees@gmail.com> wrote:
> On Tue, Dec 29, 2015 at 6:12 PM, Gene Heskett <gheskett@shentel.net> wrote:
>>
>> A paste of what I entered:
>>
>> define vc(vs,t,r,c) {
>> return vs * (1-e(-t/(r*c)))
>> }
>> for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" } 0:0
>
> Sorry I missed that. Probably should stay off the list when I'm in a
> hurry. Rip the 0:0 off the end and see how that works:
>
> for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" }
>
> Or you could unpack it  bit:
>
> for ( i=0.0; i<5.0; i += 0.1 ) {
>   print i, ":", vc(120,i,83,.01 ),"\n"
> }
>
> The units should be volts, seconds, ohms, and farads. I'm not positive
> about farads, but the units were set up so that this equation would
> work without conversion, as I recall.
>
> Adding current and power should look something like
>
> scale=5;
> vs = 120;
> r = 100000;
> c = .00001;
> for ( t=0.0; t<5.0; t += 0.1 ) {

vc = vc(vs,t,r,c );

>   vr = vs - vc;
>   a = vr / r;
>   p = vr * a;
>   print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p,  "\n"
> }
>
>
> --
> Joel Rees
>
> Be careful when you look at conspiracy.
> Arm yourself with knowledge of yourself, as well:
> http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html

scale=5;
vs = 120;
r = 100000;
c = .00001;
for ( t=0.0; t<5.0; t += 0.1 ) {
  vc = vc(vs,t,r,c );
  vr = vs - vc;
  a = vr / r;
  p = vr * a;
  print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p,  "\n"
}

-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html

[toc] | [prev] | [next] | [standalone]


#162186

FromGene Heskett <gheskett@shentel.net>
Date2015-12-29 16:50 +0100
Message-ID<qL4H7-2sK-1@gated-at.bofh.it>
In reply to#162183
On Tuesday 29 December 2015 06:03:14 Joel Rees wrote:

> I don't believe I did this.
>
> On Tue, Dec 29, 2015 at 7:56 PM, Joel Rees <joel.rees@gmail.com> wrote:
> > On Tue, Dec 29, 2015 at 6:12 PM, Gene Heskett <gheskett@shentel.net> 
wrote:
> >> A paste of what I entered:
> >>
> >> define vc(vs,t,r,c) {
> >> return vs * (1-e(-t/(r*c)))
> >> }
> >> for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01
> >> ),"\n" } 0:0
> >
> > Sorry I missed that. Probably should stay off the list when I'm in a
> > hurry. Rip the 0:0 off the end and see how that works:
> >
> > for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01
> > ),"\n" }
> >
> > Or you could unpack it  bit:
> >
> > for ( i=0.0; i<5.0; i += 0.1 ) {
> >   print i, ":", vc(120,i,83,.01 ),"\n"
> > }
> >
> > The units should be volts, seconds, ohms, and farads. I'm not
> > positive about farads, but the units were set up so that this
> > equation would work without conversion, as I recall.
> >
> > Adding current and power should look something like
> >
> > scale=5;
> > vs = 120;
> > r = 100000;
> > c = .00001;
> > for ( t=0.0; t<5.0; t += 0.1 ) {
>
> vc = vc(vs,t,r,c );
>
> >   vr = vs - vc;
> >   a = vr / r;
> >   p = vr * a;
> >   print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p, 
> > "\n" }
> >
> >
> > --
> > Joel Rees
> >
> > Be careful when you look at conspiracy.
> > Arm yourself with knowledge of yourself, as well:
> > http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html
>
> scale=5;
> vs = 120;
> r = 100000;
> c = .00001;
> for ( t=0.0; t<5.0; t += 0.1 ) {
>   vc = vc(vs,t,r,c );
>   vr = vs - vc;
>   a = vr / r;
>   p = vr * a;
>   print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p,  "\n"
> }
Thank you Joel, I have learn more about bc than the man page will ever 
teach me.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#162522

Fromken <gebser@mousecar.com>
Date2016-01-03 12:00 +0100
Message-ID<qMOye-4gv-5@gated-at.bofh.it>
In reply to#162154
On 12/28/2015 01:59 AM, Gener Badenas wrote:
>
>
> On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett <gheskett@shentel.net
> <mailto:gheskett@shentel.net>> wrote:
>
>     Greetings all;
>
>     Do we have such a beast?
>
>     Thanks.
>
> ,,,,

A quasi-cli utility called "units" does that.

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | linux.debian.user


csiph-web