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

[TRNSYS-users] About heating output of type 927



Hello everyone! I'm working on the design of a hybrid heating system (for a house) composed by a ground source heat pump and solar collectors (flat-plate collectors). As a first step, I decided to model (with TRNSYS 17) the system without flat-plate collectors (just ground source heat pump) to analize the behavior of the system without hybridization.  

At first, I modeled the house without the heating system to define the heating demand (with "ideal heating type" defined in TRNBuild). The graph of hourly heating demand during 1 year makes sense (climate of Santiago, Chile, Sudamérica), with higher demand in July and smaller in January (I attached the graph in this email as "Heating Demand").

Then, I modeled the control system with type 2b,  the house with type 56, the heat pump with type 927 and the ground source heat exchanger with type 997. I defined the active layer to model radiant floor, and I connected everything between types to simulate. I plotted the heating output of the heat-pump, and I should have the same curve as the heating demand, but it is quite different  (I attached the graph in this email as "Heating Output 1")

So, I changed the radiant floor to type 653 (Simplified radiant floor), and I removed the active layer. Then, I obtained another graph, that is quite different to the heating demand too (I attached the graph in this email, as "Heating Output 2")

I attached the input file (as "Input File 1".txt and "Input File 2".txt) and a image of the simulation studio of the first and second situation previously described as "Simulation Studio 1.jpg" and "Simulation Studio 2.jpg" (the first with active layer and the second one without active layer).

I defined the time step to 1 minute in last case, and 1 hour in the first one, I plotted the temperatures inside the house (in both cases) and it seems to be right but I don't know why heating output of heat-pump is different to the heating demand... (ok, I understand that both graphs have to be different, but in this situation is very different than expected!) My system delivers more heat in May than in July or August, and it doesn't make sense. I have spent a lot of time trying to fix this situation!!  

So...My questions are:

1. Why the difference between heating demand of the house and heating output of the system is too large? It seems to be wrong. 

2. Which outputs of type 653 (simplified radiant floor) corresponds to the heat that radiant floor delivers to the house? I plotted "Top Surface Heat Transfer", but the heat that delivers is too small...

I would be very grateful if someone can help me to solve this problem!!!

Kind regards,

Alejandra. 
--
Alejandra Vargas Cáceres
Estudiante Ingeniería Civil Mecánica
Facultad de Ciencias Físicas y Matemáticas
Universidad de Chile
VERSION 17
*******************************************************************************
*** TRNSYS input file (deck) generated by TrnsysStudio
*** on Monday, April 23, 2018 at 18:49
*** from TrnsysStudio project: C:\Trnsys17\MyProjects\BuildingProject3Stgo1zona\BuildingProject3stgo1zona.tpf
*** 
*** If you edit this file, use the File/Import TRNSYS Input File function in 
*** TrnsysStudio to update the project. 
*** 
*** If you have problems, questions or suggestions please contact your local 
*** TRNSYS distributor or mailto:software@cstb.fr 
*** 
*******************************************************************************


*******************************************************************************
*** Units 
*******************************************************************************

*******************************************************************************
*** Control cards
*******************************************************************************
* START, STOP and STEP
CONSTANTS 3
START=0
STOP=8760
STEP=0.5
SIMULATION 	 START	 STOP	 STEP	! Start time	End time	Time step
TOLERANCES 0.001 0.001			! Integration	 Convergence
LIMITS 30 30 30				! Max iterations	Max warnings	Trace limit
DFQ 1					! TRNSYS numerical integration solver method
WIDTH 72				! TRNSYS output file width, number of characters
LIST 					! NOLIST statement
					! MAP statement
SOLVER 0 1 1				! Solver statement	Minimum relaxation factor	Maximum relaxation factor
NAN_CHECK 0				! Nan DEBUG statement
OVERWRITE_CHECK 0			! Overwrite DEBUG statement
TIME_REPORT 0			! disable time report
EQSOLVER 0				! EQUATION SOLVER statement
* User defined CONSTANTS 
EQUATIONS 1
N_Plots = INT((STOP-START)/168.001)+1

