Iterative plotting for drawing a mesh

Iterative plotting for drawing a mesh - Messages

#1 Posted: 9/2/2019 9:13:30 PM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Hi all!!

I am working in a calculation that finish with a mesh from specific dimmensions and steps.

I am trying to plot this arragement without luck.

I have Lx:=50m Ly:=50m Div_x:=5 Div_y:=8

0
______________50
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
|__|__|__|__|__|
50

I am doing a:

for i:=1;i
but i do not know hoy to build a iterative matrix of vectos to plot.

Any ideas?

Thanks!!!
#2 Posted: 9/3/2019 9:52:34 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Thanks for the quick answer Jean!!

I have been play with your help, and I can plot only a square meshes.

I can't plot a rectangular mesh with different steps (in x and y).


Captura.JPG



#3 Posted: 9/4/2019 9:38:27 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

We are almost there!!


Look this. I can resize the mesh on Y limits.

Captura2.JPG
#4 Posted: 9/4/2019 12:18:51 PM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Sorry my last post must say "I can't resize the mesh on Y limits."


The thing I am trying to plot is the result of an electrical grounding/earthing calculation done by IEEE-80 (substation grounding).
The output of the calculation is a mesh of buried (cooper) conductors from specific dimensions and quantities.

Thanks!!!
#5 Posted: 9/6/2019 10:35:47 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Thank you very much for the help Jean!! I really appreciate it!

