[TRNSYS-users] Conversion from Trnsys15 to Trnsys16

ghetu mariana ghetu_mariana at yahoo.co.uk
Wed Feb 4 10:24:23 PST 2009



Hello,

I’m trying
to convert Trnsys15 types to Trnsys16 types. So I followed the instructions
from the manual:

!DEC$ATRIBUTES
     DLLEXPORT::TYPE154

 

If(INFO(7)==-2)then

         
INFO(12)=15

         
return 1 (do I really have to use return 1?)

     end
if

 

If(INFO(7)==-1)then

         
INFO(6)=20 (value by default according to the manual)

         
INFO(9)=0

         
call SetStorageSize

         
call TYPECK(1,INFO,NI,NP,ND)  (IOPT=1)

         
call RCHECK(INFO,YCHECK,OCHECK)

      
return 1

    end
if

 

If(TIME==TIME0)then

         
A=PAR(1)

         
.              .

         
.              .

         
.              .

         
E=PAR(5)

          
OUT(1)=initial condition or 0

          
.

          
.

          
.

          
OUT(4)=initial condition or 0

    return
1

end if

 

If(INFO(13)>0)then

                return 1

            end if

 

If(INFO(8)==-1)then

                return 1

            end if

 

My problem
is that due to this conversion Trnsys mixes up the parameters for my type (Type154). I
used the debugger to find out where is the problem. Next, I landed on Proc.for
(I checked the parameters with quick watch, everything is ok) and from there I got to
Exec.for where beings the checking of every unit in my simulation, everything
is ok until I begin to check my type (written originally in Trnsys 15).


Proc.for(good
parameters)→ Exec.for (good parameters)→CallTypes.for (good
parameters)→TYPE00.for (good parameters)→TYPE154.for(mixed up
parameters)→Exec.for(good parameters)

 

Has anyone
had this problem before? Frankly I have no idea how to solve this.I've tried everything I could think of and nothing seems to be working.

Any help
shall be appreciated.

 Mariana Ghetu




--- On Wed, 4/2/09, trnsys-users-request at cae.wisc.edu <trnsys-users-request at cae.wisc.edu> wrote:
From: trnsys-users-request at cae.wisc.edu <trnsys-users-request at cae.wisc.edu>
Subject: TRNSYS-users Digest, Vol 50, Issue 8
To: trnsys-users at cae.wisc.edu
Date: Wednesday, 4 February, 2009, 7:03 PM

Send TRNSYS-users mailing list submissions to
	trnsys-users at cae.wisc.edu

To subscribe or unsubscribe via the World Wide Web, visit
	https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
	trnsys-users-request at cae.wisc.edu

You can reach the person managing the list at
	trnsys-users-owner at cae.wisc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."
Today's Topics:

   1. Re: Meaning of simulation start time specified in the	control
      card (David Bradley)
   2. conductive heat flux (Marijke Steeman)
   3. TrnFlow (gizmoog)
   4. Units of Solar radiation (Artemi Spanaki)
   5. Re: Units of Solar radiation (Cramer Silkworth)



  
Chun Kwong,

  You have to use the correct mode of Type89 (Type89d in this case). In
TRNSYS 16, the start time is the hour of the year at the start of the
simulation (0 to start at the very beginning of the year, 1 if you want
to start on January 1 at 1AM, 744 if you want to start on February 1 at
midnight). In TRNSYS 15 it was a bit different. If you are using TRNSYS
15, let me know and I will explain in more detail.

Regards,

 David





a8304506 at graduate.hku.hk wrote:

  Dear Trnsys users.

I try to perform a simulation by specifying a simulation start time other than 0
or 1.  However, I find that the weather data read using Type89 seems to start
just from the beginning of the data file no matter what simulation start time I
have specified.  What is then the actual meaning of this start time?  If I want
to start a simulation not at the beginning of a year, what should I do?  Your
reply is highly appreciated.  Thank you!

Best Regards
LEE, Chun Kwong
Research assistant
Division of Building Science and Technology
City University of Hong Kong





  
  
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
  



-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************
 


 
 

Dear TRNSYS-users, 
 
Does someone know if it is possible to get the 
conductive heat flux 
through a wall directly from TRNSYS? Or is it only 
possible to consider
the total heat flux and the heat flux forom 
radiation separate and then 
subtract the first from the second. 
 
Thanks in advance.
 
Best regards
 
ir-arch Marijke Steeman
 
Universiteit Gent
Vakgroep Architectuur en 
Stedebouw
Onderzoeksgroep Bouwfysica en Installaties
Jozef Plateaustraat 
22
B- 9000 Gent
tel 09 264 37 52 / fax 09 264 41 85
marijke.steeman at ugent.be
Dear users,

Does anybody knows if Trnsys 17 leads to changes in trnflow ? I’d like to get
Trnflow but I don’t want to buy a new version in just a few months…

Olivier





#yiv623028101 .hmmessage P
{
margin:0px;padding:0px;}
#yiv623028101 {
font-size:10pt;font-family:Verdana;}

 
  
 
Dear David and TRNSYS users  
Thanks again for your helpful advice.  
  
I think I found the reason that gives me strange results. I created a *.tm2 file of meteorological data using Meteonorm software. The created file gives the radiation in W/m^2. The component that reads this file (type109-TMY2), has by default the unit of solar radiation in kj/hrm^2. Have you got any idea about how can I change this, without changing the whole proforma (this is because the proforma has already a lot of changes that I don’t want to be change in this project). 
  
Is there any way to view this *.tm2 file? (maybe another software?). I connect it with type65a, in order to view some data, but it seems to be quite different in comparison to the preview results of Meteonorm. I think that this is the reason that gives me “weird” results in my simulation. 
  
Thank you for your helpful advices. 
  
Best regards,

 
  
Artemi Spanaki
 check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 More than messages 



#yiv87950206 .hmmessage P {
PADDING-RIGHT:0px;PADDING-LEFT:0px;PADDING-BOTTOM:0px;MARGIN:0px;PADDING-TOP:0px;}
#yiv87950206 {
FONT-SIZE:10pt;FONT-FAMILY:Verdana;}


Artemi,

 

TMY2 files are just plain text files, you can open them in 
Notepad. However, due to the format, they're difficult to read like that. Excel 
can open them and be set up to split the data fields properly, or you can just 
use a template like this one: http://sel.me.wisc.edu/trnsys/weather/tmy2.xls

 

Type 109 knows that the input from a TMY2 file is in W/m2, and 
converts its output for kJ/hm2, you shouldn't have to change anything for it to 
work properly. What exactly is the problem you're getting?

 

-Cramer

 




J. Cramer 
Silkworth 


Transsolar Climate 
Engineering 


Technical consulting for energy 
efficiency and environmental quality in buildings. 


145 Hudson 
Street 


Suite 402 


New York, NY 10013 


Office: 212-219-2255


silkworth at transsolar.com





  


From: Artemi Spanaki [mailto:spanakiart at hotmail.com] 


Sent: Wednesday, February 04, 2009 7:09 AM

To: 
trnsys-users at engr.wisc.edu; techsupport at tess-inc.com; Cramer Silkworth; 
bradley at tess-inc.com

Subject: Units of Solar 
radiation








 
  


 
Dear David and TRNSYS users  


Thanks again for your helpful advice. 
 


  


I think I found the reason that gives 
me strange results. I created a *.tm2 file of meteorological data using 
Meteonorm software. The created file gives the radiation in W/m^2. The component 
that reads this file (type109-TMY2), has by default the unit of solar radiation 
in kj/hrm^2. Have you got any idea about how can I change this, without changing 
the whole proforma (this is because the proforma has already a lot of changes 
that I don’t want to be change in this 
project). 


  


Is there any way to view this *.tm2 
file? (maybe another software?). I connect it with type65a, in order to view 
some data, but it seems to be quite different in comparison to the preview 
results of Meteonorm. I think that this is the reason that gives me “weird” 
results in my simulation. 


  


Thank you for your helpful 
advices. 


  


Best regards,



 


  


Artemi Spanaki 




  


check out the rest of the Windows Live™. More than mail–Windows Live™ goes way 
beyond your inbox. More than messages 


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090204/aaf10467/attachment-0005.htm>


More information about the TRNSYS-users mailing list