[TRNSYS-users] to make user-define component question
David BRADLEY
d.bradley at tess-inc.com
Tue Jul 5 07:55:36 PDT 2011
Jun-Won,
In Fortran 77, there was a limit of 80 characters per line. There are
a number of ways that you can fix the problem. The easiest is to put in
a line break (press return) /before /the line of code turns to green.
Then on the next line, place the character '&' in the 6th column. Have a
look at the source code for Type6.for:
20 TON=(QMAX*HTREFF+FLOW*CP*TIN+UA*TAMB-UA*TIN/2.d0)/(FLOW*CP+UA
& /2.d0)
the line is too long to fit the '/2.d0)' at the end, so they put it on
the next line with the "line continue" symbol in the 6th column.
Kind regards,
david
On 7/4/2011 01:15, 박준원 wrote:
>
> hello, I am a student who studing about TRNSYS in Korea.
>
> When I making new component, I have a question.
>
> I am coding using Fortran.
>
> Code statement is long. So, the code text coler changes green and
> longer text color is red in the Fortran.
>
> When fortran is compiled, the error was occured.
>
> I think, because of the red color text, the error was occured.
>
> How can I solve this problem?
>
> help me please, and I am sorry about my english skill...
>
> thank you.
>
>
> Jun-Won Park
> The Master's Course
> Building Technology Reasearch Unit Laboratory Sungkyunkwan Univ.
> Department of Architectural Engineering ,
> Sungkyunkwan University
> 300 Chunchun, Jangan, Suwon, Kyunggi, SOUTH. KOREA
> 440-746
> Mobile. +82-10-4161-2184
> Tel: +82-31-299-4775
> Fax: +82-31-290-7570
> Email: flowrime at naver.com <mailto:flowrime at naver.com>
> Web: http://btu.skku.ac.kr/
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
--
***************************
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
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110705/09ebca8f/attachment-0005.htm>
More information about the TRNSYS-users
mailing list