<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Massimo,<br>
You can use the following:<br>
<br>
result = variable1/MAX(0.0001,variable2)<br>
<br>
Of course this runs into problems if variable2 can legitimately be
negative.<br>
<br>
kind regards,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/03/2016 10:23, massimo truant
wrote:<br>
</div>
<blockquote cite="mid:5728c262.a9a1c20a.e346d.7b9f@mx.google.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Good afternoon to all.</p>
<p class="MsoNormal">I want to write an equation with a
division. My problem is that trnsys report me an error saying
that the equation has a division by zero.</p>
<p class="MsoNormal">I put a condition (multiplying for an
expression) that avoid the division by zero but it doesn’t
work.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Someone could help me?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks to all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Inviato da <a moz-do-not-send="true"
href="https://go.microsoft.com/fwlink/?LinkId=550986">Posta</a>
per Windows 10</p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
<div
style="mso-element:para-border-div;border:none;border-top:solid
#E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>Da: </b><a
moz-do-not-send="true"
href="mailto:d.bradley@tess-inc.com">David BRADLEY</a><br>
<b>Inviato: </b>martedì 3 maggio 2016 15:46<br>
<b>A: </b><a moz-do-not-send="true"
href="mailto:trnsys-users@lists.onebuilding.org">TRNSYS
users mailing list at OneBuilding.org</a>; <a
moz-do-not-send="true" href="mailto:freppelw@noirot.fr"><a class="moz-txt-link-abbreviated" href="mailto:freppelw@noirot.fr">freppelw@noirot.fr</a></a><br>
<b>Oggetto: </b>Re: [TRNSYS-users] Weather time step</p>
</div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
<p class="MsoNormal">Wirich,</p>
<p class="MsoNormal"> There are two basic Types that can be
used to read weather data. </p>
<p class="MsoNormal">Type15 is designed to read files that have
a standard format (such as </p>
<p class="MsoNormal">TMY2 or TMY3). Part of the standard format
is a 1-hour timestep. If you </p>
<p class="MsoNormal">modify a standard format weather file to
have a different time step then </p>
<p class="MsoNormal">it can no longer be read by Type15. Type9
can be used to read general </p>
<p class="MsoNormal">weather data files. However, it does not
have the solar radiation </p>
<p class="MsoNormal">processing algorithms built into it as
Type15 does. You'll need to use </p>
<p class="MsoNormal">Type16 to process the results that are read
by Type9.</p>
<p class="MsoNormal">kind regards,</p>
<p class="MsoNormal"> David</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On 04/29/2016 09:20, <a class="moz-txt-link-abbreviated" href="mailto:freppelw@noirot.fr">freppelw@noirot.fr</a>
wrote:</p>
<p class="MsoNormal">> Hi everyone,</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> As you know, the weather file for
TRNSYS (TM2) is built with a 1 hour </p>
<p class="MsoNormal">> time step.</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> My question is: If I modify the
weather file so that I have a time </p>
<p class="MsoNormal">> step of 1 minute, would TRNSYS be able
to execute the simulation? In </p>
<p class="MsoNormal">> this case, is there a time step value
to change in the program or is </p>
<p class="MsoNormal">> it totally impossible?</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> Thanks in advance.</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> Wirich</p>
<p class="MsoNormal">>
_______________________________________________</p>
<p class="MsoNormal">> TRNSYS-users mailing list</p>
<p class="MsoNormal">> <a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></p>
<p class="MsoNormal">>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-- </p>
<p class="MsoNormal">***************************</p>
<p class="MsoNormal">David BRADLEY</p>
<p class="MsoNormal">Principal</p>
<p class="MsoNormal">Thermal Energy Systems Specialists, LLC</p>
<p class="MsoNormal">22 North Carroll Street - suite 370</p>
<p class="MsoNormal">Madison, WI 53703 USA</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">P:+1.608.274.2577</p>
<p class="MsoNormal">F:+1.608.278.1475</p>
<p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">_______________________________________________</p>
<p class="MsoNormal">TRNSYS-users mailing list</p>
<p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" 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 class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>