Skip to content

Commit 134ffd3

Browse files
author
vikrants
committed
sanity check - run local tests.
1 parent f2a70aa commit 134ffd3

File tree

6 files changed

+17
-7
lines changed

6 files changed

+17
-7
lines changed

Components/Ambient/EnvModel.png

0 Bytes
Loading
0 Bytes
Loading

Components/Building/BuildingModel.ssc

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,37 @@ component (Propagation = blocks) BuildingModel
1111

1212
nodes
1313
H = foundation.thermal.thermal; % H
14-
G = foundation.thermal.thermal; % G
14+
end
15+
16+
outputs
17+
roomTemp = {zeros(nApts,nRooms),'K'}; % Tr
18+
wallTemp = {zeros(1,numOfRoomExtConn),'K'}; % Tw
1519
end
1620

1721
for i = 1:nApts
1822
for j = 1:nRooms
1923
nodes
20-
A(i,j) = foundation.thermal_liquid.thermal_liquid; % Li
2124
B(i,j) = foundation.thermal_liquid.thermal_liquid; % Lo
2225
end
2326
end
2427
end
2528

29+
nodes
30+
G = foundation.thermal.thermal; % G
31+
end
32+
2633
inputs
2734
C = {0 ,'1'}; % C
2835
V = {ones(nApts,nRooms), '1'}; % V
2936
S = {zeros(nApts,nRooms) ,'W'};% S
3037
end
3138

32-
outputs
33-
roomTemp = {zeros(nApts,nRooms),'K'}; % Tr
34-
wallTemp = {zeros(1,numOfRoomExtConn),'K'}; % Tw
39+
for i = 1:nApts
40+
for j = 1:nRooms
41+
nodes
42+
A(i,j) = foundation.thermal_liquid.thermal_liquid; % Li
43+
end
44+
end
3545
end
3646

3747
parameters
@@ -97,8 +107,8 @@ component (Propagation = blocks) BuildingModel
97107

98108
annotations
99109
[H,C,V,S,A] : Side=Left;
100-
G : Side=Bottom;
101110
[roomTemp,wallTemp,B] : Side=Right;
111+
G : Side=Bottom;
102112

103113
UILayout = [UIGroup("Building Physics",nApts,nRooms,roomVolMat,roomConnMat,roomEnvConnMat,roomEnvSolarRad,floorGroundConn,roomModelOption,roomRadiatorArea,roomUFPipingArea) ...
104114
UIGroup("Room Physics",radiatorPipeGap,radiatorPipeHydrDia,radiatorPipeArea,UFPipeGap,UFPipeHydrDia,UFPipeArea) ...
0 Bytes
Binary file not shown.
1 Byte
Binary file not shown.

ScriptsData/Parts/building_with_solar_load.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<struct>
33
<README>
4-
<FileGeneratedOn>13-Nov-2024 08:59:32</FileGeneratedOn>
4+
<FileGeneratedOn>13-Nov-2024 09:32:22</FileGeneratedOn>
55
<Location>Bengaluru</Location>
66
<Latitude>12.971N</Latitude>
77
<Longitude>77.594E</Longitude>

0 commit comments

Comments
 (0)