#!/bin/sh
# for use with OSX
RESFILE=$1
VERSION=$2
$VERSION/res -file $RESFILE -mode text<<XXX

d # enquire about
>
$RESFILE.data
$RESFILE results
a # summary statistics
h # sensible
a # heating
h
b # cooling
b # temperatures
a # zone db
-
b
e # zone resultant
-
b
d # zone control pt
-
-
-
d # enquire
a # summary statistics
f # zone flux
a # infiltration
f
b # ventilation
k
a # real power
k
b # reactive power
j
b # convective casual gains
j
c # radiant casual gains
-
d # solar processes
a # entering from outside
d
c # solar absorbed
i # zone rh
j # casual gains
a # all
-
j
b # convective portion
-
j
c # radiant portion
-
j
e # total occupant gain
-
j
i # total lighting gain
-
j
m # total small power
-
-
-
c # timestep reports
g # perf metrics
j # casual
e # total occupant
-
j
i # total lighting
-
j
m # total small power
-
! # list data
-
-
d # enquire
f # energy delivered
g # casual gains distrib
h # zone energy balance
b
b
l # monthly 
a
b # frequency
b # of temperatures
a # zone db
-
y
>
-
-
-
XXX
