[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Creating a Component with Array Outputs



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@tess-inc.com]
Sent: Monday, April 18, 2011 4:49 PM
To: Aaron Danenberg; trnsys-users@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@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@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users