-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFlows
More file actions
26 lines (18 loc) · 799 Bytes
/
Flows
File metadata and controls
26 lines (18 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%This script models the gain and loss of thermal energy in thermal mass
%Assumptions made:
%Square “footage” = 100 square meters
%thickness of thermal mass = 0.1016 meters
deltaT = temperature_room - temperature_thermalmass;
area = 100; %square meters
area_gain = 100/6;
area_loss = 100;
mass= density*volume;
%specific heat = [water concrete_stone sandstone earth_dry brick_hard]
%http://www.engineeringtoolbox.com/specific-heat-solids-d_154.html except
%for water and adobe
%adobe has same specific heat as concrete
spec_heat=[4.186 0.75 0.92 1.26 1]; %j/(g*C)
C=mass*spec_heat;
Q=C*deltaT; %C= thermal mass %J/s
Q_conductivity_gain = (thermal_conductivity*area_gain/thickness)*deltaT;
Q_conductivity_loss = (thermal_conductivity*area_loss/thickness)*deltaT;