Long Shot #2 - BLAP Examples - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Long Shot #2 - BLAP Examples (/thread-1938.html) |
Long Shot #2 - BLAP Examples - Ángel Martin - 08-08-2014 09:36 AM 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/index.php/old-stuff/71-the-eimac-eme-notes here is the program: http://pa3csg.hoeplakee.nl/joomla25/images/stories/PDF/eimac/AS-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 RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-10-2014 07:32 AM 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 RE: Long Shot #2 - BLAP Examples - Ángel Martin - 08-11-2014 08:48 AM 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 RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-14-2014 06:37 PM 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 ] RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-14-2014 09:00 PM 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 RE: Long Shot #2 - BLAP Examples - jebem - 08-14-2014 11:56 PM (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: RE: Long Shot #2 - BLAP Examples - Ángel Martin - 08-15-2014 02:46 PM 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? ;-) RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-15-2014 05:37 PM (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 RE: Long Shot #2 - BLAP Examples - Ángel Martin - 08-15-2014 08:22 PM (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 RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-15-2014 08:53 PM (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 I was just a pictogram similar to this: RE: Long Shot #2 - BLAP Examples - Massimo Gnerucci - 08-15-2014 09:51 PM (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... RE: Long Shot #2 - BLAP Examples - Ángel Martin - 08-16-2014 06:06 PM 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 RE: Long Shot #2 - BLAP Examples - Ángel Martin - 08-17-2014 07:10 AM 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? RE: Long Shot #2 - BLAP Examples - Gerson W. Barbosa - 08-18-2014 03:07 AM 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. RE: Long Shot #2 - BLAP Examples - Thomas Klemm - 08-19-2014 02:05 AM 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. |