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

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?

Aaron 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