<div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cch%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
--></style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi colleagues,</span></p><p class="MsoNormal"><br><span lang="EN-US"><span style=""></span></span></p><p class="MsoNormal"><span lang="EN-US"><span style=""> </span>Learning to use Virtual_output/Virtual_input, I found something
interesting:</span></p>
<p class="MsoNormal" style="text-indent: 15.75pt;"><span lang="EN-US">I put Virtual_output and PSD after monochromator to end the fisrt
split simulation I1:</span></p>
<p class="MsoNormal"><font color="#0000f0"><span lang="EN-US">DEFINE INSTRUMENT I1(…)</span></font></p>
<p class="MsoNormal" style="text-indent: 15.75pt;"><font color="#0000f0"><span lang="EN-US"><CUT. Source, Channel, guide, Collimator and Monochromator. See my previous mail></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">/******************psd_after_mono********************/<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">COMPONENT psd_after_mono = PSD_monitor(<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>nx = 90, ny =90, filename =
"psd_after_mono ",<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>xwidth =0.2, yheight =0.2)<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>AT (0, 0, 0.4) RELATIVE mono_out<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">/********************Virtual_output*********************/<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">COMPONENT DataAfterMono = Virtual_output(<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>file =
"DataAfterMono")<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><font color="#0000f0"><span style=""> </span>AT (0, 0, 0.4) RELATIVE mono_out</font><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align: left; text-indent: 15pt;" align="left"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">Then run it with ncount=1E8 and
Scilab format. The obtained data file </span><span style="font-size: 10pt;" lang="EN-US">“</span><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">psd_after_mono</span><span style="font-size: 10pt;" lang="EN-US">”</span><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"> suggests I I_err N=[4.02214E+8 2.18807E+6 172701].<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 21pt 0.0001pt 31.5pt; text-indent: -15.75pt;"><span lang="EN-US">The second split simulation I2 only includes a PSD
behind:</span></p>
<p class="MsoNormal"><font color="#0000f0"><span lang="EN-US">DEFINE INSTRUMENT I2(…)</span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">COMPONENT SourceAfterMono = Virtual_input(<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>file =
"DataAfterMono_list.p.x.y.z.vx.vy.vz.t.sx.sy.sz", repeat_count = 1)<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>AT (0,0,0) ABSOLUTE<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">COMPONENT PsdAtEntrance = PSD_monitor(<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><font color="#0000f0"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><span style=""> </span>filename =
"PsdAtEntrance", xwidth = 0.2, yheight = 0.2)<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><font color="#0000f0"><span style=""> </span>AT (0, 0, 1.1) RELATIVE
SourceAfterMono</font><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt;"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt; text-indent: 15pt;"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">Then ncount is
set as 1E8 corresponding to repeat_count=1.To my surprise, running I2 needs 20
minutes as much time as I1.It means that, in this case, the use of<span style=""> </span></span><span lang="EN-US">Virtual_output/Virtual_input
would’t help to raise simulation efficiency.</span></p>
<p class="MsoNormal" style="margin-right: 21pt; text-indent: 15.75pt;"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt; text-indent: 15.75pt;"><span lang="EN-US">I suspect the phenomenon is related to high I and N at </span><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">SourceAfterMono. But I</span><span style="font-size: 10pt;" lang="EN-US">’</span><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">m not sure. Would you please give some explanation?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt; text-indent: 15pt;"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt;"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 21pt;"><span style="font-size: 10pt; font-family: 宋体;" lang="EN-US">Tom</span></p>
</div><div> </div><div> </div><div> </div>