B 10 GAIN
  232.1
P 10
    1000            % Gain factor g

B 11 GAIN
  130.1
P 11
    1000            % Gain factor g

B 12 DIV
  137.1
  151.1

B 13 DIV
   11.1
   45.1

B 14 DIV
  137.1
   28.1

B 15 DIV
   35.1
   41.1

B 16 DIV
  219.1
  133.1

B 17 DIV
   41.1
  123.1

B 18 DIV
  217.1
  129.1

B 19 DIV
   41.1
  150.1

B 20 DIV
   10.1
   52.1

B 21 DIV
  179.1
  179.2

B 22 DIV
  131.1
  157.1

B 23 DIV
  130.1
  153.1

B 24 DIV
   13.1
  229.1

B 25 MUL
  230.1
  111.1

B 26 MUL
  206.1
  197.1
  196.1

B 27 MUL
  230.1
  134.1
  136.1

B 28 MUL
   46.1
  128.1

B 29 MUL
   24.1
  229.1

B 30 MUL
  118.1
  228.1

B 31 MUL
  206.1
   26.1

B 32 MUL
  160.1
  117.1
  161.1
  224.1

B 33 MUL
  195.1
   29.1

B 34 MUL
  164.1
  193.1

B 35 MUL
  229.1
  131.1
  167.1
  163.1

B 36 MUL
   19.1
  146.1

B 37 MUL
  230.1
   24.1
  113.1

B 38 MUL
  230.1
  134.1
   24.1
  139.1

B 39 MUL
  132.1
  226.1

B 40 MUL
  215.1
  144.1
  141.1

B 41 MUL
  229.1
   22.1
  167.1
  163.1

B 42 MUL
   17.1
  125.1

B 43 MUL
   24.1
  114.1

B 44 MUL
  134.1
  148.1

B 45 MUL
  149.1
  162.1

B 46 MUL
   12.1
  142.1

B 47 MUL
  216.1
  108.1
  140.1

B 48 MUL
  134.1
   24.1
  109.1

B 49 MUL
  205.1
  138.1

B 50 MUL
  227.1
  120.1

B 51 MUL
   20.1
  154.1

B 52 MUL
  119.1
  106.1

B 96 WRITE
  170.1
  170.2
P 96
    2               % Mode
    $fileOut6 % File name
    '*'             % Fortran format

B 97 WRITE
  174.1
  174.2
  174.3
P 97
    2               % Mode
    $fileOut2 % File name
    '*'             % Fortran format

B 98 WRITE
  231.1
  231.2
  231.3
  169.1
  169.2
P 98
    2               % Mode
    $fileOut10 % File name
    '*'             % Fortran format

B 99 WRITE
  175.1
  175.2
  175.3
P 99
    2               % Mode
    $fileOut3 % File name
    '*'             % Fortran format

B 100 WRITE
  173.1
  173.2
P 100
    2               % Mode
    $fileOut8 % File name
    '*'             % Fortran format

B 101 WRITE
  171.1
  171.2
  171.3
P 101
    2               % Mode
    $fileOut5 % File name
    '*'             % Fortran format

B 102 WRITE
  172.1
  172.2
P 102
    2               % Mode
    $fileOut4 % File name
    '*'             % Fortran format

B 103 WRITE
  231.1
  231.2
  231.3
  231.4
  231.5
   35.1
   41.1
   15.1
   33.1
  160.1
  234.1
  234.2
  234.3
  234.4
  234.5
  213.1
  214.1
   18.1
  219.1
   42.1
   47.1
   36.1
   40.1
  159.1
  232.1
  222.2
P 103
    2               % Mode
    $fileOut1 % File name
    '*'             % Fortran format

B 104 WRITE
  168.1
  168.2
P 104
    2               % Mode
    $fileOut9 % File name
    '*'             % Fortran format

B 105 WRITE
  176.1
  176.2
  176.3
P 105
    2               % Mode
    $fileOut7 % File name
    '*'             % Fortran format

B 106 CONST
P 106
    $TemperatureDifference % Constant value

B 107 CONST
P 107
    $HPDeactivationTemperature % Constant value

B 108 CONST
P 108
    1               % Constant value

B 109 CONST
P 109
    $a9              % Constant value

B 110 CONST
P 110
    10              % Constant value

B 111 CONST
P 111
    $a2              % Constant value

B 112 CONST
P 112
    $TemperatureDifference % Constant value

B 113 CONST
P 113
    $a8              % Constant value

B 114 CONST
P 114
    $a6              % Constant value

B 115 CONST
P 115
    2               % Constant value

B 116 CONST
P 116
    40              % Constant value

B 117 CONST
P 117
    $Cp              % Constant value

B 118 CONST
P 118
    $a5              % Constant value

B 119 CONST
P 119
    $Cp              % Constant value

B 120 CONST
P 120
    $a3              % Constant value

B 121 CONST
P 121
    0               % Constant value

B 122 CONST
P 122
    2               % Constant value

B 123 CONST
P 123
    12              % Constant value

B 124 CONST
P 124
    5               % Constant value

B 125 CONST
P 125
    $ElectricityPrice % Constant value

B 126 CONST
P 126
    40              % Constant value

B 127 CONST
P 127
    $BuildingSuppTemp % Constant value

B 128 CONST
P 128
    $Cp              % Constant value

B 129 CONST
P 129
    $FuelLHV         % Constant value

B 130 CONST
P 130
    $MaximumHPEnergyInput % Constant value

B 131 CONST
P 131
    $HPNominalCapacity % Constant value

B 132 CONST
P 132
    $a1              % Constant value

B 133 CONST
P 133
    12              % Constant value

B 134 CONST
P 134
    $HPSupTemp       % Constant value

