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

Re: [TRNSYS-users] Passing Large Arrays Between Components as Inputsand Outputs



If the arrays are put into a common block is it still possible for the TRNSYS solver to evaluate their values as if they were connected as inputs and outputs.  For example: Component A outputs an array of temperatures to the input of component B, that output from A is a function of the output of heat transfer rates of component B . Component A uses this heat transfer array to solve for an array of thermal resistances which produce the output A array of temperatures.   So would using a common block allow for the TRNSYS solver to essentially guess the array of resistances until the outputs no longer change from each iteration above the acceptable tolerance?

 

From: Jeff Thornton [mailto:thornton@tess-inc.com]
Sent: Thursday, June 02, 2011 1:09 PM
To: Aaron J. Danenberg; trnsys-users@cae.wisc.edu
Subject: Re: [TRNSYS-users] Passing Large Arrays Between Components as Inputsand Outputs

 

If it was me, I'd probably put the arrays in a common block such that both models had access to the arrays.  I can't imagine trying to hook up 5000 input/output connections....

Jeff

Jeff Thornton
President - TESS, LLC

22 North Carroll Street - Suite 370
Madison WI 53703 USA

Phone: 608-274-2577
Fax: 608-278-1475
E-mail: thornton@tess-inc.com
Web: www.tess-inc.com


----- Original Message -----
From: "Aaron J. Danenberg" <danenberg@hartford.edu>
Sent: Thu, June 2, 2011 11:52
Subject: [TRNSYS-users] Passing Large Arrays Between Components as Inputsand Outputs

As I currently understand, if an output/input value is an array of values, you need to manually connect each value with an output of one component to a an input of another component.  If an output has an array of 5,000 values that needs to connect to an input of these 5,000 values is there a quick way of connecting all of the "nodes" or do you need to manually connect each node in the array?  If anyone has any examples of connecting two components that pass large arrays between components it would be very helpful. Thanks!  

 

Aaron J. Danenberg

Graduate Research Assistant

Candidate for Master of Mechanical Engineering, September 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