Long Shot #2 - BLAP Examples
|
08-08-2014, 09:36 AM
(This post was last modified: 08-10-2014 06:56 AM by Ángel Martin.)
Post: #1
|
|||
|
|||
Long Shot #2 - BLAP Examples
Here's another post unlikely to be very successful, but we'll try anyway.
There's a very interesting Ladder Analysis program that uses the "backwards" technique to reduce the circuit and calculate the results. "Eimac AS-49-34 Ladder analysis program for the HP-41C" It's posted at TOS and also at the following site: http://pa3csg.hoeplakee.nl/joomla25/inde...-eme-notes here is the program: http://pa3csg.hoeplakee.nl/joomla25/imag...-49-34.pdf The documentation only describes the main aspects and lists the program but it's lacking any example of utilization. Because the program is very modular and routine-based, not having an example makes it almost impossible to use. Has anyone come across this before, and succeed in getting it to work? Any hints would be great. Cheers, ÁM "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-10-2014, 07:32 AM
Post: #2
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
For this example I used the following program:
Code: 01 LBL "EX" At the end it will display: V0=56.00<0.00 Since the system is linear you can scale the voltage down to 7 V, the current I will also scale down by a factor of 8, so the actual I is 125 mA, not the 1 A you originally assumed. Cheers Thomas PS: There might be typos in the listing of BLAP. Code: Archive: blap.zip |
|||
08-11-2014, 08:48 AM
(This post was last modified: 08-11-2014 08:59 AM by Ángel Martin.)
Post: #3
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
Thanks much Thomas, I see not only you're a math old hand but feel comfortable with EE subjects as well!
Thanks for putting the program in RAW file - I realized I had two erroneous steps in my own rendition, I entered RCL/STO 03 instead of R08. Your example helps a lot, I'll try with more involved ones, like those shown here: http://www.hpmuseum.org/forum/thread-1665.html The Grapevine's example is also a good test case to use, we'll see how it goes. Best, ÁM "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-14-2014, 06:37 PM
(This post was last modified: 08-14-2014 11:36 PM by Thomas Klemm.)
Post: #4
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
We can introduce 5 currents \(I_1, ..., I_5\) in each of the "loops" of the ladder:
Using Kirchhoff's voltage law we can write 5 equations: \[ \begin{align} 2I_1+5(I_1-I_2) &= 7\\ 2I_2+4(I_2-I_3)+5(I_2-I_1) &= 0 \\ 2I_3+7(I_3-I_4)+1I_3+4(I_3-I_2) &= 0\\ 2I_4+3(I_4-I_5)+7(I_4-I_3) &= 0\\ 2I_5+1I_5+3(I_5-I_4) &= 0 \end{align} \] This results in this system of linear equations: \[ \begin{bmatrix} 7 & -5 & 0 & 0 & 0 \\ -5 & 11 & -4 & 0 & 0 \\ 0 & -4 & 14 & -7 & 0 \\ 0 & 0 & -7 & 12 & -3 \\ 0 & 0 & 0 & -3 & 6 \end{bmatrix} \cdot \begin{bmatrix} I_1\\ I_2\\ I_3\\ I_4\\ I_5 \end{bmatrix}=\begin{bmatrix} 7\\ 0\\ 0\\ 0\\ 0 \end{bmatrix} \] You could use the HP-48 to solve that: [7 0 0 0 0] ENTER [[7 -5 0 0 0] -5 11 -4 0 0 0 -4 14 -7 0 0 0 -7 12 -3 0 0 0 -3 6] / This will give you: [ 1.625 .875 .375 .25 .125 ] |
|||
08-14-2014, 09:00 PM
(This post was last modified: 08-14-2014 09:13 PM by Thomas Klemm.)
Post: #5
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
There's an example in the Electric Circuits program by Guillermo Castarés:
This is the program that I have written for it: Code: 01 LBL "CI" Make sure to have the frequency f = 50Hz stored as GHz in register 08: 5 E-8 STO 08 The result is: Z0=9.59<-29.20 If we want to calculate V1 we have to multiply this by I = 10: 10 * P-R This matches the result provided: V1 = 83,7467 - 46,7976i Kind regards Thomas |
|||
08-14-2014, 11:56 PM
(This post was last modified: 08-14-2014 11:59 PM by jebem.)
Post: #6
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
(08-14-2014 06:37 PM)Thomas Klemm Wrote: We can introduce 5 currents \(I_1, ..., I_5\) in each of the "loops" of the ladder: Thank You for sharing your knowledge, Thomas! Excellent practical example of mathematics application in the field. This exercise reminds me of one of my EE teachers from the 70's. He tried hard to educate us on the Kirchhoff laws. He used to smoke a pipe all the time, even during the class (!). Those were the times when an educated adult was allowed to smoke everywhere and anytime. I have added the current legend to the diagram: Jose Mesquita RadioMuseum.org member |
|||
08-15-2014, 02:46 PM
(This post was last modified: 08-15-2014 02:46 PM by Ángel Martin.)
Post: #7
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
This is going the right way, thanks Thomas!
I've added BLAP to my Electrical Engineering module (ETSII-5), which also has the Grapevine program and Guillermo's included - well I should say enhanced versions of both, as I added a few touches to improve the data entry and output processes. I'll add the examples for BLAP as well, this will round up the module pretty nicely. Will post it once it's all done, just give me a coupe of days. Anyone wants to go for a BLAP example for the Grapevine's circuit? ;-) "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-15-2014, 05:37 PM
Post: #8
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
(08-14-2014 11:56 PM)jebem Wrote: This exercise reminds me of one of my EE teachers from the 70's. We had a French teacher who also always smoked a pipe. When we pointed him to the "no smoking" sign, he said succinctly: "Oh, c'est seulement pour les analphabètes." Quote:I have added the current legend to the diagram: Thanks for this. That surely helps! Cheers Thomas |
|||
08-15-2014, 08:22 PM
(This post was last modified: 08-15-2014 08:23 PM by Ángel Martin.)
Post: #9
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
(08-15-2014 05:37 PM)Thomas Klemm Wrote: We had a French teacher who also always smoked a pipe. When we pointed him to the "no smoking" sign, he said succinctly: "Oh, c'est seulement pour les analphabètes." Well it sure didn't read "Défense de Fumer" so I guess a French teacher wasn't concerned about the sign , haha "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-15-2014, 08:53 PM
Post: #10
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples | |||
08-15-2014, 09:51 PM
Post: #11
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
(08-15-2014 08:53 PM)Thomas Klemm Wrote:(08-15-2014 08:22 PM)Ángel Martin Wrote: Well it sure didn't read "Défense de Fumer" so I guess a French teacher wasn't concerned about the sign , haha Ceci n'est pas une pipe... Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
08-16-2014, 06:06 PM
(This post was last modified: 11-26-2016 01:32 PM by Ángel Martin.)
Post: #12
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
See the attached MOD file (zipped to make it acceptable) with
1. the complete BLAP, 2. Grapevine's ADV-Z and ADV-R, and 3. Guillermo's "EEA" and my "EEE" for data entry plus a lot of other programs, like the Power-Flow Equations, etc. Note that some programs use functions from the AMC_OS/X module Thomas' examples are included as "CT1" and "CT2", which also store the frequency as appropriate. Cheers, 'AM "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-17-2014, 07:10 AM
(This post was last modified: 08-17-2014 07:23 AM by Ángel Martin.)
Post: #13
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
Here's the QRG: (sorry but I can't get the columns properly formatted - a pdf will be available at TOS shortly).
PHP Code: # Program Description Dependency Author Source Printer? "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-18-2014, 03:07 AM
(This post was last modified: 08-18-2014 03:08 AM by Gerson W. Barbosa.)
Post: #14
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
Alternatively, if we want neither programming nor linear system solving, we can use the WP 34S and do
1 ENTER 2 + STO 01 3 g || 2 + STO 02 7 g || 3 + STO 03 4 g || 2 + STO 04 5 g || 2 + 7 x<>y / 5 RCL 04 5 + / * 4 RCL 03 4 + / * 7 RCL 02 7 + / * 3 RCL 01 3 + / * --> 0.125 Gerson. |
|||
08-19-2014, 02:05 AM
Post: #15
|
|||
|
|||
RE: Long Shot #2 - BLAP Examples
Or then you write a small program:
Code: LBL'BLA' You start with X = 1A and Y = 0V: 1 A 2 A 3 B 2 A 7 B 2 A 1 A 4 B 2 A 5 B 2 A You end up with: X = 13A and Y = 56V. Since you know both current and voltage you don't have to backtrack the rightmost current but can calculate it immediately: 7/56 = 0.125 Cheers Thomas PS: The same program works with complex numbers when using the HP-42S. With the WP-34S you'd have to use the CPX variants of the operations. That's the big advantage of a complex mode or type: you don't have to bother whether to use real or complex numbers. Instead you can even mix them. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)