PLOT_DST with errors study

https://www.dacm-logiciels.fr/tracewin
Post Reply
Italycomunian
Initiated
Initiated
Posts: 41
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

PLOT_DST with errors study

Post by Italycomunian »

Dear Didier,
is it possible to get all the dst files generate by the plot_dst command when is done an errors study?
What happens now is that is stored only the nominal runs .dst result, not the .dst of the errors study results.
Best Regards,
Michele Comunian
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: PLOT_DST with errors study

Post by FranceDidier »

Dear Michele,

You mean when the file name is specified in the ‘PLOT_DST file’ command because otherwise the distribution pointed to by PLOT_DST is saved in the plt file and this could already be kept for each run of an error study.

Regards,

Didier
Italycomunian
Initiated
Initiated
Posts: 41
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Re: PLOT_DST with errors study

Post by Italycomunian »

Dear Didier,
yes, when is indicate the command plot_dst "file" to save the distribution in a specific position along the line.
We use this command to save the beam distribution where are the diagnostics or other important points.
May be as final results of errors study something like:
file00000.dst
file00001.dst
file00002.dst
....
relative to the errors 00000, 00001,00002, etc...

Best Regards,
Michele Comunian
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: PLOT_DST with errors study

Post by FranceDidier »

Dear Michele,

OK, so if I've understood correctly, all you need to do is not specify a file name and the distribution will be saved in the file dtl1.plt and this file can be kept for each run.
Would this approach not suit you? It seems simpler to me and everything is in a single file
Let me know

Regards,

Didier
Italycomunian
Initiated
Initiated
Posts: 41
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Re: PLOT_DST with errors study

Post by Italycomunian »

Dear Didier,
yes, is possible to do in this way (save all the DTL1.plt files of the errors study and postread the results in a specific position) , but the problems is the total amount of disk space needed: we are getting quite fast a lot of disk space (hundred of GB) if we consider long beam lines with thousand of case study.
One way to save space is keeping only the distribution in some specific point of the line, i.e.:
....
plot_dst filea
...
plot_dst fileb

final results:
filea00001.dst
fileb00001.dst
...
filea00002.dst
fileb00002.dst

Of course the drawback is that we get a lot of small files and is needed a change on the code to handle this possibility.
What is your opinion about that ?
Best Regards,
Michele Comunian
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: PLOT_DST with errors study

Post by FranceDidier »

Dear Michele,

If you specify the right options, the plt file will only contain the positions requested!

Regards,

Didier
Italycomunian
Initiated
Initiated
Posts: 41
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Re: PLOT_DST with errors study

Post by Italycomunian »

Dear Didier,
sorry, but I do not understood, so I've attach the project: how I can get the phase space for diagnostic DBOX1, DBOX2,etc... for all the input beam errors study ?
Best Regards,
Michele Comunian
Attachments
test2.dat
(2.53 KiB) Downloaded 44 times
test2.cal
(304 Bytes) Downloaded 41 times
test2.ini
(43.77 KiB) Downloaded 40 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: PLOT_DST with errors study

Post by FranceDidier »

Dear Michele,

That works well,if you replace all your commands "PLT_DST file" by "PLOT_DST"
In this way, the plt file contains distribution at position 0, 42, 110, 152, 193, 260

Regards,

Didier
Post Reply