Iterative plotting for drawing a mesh

Iterative plotting for drawing a mesh - Сообщения

#1 Опубликовано: 02.09.2019 21:13:30
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 03.09.2019 09:52:34
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 04.09.2019 09:38:27
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: User

We are almost there!!


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

Captura2.JPG
#4 Опубликовано: 04.09.2019 12:18:51
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 06.09.2019 10:35:47
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 11.09.2019 09:08:10
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 34 раз(а).

#7 Опубликовано: 11.09.2019 09:48:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

... your project attached.


... slightly refreshed wrt to grid.

2D Util Points Grid_Lines Canvas ADVANCED [Part7].sm (60 КиБ) скачан 39 раз(а).
#8 Опубликовано: 11.09.2019 09:51:50
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: User

Amazing Jean!!

Thank you very much!! I will play with that!
#9 Опубликовано: 11.09.2019 11:54:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 41 раз(а).
Utilities Matrix Create Sr(X,Y,Z,s0,s1,t0,t1,xmesh,ymesh) Spline_Interpolate.sm (95 КиБ) скачан 40 раз(а).


#10 Опубликовано: 12.09.2019 09:01:04
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 12.09.2019 10:15:42
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 27 раз(а).

#12 Опубликовано: 12.09.2019 10:28:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 12.09.2019 11:27:35
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Grid Pro. version.sm (19 КиБ) скачан 37 раз(а).
#14 Опубликовано: 12.09.2019 14:29:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Argentina Project.sm (28 КиБ) скачан 31 раз(а).
#15 Опубликовано: 12.09.2019 18:41:06
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 12.09.2019 18:42:59
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 Опубликовано: 13.09.2019 07:18:30
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 30 раз(а).
2D Util Points Grid_Lines Canvas ADVANCED [Part7].sm (242 КиБ) скачан 35 раз(а).



#18 Опубликовано: 13.09.2019 16:30:29
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Argentina Project.sm (218 КиБ) скачан 33 раз(а).
#19 Опубликовано: 16.09.2019 11:08:53
jb_bairoletto@yahoo.com

jb_bairoletto@yahoo.com

1 сообщений из 13 понравились пользователям.

Группа: 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 пользователям понравился этот пост
#20 Опубликовано: 16.09.2019 11:46:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 38 раз(а).


  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений