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

Re: [TRNSYS-users] Defining a Global Variable in User Created Components



Aaron,
 You can define an equation in your simulation studio:

Cp = 4.19

Then change the "units" of all your specific heat parameters from "kJ/kg.K" to "string" and enter the variable name (Cp) in place of a numerical value.
Best,
 David


On 8/26/2011 09:22, Aaron J. Danenberg wrote:

TRNSYS Users:

 

I am working on simulating a system that is composed of multiple user created components.  Is there a way to define a parameter in one single place that will update the parameter in multiple components.  For example I would like to define the specific heat of a fluid in one place, and have three different components automatically use this value as one of their own parameters.  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

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com