The last post is exactly what I need to do, but... (there's always a "but")

I need an way to generate the vectors matrix from:
-the total length of the mesh in X (long)
-the total length of the mesh in Y (width)
-the intermediate distances in X (step X)
-the intermediate distances in Y (step Y)

Do you think it's possible?
#6 Posted: 9/11/2019 9:08:10 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I am trying to plot this arrangement without luck.


... your project attached.

Argentina IEEE-80.PNG

2D Util Points Grid_Lines Canvas ADVANCED [Part7].sm (55 KiB) downloaded 34 time(s).

#7 Posted: 9/11/2019 9:48:19 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

... your project attached.


... slightly refreshed wrt to grid.

2D Util Points Grid_Lines Canvas ADVANCED [Part7].sm (60 KiB) downloaded 39 time(s).
#8 Posted: 9/11/2019 9:51:50 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Amazing Jean!!

Thank you very much!! I will play with that!
#9 Posted: 9/11/2019 11:54:19 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Amazing Jean!!

Thank you very much!! I will play with that!


At this point of your project and for the [6 x 9],
you can put some resulting IEEE-80 maths over the plot.
As well you can change the grid size and the maths
result will follow. You will have to refresh Xtick/Ytick
spacing for convenient publishing.
Eventually, you may add a discrete plot over the grid.
If you have more suite, propose for general interest,
unless the project is confidential in some way.
That's the only profitable application of 2D Scatter.
Smath is not suited for the 3D plot, but renders as
point plots. This Scatter style was designed for Mathcad
to generate low point data set re-plotted via the
specific "Scatter plot" interpolated X,Y directions.
This version Sr(X(x,y),Y(x,y),Z(x,y),u,v) is most
interesting for plotting a uni-color family of traces
from the Smath native QuickPlot.

Jean

Utilities Matrix Create Sr(X,Y,Z,s0,s1,t0,t1,xmesh,ymesh) GaussianMultitrace.sm (21 KiB) downloaded 41 time(s).
Utilities Matrix Create Sr(X,Y,Z,s0,s1,t0,t1,xmesh,ymesh) Spline_Interpolate.sm (95 KiB) downloaded 40 time(s).


#10 Posted: 9/12/2019 9:01:04 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Hi Jean,

I can perfectly understand that Smath plot is not designed for this, but with a litte tweak can be draw a "ilustrative example" of the results.

The project its not confidential, its a ground system of a new substation to expand electrical public distribution grid. Its done according the steps defined in IEEE80.
IEEE80 steps.jpg

So, I am doing this as an "extra mile" of the job (because the resulting grid must be drawn in cad files, over the real installation).

Regarding your submitted files, I can not draw the rods.
I trace the problem until this (see figure). Its seems that XY matrix has no second column. What do you think?
problem.jpg
#11 Posted: 9/12/2019 10:15:42 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Regarding your submitted files, I can not draw the rods.
I trace the problem until this (see figure). Its seems that XY matrix has no second column. What do you think?


If you can't plot this ... problem is your latest SS version [7109 ?]
1. Try tabulate 'grid' ... if NOT problem is there.
2. If 'grid' tabulates ... X_Y plot is freaked.
Many problems were reported about latest beta SS 7109
Some not yet attended for months.

Jean

Grid_Doctor.PNG

Grid.sm (19 KiB) downloaded 27 time(s).

#12 Posted: 9/12/2019 10:28:56 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Regarding your submitted files, I can not draw the rods.


... please, attach your document,
I will check if it works in my SS 6179.
Doctors will need it anyway.
#13 Posted: 9/12/2019 11:27:35 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... try this + professional version [all inclusive]

Grid Pro. version.sm (19 KiB) downloaded 37 time(s).
#14 Posted: 9/12/2019 2:29:59 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... also: you show some maths diagram,
make sure they go below the grid system.
Jean

Argentina Project.sm (28 KiB) downloaded 31 time(s).
#15 Posted: 9/12/2019 6:41:06 PM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Wrote

If you can't plot this ... problem is your latest SS version [7109 ?]


Yes! I am working with the last version! (I did not know it has a problem )

Your last 2 examples works without problem.

Now I will check with version 6179 and tell you.
#16 Posted: 9/12/2019 6:42:59 PM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

Wrote

If you can't plot this ... problem is your latest SS version [7109 ?]


Yes! I am working with the last version! (I did not know it has a problem )

Your last 2 examples works without problem.

Now I will check with version 6179 and tell you.
#17 Posted: 9/13/2019 7:18:30 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Your last 2 examples work without problem.

Now I will check with version 6179 and tell you.


The bug wrt SS 7109 is reported in Bugs & Problems small numbers.
It concerns failure to manage results < ?
The Project Fission attached turns red 7109.
The data table MeV [collapsed] is all red.
However quite correct 6179.
Electrical is not my cup of tea, rather: Process Control & Instrumentation.
I have seen that large carbon field grid under construction
next to an 800 MW Nuclear Power Plant [Same Candu in Argentina].
My understanding, next IEEE is an iterative trial/error to optimize
the best configuration of the earth ground field.
The SS 7109 bug may not reflect in this project.
May be wiser to continue SS 6179 if you still have it running.

Cheers ... Jean

Project Fission.sm (187 KiB) downloaded 30 time(s).
2D Util Points Grid_Lines Canvas ADVANCED [Part7].sm (242 KiB) downloaded 35 time(s).



#18 Posted: 9/13/2019 4:30:29 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... random list ground rods added.
I guess Smath could clean IEEE-80 pretty well.

Argentina Project.sm (218 KiB) downloaded 33 time(s).
#19 Posted: 9/16/2019 11:08:53 AM
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 likes in 13 posts.

Group: User

There is a difference in plotting in versions of Smath.

Have a look to this. I am loading the same file in two differente versions of Smath (last version and last beta).

Anotacion 2019-09-16 110608.jpg
1 users liked this post
#20 Posted: 9/16/2019 11:46:56 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

There is a difference in plotting in versions of Smath.


By same token: you can delete lot of the previous stuff that has no more meaning wrt the mesh-line/points project. Only YOU can delete your own.
There is no difference in plotting.
The text style always plots shifted below and right.
This is a delightful Smath feature.
Eventually, you can put it wherever you want [last part of the attached].
This document is an exceptional collection of the for-loop counter.
The for-loop counter enhances Smath from low classroom
to most advanced Engineering/Scientific applications.

Largely augmented SS 6179 for what it worth ... ?

Cheers ... Jean ... Please: don't hesitate for +

2D Util Points Grid_Lines Canvas ADVANCED [Part7] IEEE-80.sm (282 KiB) downloaded 38 time(s).


  • New Posts New Posts
  • No New Posts No New Posts