Chun Kwon,Each of the components has to set its outputs to something appropriate when that component is off. What is usually done is that when there is no flow into the component, its outlet temperature is set to the inlet temperature. This of course assumes that the flow rate and temperature of fluid entering the component are both inputs to the model. You can look at the source code for Type6 to see how that component handles the situation when there is either no flow into the heater or when the heater control signal is set to OFF.
Cheers, David At 00:50 2/14/2008, h8304506@hkusua.hku.hk wrote:
Dear Trnsys users. I try to simulate a heat pump system from the basic component level (compressor, condenser coil, expansion valve and evaporator coil). I have created separate proformas for each component, and linked them up in a closed loop. However, I get one problem when writing the source codes. How can I define the output of each component when the system is off (say by using a scheduler or temperature controller), but still maintain convergence in the closed loop? Your reply is highly appreciated. Best Regards LEE, Chun Kwong PhD student Department of Mechanical Engineering University of Hong Kong _______________________________________________ TRNSYS-users mailing list TRNSYS-users@engr.wisc.edu https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
**************************************************************************************** Thermal Energy System Specialists (TESS), LLC David BRADLEY 2916 Marketplace Drive - Suite 104 Partner Madison, WI 53719 Phone: (608) 274-2577 USA Fax: (608) 278-1475 E-mail: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com "Providing software solutions for today's energy engineering projects" ****************************************************************************************