forked from s_ranjbar/city_retrofit
817 lines
12 KiB
Plaintext
817 lines
12 KiB
Plaintext
|
|
||
|
B 10 MUL
|
||
|
64.1
|
||
|
183.1
|
||
|
|
||
|
B 11 MUL
|
||
|
198.1
|
||
|
167.1
|
||
|
163.1
|
||
|
162.1
|
||
|
|
||
|
B 12 MUL
|
||
|
201.1
|
||
|
24.1
|
||
|
|
||
|
B 13 MUL
|
||
|
70.1
|
||
|
180.1
|
||
|
|
||
|
B 14 MUL
|
||
|
184.1
|
||
|
34.1
|
||
|
|
||
|
B 15 MUL
|
||
|
198.1
|
||
|
165.1
|
||
|
163.1
|
||
|
162.1
|
||
|
|
||
|
B 16 MUL
|
||
|
186.1
|
||
|
40.1
|
||
|
|
||
|
B 17 MUL
|
||
|
79.1
|
||
|
56.1
|
||
|
69.1
|
||
|
|
||
|
B 18 MUL
|
||
|
188.1
|
||
|
49.1
|
||
|
|
||
|
B 19 MUL
|
||
|
46.1
|
||
|
158.1
|
||
|
|
||
|
B 20 MUL
|
||
|
72.1
|
||
|
66.1
|
||
|
|
||
|
B 21 MUL
|
||
|
57.1
|
||
|
182.1
|
||
|
|
||
|
B 22 MUL
|
||
|
203.2
|
||
|
43.1
|
||
|
|
||
|
B 23 MUL
|
||
|
78.1
|
||
|
50.1
|
||
|
47.1
|
||
|
|
||
|
B 24 MUL
|
||
|
201.1
|
||
|
193.1
|
||
|
196.1
|
||
|
|
||
|
B 25 MUL
|
||
|
203.2
|
||
|
76.1
|
||
|
|
||
|
B 26 MUL
|
||
|
58.1
|
||
|
68.1
|
||
|
|
||
|
B 27 MUL
|
||
|
160.1
|
||
|
63.1
|
||
|
168.1
|
||
|
136.1
|
||
|
|
||
|
B 28 MUL
|
||
|
58.1
|
||
|
60.1
|
||
|
|
||
|
B 29 MUL
|
||
|
65.1
|
||
|
181.1
|
||
|
|
||
|
B 30 MUL
|
||
|
203.2
|
||
|
58.1
|
||
|
36.1
|
||
|
|
||
|
B 31 MUL
|
||
|
159.1
|
||
|
195.1
|
||
|
|
||
|
B 32 MUL
|
||
|
203.2
|
||
|
58.1
|
||
|
77.1
|
||
|
|
||
|
B 33 MUL
|
||
|
202.1
|
||
|
74.1
|
||
|
|
||
|
B 34 CONST
|
||
|
P 34
|
||
|
$ElecGridEF % Constant value
|
||
|
|
||
|
B 35 CONST
|
||
|
P 35
|
||
|
5 % Constant value
|
||
|
|
||
|
B 36 CONST
|
||
|
P 36
|
||
|
$a3 % Constant value
|
||
|
|
||
|
B 37 CONST
|
||
|
P 37
|
||
|
$TemperatureDifference % Constant value
|
||
|
|
||
|
B 38 CONST
|
||
|
P 38
|
||
|
42 % Constant value
|
||
|
|
||
|
B 39 CONST
|
||
|
P 39
|
||
|
40 % Constant value
|
||
|
|
||
|
B 40 CONST
|
||
|
P 40
|
||
|
$ElectricityPrice % Constant value
|
||
|
|
||
|
B 41 CONST
|
||
|
P 41
|
||
|
9 % Constant value
|
||
|
|
||
|
B 42 CONST
|
||
|
P 42
|
||
|
12 % Constant value
|
||
|
|
||
|
B 43 CONST
|
||
|
P 43
|
||
|
$b2 % Constant value
|
||
|
|
||
|
B 44 CONST
|
||
|
P 44
|
||
|
$a6 % Constant value
|
||
|
|
||
|
B 45 CONST
|
||
|
P 45
|
||
|
55 % Constant value
|
||
|
|
||
|
B 46 CONST
|
||
|
P 46
|
||
|
$Cp % Constant value
|
||
|
|
||
|
B 47 CONST
|
||
|
P 47
|
||
|
$FuelEF % Constant value
|
||
|
|
||
|
B 48 CONST
|
||
|
P 48
|
||
|
2 % Constant value
|
||
|
|
||
|
B 49 CONST
|
||
|
P 49
|
||
|
1 % Constant value
|
||
|
|
||
|
B 50 CONST
|
||
|
P 50
|
||
|
300 % Constant value
|
||
|
|
||
|
B 51 CONST
|
||
|
P 51
|
||
|
10 % Constant value
|
||
|
|
||
|
B 52 CONST
|
||
|
P 52
|
||
|
0 % Constant value
|
||
|
|
||
|
B 53 CONST
|
||
|
P 53
|
||
|
12 % Constant value
|
||
|
|
||
|
B 54 CONST
|
||
|
P 54
|
||
|
$FuelLHV % Constant value
|
||
|
|
||
|
B 55 CONST
|
||
|
P 55
|
||
|
2 % Constant value
|
||
|
|
||
|
B 56 CONST
|
||
|
P 56
|
||
|
300 % Constant value
|
||
|
|
||
|
B 57 CONST
|
||
|
P 57
|
||
|
$b5 % Constant value
|
||
|
|
||
|
B 58 CONST
|
||
|
P 58
|
||
|
$HPSupTemp % Constant value
|
||
|
|
||
|
B 59 CONST
|
||
|
P 59
|
||
|
40 % Constant value
|
||
|
|
||
|
B 60 CONST
|
||
|
P 60
|
||
|
$a4 % Constant value
|
||
|
|
||
|
B 61 CONST
|
||
|
P 61
|
||
|
$b6 % Constant value
|
||
|
|
||
|
B 62 CONST
|
||
|
P 62
|
||
|
2 % Constant value
|
||
|
|
||
|
B 63 CONST
|
||
|
P 63
|
||
|
$Cp % Constant value
|
||
|
|
||
|
B 64 CONST
|
||
|
P 64
|
||
|
$b1 % Constant value
|
||
|
|
||
|
B 65 CONST
|
||
|
P 65
|
||
|
$a1 % Constant value
|
||
|
|
||
|
B 66 CONST
|
||
|
P 66
|
||
|
$TemperatureDifference % Constant value
|
||
|
|
||
|
B 67 CONST
|
||
|
P 67
|
||
|
$MaximumHPEnergyInput % Constant value
|
||
|
|
||
|
B 68 CONST
|
||
|
P 68
|
||
|
$b4 % Constant value
|
||
|
|
||
|
B 69 CONST
|
||
|
P 69
|
||
|
$FuelPrice % Constant value
|
||
|
|
||
|
B 70 CONST
|
||
|
P 70
|
||
|
$a5 % Constant value
|
||
|
|
||
|
B 71 CONST
|
||
|
P 71
|
||
|
2 % Constant value
|
||
|
|
||
|
B 72 CONST
|
||
|
P 72
|
||
|
$Cp % Constant value
|
||
|
|
||
|
B 73 CONST
|
||
|
P 73
|
||
|
$BuildingSuppTemp % Constant value
|
||
|
|
||
|
B 74 CONST
|
||
|
P 74
|
||
|
25 % Constant value
|
||
|
|
||
|
B 75 CONST
|
||
|
P 75
|
||
|
0 % Constant value
|
||
|
|
||
|
B 76 CONST
|
||
|
P 76
|
||
|
$a2 % Constant value
|
||
|
|
||
|
B 77 CONST
|
||
|
P 77
|
||
|
$b3 % Constant value
|
||
|
|
||
|
B 78 ATT
|
||
|
191.1
|
||
|
P 78
|
||
|
$FuelDensity % Attenuation factor a
|
||
|
|
||
|
B 79 ATT
|
||
|
191.1
|
||
|
P 79
|
||
|
$FuelDensity % Attenuation factor a
|
||
|
|
||
|
B 80 ATT
|
||
|
27.1
|
||
|
P 80
|
||
|
$AuxHeaterEfficiency % Attenuation factor a
|
||
|
|
||
|
B 81 ATT
|
||
|
191.1
|
||
|
P 81
|
||
|
$FuelDensity % Attenuation factor a
|
||
|
|
||
|
B 82 ATT
|
||
|
11.1
|
||
|
P 82
|
||
|
12 % Attenuation factor a
|
||
|
|
||
|
B 83 ATT
|
||
|
210.5
|
||
|
P 83
|
||
|
3600000 % Attenuation factor a
|
||
|
|
||
|
B 84 ATT
|
||
|
161.1
|
||
|
P 84
|
||
|
3600000 % Attenuation factor a
|
||
|
|
||
|
B 85 ATT
|
||
|
27.1
|
||
|
P 85
|
||
|
1000 % Attenuation factor a
|
||
|
|
||
|
|
||
|
B 125 WRITE
|
||
|
156.1
|
||
|
156.2
|
||
|
156.3
|
||
|
P 125
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut7 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 126 WRITE
|
||
|
151.1
|
||
|
151.2
|
||
|
151.3
|
||
|
P 126
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut2 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 127 WRITE
|
||
|
154.1
|
||
|
154.2
|
||
|
154.3
|
||
|
P 127
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut3 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 128 WRITE
|
||
|
153.1
|
||
|
153.2
|
||
|
153.3
|
||
|
P 128
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut5 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 129 WRITE
|
||
|
204.1
|
||
|
204.2
|
||
|
204.3
|
||
|
204.4
|
||
|
204.5
|
||
|
15.1
|
||
|
11.1
|
||
|
190.1
|
||
|
187.1
|
||
|
160.1
|
||
|
210.1
|
||
|
210.2
|
||
|
210.3
|
||
|
210.4
|
||
|
210.5
|
||
|
83.1
|
||
|
84.1
|
||
|
191.1
|
||
|
85.1
|
||
|
16.1
|
||
|
17.1
|
||
|
14.1
|
||
|
23.1
|
||
|
164.1
|
||
|
145.1
|
||
|
P 129
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut1 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 130 WRITE
|
||
|
204.1
|
||
|
204.2
|
||
|
204.3
|
||
|
152.1
|
||
|
152.2
|
||
|
P 130
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut10 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 131 WRITE
|
||
|
149.1
|
||
|
149.2
|
||
|
P 131
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut9 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 132 WRITE
|
||
|
157.1
|
||
|
157.2
|
||
|
P 132
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut8 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 133 WRITE
|
||
|
150.1
|
||
|
150.2
|
||
|
P 133
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut4 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 134 WRITE
|
||
|
155.1
|
||
|
155.2
|
||
|
P 134
|
||
|
2 % Mode
|
||
|
0 % Suppress FNQ inputs
|
||
|
$fileOut6 % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 135 LT
|
||
|
204.2
|
||
|
35.1
|
||
|
|
||
|
B 136 LT
|
||
|
210.1
|
||
|
39.1
|
||
|
|
||
|
%B 137 SCREEN
|
||
|
%176.1
|
||
|
%P 137
|
||
|
%'*' % Format
|
||
|
%'Total CO2 Emissions from Electricity Grid (g)' % Headline
|
||
|
|
||
|
%B 138 SCREEN
|
||
|
%178.1
|
||
|
%P 138
|
||
|
%'*' % Format
|
||
|
%'Total Electricity Cost in a Year (CAD)' % Headline
|
||
|
|
||
|
%B 139 SCREEN
|
||
|
%173.1
|
||
|
%P 139
|
||
|
%'*' % Format
|
||
|
%'Total Cost of the Auxiliary Heater Fuel in a Year (CAD)' % Headline
|
||
|
|
||
|
%B 140 SCREEN
|
||
|
%177.1
|
||
|
%P 140
|
||
|
%'*' % Format
|
||
|
%'Total CO2 Emissions from Auxiliary Heater (g)' % Headline
|
||
|
|
||
|
%B 141 SCREEN
|
||
|
%189.1
|
||
|
%P 141
|
||
|
%'*' % Format
|
||
|
%'HP Seasonal COP' % Headline
|
||
|
|
||
|
%B 142 SCREEN
|
||
|
%148.1
|
||
|
%P 142
|
||
|
%'*' % Format
|
||
|
%'Maximum Number of HPs in Operation' % Headline
|
||
|
|
||
|
%B 143 SCREEN
|
||
|
%174.1
|
||
|
%P 143
|
||
|
%'*' % Format
|
||
|
%'Total Electricuty Demand of Heat Pumps in a year (kWh)' % Headline
|
||
|
|
||
|
%B 144 SCREEN
|
||
|
%179.1
|
||
|
%P 144
|
||
|
%'*' % Format
|
||
|
%'Total Fossil Fuel consumption in a Year (m3)' % Headline
|
||
|
|
||
|
B 145 READ
|
||
|
P 145
|
||
|
1 % Number of values to be read per record
|
||
|
0 % Number of records to be skipped on the first call
|
||
|
$HeatingDemand % File name
|
||
|
'*' % Fortran format
|
||
|
|
||
|
B 146 DELAY
|
||
|
15.1
|
||
|
P 146
|
||
|
0 % Initial value
|
||
|
|
||
|
B 147 DELAY
|
||
|
210.5
|
||
|
P 147
|
||
|
0 % Initial value
|
||
|
|
||
|
B 148 MAXX
|
||
|
198.1
|
||
|
|
||
|
B 149 CUMC
|
||
|
204.3
|
||
|
205.1
|
||
|
|
||
|
B 150 CUMC
|
||
|
204.2
|
||
|
205.1
|
||
|
|
||
|
B 151 CUMC
|
||
|
204.3
|
||
|
14.1
|
||
|
23.1
|
||
|
|
||
|
B 152 CUMC
|
||
|
204.4
|
||
|
82.1
|
||
|
|
||
|
B 153 CUMC
|
||
|
204.2
|
||
|
14.1
|
||
|
23.1
|
||
|
|
||
|
B 154 CUMC
|
||
|
204.2
|
||
|
16.1
|
||
|
17.1
|
||
|
|
||
|
B 155 CUMC
|
||
|
204.3
|
||
|
82.1
|
||
|
|
||
|
B 156 CUMC
|
||
|
204.3
|
||
|
16.1
|
||
|
17.1
|
||
|
|
||
|
B 157 CUMC
|
||
|
204.2
|
||
|
82.1
|
||
|
|
||
|
B 158 SUM
|
||
|
58.1
|
||
|
169.1
|
||
|
|
||
|
B 159 SUM
|
||
|
170.1
|
||
|
210.1
|
||
|
|
||
|
B 160 SUM
|
||
|
18.1
|
||
|
75.1
|
||
|
|
||
|
B 161 SUM
|
||
|
210.5
|
||
|
172.1
|
||
|
|
||
|
B 162 SUM
|
||
|
12.1
|
||
|
200.1
|
||
|
|
||
|
B 163 SUM
|
||
|
135.1
|
||
|
197.1
|
||
|
|
||
|
B 164 SUM
|
||
|
31.1
|
||
|
33.1
|
||
|
|
||
|
B 165 SUM
|
||
|
29.1
|
||
|
25.1
|
||
|
30.1
|
||
|
28.1
|
||
|
13.1
|
||
|
44.1
|
||
|
|
||
|
B 166 SUM
|
||
|
51.1
|
||
|
203.2
|
||
|
|
||
|
B 167 SUM
|
||
|
10.1
|
||
|
22.1
|
||
|
32.1
|
||
|
26.1
|
||
|
21.1
|
||
|
61.1
|
||
|
|
||
|
B 168 SUM
|
||
|
73.1
|
||
|
171.1
|
||
|
|
||
|
B 169 CHS
|
||
|
210.4
|
||
|
|
||
|
B 170 CHS
|
||
|
37.1
|
||
|
|
||
|
B 171 CHS
|
||
|
210.1
|
||
|
|
||
|
B 172 CHS
|
||
|
147.1
|
||
|
|
||
|
B 173 CUM
|
||
|
17.1
|
||
|
|
||
|
B 174 CUM
|
||
|
82.1
|
||
|
|
||
|
B 175 CUM
|
||
|
15.1
|
||
|
11.1
|
||
|
|
||
|
B 176 CUM
|
||
|
14.1
|
||
|
|
||
|
B 177 CUM
|
||
|
23.1
|
||
|
|
||
|
B 178 CUM
|
||
|
16.1
|
||
|
|
||
|
B 179 CUM
|
||
|
205.1
|
||
|
|
||
|
B 180 EXPG
|
||
|
58.1
|
||
|
55.1
|
||
|
|
||
|
B 181 EXPG
|
||
|
203.2
|
||
|
71.1
|
||
|
|
||
|
B 182 EXPG
|
||
|
58.1
|
||
|
48.1
|
||
|
|
||
|
B 183 EXPG
|
||
|
203.2
|
||
|
62.1
|
||
|
|
||
|
B 184 DIV
|
||
|
11.1
|
||
|
53.1
|
||
|
|
||
|
B 185 DIV
|
||
|
67.1
|
||
|
165.1
|
||
|
|
||
|
B 186 DIV
|
||
|
11.1
|
||
|
42.1
|
||
|
|
||
|
B 187 DIV
|
||
|
206.1
|
||
|
19.1
|
||
|
|
||
|
B 188 DIV
|
||
|
207.1
|
||
|
20.1
|
||
|
|
||
|
B 189 DIV
|
||
|
175.1
|
||
|
175.2
|
||
|
|
||
|
B 190 DIV
|
||
|
15.1
|
||
|
11.1
|
||
|
|
||
|
B 191 DIV
|
||
|
80.1
|
||
|
54.1
|
||
|
|
||
|
B 192 GE
|
||
|
210.1
|
||
|
45.1
|
||
|
P 192
|
||
|
0 % Error tolerance
|
||
|
|
||
|
B 193 GE
|
||
|
210.1
|
||
|
38.1
|
||
|
P 193
|
||
|
0 % Error tolerance
|
||
|
|
||
|
B 194 SOY
|
||
|
204.1
|
||
|
204.2
|
||
|
204.3
|
||
|
204.4
|
||
|
204.5
|
||
|
204.6
|
||
|
|
||
|
B 195 GT
|
||
|
210.1
|
||
|
59.1
|
||
|
|
||
|
B 196 GT
|
||
|
146.1
|
||
|
52.1
|
||
|
|
||
|
B 197 GT
|
||
|
204.2
|
||
|
41.1
|
||
|
|
||
|
B 198 INT
|
||
|
185.1
|
||
|
|
||
|
B 199 MTM
|
||
|
204.2
|
||
|
P 199
|
||
|
'Montreal' % Location
|
||
|
|
||
|
B 200 INV
|
||
|
193.1
|
||
|
|
||
|
B 201 INV
|
||
|
192.1
|
||
|
|
||
|
B 202 INV
|
||
|
195.1
|
||
|
|
||
|
B 203 GENGT
|
||
|
199.1
|
||
|
199.3
|
||
|
199.4
|
||
|
199.5
|
||
|
199.7
|
||
|
199.8
|
||
|
204.1
|
||
|
204.2
|
||
|
204.3
|
||
|
204.4
|
||
|
P 203
|
||
|
45.5 % Latitude
|
||
|
73.62 % Longitude
|
||
|
5 % Time zone
|
||
|
1 % Variance factor of the Gordon Reddy correlation
|
||
|
0 % Year-to-year variability
|
||
|
0.3 % Autocorrelation coefficient lag one
|
||
|
0.171 % Autocorrelation coefficient lag two
|
||
|
4711 % Initialisation of random number generator
|
||
|
2 % Maximum allowed mean temperature deviation
|
||
|
100 % Maximum number of iterations
|
||
|
|
||
|
B 204 CLOCK
|
||
|
P 204
|
||
|
$StartYear % Start year
|
||
|
$StartMonth % Start month
|
||
|
$StartDay % Start day
|
||
|
$StartHour % Start hour
|
||
|
$StartMinute % Start minute
|
||
|
$StartSecond % Start second
|
||
|
$EndYear % End year
|
||
|
$EndMonth % End month
|
||
|
$EndDay % End day
|
||
|
$EndHour % End hour
|
||
|
$EndMinute % End minute
|
||
|
$EndSecond % End second
|
||
|
5 % Increment
|
||
|
'm' % Unit
|
||
|
|
||
|
B 205 GAIN
|
||
|
81.1
|
||
|
P 205
|
||
|
300 % Gain factor g
|
||
|
|
||
|
B 206 GAIN
|
||
|
15.1
|
||
|
P 206
|
||
|
1000 % Gain factor g
|
||
|
|
||
|
B 207 GAIN
|
||
|
145.1
|
||
|
P 207
|
||
|
1000 % Gain factor g
|
||
|
|
||
|
B 210 TANKST
|
||
|
58.1
|
||
|
187.1
|
||
|
164.1
|
||
|
160.1
|
||
|
166.1
|
||
|
194.1
|
||
|
P 210
|
||
|
$TESCapacity % Tank volume
|
||
|
4 % Number of temperature nodes
|
||
|
$TESDiameter % Tank diameter
|
||
|
$Cp % Specfic heat of fluid
|
||
|
$Rhow % Fluid density
|
||
|
0 % Overall heat-loss coefficient
|
||
|
1 % Effective heat conductivity
|
||
|
30 % Initial tank temperature
|
||
|
|