[TRNSYS-users] Creating a Component with Array Outputs

Aaron Danenberg danenberg at hartford.edu
Fri Apr 22 06:54:24 PDT 2011


Matt,

 

Thank you for your response.  I am outputting to an Excel file using a type 25 printer.  Is there a way to format the output.  For example I would like the first column to have the time step, and the following columns to represent values of the function from n=1 to n=20.

 

-Aaron

 

 

From: Matt Duffy [mailto:duffy at tess-inc.com] 
Sent: Monday, April 18, 2011 4:49 PM
To: Aaron Danenberg; trnsys-users at cae.wisc.edu
Subject: Re: [TRNSYS-users] Creating a Component with Array Outputs

 

Hello Aaron,
Please see my responses below in green.

Best regards,

Matt Duffy

----- Original Message -----
From: "Aaron Danenberg" <danenberg at hartford.edu> 
Sent: Mon, April 18, 2011 9:01
Subject: [TRNSYS-users] Creating a Component with Array Outputs


I am working on writing a component model that provides the vertical temperature distribution of a borehole, so my outputs for every time step will be an array of temperatures at discrete points along the depth.

 

I am unclear on how to define an output defined by a continuous function with values taken at specified intervals between an initial and fnal value.

 See the end of the source code for Type4.  A DO loop is implemented to output the temperatures at the different node locations.

Does anyone have experience outputting arrays in every time step with standard printers.  I also need to learn how to format the output the data.  Thanks!

  I am slightly confused by this question. Are you outputting to an external data file at each time step? Are you still talking at the source code level or are you taking about the simulation with the standard Type25 printer?

A aron J. Danenberg

Graduate Research Assistant

Candidate for Master of Mechanical Engineering, May 2011

University of Hartford

Dana Hall 103, Research Laboratory 1

200 Bloomfield Ave.

West Hartford, CT 06117

 

 

  _____  

 
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at cae.wisc.edu <javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')> 
https://mailman.cae.wisc.edu/listinfo/trnsys-users

 

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


More information about the TRNSYS-users mailing list