<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hongbo,<br>
YCHECK and OCHECK are arrays that carry three letter codes for the
units (C, kg/h, etc.) of a Type's inputs and outputs. The code "TE1"
for example, means "temperature in degrees C." Each component passes
the codes for its inputs and outputs to RCHECK and RCHECK looks to
make sure that you do not have any inconsistent connections made in
the input file (such as connecting a mass flow rate output to a
temperature input). There are features in the Trnsys Studio that
perform similar checks as well. I had a look at the Type564.for code
and I do not see why it would generate an access violation as you
describe. I would recommend that you send the project you are trying
to run as well as your Type564 code to your distributor to see if
they can help you. I would not recommend simply deleting the call to
RCHECK since the access violation error is a good indication that
there is a real problem somewhere.<br>
Kind regards,<br>
David<br>
<br>
On 1/8/2011 18:17, He Hongbo wrote:
<blockquote
cite="mid:AANLkTin8HXCu8i1f9RZh7nnok++fH+1oCh7Ku6B+en5o@mail.gmail.com"
type="cite">Hi,<br>
<br>
I found the problem about the code type564.for. In the code DATA
STATEMENT part, if we delete the "CALL
RCHECK(INFO,YCHECK,OCHECK)", then it works well. Or else we will
get the error message "Access violation at address 10037D25 in
module 'TRNDLL.DLL'. Read of address 00000003." In the TRNSYS
manual chapter 8 8.3.5, an example code about how to create a new
component does not include "CALL RCHECK(INFO,YCHECK,OCHECK)" in
the DATA STATEMENT part. What is the function of RCHECK?<br>
<br>
Thank you so much<br>
<br>
Best Regards!!<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>