Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline Jean Giraud  
#21 Posted : 12 March 2019 23:54:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
The question is what does the source project from book shows.
Something like this ? EE processes 't'. What's under the hood
of this processing ... drop the monkey from the tree ?

isThat.PNG


Offline Razonar  
#22 Posted : 13 March 2019 00:29:14(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,357
Uruguay

Was thanked: 817 time(s) in 517 post(s)
Originally Posted by: RegCurry Go to Quoted Post
Hi Razonar,
Thanks for your input. I need to review your coupled equations syntax to make sure I understand it, but I think I prefer it to my brute force method. I am new to SMath so I don't quite understand your method yet.


Don't warry. Mine it's brute force too. It just use range variables instead for loops. The variable Ans it's just for make ranges available to SMath, but variables V & I are "public" and get out of the definition of Ans.

Clipboard01.gif

Originally Posted by: RegCurry Go to Quoted Post

As far as the decoupling goes, it is done more from the physics than the math. For a spatially constant driving field over the transmission line and approximate shorts on both ends, the voltage on the line is assumed to be approximately zero. It is only an approximate solution, but surprisingly close to the coupled solution. See this pdf file to see the derivation of the decoupling.
Decouple TM Line Equations .pdf (302kb) downloaded 27 time(s).



Thanks, I not assume never dI/dx = 0, which now that you say, it's perfectly close to real situation. Also, one point, related with the Davide annotation: I don't see (and that's because I clear this) that the border condition at the end is used, only V=0 at the starts. This because time loops (in k) are from the start to the end.

Originally Posted by: RegCurry Go to Quoted Post

Here is the pdf of the Mathcad file: TDFD SUBROUTINE VS SMATH.pdf (53kb) downloaded 23 time(s). Or did you want the actual xmcd file? The VS SMATH in the title is somewhat misleading. It does not have both versions in the Mathcad file. I just used this file to help construct my original SMath Coupled TDFD routine that is in the original post.

Is this the sm file your want: TDFD COUPLED ROUTINE ORIG.sm (16kb) downloaded 26 time(s). Or did you want want my points per decade routine. That has not changed since my original post. I have changed the COUPLED TDFD WITH SNIPPETS.sm a little from when the original post when the code ran a long time. I made changes based on the various comments above including the numeric optimization in the whole code Re. Ber7's suggestion. This all made things run much faster. However, I still cannot get the very short run-times of the Mathcad code for NPD=30, NFS=-9, NFS=-1 and Ncell=100.

My current version of the Coupled TDFD code is here: HEMP COUPLED TDFD DBL EXPON DRIVER.sm (77kb) downloaded 22 time(s). With the current setting for the points per decade it runs for about 6 minutes on my computer. It runs for less than a second with the original points per decade.

Again, if you want the Mathcad codes in xmcd just let me know.

All of you guys have been most helpful in my quest to learn SMath and I truly appreciate it.

Reg




Thanks, with PDF versions of mcd files are more than enough.

Best regards.
Alvaro.
Offline Jean Giraud  
#23 Posted : 13 March 2019 03:44:37(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
Thanks, with PDF versions of mcd files are more than enough.

The problem I have is about the generation of EE.
It looks to me a pure fabrication from 't'. I suspect EE
is an experimental data set from which 't' was designed.
As such, *.mcd has little interest has a sub-invention
or so to speak a conclusive interpretation.
Wait and see what Reg will say.
Why such a weird 't' shape as it looks more natural
if approximated by an analytical continuous model function.
Interesting ... Jean

Offline RegCurry  
#24 Posted : 13 March 2019 10:16:03(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Alvaro,

Thanks, I not assume never dI/dx = 0, which now that you say, it's perfectly close to real situation. Also, one point, related with the Davide annotation: I don't see (and that's because I clear this) that the border condition at the end is used, only V=0 at the starts. This because time loops (in k) are from the start to the end.


I am not sure this answers your question. In my scheme, j=1..Ncell is in the voltage loop where the end conditions are applied. j=1..Ncell-1 only applies to the current loop, but the end conditions are not applied in the current loop, only in the voltage loop. In my scheme, the space loops on j are inside the time loop on k. In your scheme, it is not clear to me that the space loops are inside the time loop, but I am not yet familiar enough with SMath’s structure to be sure of that.

Reg
Offline RegCurry  
#25 Posted : 13 March 2019 10:22:07(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Razonar Go to Quoted Post
Thanks, with PDF versions of mcd files are more than enough.

The problem I have is about the generation of EE.
It looks to me a pure fabrication from 't'. I suspect EE
is an experimental data set from which 't' was designed.
As such, *.mcd has little interest has a sub-invention
or so to speak a conclusive interpretation.
Wait and see what Reg will say.
Why such a weird 't' shape as it looks more natural
if approximated by an analytical continuous model function.
Interesting ... Jean



Yes, Jean; it’s pure fabrication.
Reg
Offline Jean Giraud  
#26 Posted : 13 March 2019 16:21:00(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: RegCurry Go to Quoted Post
Yes, Jean; it’s pure fabrication.
Reg

Thanks Reg for my good guess.
Obviously, no physical experiment(s) can result in discontinuity.
If you have some kind of graph for the EE or tabulated data,
I can manage to recover some nice clean shape, easy to digitize
a graph, even rough graph.
From there, I have lot of "Cats in the Hat".
If you have a
graph; it must have MinMax [X,Y]coordinates

Jean

ConvolIntegral.PNG

Users browsing this topic
Guest
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.