<div dir="ltr">Dear David, <div><br></div><div>I have tried deleting all the devices that generate output files, as you suggested, but the model still crashes at second run.</div><div>I think Simulation Studio does not manage to start TRNExe, because <span style="line-height:1.5">as soon as I press the "Run" button the window turns white and closes (as usually do programs in Windows) with a standard message "</span>A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."<span style="line-height:1.5">. </span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Maybe this is a Windows problem or a compatibility problem? </span><span style="line-height:1.5">But this is not happening when I delete all the files except the .tpf and the .b17 (the .dck, .bld, .log, .inf, etc).</span></div><div>As far as I know none of these generated files <span style="line-height:1.5">(the .dck, .bld, .log, .inf, etc) are needed to start the simulation, but they appear to be the reason of the crash.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Regards, </span></div><div><span style="line-height:1.5">Victor</span></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">El mar., 28 jun. 2016 a las 17:38, David BRADLEY (<<a href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Victor,</p>
<p> I have never run into something like this before. It is a
little odd that it is the Simulation Studio crashing; the Studio
doesn't really do anything when the simulation is progressing.
Once a simulation is launched the Studio is idle. Also, when the
Studio crashes, does TRNExe continue to run? The two aren't linked
in any way so if one crashes the other ought to continue on. <br>
</p>
<p> My only guess is that there is some output file that is
accumulating from run to run. It is possible to set some of the
printer components so that they append to an existing file instead
of overwriting the file on each new run (for example Type25
parameter 7). Unless there is some reason to keep all the results
in a single file, you can select the "overwrite" option. One easy
way to check if the problem is one of the printers would be to
make some consecutive runs after temporarily deleting all the
devices that write to output files.</p>
<p>kind regards,</p>
<p> David</p></div><div bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div>On 06/28/2016 01:56, Victor Tulus via
TRNSYS-users wrote:<br>
</div>
</div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>I have a TRNSYS model with a Type 56 building and a solar
collector system attached to it.</div>
<div>The original model was designed in TRNSYS 16, but I have
recently managed to move it to TRNSYS 17 (the relatively
difficult part was to update Type 56 to TRNSYS 17).</div>
<div><br>
</div>
<div>When I run the model once, everything works fine. The
problem starts when I do several consecutive runs (without any
changes in the parameters). Sometimes the second run works
perfectly as well, but on the third run the Simulation studio
crashes without any warning.</div>
<div>The only way I found to run many times the model was
deleting all the files which are generated after the previous
simulation has finished. </div>
<div><br>
</div>
<div>Could you suggest something in order to avoid manual
deleting of the output files? </div>
<div>My concern is than in case I would like to do a parametric
run or GenOpt optimization, will I have to manually delete the
output files every time?</div>
<div><br>
</div>
<div>Thank you in advance. </div>
<div>Regards, </div>
<div>Victor</div>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote></div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite"><pre>_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@lists.onebuilding.org" target="_blank">TRNSYS-users@lists.onebuilding.org</a>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a href="mailto:d.bradley@tess-inc.com" target="_blank">d.bradley@tess-inc.com</a>
<a href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>
<a href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a></pre>
</div>
</blockquote></div>