* EQUATIONS "Turn"
* 
EQUATIONS 13
TURN = 0
HEMISPHERE = -1 ! northern hemisphere: 1  - southern hemisphere: -1
AA_H_0_0 = 0  ! azimuth angle of orientation
AA_S_0_90 = (0  +TURN)*GT(HEMISPHERE,0)+ (180-0 -TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_W_45_90 = (45 +TURN)*GT(HEMISPHERE,0)+ (180-45-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_W_90_90 = (90 +TURN)*GT(HEMISPHERE,0)+ (180-90-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_N_135_90 = (135+TURN)*GT(HEMISPHERE,0)+ (180-135-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_N_180_90 = (180+TURN)*GT(HEMISPHERE,0)+ (180-180-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_E_225_90 = (225+TURN)*GT(HEMISPHERE,0)+ (180-225-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_E_270_90 = (270+TURN)*GT(HEMISPHERE,0)+ (180-270-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_S_315_90 = (315+TURN)*GT(HEMISPHERE,0)+ (180-315-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AAZM_CORR_HEM = AAZM*GT(HEMISPHERE,0) +  NOT(GT(HEMISPHERE,0))*((180-AAZM)*GT(AAZM,0)*LE(AAZM,180) + (-180-AAZM)*NOT(GT(AAZM,0)*LE(AAZM,180))) !solar azimuth corrected for southern hemisphere such that north=180, south=0, west =90, east=-90
AAZM_TYPE56 = (AAZM_CORR_HEM - TURN) ! solar azimuth corrected by building rotation - Input for Type 56 sun position for SHM and ISM
*$UNIT_NAME Turn
*$LAYER Main
*$POSITION 255 63

*------------------------------------------------------------------------------


* EQUATIONS "Radiation"
* 
EQUATIONS 31
AZEN = [17,10]
AAZM = [17,11]
ID_H_0_0 = [17,14]    !Sky diffuse radiation on the horizontal
IT_H_0_0 = [17,12]    !Total incident of radation orientation H_0_0
IB_H_0_0 = [17,13]    !Beam incident of radation orientation H_0_0
AI_H_0_0 = [17,16]    !Incident angle of orientation H_0_0
IT_N_0_90 = [17,18]
IB_N_0_90 = [17,19]
AI_N_0_90 = [17,22]
IT_W_45_90 = [17,42]
IB_W_45_90 = [17,43]
AI_W_45_90 = [17,46]
IT_W_90_90 = [17,24]
IB_W_90_90 = [17,25]
AI_W_90_90 = [17,28]
IT_S_135_90 = [17,48]
IB_S_135_90 = [17,49]
AI_S_135_90 = [17,52]
IT_S_180_90 = [17,30]
IB_S_180_90 = [17,31]
AI_S_180_90 = [17,34]
IT_E_225_90 = [17,54]
IB_E_225_90 = [17,55]
AI_E_225_90 = [17,58]
IT_E_270_90 = [17,36]
IB_E_270_90 = [17,37]
AI_E_270_90 = [17,40]
IT_N_315_90 = [17,60]
IB_N_315_90 = [17,61]
AI_N_315_90 = [17,64]
hour_of_day = MOD(TIME,24)
*$UNIT_NAME Radiation
*$LAYER Main
*$POSITION 367 127

*------------------------------------------------------------------------------


* Model "Building" (Type 56)
* 

UNIT 56 TYPE 56	 Building
*$UNIT_NAME Building
*$MODEL .\Loads and Structures\Multi-Zone Building\Type56.tmf
*$POSITION 759 402
*$LAYER Main # # 
*$#   
PARAMETERS 3
31		! 1 Logical unit for building description file (*.b17, *.bui)
1		! 2 Star network calculation switch
0.5		! 3 Weighting factor for operative temperature
INPUTS 30
17,1 		! Type99:Ambient temperature -> 1- TAMB
17,2 		! Type99:relative humidity -> 2- RELHUMAMB
14,1 		! Type69b:Fictive sky temperature -> 3- TSKY
17,1 		! Type99:Ambient temperature -> 4- TSGRD
17,10 		! Type99:solar zenith angle -> 5- AZEN
AAZM_TYPE56		! Turn:AAZM_TYPE56 -> 6- AAZM
IT_N_0_90		! Radiation:IT_N_0_90 -> 7- IT_N_0_90
IT_S_180_90		! Radiation:IT_S_180_90 -> 8- IT_S_180_90
IT_E_270_90		! Radiation:IT_E_270_90 -> 9- IT_E_270_90
IT_W_90_90		! Radiation:IT_W_90_90 -> 10- IT_W_90_90
IT_H_0_0		! Radiation:IT_H_0_0 -> 11- IT_H_0_0
IB_N_0_90		! Radiation:IB_N_0_90 -> 12- IB_N_0_90
IB_S_180_90		! Radiation:IB_S_180_90 -> 13- IB_S_180_90
IB_E_270_90		! Radiation:IB_E_270_90 -> 14- IB_E_270_90
IB_W_90_90		! Radiation:IB_W_90_90 -> 15- IB_W_90_90
IB_H_0_0		! Radiation:IB_H_0_0 -> 16- IB_H_0_0
AI_N_0_90		! Radiation:AI_N_0_90 -> 17- AI_N_0_90
AI_S_180_90		! Radiation:AI_S_180_90 -> 18- AI_S_180_90
AI_E_270_90		! Radiation:AI_E_270_90 -> 19- AI_E_270_90
AI_W_90_90		! Radiation:AI_W_90_90 -> 20- AI_W_90_90
AI_H_0_0		! Radiation:AI_H_0_0 -> 21- AI_H_0_0
17,7 		! Type99:Ground reflectance -> 22- GRDREF
0,0		! [unconnected]  23- CNAT_1
0,0		! [unconnected]  24- CNAT_2
0,0		! [unconnected]  25- T_COOL_ON
0,0		! [unconnected]  26- BRIGHT
0,0		! [unconnected]  27- HEAT
0,0		! [unconnected]  28- TSUELO
13,1 		! Type114:Outlet fluid temperature -> 29- TIN
13,2 		! Type114:Outlet flow rate -> 30- FLOWIN
*** INITIAL INPUT VALUES
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0 0 0 0 0 0 0 0 
*** External files
ASSIGN "BuildingProject3.b17" 31
*|? Building description file (*.b17, *.bui) |1000
*------------------------------------------------------------------------------

* Model "Temperature" (Type 65)
* 

UNIT 25 TYPE 65	 Temperature
*$UNIT_NAME Temperature
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 885 335
*$LAYER Main # # 
PARAMETERS 12
6		! 1 Nb. of left-axis variables
7		! 2 Nb. of right-axis variables
-10		! 3 Left axis minimum
40		! 4 Left axis maximum
-50000		! 5 Right axis minimum
25000		! 6 Right axis maximum
N_Plots		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 13
56,1 		! Building: 1- TAIR_SALAESTAR ->Left axis variable-1
56,3 		! Building: 3- TOPLW_C1 ->Left axis variable-2
56,11 		! Building: 11- TALM_S7 ->Left axis variable-3
56,12 		! Building: 12- TALM_S15 ->Left axis variable-4
56,13 		! Building: 13- TOFL_S7 ->Left axis variable-5
56,14 		! Building: 14- TOFL_S15 ->Left axis variable-6
56,2 		! Building: 2- QHEAT_SALAESTAR ->Right axis variable-1
56,17 		! Building: 17- QALFL_S7 ->Right axis variable-2
56,18 		! Building: 18- QALFL_S15 ->Right axis variable-3
56,9 		! Building: 9- MFLAL_S7 ->Right axis variable-4
TotalQheat		! Turn-3:TotalQheat ->Right axis variable-5
0,0		! [unconnected] Right axis variable-6
0,0		! [unconnected] Right axis variable-7
*** INITIAL INPUT VALUES
Tsalaestar Toperative Tsuperficie7 Tsuperficie15 Tsalida7 Tsalida15
QHEAT_SALAESTAR QHEAT_radi7 QHEAT_radi15 Flowin7 TotalQheat label
label 
LABELS  3
"valor señal"
"Heat rates  [kj/hr]"
"Temperatures"
*------------------------------------------------------------------------------

* Model "Irradiation" (Type 65)
* 

UNIT 66 TYPE 65	 Irradiation
*$UNIT_NAME Irradiation
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 584 31
*$LAYER Main # # 
PARAMETERS 12
5		! 1 Nb. of left-axis variables
6		! 2 Nb. of right-axis variables
0		! 3 Left axis minimum
3600		! 4 Left axis maximum
0		! 5 Right axis minimum
3600		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 11
IT_H_0_0		! Radiation:IT_H_0_0 ->Left axis variable-1
IT_N_0_90		! Radiation:IT_N_0_90 ->Left axis variable-2
IT_W_90_90		! Radiation:IT_W_90_90 ->Left axis variable-3
0,0		! [unconnected] Left axis variable-4
IT_E_270_90		! Radiation:IT_E_270_90 ->Left axis variable-5
IB_H_0_0		! Radiation:IB_H_0_0 ->Right axis variable-1
IB_N_0_90		! Radiation:IB_N_0_90 ->Right axis variable-2
IB_W_90_90		! Radiation:IB_W_90_90 ->Right axis variable-3
0,0		! [unconnected] Right axis variable-4
IB_E_270_90		! Radiation:IB_E_270_90 ->Right axis variable-5
hour_of_day		! Radiation:hour_of_day ->Right axis variable-6
*** INITIAL INPUT VALUES
IT_H_0_0 IT_S_0_90 IT_W_90_90 IT_N_180_90 IT_E_270_90 IB_H_0_0 IB_S_0_90
IB_W_90_90 IB_N_180_90 IB_E_270_90 hour_of_day 
LABELS  3
"Total  Incident Solar Radition [kJ/hr m²]"
"Beam  Incident Solar Radition [kJ/hr m²]"
"Irradition"
*------------------------------------------------------------------------------

* Model "Type99" (Type 99)
* 

UNIT 17 TYPE 99	 Type99
*$UNIT_NAME Type99
*$MODEL .\Weather Data Reading and Processing\User Format\Type99.tmf
*$POSITION 163 191
*$LAYER Main # 
PARAMETERS 3
32		! 1 Logical unit
5		! 2 Sky model for diffuse radiation
1		! 3 Tracking mode
INPUTS 17
0,0		! [unconnected] Ground reflectance
0,0		! [unconnected] Slope of surface-1
0,0		! [unconnected] Azimuth of surface-1
0,0		! [unconnected] Slope of surface-2
0,0		! [unconnected] Azimuth of surface-2
0,0		! [unconnected] Slope of surface-3
0,0		! [unconnected] Azimuth of surface-3
0,0		! [unconnected] Slope of surface-4
0,0		! [unconnected] Azimuth of surface-4
0,0		! [unconnected] Slope of surface-5
0,0		! [unconnected] Azimuth of surface-5
0,0		! [unconnected] Slope of surface-6
0,0		! [unconnected] Azimuth of surface-6
0,0		! [unconnected] Slope of surface-7
0,0		! [unconnected] Azimuth of surface-7
0,0		! [unconnected] Slope of surface-8
0,0		! [unconnected] Azimuth of surface-8
*** INITIAL INPUT VALUES
0.2 90 0.0 90 90 90 180 90 270 90 45 90 135 90 225 90 315 
*** External files
ASSIGN "santiago1zona.99" 32
*|? Weather data file |1000
*------------------------------------------------------------------------------

* Model "Type69b" (Type 69)
* 

UNIT 14 TYPE 69	 Type69b
*$UNIT_NAME Type69b
*$MODEL .\Physical Phenomena\Sky Temperature\calculate cloudiness factor\Type69b.tmf
*$POSITION 231 276
*$LAYER Main # 
PARAMETERS 2
0		! 1 mode for cloudiness factor
0		! 2 height over sea level
INPUTS 4
17,1 		! Type99:Ambient temperature ->Ambient temperature
17,8 		! Type99:Punto de rocio ->Dew point temperature at ambient conditions
17,13 		! Type99:beam radiation on horitonzal ->Beam radiation on the horizontal
17,14 		! Type99:sky diffuse radiation on horizontal ->Diffuse radiation on the horizontal
*** INITIAL INPUT VALUES
0 20 0 0 
*------------------------------------------------------------------------------

* Model "Type65d" (Type 65)
* 

UNIT 15 TYPE 65	 Type65d
*$UNIT_NAME Type65d
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 871 148
*$LAYER Main # 
PARAMETERS 12
2		! 1 Nb. of left-axis variables
2		! 2 Nb. of right-axis variables
0.0		! 3 Left axis minimum
1000.0		! 4 Left axis maximum
0.0		! 5 Right axis minimum
1000.0		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 4
17,1 		! Type99:Ambient temperature ->Left axis variable-1
17,8 		! Type99:Punto de rocio ->Left axis variable-2
DeltaT		! Turn-2:DeltaT ->Right axis variable-1
0,0		! [unconnected] Right axis variable-2
*** INITIAL INPUT VALUES
Tamb Puntoderocio DeltaT label 
LABELS  3
"Temperatures"
"Heat transfer rates"
"Graph 1"
*------------------------------------------------------------------------------

* Model "Type25c" (Type 25)
* 

UNIT 16 TYPE 25	 Type25c
*$UNIT_NAME Type25c
*$MODEL .\Output\Printer\Unformatted\No Units\Type25c.tmf
*$POSITION 879 453
*$LAYER Outputs # 
PARAMETERS 10
STEP		! 1 Printing interval
START		! 2 Start time
STOP		! 3 Stop time
33		! 4 Logical unit
0		! 5 Units printing mode
0		! 6 Relative or absolute start time
-1		! 7 Overwrite or Append
-1		! 8 Print header
0		! 9 Delimiter
1		! 10 Print labels
INPUTS 4
56,1 		! Building: 1- TAIR_SALAESTAR ->Input to be printed-1
56,2 		! Building: 2- QHEAT_SALAESTAR ->Input to be printed-2
TotalQheat		! Turn-3:TotalQheat ->Input to be printed-3
18,1 		! Type2b:Output control function ->Input to be printed-4
*** INITIAL INPUT VALUES
Tairhouse Demanda TotalQheat Output 
*** External files
ASSIGN "heatinggiven.out" 33
*|? Output file for printed results |1000
*------------------------------------------------------------------------------

* Model "Type927" (Type 927)
* 

UNIT 11 TYPE 927	 Type927
*$UNIT_NAME Type927
*$MODEL .\GHP Library (TESS)\Water-Water Heat Pump\Single-Stage\Type927.tmf
*$POSITION 559 538
*$LAYER Main # 
PARAMETERS 19
3.75		! 1 Source Fluid Specific Heat
4.190		! 2 Load Fluid Specific Heat
1035		! 3 Source Fluid Density
1000		! 4 Load Fluid Density
34		! 5 Logical Unit Number for Cooling Data File
8		! 6 Number of Source Temperatures - Cooling
4		! 7 Number of Load Temperatures - Cooling
35		! 8 Logical Unit for Heating Data
6		! 9 Number of Source Temperatures - Heating
4		! 10 Number of Load Temperatures - Heating
3		! 11 Number of Source Flowrates
3		! 12 Number of Load Flowrates
30000		! 13 Rated Cooling Capacity per Heat Pump
6000		! 14 Rated Cooling Power per Heat Pump
39564		! 15 Rated Heating Capacity per Heat Pump
13188.24		! 16 Rated Heating Power per Heat Pump
0.5678		! 17 Rated Source Flowrate per Heat Pump
0.5678		! 18 Rated Load Flowrate per Heat Pump
1		! 19 Number of Identical Heat Pumps
INPUTS 8
23,1 		! Type114-2:Outlet fluid temperature ->Inlet Source Temperature
23,2 		! Type114-2:Outlet flow rate ->Source Flowrate
56,14 		! Building: 14- TOFL_S15 ->Inlet Load Temperature
56,10 		! Building: 10- MFLAL_S15 ->Load Flowrate
0,0		! [unconnected] Cooling Control Signal
18,1 		! Type2b:Output control function ->Heating Control Signal
0,0		! [unconnected] Scale Factor
0,0		! [unconnected] Number of Heat Pumps On
*** INITIAL INPUT VALUES
40.0 1363 20.0 1378.71 0 1 1 1 
*** External files
ASSIGN "WWHP_Cooling-Normalizedblastgo.dat" 34
*|? Which file contains the cooling performance data? |1000
ASSIGN "daikin_heat_pump.dat" 35
*|? Which file contains the heating performance data? |1000
*------------------------------------------------------------------------------

* Model "Type114" (Type 114)
* 

UNIT 13 TYPE 114	 Type114
*$UNIT_NAME Type114
*$MODEL .\Hydronics\Pumps\Single Speed\Type114.tmf
*$POSITION 687 538
*$LAYER Main # 
*$# SINGLE-SPEED PUMP
PARAMETERS 4
1378.71		! 1 Rated flow rate
4.19		! 2 Fluid specific heat
2684.0		! 3 Rated power
0.0		! 4 Motor heat loss fraction
INPUTS 5
11,3 		! Type927:Outlet Load Temperature ->Inlet fluid temperature
11,4 		! Type927:Load Flowrate ->Inlet fluid flow rate
18,1 		! Type2b:Output control function ->Control signal
0,0		! [unconnected] Overall pump efficiency
0,0		! [unconnected] Motor efficiency
*** INITIAL INPUT VALUES
20.0 1378.71 1.0 0.8 0.9 
*------------------------------------------------------------------------------

* Model "Type2b" (Type 2)
* 

UNIT 18 TYPE 2	 Type2b
*$UNIT_NAME Type2b
*$MODEL .\Controllers\Differential Controller w_ Hysteresis\for Temperatures\Solver 0 (Successive Substitution) Control Strategy\Type2b.tmf
*$POSITION 824 570
*$LAYER Controls # 
*$# NOTE: This control strategy can only be used with solver 0 (Successive substitution)
*$# 
PARAMETERS 2
5		! 1 No. of oscillations
100.0		! 2 High limit cut-out
INPUTS 6
0,0		! [unconnected] Upper input temperature Th
56,1 		! Building: 1- TAIR_SALAESTAR ->Lower input temperature Tl
0,0		! [unconnected] Monitoring temperature Tin
18,1 		! Type2b:Output control function ->Input control function
0,0		! [unconnected] Upper dead band dT
0,0		! [unconnected] Lower dead band dT
*** INITIAL INPUT VALUES
21 10.0 20.0 0 2 0 
*------------------------------------------------------------------------------

* Model "Type9a" (Type 9)
* 

UNIT 19 TYPE 9	 Type9a
*$UNIT_NAME Type9a
*$MODEL .\Utility\Data Readers\Generic Data Files\First Line is Simulation Start\Free Format\Type9a.tmf
*$POSITION 1015 698
*$LAYER Weather - Data Files # 
PARAMETERS 10
2		! 1 Mode
0		! 2 Header Lines to Skip
1		! 3 No. of values to read
1.0		! 4 Time interval of data
1		! 5 Interpolate or not?
1.0		! 6 Multiplication factor
0		! 7 Addition factor
1		! 8 Average or instantaneous value
36		! 9 Logical unit for input file
-1		! 10 Free format mode
*** External files
ASSIGN "C:\Trnsys17\MyProjects\BuildingProject3Temuco1zona\Tset1.txt" 36
*|? Input file name |1000
*------------------------------------------------------------------------------

* EQUATIONS "Turn-3"
* 
EQUATIONS 1
TotalQheat = [56,17]+[56,18]
*$UNIT_NAME Turn-3
*$LAYER Main
*$POSITION 979 399

*------------------------------------------------------------------------------


* Model "Type997" (Type 997)
* 

UNIT 22 TYPE 997	 Type997
*$UNIT_NAME Type997
*$MODEL .\GHP Library (TESS)\Ground Heat Exchangers\Horizontal\Type997.tmf
*$POSITION 343 655
*$LAYER Main # 
*$# Horizontal Ground Heat Exchanger
PARAMETERS 59
1		! 1 Number of pipes in each layer
2		! 2 Number of pipe layers
1		! 3 Number of soil layers
10		! 4 Nodes along the pipe axis
265		! 5 Pipe length
0.019		! 6 Pipe inside diameter
0.020		! 7 Pipe outside diameter
1.44		! 8 Pipe thermal conductivity
0.0		! 9 Pipe / soil contact resistance
10		! 10 Horizontal pipe separation
1.7		! 11 Depth of pipe layer-1
2.3		! 12 Depth of pipe layer-2
1		! 13 Length of surface extension: left
1		! 14 Length of surface extension: right
1		! 15 Length of surface extension: front
1		! 16 Length of surface extension: back
0.		! 17 R-value for surface insulation
1.7		! 18 Approximate depth of perimeter insulation 
0.		! 19 R-value for perimeter insulation
1000		! 20 Depth of groundwater layer
0		! 21 Thickness of groundwater layer
5		! 22 Far-field distance: left surface
5		! 23 Far-field distance: right surface
5		! 24 Far-field distance: front surface
5		! 25 Far-field distance: back surface
10		! 26 Deep earth distance
1		! 27 Boundary mode: left surface
1		! 28 Boundary mode: right surface
1		! 29 Boundary mode: front surface
1		! 30 Boundary mode: back surface
1		! 31 Boundary mode: deep earth
20		! 32 Initial fluid temperature
3.75		! 33 Fluid specific heat
1035		! 34 Fluid density
1.728		! 35 Fluid thermal conductivity
12.6		! 36 Fluid viscosity
4.356		! 37 Thermal conductivity of soil layer
1700		! 38 Density of soil layer
0.92		! 39 Specific heat of soil layer
1000		! 40 Thickness of soil layer
14.73		! 41 Deep earth (average surface) temperature
15.2		! 42 Amplitude of surface temperature
219		! 43 Day of minimum surface temperature
0.1		! 44 Smallest node size
2		! 45 Nodal size multiplier
1.2		! 46 Length factor
4.0		! 47 Multiplier on Pipe Diameter for Node Size
1		! 48 Insulated surface mode
2		! 49 Soil surface mode
37		! 50 Logical unit for output data
0.001		! 51 Convergence tolerance
0.9		! 52 Emissivity of soil surface
0.3		! 53 Absorptance of soil surface
0.9		! 54 Emissivity of zone (insulated) surface
0.3		! 55 Absorptance of zone (insulated) surface
0		! 56 Inlet to this pipe-1
1		! 57 Pipe direction-1
1		! 58 Inlet to this pipe-2
2		! 59 Pipe direction-2
INPUTS 14
11,1 		! Type927:Outlet Source Temperature ->Inlet fluid temperature
11,2 		! Type927:Source Flowrate ->Inlet fluid flow rate
17,1 		! Type99:Ambient temperature ->Air temperature above the ground HX
0,0		! [unconnected] Zone convection coefficient
14,1 		! Type69b:Fictive sky temperature ->Zone radiant temperature
17,12 		! Type99:total radiation on horizontal ->Incident short wave radiation (zone)
17,1 		! Type99:Ambient temperature ->Zone surface temperature
17,1 		! Type99:Ambient temperature ->Ambient temperature
0,0		! [unconnected] Ambient convection coefficient
14,1 		! Type69b:Fictive sky temperature ->Sky temperature
17,12 		! Type99:total radiation on horizontal ->Incident solar radiation
17,1 		! Type99:Ambient temperature ->Soil surface temperature
0,0		! [unconnected] Groundwater flow velocity - axial
0,0		! [unconnected] Groundwater flow velocity - transverse
*** INITIAL INPUT VALUES
20.0 1363 20.0 66.76 20.0 0 20. 20.0 66.76 20.0 0 20. 0. 0. 
*** External files
ASSIGN "tempsoil.out" 37
*|? Which file should contain the soil temperature profile results? |1000
*------------------------------------------------------------------------------

* Model "Type114-2" (Type 114)
* 

UNIT 23 TYPE 114	 Type114-2
*$UNIT_NAME Type114-2
*$MODEL .\Hydronics\Pumps\Single Speed\Type114.tmf
*$POSITION 495 655
*$LAYER Main # 
*$# SINGLE-SPEED PUMP
PARAMETERS 4
1363		! 1 Rated flow rate
3.75		! 2 Fluid specific heat
2684.0		! 3 Rated power
0.0		! 4 Motor heat loss fraction
INPUTS 5
22,1 		! Type997:Outlet fluid temperature ->Inlet fluid temperature
22,2 		! Type997:Outlet fluid flow rate ->Inlet fluid flow rate
18,1 		! Type2b:Output control function ->Control signal
0,0		! [unconnected] Overall pump efficiency
0,0		! [unconnected] Motor efficiency
*** INITIAL INPUT VALUES
20.0 1000 0 0.8 0.9 
*------------------------------------------------------------------------------

* EQUATIONS "Turn-2"
* 
EQUATIONS 1
DeltaT = [56,7] - [56,14]
*$UNIT_NAME Turn-2
*$LAYER Main
*$POSITION 989 261

*------------------------------------------------------------------------------


* Model "Type25c-2" (Type 25)
* 

UNIT 24 TYPE 25	 Type25c-2
*$UNIT_NAME Type25c-2
*$MODEL .\Output\Printer\Unformatted\No Units\Type25c.tmf
*$POSITION 1060 325
*$LAYER Outputs # 
PARAMETERS 10
STEP		! 1 Printing interval
START		! 2 Start time
STOP		! 3 Stop time
38		! 4 Logical unit
0		! 5 Units printing mode
0		! 6 Relative or absolute start time
-1		! 7 Overwrite or Append
-1		! 8 Print header
0		! 9 Delimiter
1		! 10 Print labels
INPUTS 1
DeltaT		! Turn-2:DeltaT ->Input to be printed
*** INITIAL INPUT VALUES
DeltaT 
*** External files
ASSIGN "deltaTpisoradiante.out" 38
*|? Output file for printed results |1000
*------------------------------------------------------------------------------

* Model "Type65d-2" (Type 65)
* 

UNIT 27 TYPE 65	 Type65d-2
*$UNIT_NAME Type65d-2
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 741 730
*$LAYER Main # 
PARAMETERS 12
2		! 1 Nb. of left-axis variables
2		! 2 Nb. of right-axis variables
0.0		! 3 Left axis minimum
2		! 4 Left axis maximum
0.0		! 5 Right axis minimum
1000.0		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 4
18,1 		! Type2b:Output control function ->Left axis variable-1
0,0		! [unconnected] Left axis variable-2
0,0		! [unconnected] Right axis variable-1
0,0		! [unconnected] Right axis variable-2
*** INITIAL INPUT VALUES
Output label label label 
LABELS  3
"control signal"
"Heat transfer rates"
"Graph 1"
*------------------------------------------------------------------------------

END

Attachment: Heating Output 1.jpg
Description: JPEG image

Attachment: Simulation Studio 1.jpg
Description: JPEG image

Attachment: Simulation Studio 2.JPG
Description: JPEG image

VERSION 17
*******************************************************************************
*** TRNSYS input file (deck) generated by TrnsysStudio
*** on lunes, abril 23, 2018 at 20:00
*** from TrnsysStudio project: C:\Trnsys17\MyProjects\BuildingProject3StgoINTENTO3\BuildingProject3Stgo1zonaINTENTO3.tpf
*** 
*** If you edit this file, use the File/Import TRNSYS Input File function in 
*** TrnsysStudio to update the project. 
*** 
*** If you have problems, questions or suggestions please contact your local 
*** TRNSYS distributor or mailto:software@cstb.fr 
*** 
*******************************************************************************


*******************************************************************************
*** Units 
*******************************************************************************

*******************************************************************************
*** Control cards
*******************************************************************************
* START, STOP and STEP
CONSTANTS 3
START=0
STOP=8760
STEP=0.016667
SIMULATION 	 START	 STOP	 STEP	! Start time	End time	Time step
TOLERANCES 0.001 0.001			! Integration	 Convergence
LIMITS 30 30 30				! Max iterations	Max warnings	Trace limit
DFQ 1					! TRNSYS numerical integration solver method
WIDTH 72				! TRNSYS output file width, number of characters
LIST 					! NOLIST statement
					! MAP statement
SOLVER 0 1 1				! Solver statement	Minimum relaxation factor	Maximum relaxation factor
NAN_CHECK 0				! Nan DEBUG statement
OVERWRITE_CHECK 0			! Overwrite DEBUG statement
TIME_REPORT 0			! disable time report
EQSOLVER 0				! EQUATION SOLVER statement
* User defined CONSTANTS 
EQUATIONS 1
N_Plots = INT((STOP-START)/168.001)+1

* Model "Clima" (Type 99)
* 

UNIT 17 TYPE 99	 Clima
*$UNIT_NAME Clima
*$MODEL .\Weather Data Reading and Processing\User Format\Type99.tmf
*$POSITION 65 186
*$LAYER Main # 
PARAMETERS 3
32		! 1 Logical unit
5		! 2 Sky model for diffuse radiation
1		! 3 Tracking mode
INPUTS 17
0,0		! [unconnected] Ground reflectance
0,0		! [unconnected] Slope of surface-1
0,0		! [unconnected] Azimuth of surface-1
0,0		! [unconnected] Slope of surface-2
0,0		! [unconnected] Azimuth of surface-2
0,0		! [unconnected] Slope of surface-3
0,0		! [unconnected] Azimuth of surface-3
0,0		! [unconnected] Slope of surface-4
0,0		! [unconnected] Azimuth of surface-4
0,0		! [unconnected] Slope of surface-5
0,0		! [unconnected] Azimuth of surface-5
0,0		! [unconnected] Slope of surface-6
0,0		! [unconnected] Azimuth of surface-6
0,0		! [unconnected] Slope of surface-7
0,0		! [unconnected] Azimuth of surface-7
0,0		! [unconnected] Slope of surface-8
0,0		! [unconnected] Azimuth of surface-8
*** INITIAL INPUT VALUES
0.2 90 0.0 90 90 90 180 90 270 90 45 90 135 90 225 90 315 
*** External files
ASSIGN "C:\Trnsys17\MyProjects\BuildingProject3Stgo1zona\santiago1zona.99" 32
*|? Weather data file |1000
*------------------------------------------------------------------------------

* Model "Tcasa sin calef" (Type 65)
* 

UNIT 11 TYPE 65	 Tcasa sin calef
*$UNIT_NAME Tcasa sin calef
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 1062 133
*$LAYER Main # 
PARAMETERS 12
8		! 1 Nb. of left-axis variables
5		! 2 Nb. of right-axis variables
0		! 3 Left axis minimum
30		! 4 Left axis maximum
0.0		! 5 Right axis minimum
50000		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 13
0,0		! [unconnected] Left axis variable-1
0,0		! [unconnected] Left axis variable-2
0,0		! [unconnected] Left axis variable-3
0,0		! [unconnected] Left axis variable-4
0,0		! [unconnected] Left axis variable-5
0,0		! [unconnected] Left axis variable-6
0,0		! [unconnected] Left axis variable-7
0,0		! [unconnected] Left axis variable-8
0,0		! [unconnected] Right axis variable-1
0,0		! [unconnected] Right axis variable-2
0,0		! [unconnected] Right axis variable-3
0,0		! [unconnected] Right axis variable-4
0,0		! [unconnected] Right axis variable-5
*** INITIAL INPUT VALUES
Tsalaestar label label label label label label label Demanda de Calor
label label label label 
LABELS  3
"Temperatures  [deg C]"
"Heat rates  [kj/hr]"
"Tcasa sin calef"
*------------------------------------------------------------------------------

* Model "Tcasa sin calef-2" (Type 25)
* 

UNIT 12 TYPE 25	 Tcasa sin calef-2
*$UNIT_NAME Tcasa sin calef-2
*$MODEL .\Output\Printer\Unformatted\No Units\Type25c.tmf
*$POSITION 1035 47
*$LAYER Main # 
PARAMETERS 10
STEP		! 1 Printing interval
START		! 2 Start time
STOP		! 3 Stop time
34		! 4 Logical unit
0		! 5 Units printing mode
0		! 6 Relative or absolute start time
-1		! 7 Overwrite or Append
-1		! 8 Print header
0		! 9 Delimiter
1		! 10 Print labels
INPUTS 1
0,0		! [unconnected] Tcasa sin calefact
*** INITIAL INPUT VALUES
TAIR_SALAESTAR 
*** External files
ASSIGN "Tsincalefact.out" 34
*|? Output file for printed results |1000
*------------------------------------------------------------------------------

* Model "Type77" (Type 77)
* 

UNIT 18 TYPE 77	 Type77
*$UNIT_NAME Type77
*$MODEL .\Physical Phenomena\Simple Ground Temperature Model\Type77.tmf
*$POSITION 161 463
*$LAYER Main # 
PARAMETERS 8
1		! 1 Number of temperature nodes
14.73		! 2 Mean surface temperature
15.2		! 3 Amplitude of surface temperature
219		! 4 Time shift
4.356		! 5 Soil thermal conductivity
1700		! 6 Soil density
0.92		! 7 Soil specific heat
0.28		! 8 Depth at point 
*------------------------------------------------------------------------------

* Model "Type997" (Type 997)
* 

UNIT 22 TYPE 997	 Type997
*$UNIT_NAME Type997
*$MODEL .\GHP Library (TESS)\Ground Heat Exchangers\Horizontal\Type997.tmf
*$POSITION 482 719
*$LAYER Main # 
*$# Horizontal Ground Heat Exchanger
PARAMETERS 59
1		! 1 Number of pipes in each layer
2		! 2 Number of pipe layers
1		! 3 Number of soil layers
10		! 4 Nodes along the pipe axis
265		! 5 Pipe length
0.019		! 6 Pipe inside diameter
0.020		! 7 Pipe outside diameter
1.44		! 8 Pipe thermal conductivity
0.0		! 9 Pipe / soil contact resistance
10		! 10 Horizontal pipe separation
1.7		! 11 Depth of pipe layer-1
2.3		! 12 Depth of pipe layer-2
1		! 13 Length of surface extension: left
1		! 14 Length of surface extension: right
1		! 15 Length of surface extension: front
1		! 16 Length of surface extension: back
0.		! 17 R-value for surface insulation
1.7		! 18 Approximate depth of perimeter insulation 
0.		! 19 R-value for perimeter insulation
1000		! 20 Depth of groundwater layer
0		! 21 Thickness of groundwater layer
5		! 22 Far-field distance: left surface
5		! 23 Far-field distance: right surface
5		! 24 Far-field distance: front surface
5		! 25 Far-field distance: back surface
10		! 26 Deep earth distance
2		! 27 Boundary mode: left surface
2		! 28 Boundary mode: right surface
2		! 29 Boundary mode: front surface
2		! 30 Boundary mode: back surface
1		! 31 Boundary mode: deep earth
20		! 32 Initial fluid temperature
3.75		! 33 Fluid specific heat
1035		! 34 Fluid density
1.728		! 35 Fluid thermal conductivity
12.6		! 36 Fluid viscosity
4.356		! 37 Thermal conductivity of soil layer
1700		! 38 Density of soil layer
0.92		! 39 Specific heat of soil layer
1000		! 40 Thickness of soil layer
14.73		! 41 Deep earth (average surface) temperature
15.2		! 42 Amplitude of surface temperature
219		! 43 Day of minimum surface temperature
0.15		! 44 Smallest node size
2		! 45 Nodal size multiplier
1.2		! 46 Length factor
4.0		! 47 Multiplier on Pipe Diameter for Node Size
1		! 48 Insulated surface mode
2		! 49 Soil surface mode
38		! 50 Logical unit for output data
0.001		! 51 Convergence tolerance
0.9		! 52 Emissivity of soil surface
0.3		! 53 Absorptance of soil surface
0.9		! 54 Emissivity of zone (insulated) surface
0.3		! 55 Absorptance of zone (insulated) surface
0		! 56 Inlet to this pipe-1
1		! 57 Pipe direction-1
1		! 58 Inlet to this pipe-2
2		! 59 Pipe direction-2
INPUTS 14
21,1 		! Type927:Outlet Source Temperature ->Inlet fluid temperature
21,2 		! Type927:Source Flowrate ->Inlet fluid flow rate
17,1 		! Clima:Ambient temperature ->Air temperature above the ground HX
0,0		! [unconnected] Zone convection coefficient
14,1 		! Type69b:Fictive sky temperature ->Zone radiant temperature
17,12 		! Clima:total radiation on horizontal ->Incident short wave radiation (zone)
17,1 		! Clima:Ambient temperature ->Zone surface temperature
17,1 		! Clima:Ambient temperature ->Ambient temperature
0,0		! [unconnected] Ambient convection coefficient
14,1 		! Type69b:Fictive sky temperature ->Sky temperature
17,12 		! Clima:total radiation on horizontal ->Incident solar radiation
17,1 		! Clima:Ambient temperature ->Soil surface temperature
0,0		! [unconnected] Groundwater flow velocity - axial
0,0		! [unconnected] Groundwater flow velocity - transverse
*** INITIAL INPUT VALUES
20.0 1363 20.0 66.76 20.0 0 20. 20.0 66.76 20.0 0 20. 0. 0. 
*** External files
ASSIGN "tempsoilint2.out" 38
*|? Which file should contain the soil temperature profile results? |1000
*------------------------------------------------------------------------------

* Model "Type653" (Type 653)
* 

UNIT 13 TYPE 653	 Type653
*$UNIT_NAME Type653
*$MODEL .\Ground Coupling Library (TESS)\Simplified Radiant Floor\Type653.tmf
*$POSITION 378 495
*$LAYER Main # 
*$# Simplified Radiant Floor
PARAMETERS 25
13.57		! 1 Length of Slab
8.84		! 2 Width of Slab
0.28		! 3 Thickness of Slab
2099.64		! 4 Slab Density
0.84		! 5 Slab Specific Heat
17		! 6 Initial Slab Temperature
13.49		! 7 R-Value for Top Surface
79.55		! 8 R-Value for Edge Surfaces
174.17		! 9 R-Value for Bottom Surface
0.9		! 10 Emissivity of the Top Surface
0.4		! 11 Emissivity of the Edges
0		! 12 Emissivity of the Bottom Surface
0.4		! 13 Absorptance of the Top Surface
0.4		! 14 Absorptance of the Edge Surfaces
0.4		! 15 Absorptance of the Bottom Surface
600		! 16 Total Pipe Length
0.016		! 17 Pipe Inside Diameter
0.02		! 18 Pipe Outside Diameter
1		! 19 Number of Identical Circuits
4.190		! 20 Fluid Specific Heat
1000.0		! 21 Fluid Density
40		! 22 Nodes Along the Pipe
2		! 23 Top Surface Mode
1		! 24 Edge Surface Mode
1		! 25 Bottom Surface Mode
INPUTS 18
20,1 		! Type114:Outlet fluid temperature ->Inlet Fluid Temperature
20,2 		! Type114:Outlet flow rate ->Inlet Fluid Flowrate
0,0		! [unconnected] Top Convective Loss Temperature
17,1 		! Clima:Ambient temperature ->Edge Convective Loss Temperature
18,1 		! Type77:Soil Temperature at Node  ->Bottom Convective Loss Temperature
0,0		! [unconnected] Top Surface Convection Coefficient
hOutside		! Hedgeside:hOutside ->Edge Surface Convection Coefficient
0,0		! [unconnected] Bottom Surface Convection Coefficient
0,0		! [unconnected] Top Radiative Loss Temperature
14,1 		! Type69b:Fictive sky temperature ->Edge Radiative Loss Temperature
18,1 		! Type77:Soil Temperature at Node  ->Bottom Radiative Loss Temperature
0,0		! [unconnected] Incident Radiation Upon Top Surface
0,0		! [unconnected] Incident Radiation Upon Edge Surfaces
0,0		! [unconnected] Incident Radiation Upon Bottom Surface
56,3 		! Building: 3- QCOMO_S7 ->Top Surface Heat Transfer From Type 56 Building
0,0		! [unconnected] Edge Surface Heat Transfer From Type 56 Building
0,0		! [unconnected] Bottom Surface Heat Transfer From Type 56 Building
0,0		! [unconnected] HX Effectiveness
*** INITIAL INPUT VALUES
20.0 0 20.0 20.0 20.0 35. 35. 1000 20.0 10 14.53 0 0 0 0 0 0 0.6 
*------------------------------------------------------------------------------

* Model "Medio ambiente" (Type 65)
* 

UNIT 15 TYPE 65	 Medio ambiente
*$UNIT_NAME Medio ambiente
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 137 293
*$LAYER Main # 
PARAMETERS 12
2		! 1 Nb. of left-axis variables
2		! 2 Nb. of right-axis variables
-20		! 3 Left axis minimum
40		! 4 Left axis maximum
0.0		! 5 Right axis minimum
50		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 4
17,1 		! Clima:Ambient temperature ->Left axis variable-1
17,8 		! Clima:Punto de rocio ->Left axis variable-2
0,0		! [unconnected] Right axis variable-1
0,0		! [unconnected] Right axis variable-2
*** INITIAL INPUT VALUES
Tambiente Punto de rocio label label 
LABELS  3
"Temperatures"
"Heat transfer rates"
"Medio ambiente"
*------------------------------------------------------------------------------

* EQUATIONS "Hedgeside"
* 
EQUATIONS 1
hOutside = MAX(0.01,(8.23+4.00*[17,3]-0.057*[17,3]**2)*3.6)  !kJ/h.m2.K
*$UNIT_NAME Hedgeside
*$LAYER Main
*$POSITION 76 505

*------------------------------------------------------------------------------


* Model "Building" (Type 56)
* 

UNIT 56 TYPE 56	 Building
*$UNIT_NAME Building
*$MODEL .\Loads and Structures\Multi-Zone Building\Type56.tmf
*$POSITION 375 402
*$LAYER Main # # 
*$#   
PARAMETERS 3
31		! 1 Logical unit for building description file (*.b17, *.bui)
1		! 2 Star network calculation switch
0.5		! 3 Weighting factor for operative temperature
INPUTS 27
17,1 		! Clima:Ambient temperature -> 1- TAMB
17,2 		! Clima:relative humidity -> 2- RELHUMAMB
14,1 		! Type69b:Fictive sky temperature -> 3- TSKY
17,1 		! Clima:Ambient temperature -> 4- TSGRD
17,10 		! Clima:solar zenith angle -> 5- AZEN
AAZM_TYPE56		! Turn:AAZM_TYPE56 -> 6- AAZM
IT_N_0_90		! Radiation:IT_N_0_90 -> 7- IT_N_0_90
IT_S_180_90		! Radiation:IT_S_180_90 -> 8- IT_S_180_90
IT_E_270_90		! Radiation:IT_E_270_90 -> 9- IT_E_270_90
IT_W_90_90		! Radiation:IT_W_90_90 -> 10- IT_W_90_90
IT_H_0_0		! Radiation:IT_H_0_0 -> 11- IT_H_0_0
IB_N_0_90		! Radiation:IB_N_0_90 -> 12- IB_N_0_90
IB_S_180_90		! Radiation:IB_S_180_90 -> 13- IB_S_180_90
IB_E_270_90		! Radiation:IB_E_270_90 -> 14- IB_E_270_90
IB_W_90_90		! Radiation:IB_W_90_90 -> 15- IB_W_90_90
IB_H_0_0		! Radiation:IB_H_0_0 -> 16- IB_H_0_0
AI_N_0_90		! Radiation:AI_N_0_90 -> 17- AI_N_0_90
AI_S_180_90		! Radiation:AI_S_180_90 -> 18- AI_S_180_90
AI_E_270_90		! Radiation:AI_E_270_90 -> 19- AI_E_270_90
AI_W_90_90		! Radiation:AI_W_90_90 -> 20- AI_W_90_90
AI_H_0_0		! Radiation:AI_H_0_0 -> 21- AI_H_0_0
17,7 		! Clima:Ground reflectance -> 22- GRDREF
0,0		! [unconnected]  23- CNAT_1
0,0		! [unconnected]  24- CNAT_2
0,0		! [unconnected]  25- T_COOL_ON
0,0		! [unconnected]  26- BRIGHT
13,3 		! Type653:Average Slab Temperature -> 27- TSUELO
*** INITIAL INPUT VALUES
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0 0 0 0 0 
*** External files
ASSIGN "BuildingProject3.b17" 31
*|? Building description file (*.b17, *.bui) |1000
*------------------------------------------------------------------------------

* Model "Type69b" (Type 69)
* 

UNIT 14 TYPE 69	 Type69b
*$UNIT_NAME Type69b
*$MODEL .\Physical Phenomena\Sky Temperature\calculate cloudiness factor\Type69b.tmf
*$POSITION 304 207
*$LAYER Main # 
PARAMETERS 2
0		! 1 mode for cloudiness factor
0		! 2 height over sea level
INPUTS 4
17,1 		! Clima:Ambient temperature ->Ambient temperature
17,8 		! Clima:Punto de rocio ->Dew point temperature at ambient conditions
17,13 		! Clima:beam radiation on horitonzal ->Beam radiation on the horizontal
17,14 		! Clima:sky diffuse radiation on horizontal ->Diffuse radiation on the horizontal
*** INITIAL INPUT VALUES
0 20 0 0 
*------------------------------------------------------------------------------

* EQUATIONS "Radiation"
* 
EQUATIONS 31
AZEN = [17,10]
AAZM = [17,11]
ID_H_0_0 = [17,14]    !Sky diffuse radiation on the horizontal
IT_H_0_0 = [17,12]    !Total incident of radation orientation H_0_0
IB_H_0_0 = [17,13]    !Beam incident of radation orientation H_0_0
AI_H_0_0 = [17,16]    !Incident angle of orientation H_0_0
IT_N_0_90 = [17,18]
IB_N_0_90 = [17,19]
AI_N_0_90 = [17,22]
IT_W_45_90 = [17,42]
IB_W_45_90 = [17,43]
AI_W_45_90 = [17,46]
IT_W_90_90 = [17,24]
IB_W_90_90 = [17,25]
AI_W_90_90 = [17,28]
IT_S_135_90 = [17,48]
IB_S_135_90 = [17,49]
AI_S_135_90 = [17,52]
IT_S_180_90 = [17,30]
IB_S_180_90 = [17,31]
AI_S_180_90 = [17,34]
IT_E_225_90 = [17,54]
IB_E_225_90 = [17,55]
AI_E_225_90 = [17,58]
IT_E_270_90 = [17,36]
IB_E_270_90 = [17,37]
AI_E_270_90 = [17,40]
IT_N_315_90 = [17,60]
IB_N_315_90 = [17,61]
AI_N_315_90 = [17,64]
hour_of_day = MOD(TIME,24)
*$UNIT_NAME Radiation
*$LAYER Main
*$POSITION 226 90

*------------------------------------------------------------------------------


* Model "Type114-2" (Type 114)
* 

UNIT 23 TYPE 114	 Type114-2
*$UNIT_NAME Type114-2
*$MODEL .\Hydronics\Pumps\Single Speed\Type114.tmf
*$POSITION 636 687
*$LAYER Main # 
*$# SINGLE-SPEED PUMP
PARAMETERS 4
1363		! 1 Rated flow rate
3.75		! 2 Fluid specific heat
2684.0		! 3 Rated power
0.0		! 4 Motor heat loss fraction
INPUTS 5
22,1 		! Type997:Outlet fluid temperature ->Inlet fluid temperature
22,2 		! Type997:Outlet fluid flow rate ->Inlet fluid flow rate
27,1 		! Type2b:Output control function ->Control signal
0,0		! [unconnected] Overall pump efficiency
0,0		! [unconnected] Motor efficiency
*** INITIAL INPUT VALUES
20.0 1363 1.0 0.8 0.9 
*------------------------------------------------------------------------------

* Model "Condiciones Casa" (Type 65)
* 

UNIT 28 TYPE 65	 Condiciones Casa
*$UNIT_NAME Condiciones Casa
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 547 250
*$LAYER Main # 
PARAMETERS 12
10		! 1 Nb. of left-axis variables
10		! 2 Nb. of right-axis variables
-6		! 3 Left axis minimum
40		! 4 Left axis maximum
-60000		! 5 Right axis minimum
60000		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 20
56,1 		! Building: 1- TAIR_SALAESTAR ->Left axis variable-1
56,4 		! Building: 4- TSI_S7 ->Left axis variable-2
0,0		! [unconnected] Left axis variable-3
0,0		! [unconnected] Left axis variable-4
0,0		! [unconnected] Left axis variable-5
0,0		! [unconnected] Left axis variable-6
0,0		! [unconnected] Left axis variable-7
0,0		! [unconnected] Left axis variable-8
0,0		! [unconnected] Left axis variable-9
0,0		! [unconnected] Left axis variable-10
56,2 		! Building: 2- QHEAT_SALAESTAR ->Right axis variable-1
56,3 		! Building: 3- QCOMO_S7 ->Right axis variable-2
13,4 		! Type653:Fluid Heat Transfer ->Right axis variable-3
13,5 		! Type653:Top Surface Heat Transfer ->Right axis variable-4
13,6 		! Type653:Bottom Heat Transfer ->Right axis variable-5
13,7 		! Type653:Edge Heat Transfer ->Right axis variable-6
13,8 		! Type653:HX Heat Transfer ->Right axis variable-7
56,5 		! Building: 5- QCOMI_S7 ->Right axis variable-8
56,6 		! Building: 6- B4_QBAL_SALAESTAR ->Right axis variable-9
56,7 		! Building: 7- B4_QHEAT_SALAESTAR ->Right axis variable-10
*** INITIAL INPUT VALUES
TAIR_SALAESTAR TSI_S7 label label label label label label label label
Demanda_térmica Qoutcasa Fluid_Heat_Transfer Top_Surface_Heat_Transfer
Bottom_Heat_Transfer Edge_Heat_Transfer Hx_Heat_Transfer QCOMI_S7
B4_QBAL_SALAESTAR B4_QHEAT_SALAESTAR 
LABELS  3
"Condiciones casa"
"Heat transfer rates"
"Condiciones Casa"
*------------------------------------------------------------------------------

* EQUATIONS "DeltaT"
* 
EQUATIONS 2
DeltaTpiso = [20,1] - [13,1]  !°C
DeltaTground = [22,1] - [21,1]
*$UNIT_NAME DeltaT
*$LAYER Main
*$POSITION 193 622

*------------------------------------------------------------------------------


* Model "Type927" (Type 927)
* 

UNIT 21 TYPE 927	 Type927
*$UNIT_NAME Type927
*$MODEL .\GHP Library (TESS)\Water-Water Heat Pump\Single-Stage\Type927.tmf
*$POSITION 548 613
*$LAYER Main # 
PARAMETERS 19
3.75		! 1 Source Fluid Specific Heat
4.190		! 2 Load Fluid Specific Heat
1035		! 3 Source Fluid Density
1000		! 4 Load Fluid Density
36		! 5 Logical Unit Number for Cooling Data File
8		! 6 Number of Source Temperatures - Cooling
4		! 7 Number of Load Temperatures - Cooling
37		! 8 Logical Unit for Heating Data
6		! 9 Number of Source Temperatures - Heating
4		! 10 Number of Load Temperatures - Heating
3		! 11 Number of Source Flowrates
3		! 12 Number of Load Flowrates
30000		! 13 Rated Cooling Capacity per Heat Pump
6000		! 14 Rated Cooling Power per Heat Pump
39564		! 15 Rated Heating Capacity per Heat Pump
13188.24		! 16 Rated Heating Power per Heat Pump
0.5678		! 17 Rated Source Flowrate per Heat Pump
0.5678		! 18 Rated Load Flowrate per Heat Pump
1		! 19 Number of Identical Heat Pumps
INPUTS 8
23,1 		! Type114-2:Outlet fluid temperature ->Inlet Source Temperature
23,2 		! Type114-2:Outlet flow rate ->Source Flowrate
13,1 		! Type653:Outlet Fluid Temperature ->Inlet Load Temperature
13,2 		! Type653:Outlet Fluid Flowrate ->Load Flowrate
0,0		! [unconnected] Cooling Control Signal
27,1 		! Type2b:Output control function ->Heating Control Signal
0,0		! [unconnected] Scale Factor
0,0		! [unconnected] Number of Heat Pumps On
*** INITIAL INPUT VALUES
40.0 1363 20.0 1378.71 0 1 1 1 
*** External files
ASSIGN "C:\Trnsys17\MyProjects\BuildingProject3Stgo1zona\WWHP_Cooling-Normalizedblastgo.dat" 36
*|? Which file contains the cooling performance data? |1000
ASSIGN "C:\Trnsys17\MyProjects\BuildingProject3Stgo1zona\daikin_heat_pump.dat" 37
*|? Which file contains the heating performance data? |1000
*------------------------------------------------------------------------------

* Model "Type25c" (Type 25)
* 

UNIT 16 TYPE 25	 Type25c
*$UNIT_NAME Type25c
*$MODEL .\Output\Printer\Unformatted\No Units\Type25c.tmf
*$POSITION 495 165
*$LAYER Outputs # 
PARAMETERS 10
STEP		! 1 Printing interval
START		! 2 Start time
STOP		! 3 Stop time
33		! 4 Logical unit
0		! 5 Units printing mode
0		! 6 Relative or absolute start time
-1		! 7 Overwrite or Append
-1		! 8 Print header
0		! 9 Delimiter
1		! 10 Print labels
INPUTS 2
56,1 		! Building: 1- TAIR_SALAESTAR ->Input to be printed-1
56,2 		! Building: 2- QHEAT_SALAESTAR ->Input to be printed-2
*** INITIAL INPUT VALUES
TAIR_SALAESTAR QHEAT_SALAESTAR 
*** External files
ASSIGN "heatingdemandint2.out" 33
*|? Output file for printed results |1000
*------------------------------------------------------------------------------

* Model "Type2b" (Type 2)
* 

UNIT 27 TYPE 2	 Type2b
*$UNIT_NAME Type2b
*$MODEL .\Controllers\Differential Controller w_ Hysteresis\for Temperatures\Solver 0 (Successive Substitution) Control Strategy\Type2b.tmf
*$POSITION 546 421
*$LAYER Controls # 
*$# NOTE: This control strategy can only be used with solver 0 (Successive substitution)
*$# 
PARAMETERS 2
5		! 1 No. of oscillations
100.0		! 2 High limit cut-out
INPUTS 6
0,0		! [unconnected] Upper input temperature Th
56,1 		! Building: 1- TAIR_SALAESTAR ->Lower input temperature Tl
0,0		! [unconnected] Monitoring temperature Tin
27,1 		! Type2b:Output control function ->Input control function
0,0		! [unconnected] Upper dead band dT
0,0		! [unconnected] Lower dead band dT
*** INITIAL INPUT VALUES
21 10.0 20.0 0 2 0 
*------------------------------------------------------------------------------

* EQUATIONS "Turn"
* 
EQUATIONS 13
TURN = 0
HEMISPHERE = -1 ! northern hemisphere: 1  - southern hemisphere: -1
AA_H_0_0 = 0  ! azimuth angle of orientation
AA_S_0_90 = (0  +TURN)*GT(HEMISPHERE,0)+ (180-0 -TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_W_45_90 = (45 +TURN)*GT(HEMISPHERE,0)+ (180-45-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_W_90_90 = (90 +TURN)*GT(HEMISPHERE,0)+ (180-90-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_N_135_90 = (135+TURN)*GT(HEMISPHERE,0)+ (180-135-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_N_180_90 = (180+TURN)*GT(HEMISPHERE,0)+ (180-180-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_E_225_90 = (225+TURN)*GT(HEMISPHERE,0)+ (180-225-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_E_270_90 = (270+TURN)*GT(HEMISPHERE,0)+ (180-270-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AA_S_315_90 = (315+TURN)*GT(HEMISPHERE,0)+ (180-315-TURN)*NOT(GT(HEMISPHERE,0)) ! azimuth angle of orientation
AAZM_CORR_HEM = AAZM*GT(HEMISPHERE,0) +  NOT(GT(HEMISPHERE,0))*((180-AAZM)*GT(AAZM,0)*LE(AAZM,180) + (-180-AAZM)*NOT(GT(AAZM,0)*LE(AAZM,180))) !solar azimuth corrected for southern hemisphere such that north=180, south=0, west =90, east=-90
AAZM_TYPE56 = (AAZM_CORR_HEM - TURN) ! solar azimuth corrected by building rotation - Input for Type 56 sun position for SHM and ISM
*$UNIT_NAME Turn
*$LAYER Main
*$POSITION 360 165

*------------------------------------------------------------------------------


* Model "Irradiation" (Type 65)
* 

UNIT 66 TYPE 65	 Irradiation
*$UNIT_NAME Irradiation
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 102 90
*$LAYER Main # # 
PARAMETERS 12
5		! 1 Nb. of left-axis variables
6		! 2 Nb. of right-axis variables
0		! 3 Left axis minimum
3600		! 4 Left axis maximum
0		! 5 Right axis minimum
3600		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 11
IT_H_0_0		! Radiation:IT_H_0_0 ->Left axis variable-1
IT_N_0_90		! Radiation:IT_N_0_90 ->Left axis variable-2
IT_W_90_90		! Radiation:IT_W_90_90 ->Left axis variable-3
0,0		! [unconnected] Left axis variable-4
IT_E_270_90		! Radiation:IT_E_270_90 ->Left axis variable-5
IB_H_0_0		! Radiation:IB_H_0_0 ->Right axis variable-1
IB_N_0_90		! Radiation:IB_N_0_90 ->Right axis variable-2
IB_W_90_90		! Radiation:IB_W_90_90 ->Right axis variable-3
0,0		! [unconnected] Right axis variable-4
IB_E_270_90		! Radiation:IB_E_270_90 ->Right axis variable-5
hour_of_day		! Radiation:hour_of_day ->Right axis variable-6
*** INITIAL INPUT VALUES
IT_H_0_0 IT_S_0_90 IT_W_90_90 IT_N_180_90 IT_E_270_90 IB_H_0_0 IB_S_0_90
IB_W_90_90 IB_N_180_90 IB_E_270_90 hour_of_day 
LABELS  3
"Total  Incident Solar Radition [kJ/hr m²]"
"Beam  Incident Solar Radition [kJ/hr m²]"
"Irradition"
*------------------------------------------------------------------------------

* Model "DeltaTpisorad" (Type 65)
* 

UNIT 24 TYPE 65	 DeltaTpisorad
*$UNIT_NAME DeltaTpisorad
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 68 623
*$LAYER Main # 
PARAMETERS 12
4		! 1 Nb. of left-axis variables
1		! 2 Nb. of right-axis variables
-10		! 3 Left axis minimum
10		! 4 Left axis maximum
0.0		! 5 Right axis minimum
1000.0		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 5
DeltaTpiso		! DeltaT:DeltaTpiso ->Left axis variable-1
20,1 		! Type114:Outlet fluid temperature ->Left axis variable-2
13,1 		! Type653:Outlet Fluid Temperature ->Left axis variable-3
0,0		! [unconnected] Left axis variable-4
27,1 		! Type2b:Output control function ->Right axis variable
*** INITIAL INPUT VALUES
DeltaTpiso Tinpiso Toutpiso label Output 
LABELS  3
"Temperatures"
"Heat transfer rates"
"DeltaTpiso"
*------------------------------------------------------------------------------

* Model "Type114" (Type 114)
* 

UNIT 20 TYPE 114	 Type114
*$UNIT_NAME Type114
*$MODEL .\Hydronics\Pumps\Single Speed\Type114.tmf
*$POSITION 378 602
*$LAYER Main # 
*$# SINGLE-SPEED PUMP
PARAMETERS 4
1378.71		! 1 Rated flow rate
4.19		! 2 Fluid specific heat
2684.0		! 3 Rated power
0.0		! 4 Motor heat loss fraction
INPUTS 5
21,3 		! Type927:Outlet Load Temperature ->Inlet fluid temperature
21,4 		! Type927:Load Flowrate ->Inlet fluid flow rate
27,1 		! Type2b:Output control function ->Control signal
0,0		! [unconnected] Overall pump efficiency
0,0		! [unconnected] Motor efficiency
*** INITIAL INPUT VALUES
20.0 1378.71 1.0 0.8 0.9 
*------------------------------------------------------------------------------

* Model "Heat_Pump" (Type 65)
* 

UNIT 25 TYPE 65	 Heat_Pump
*$UNIT_NAME Heat_Pump
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 712 581
*$LAYER Main # 
PARAMETERS 12
5		! 1 Nb. of left-axis variables
5		! 2 Nb. of right-axis variables
0.0		! 3 Left axis minimum
2000		! 4 Left axis maximum
0.0		! 5 Right axis minimum
60000		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 10
21,2 		! Type927:Source Flowrate ->Left axis variable-1
21,4 		! Type927:Load Flowrate ->Left axis variable-2
21,8 		! Type927:Coefficient of Performance (C.O.P) ->Left axis variable-3
0,0		! [unconnected] Left axis variable-4
0,0		! [unconnected] Left axis variable-5
21,5 		! Type927:Heat Transfer to Load ->Right axis variable-1
21,6 		! Type927:Heat Transfer from Source ->Right axis variable-2
21,7 		! Type927:Heat Pump Power ->Right axis variable-3
0,0		! [unconnected] Right axis variable-4
0,0		! [unconnected] Right axis variable-5
*** INITIAL INPUT VALUES
Flow_source Flow_load COP Heat Heat Heat_load Heat_source HeatPump_Power
label label 
LABELS  3
"Temperatures"
"Heat transfer rates"
"Heat_Pump"
*------------------------------------------------------------------------------

* Model "Ground Source" (Type 65)
* 

UNIT 29 TYPE 65	 Ground Source
*$UNIT_NAME Ground Source
*$MODEL .\Output\Online Plotter\Online Plotter Without File\Type65d.tmf
*$POSITION 720 730
*$LAYER Main # 
PARAMETERS 12
5		! 1 Nb. of left-axis variables
3		! 2 Nb. of right-axis variables
0.0		! 3 Left axis minimum
2000		! 4 Left axis maximum
0.0		! 5 Right axis minimum
60000		! 6 Right axis maximum
1		! 7 Number of plots per simulation
12		! 8 X-axis gridpoints
0		! 9 Shut off Online w/o removing
-1		! 10 Logical unit for output file
0		! 11 Output file units
0		! 12 Output file delimiter
INPUTS 8
22,1 		! Type997:Outlet fluid temperature ->Left axis variable-1
22,2 		! Type997:Outlet fluid flow rate ->Left axis variable-2
22,3 		! Type997:Reynolds number ->Left axis variable-3
21,1 		! Type927:Outlet Source Temperature ->Left axis variable-4
DeltaTground		! DeltaT:DeltaTground ->Left axis variable-5
22,4 		! Type997:Fluid-to-ground heat transfer rate ->Right axis variable-1
22,5 		! Type997:Delivered energy rate ->Right axis variable-2
22,7 		! Type997:Soil storage rate ->Right axis variable-3
*** INITIAL INPUT VALUES
Touthx Flowhx Reynolds Tinhx DeltaTground FluidGroundHeat DeliveredEnergy
SoilStorage 
LABELS  3
"Temperatures"
"Heat transfer rates"
"Graph 1"
*------------------------------------------------------------------------------

END

Attachment: Heating Output 2.jpg
Description: JPEG image