B 135 CONST
P 135
    $HPReactivationTemperature % Constant value

B 136 CONST
P 136
    $a7              % Constant value

B 137 CONST
P 137
    $MaximumHPEnergyInput % Constant value

B 138 CONST
P 138
    25              % Constant value

B 139 CONST
P 139
    $a10             % Constant value

B 140 CONST
P 140
    $FuelPrice       % Constant value

B 141 CONST
P 141
    $FuelEF          % Constant value

B 142 CONST
P 142
    7.13            % Constant value

B 143 CONST
P 143
    0               % Constant value

B 144 CONST
P 144
    1               % Constant value

B 145 CONST
P 145
    9               % Constant value

B 146 CONST
P 146
    $ElecGridEF      % Constant value

B 147 CONST
P 147
    2               % Constant value

B 148 CONST
P 148
    $a4              % Constant value

B 149 CONST
P 149
    $Cp              % Constant value

B 150 CONST
P 150
    12              % Constant value

B 151 CONST
P 151
    $HPNominalCapacity % Constant value

B 152 CONST
P 152
    0               % Constant value

B 153 CONST
P 153
    $HPNominalCapacity % Constant value

B 154 CONST
P 154
    1               % Constant value

B 155 CONST
P 155
    $a11             % Constant value

B 156 CONST
P 156
    0.18            % Constant value

B 157 SUM
   39.1
   25.1
   50.1
   44.1
   30.1
   43.1
   27.1
   37.1
   48.1
   38.1
  155.1

B 158 SUM
  110.1
  222.2

B 159 SUM
   34.1
   49.1

B 160 SUM
   51.1
  143.1

B 161 SUM
  127.1
  201.1

B 162 SUM
  134.1
  200.1

B 163 SUM
   31.1
  207.1

B 164 SUM
  202.1
  234.1

B 165 SUM
  204.1
  210.1

B 166 SUM
  234.5
  203.1

B 167 SUM
  223.1
  194.1

B 168 CUMC
  231.3
  218.1

B 169 CUMC
  231.4
  220.1

B 170 CUMC
  231.3
  220.1

B 171 CUMC
  231.2
   36.1
   40.1

B 172 CUMC
  231.2
  218.1

B 173 CUMC
  231.2
  220.1

B 174 CUMC
  231.3
   36.1
   40.1

B 175 CUMC
  231.2
   42.1
   47.1

B 176 CUMC
  231.3
   42.1
   47.1

B 177 UBHLOSS
  233.1
  156.1
P 177
    95              % bp1
    0.5             % bp2
    0.05            % bp3
    3               % bp4
    4200            % bp5
    981             % bp6
    5               % bp7
    20              % bp8
    60              % bp9

B 178 CUM
   47.1

B 179 CUM
   35.1
   41.1

B 180 CUM
  218.1

B 181 CUM
   36.1

B 182 CUM
  220.1

B 183 CUM
   42.1

B 184 CUM
   40.1

B 193 GT
  234.1
  126.1

B 194 GT
  231.2
  145.1

B 195 GT
   35.1
  121.1

B 196 GT
  209.1
  152.1

B 197 GE
  234.1
  135.1
P 197
    0               % Error tolerance

B 198 GE
  234.1
  107.1
P 198
    0               % Error tolerance

B 199 MAXX
  229.1

B 200 CHS
  234.4

B 201 CHS
  234.1

B 202 CHS
  112.1

B 203 CHS
  208.1

B 204 CHS
   14.1

B 205 INV
  193.1

B 206 INV
  198.1

B 207 INV
  197.1

B 208 DELAY
  234.5
P 208
    0               % Initial value

B 209 DELAY
   35.1
P 209
    0               % Initial value

B 210 DELAY
  230.1
P 210
    10              % Initial value

B 213 ATT
  234.5
P 213
    3600000         % Attenuation factor a

B 214 ATT
  166.1
P 214
    3600000         % Attenuation factor a

B 215 ATT
   18.1
P 215
    $FuelDensity     % Attenuation factor a

B 216 ATT
   18.1
P 216
    $FuelDensity     % Attenuation factor a

B 217 ATT
   16.1
P 217
    $AuxHeaterEfficiency % Attenuation factor a

B 218 ATT
   18.1
P 218
    $FuelDensity     % Attenuation factor a

B 219 ATT
   32.1
P 219
    1000            % Attenuation factor a

B 220 ATT
   41.1
P 220
    12              % Attenuation factor a

B 221 MTM2
  231.2
P 221
    'Montreal'      % Location

B 222 GENGT2
  221.1
  221.3
  221.4
  221.5
  221.7
  221.8
  231.1
  231.2
  231.3
  231.4
P 222
    45.5            % Latitude
    -73.62          % Longitude
    -5              % UTC 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 223 LT
  231.2
  124.1

B 224 LT
  234.1
  116.1

B 225 SOY
  231.1
  231.2
  231.3
  231.4
  231.5
  231.6

B 226 EXPG
  230.1
  122.1

B 227 EXPG
  134.1
  115.1

B 228 EXPG
   24.1
  147.1

B 229 INT
   23.1

B 230 HXS
  165.1
   46.1
  177.2
  156.1
P 230
    1               % Mode
    5000            % Overall heat transfer coefficient
    1007            % Specific heat of side 1 fluid
    1007            % Specific heat of side 2 fluid

B 231 CLOCK
P 231
    $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 232 READ
P 232
    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 233 READ
P 233
    1               % Number of values to be read per record
    0               % Number of records to be skipped on the first call
    $WaterTemperature % File name
    '*'             % Fortran format

B 234 TANKST
  134.1
   33.1
  159.1
  160.1
  158.1
  225.1
P 234
    $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

