Archive site for Autodesk Ecotect Analysis educational resources, notes and tutorials



Analyze Zone Temperature/Comfort Zone

Input occupancy and activity within zone and calculate temperature for specific location/date/time as a result. Test whether temperature is within desired comfort zone.

Script Contents (Lang: lua)

--set which zone to analyze

zone=1

--set zone occupancy and zone activity
--sedentary 
--0 Sitting at a desk (70W) 
--walking 1 Moving about (80W) 
--exercising 2 Significant activity (100W) 
--strenuous 3 Significant exertion (150W) 

set("zone.occupancy", zone, 50)

set("zone.activity", zone, 3)


-- get specific zone properties: 
--upperband = upper comfort band
--lowerband = lower comfort band


zu = get("zone.upperband", zone)
zl = get("zone.lowerband", zone)

--calculate thermal temperatures in zone
cmd("calc.thermal.temperatures", zone)
cmd("calc.thermal.distribution", zone)

zt=get("zone.temperature", zone, 12)

print(zt)
print(zu)
print(zl)


--if zone temperature is not in comfort zone
if (zt > zu) then
        print("too hot")
end

if (zt < zl) then
        print("too cold")
end

we= get("zone.windowarea")

print(we)

HOW WOULD YOU RATE THIS SCRIPT ?

No votes yet

The script above is actually

comment posted by cosgra :: 15 February 2008 - 11:36pm

The script above is actually not the exact script in the wizard. Use the above script to analyze an already existing zone. To create a new zone to analyze, use the wizard below.

The script and wizard give you feedback for whether or not the temperature of the room is within the target comfort zone.

I'll update these soon.

AttachmentSize
AnalyzeZoneWizard.wzd5.08 KB

Navigation

User login

Translate Site To: