<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Florian,<br>
This is interesting (and confusing). The getSimulationTimeStep()
function should return a double precision number whose value is the
timestep in hours. Is it also returning some text as well?<br>
<br>
The implementation is usually something like:<br>
<br>
Double Precision Timestep ! this declares a variable called
Timestep as being "double precision" which indicates how much memory
is used to store the value <br>
<br>
Timestep = getSimulationTimeStep() !this line calls the function
and sets the return value to the variable called "Timestep"<br>
<br>
am I interpreting your email correctly that you get back some number
and some text appended to it?<br>
Best,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 2/11/2013 05:56, Florian Limmer
wrote:<br>
</div>
<blockquote
cite="mid:CAPZPvSte_pqSs=jTjPrfPO9vpz2RqBrpOeDF9rFY4mn6=JrfaQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hey TRNSYS users,
<div><br>
</div>
<div style="">is there any possibility to remove the unit of
variables that are used in the fortran code of a type.</div>
<div style="">for example if i use getsimulationtimestep() i get
the timestep with the unit. i want to use only the value for
further equations. </div>
<div style="">can anyone of u tell me how to do that?</div>
<div style=""><br>
</div>
<div style="">and the other way round can i add a unit to a
value that is simply a number till this point?</div>
<div style=""><br>
</div>
<div style="">thanks a lot for any help</div>
<div style=""><br>
</div>
<div style="">Florian Limmer</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</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>