-
Notifications
You must be signed in to change notification settings - Fork 0
/
dibs_computing_core.iso_simulator.building_simulator.html
1070 lines (986 loc) · 83 KB
/
dibs_computing_core.iso_simulator.building_simulator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dibs_computing_core.iso_simulator.building_simulator package — Dibs Documentation 1.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=8d563738"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="dibs_computing_core.iso_simulator.data_source package" href="dibs_computing_core.iso_simulator.data_source.html" />
<link rel="prev" title="dibs_computing_core.iso_simulator package" href="dibs_computing_core.iso_simulator.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
Dibs Documentation
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">src</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="dibs_computing_core.html">dibs_computing_core package</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="dibs_computing_core.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l4 current"><a class="reference internal" href="dibs_computing_core.iso_simulator.html">dibs_computing_core.iso_simulator package</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="dibs_computing_core.html#module-dibs_computing_core">Module contents</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Dibs Documentation</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="modules.html">src</a></li>
<li class="breadcrumb-item"><a href="dibs_computing_core.html">dibs_computing_core package</a></li>
<li class="breadcrumb-item"><a href="dibs_computing_core.iso_simulator.html">dibs_computing_core.iso_simulator package</a></li>
<li class="breadcrumb-item active">dibs_computing_core.iso_simulator.building_simulator package</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/dibs_computing_core.iso_simulator.building_simulator.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="dibs-computing-core-iso-simulator-building-simulator-package">
<h1>dibs_computing_core.iso_simulator.building_simulator package<a class="headerlink" href="#dibs-computing-core-iso-simulator-building-simulator-package" title="Link to this heading"></a></h1>
<section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Link to this heading"></a></h2>
</section>
<section id="module-dibs_computing_core.iso_simulator.building_simulator.simulator">
<span id="dibs-computing-core-iso-simulator-building-simulator-simulator-module"></span><h2>dibs_computing_core.iso_simulator.building_simulator.simulator module<a class="headerlink" href="#module-dibs_computing_core.iso_simulator.building_simulator.simulator" title="Link to this heading"></a></h2>
<p>this class implements the business logic to simulate a given building</p>
<dl class="py class">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dibs_computing_core.iso_simulator.building_simulator.simulator.</span></span><span class="sig-name descname"><span class="pre">BuildingSimulator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">datasource</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="dibs_computing_core.iso_simulator.data_source.html#dibs_computing_core.iso_simulator.data_source.datasource.DataSource" title="dibs_computing_core.iso_simulator.data_source.datasource.DataSource"><span class="pre">DataSource</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.absorption_refrigeration_system">
<span class="sig-name descname"><span class="pre">absorption_refrigeration_system</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.absorption_refrigeration_system" title="Link to this definition"></a></dt>
<dd><blockquote>
<div><p>Checks if cooling supply system of the building is AbsorptionRefrigerationSystem</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>True or False</p>
</dd>
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.air_cool">
<span class="sig-name descname"><span class="pre">air_cool</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.air_cool" title="Link to this definition"></a></dt>
<dd><p>Checks if cooling supply system of the building in the list named air_cool
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.biogas_boiler_types">
<span class="sig-name descname"><span class="pre">biogas_boiler_types</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.biogas_boiler_types" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named biogas_boiler_types
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.biogas_oil_boilers_types">
<span class="sig-name descname"><span class="pre">biogas_oil_boilers_types</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.biogas_oil_boilers_types" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named biogas_oil_boilers_types
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_east_window">
<span class="sig-name descname"><span class="pre">build_east_window</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.window.Window" title="dibs_computing_core.iso_simulator.model.window.Window"><span class="pre">Window</span></a></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_east_window" title="Link to this definition"></a></dt>
<dd><p>This method builds a window object
Returns:</p>
<blockquote>
<div><p>window</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Window</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_north_window">
<span class="sig-name descname"><span class="pre">build_north_window</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.window.Window" title="dibs_computing_core.iso_simulator.model.window.Window"><span class="pre">Window</span></a></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_north_window" title="Link to this definition"></a></dt>
<dd><p>This method builds a window object
Returns:</p>
<blockquote>
<div><p>window</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Window</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_south_window">
<span class="sig-name descname"><span class="pre">build_south_window</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.window.Window" title="dibs_computing_core.iso_simulator.model.window.Window"><span class="pre">Window</span></a></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_south_window" title="Link to this definition"></a></dt>
<dd><p>This method builds a window object
Returns:</p>
<blockquote>
<div><p>window</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Window</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_west_window">
<span class="sig-name descname"><span class="pre">build_west_window</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.window.Window" title="dibs_computing_core.iso_simulator.model.window.Window"><span class="pre">Window</span></a></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_west_window" title="Link to this definition"></a></dt>
<dd><blockquote>
<div><p>This method builds a window object</p>
</div></blockquote>
<dl>
<dt>Returns:</dt><dd><blockquote>
<div><p>window</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Window</p>
</dd>
</dl>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_windows_objects">
<span class="sig-name descname"><span class="pre">build_windows_objects</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.window.Window" title="dibs_computing_core.iso_simulator.model.window.Window"><span class="pre">Window</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.build_windows_objects" title="Link to this definition"></a></dt>
<dd><p>This method builds a list of all windows (south, west, east and north)
Returns:</p>
<blockquote>
<div><p>windows</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>List[Window]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_altitude_and_azimuth">
<span class="sig-name descname"><span class="pre">calc_altitude_and_azimuth</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_altitude_and_azimuth" title="Link to this definition"></a></dt>
<dd><p>Call calc_sun_position(). Depending on latitude, longitude, year and hour - Independent from epw weather_data
Args:</p>
<blockquote>
<div><p>hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>altitude, azimuth</p>
</dd>
<dt>Return type</dt><dd><p>Tuple[float, float]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_appliance_gains_demand">
<span class="sig-name descname"><span class="pre">calc_appliance_gains_demand</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_schedule</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">appliance_gains</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_appliance_gains_demand" title="Link to this definition"></a></dt>
<dd><p>Calculate appliance_gains as part of the internal_gains
Args:</p>
<blockquote>
<div><p>occupancy_schedule: schedule name
appliance_gains:
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>appliance_gains_demand</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_building_h_ve_adj">
<span class="sig-name descname"><span class="pre">calc_building_h_ve_adj</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">t_out</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">usage_start</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">usage_end</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_building_h_ve_adj" title="Link to this definition"></a></dt>
<dd><p>Calculate H_ve_adj, See building_physics for details
Args:</p>
<blockquote>
<div><p>hour: hour to simulate
t_out: Outdoor air temperature [C]
usage_start: Beginning of usage time according to SIA2024
usage_end: Ending of usage time according to SIA2024</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>h_ve_adj</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_energy_demand_for_time_step">
<span class="sig-name descname"><span class="pre">calc_energy_demand_for_time_step</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">internal_gains</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">t_out</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">t_m_prev</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_energy_demand_for_time_step" title="Link to this definition"></a></dt>
<dd><p>Calculate energy demand for the time step
Args:</p>
<blockquote>
<div><p>internal_gains: internal heat gains from people and appliances [W]
t_out: Outdoor temperature of this timestep
t_m_prev: Previous air temperature [C]</p>
</div></blockquote>
<dl class="simple">
<dt>Return type:</dt><dd><p>None</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_gains_from_occupancy_and_appliances">
<span class="sig-name descname"><span class="pre">calc_gains_from_occupancy_and_appliances</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_schedule</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">occupancy</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gain_per_person</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">appliance_gains</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_gains_from_occupancy_and_appliances" title="Link to this definition"></a></dt>
<dd><p>Calculate gains from occupancy and appliances
This is thermal gains. Negative appliance_gains are heat sinks!
Args:</p>
<blockquote>
<div><p>occupancy_schedule: schedule name
occupancy: Occupancy [people]
gain_per_person:
appliance_gains:
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>internal_gains</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_hot_water_usage">
<span class="sig-name descname"><span class="pre">calc_hot_water_usage</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_schedule</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tek_dhw_per_occupancy_full_usage_hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_hot_water_usage" title="Link to this definition"></a></dt>
<dd><p>Calculate hot water usage of the building for the time step with (self.datasource.building.heating_energy /
self.datasource.building.heating_demand)
represents the Efficiency of the heat generation in the building
Args:</p>
<blockquote>
<div><p>occupancy_schedule:
tek_dhw_per_occupancy_full_usage_hour:
hour:</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>hot_water_demand, hot_water_energy, hot_water_sys_electricity, hot_water_sys_fossils</p>
</dd>
<dt>Return type</dt><dd><p>Tuple[float, float, float, float]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_illuminance_for_all_windows">
<span class="sig-name descname"><span class="pre">calc_illuminance_for_all_windows</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sun_altitude</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sun_azimuth</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_illuminance_for_all_windows" title="Link to this definition"></a></dt>
<dd><p>Calculates the illuminance in the building zone through the set window
Args:</p>
<blockquote>
<div><p>sun_altitude: Altitude Angle of the Sun in Degrees
sun_azimuth: Azimuth angle of the sun in degrees
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Return type:</dt><dd><p>None</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_occupancy">
<span class="sig-name descname"><span class="pre">calc_occupancy</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_schedule</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_occupancy" title="Link to this definition"></a></dt>
<dd><p>Calc occupancy for the time step
Args:</p>
<blockquote>
<div><p>occupancy_schedule: schedule name
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>occupancy</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_solar_gains_for_all_windows">
<span class="sig-name descname"><span class="pre">calc_solar_gains_for_all_windows</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sun_altitude</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sun_azimuth</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">t_air</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_solar_gains_for_all_windows" title="Link to this definition"></a></dt>
<dd><p>Calculates the solar gains in the building zone through the set window
Args:</p>
<blockquote>
<div><p>sun_altitude: Altitude Angle of the Sun in Degrees
sun_azimuth: Azimuth angle of the sun in degrees
t_air:
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Return type:</dt><dd><p>None</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_sum_illuminance_all_windows">
<span class="sig-name descname"><span class="pre">calc_sum_illuminance_all_windows</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_sum_illuminance_all_windows" title="Link to this definition"></a></dt>
<dd><p>Sum of transmitted illuminance of all windows
Returns:</p>
<blockquote>
<div><p>transmitted illuminance_sum</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_sum_solar_gains_all_windows">
<span class="sig-name descname"><span class="pre">calc_sum_solar_gains_all_windows</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.calc_sum_solar_gains_all_windows" title="Link to this definition"></a></dt>
<dd><p>Sum of solar gains of all windows
Returns:</p>
<blockquote>
<div><p>solar_gains_sum</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_cooling_system_elctricity_sum">
<span class="sig-name descname"><span class="pre">check_cooling_system_elctricity_sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">calculation_of_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum" title="dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum"><span class="pre">CalculationOfSum</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_hs_hi</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_ghg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_pe</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_cooling_system_elctricity_sum" title="Link to this definition"></a></dt>
<dd><dl class="simple">
<dt>Args:</dt><dd><p>calculation_of_sum: sum object
f_hs_hi:
f_ghg:
f_pe:</p>
</dd>
<dt>Returns:</dt><dd><p>cooling_sys_electricity_hi_sum, cooling_sys_carbon_sum, cooling_sys_pe_sum, cooling_sys_fossils_hi_sum</p>
</dd>
<dt>Return type</dt><dd><p>Tuple[int, float, float, float]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_energy_area_and_heating">
<span class="sig-name descname"><span class="pre">check_energy_area_and_heating</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_energy_area_and_heating" title="Link to this definition"></a></dt>
<dd><p>If there’s no heated area (energy_ref_area == -8) or no heating supply system (heating_supply_system == ‘NoHeating’)
no heating demand can be calculated. In this case skip calculation and proceed with next building.
Returns:</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_heating_sys_electricity_sum">
<span class="sig-name descname"><span class="pre">check_heating_sys_electricity_sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">calculation_of_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum" title="dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum"><span class="pre">CalculationOfSum</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_hs_hi</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_ghg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_pe</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_heating_sys_electricity_sum" title="Link to this definition"></a></dt>
<dd><dl class="simple">
<dt>Args:</dt><dd><p>calculation_of_sum: sum object
f_hs_hi:
f_ghg:
f_pe:</p>
</dd>
<dt>Returns:</dt><dd><p>heating_sys_electricity_hi_sum, heating_sys_carbon_sum, heating_sys_pe_sum, heating_sys_fossils_hi_sum</p>
</dd>
<dt>Return type</dt><dd><p>Tuple[int, float, float, float]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_hotwater_sys_electricity_sum">
<span class="sig-name descname"><span class="pre">check_hotwater_sys_electricity_sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">calculation_of_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum" title="dibs_computing_core.iso_simulator.model.calculations_sum.CalculationOfSum"><span class="pre">CalculationOfSum</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_hs_hi</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_ghg</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">f_pe</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_hotwater_sys_electricity_sum" title="Link to this definition"></a></dt>
<dd><dl class="simple">
<dt>Args:</dt><dd><p>calculation_of_sum: sum object
f_hs_hi:
f_ghg:
f_pe:</p>
</dd>
<dt>Returns:</dt><dd><p>hot_water_sys_electricity_hi_sum, hot_water_sys_pe_sum, hot_water_sys_carbon_sum, hot_water_sys_fossils_hi_sum</p>
</dd>
<dt>Return type</dt><dd><p>Tuple[int, float, float, float]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_central_dhw_use_same_fuel_type_as_heating_system">
<span class="sig-name descname"><span class="pre">check_if_central_dhw_use_same_fuel_type_as_heating_system</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fuel_type</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_central_dhw_use_same_fuel_type_as_heating_system" title="Link to this definition"></a></dt>
<dd><p>Checks if central dhw uses the same fuel type as the heating system
Assumption: Central DHW-Systems use the same Fuel_type as Heating-Systems, only decentral DHW-Systems might have another Fuel-Type
Args:</p>
<blockquote>
<div><p>fuel_type: fuel type</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>fuel_type</p>
</dd>
<dt>Return type</dt><dd><p>str</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_central_heating_or_central_dhw">
<span class="sig-name descname"><span class="pre">check_if_central_heating_or_central_dhw</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_central_heating_or_central_dhw" title="Link to this definition"></a></dt>
<dd><p>Checks if dhw system of the building in the list named central
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_heat_pump_air_or_ground_source">
<span class="sig-name descname"><span class="pre">check_if_heat_pump_air_or_ground_source</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.check_if_heat_pump_air_or_ground_source" title="Link to this definition"></a></dt>
<dd><p>Checks if dhw system of the building in the list named heat_source
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.choose_cooling_energy_fuel_type">
<span class="sig-name descname"><span class="pre">choose_cooling_energy_fuel_type</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference internal" href="dibs_computing_core.iso_simulator.exceptions.html#dibs_computing_core.iso_simulator.exceptions.ghg_emission.GHGEmissionError" title="dibs_computing_core.iso_simulator.exceptions.ghg_emission.GHGEmissionError"><span class="pre">GHGEmissionError</span></a></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.choose_cooling_energy_fuel_type" title="Link to this definition"></a></dt>
<dd><dl class="simple">
<dt>Returns:</dt><dd><p>fuel_type or throws an error</p>
</dd>
<dt>Return type</dt><dd><p>Union[str, GHGEmissionError]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.choose_the_fuel_type">
<span class="sig-name descname"><span class="pre">choose_the_fuel_type</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">str</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.choose_the_fuel_type" title="Link to this definition"></a></dt>
<dd><p>Choose the fuel type based on the heating_supply_system of the building
Returns:</p>
<blockquote>
<div><p>fuel_type</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>str</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.coal_solid_fuel_boiler">
<span class="sig-name descname"><span class="pre">coal_solid_fuel_boiler</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.coal_solid_fuel_boiler" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is CoalSolidFuelBoiler
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.cooling_sys_hi_sum">
<span class="sig-name descname"><span class="pre">cooling_sys_hi_sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cooling_sys_electricity_hi_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cooling_sys_fossils_hi_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.cooling_sys_hi_sum" title="Link to this definition"></a></dt>
<dd><p>Calculates sum of cooling_sys_electricity_hi_sum and cooling_sys_fossils_hi_sum
Args:</p>
<blockquote>
<div><p>cooling_sys_electricity_hi_sum:
cooling_sys_fossils_hi_sum:</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>cooling_sys_electricity_hi_sum + cooling_sys_fossils_hi_sum</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.direct_heater">
<span class="sig-name descname"><span class="pre">direct_heater</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.direct_heater" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is DirectHeater
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.district_cooling">
<span class="sig-name descname"><span class="pre">district_cooling</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.district_cooling" title="Link to this definition"></a></dt>
<dd><p>Checks if cooling supply system of the building is DistrictCooling
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.district_heating">
<span class="sig-name descname"><span class="pre">district_heating</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.district_heating" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is DistrictHeating
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.electric_heating">
<span class="sig-name descname"><span class="pre">electric_heating</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.electric_heating" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is ElectricHeating
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.extract_outdoor_temperature">
<span class="sig-name descname"><span class="pre">extract_outdoor_temperature</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.extract_outdoor_temperature" title="Link to this definition"></a></dt>
<dd><p>Extract the outdoor temperature in building_location for that hour from weather_data
Args:</p>
<blockquote>
<div><p>hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>outdoor_temperature</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.extract_year">
<span class="sig-name descname"><span class="pre">extract_year</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.extract_year" title="Link to this definition"></a></dt>
<dd><p>Extract the year based on a given hour
Args:</p>
<blockquote>
<div><p>hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>year</p>
</dd>
<dt>Return type</dt><dd><p>int</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.first_natural_gas">
<span class="sig-name descname"><span class="pre">first_natural_gas</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.first_natural_gas" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named lgaz
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_boiler_standard">
<span class="sig-name descname"><span class="pre">gas_boiler_standard</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_boiler_standard" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named gas_boiler_standard
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_chip">
<span class="sig-name descname"><span class="pre">gas_chip</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_chip" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is GasCHP
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_engine_piston_scroll">
<span class="sig-name descname"><span class="pre">gas_engine_piston_scroll</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.gas_engine_piston_scroll" title="Link to this definition"></a></dt>
<dd><p>Checks if cooling supply system of the building is GasEnginePistonScroll
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_appliance_gains_elt_demand">
<span class="sig-name descname"><span class="pre">get_appliance_gains_elt_demand</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_schedule</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">appliance_gains</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_appliance_gains_elt_demand" title="Link to this definition"></a></dt>
<dd><p>Appliance_gains equal the electric energy that appliances use, except for negative appliance_gains of refrigerated counters in trade buildings for food!
The assumption is: negative appliance_gains come from referigerated counters with heat pumps for which we assume a COP = 2.
Args:</p>
<blockquote>
<div><p>occupancy_schedule: schedule name
appliance_gains:
hour: hour to simulate</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>appliance_gains_elt_demand</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_conversion_factor_heating">
<span class="sig-name descname"><span class="pre">get_conversion_factor_heating</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fuel_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_conversion_factor_heating" title="Link to this definition"></a></dt>
<dd><p>Umrechnungsfaktor von Brennwert (Hs) zu Heizwert (Hi) einlesen
Args:</p>
<blockquote>
<div><p>fuel_type: fuel_type</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>relation_calorific_to_heating_value_GEG</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_ghg_factor_heating">
<span class="sig-name descname"><span class="pre">get_ghg_factor_heating</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fuel_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_ghg_factor_heating" title="Link to this definition"></a></dt>
<dd><p>GHG-Factor Heating
Args:</p>
<blockquote>
<div><p>fuel_type: fuel_type</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>gwp_specific_to_heating_value_GEG</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_ghg_pe_conversion_factors">
<span class="sig-name descname"><span class="pre">get_ghg_pe_conversion_factors</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fuel_type</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_ghg_pe_conversion_factors" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_pe_factor_heating">
<span class="sig-name descname"><span class="pre">get_pe_factor_heating</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fuel_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_pe_factor_heating" title="Link to this definition"></a></dt>
<dd><p>PE-Factor Heating
Args:</p>
<blockquote>
<div><p>fuel_type: fuel_type</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>primary_energy_factor_GEG</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_schedule">
<span class="sig-name descname"><span class="pre">get_schedule</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName" title="dibs_computing_core.iso_simulator.model.schedule_name.ScheduleName"><span class="pre">ScheduleName</span></a><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">str</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">ValueError</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_schedule" title="Link to this definition"></a></dt>
<dd><p>Find occupancy schedule from SIA2024, depending on hk_geb, uk_geb from csv file
Returns:</p>
<blockquote>
<div><p>list_of_schedule_name, schedule_name or throws an error</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Union[Tuple[List[ScheduleName], str, float], ValueError]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_tek">
<span class="sig-name descname"><span class="pre">get_tek</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">str</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">ValueError</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_tek" title="Link to this definition"></a></dt>
<dd><p>Find TEK values from Partial energy parameters to build the comparative values in accordance with the
announcement of 15.04.2021 on the Building Energy Act (GEG) of 2020, depending on hk_geb, uk_geb
Returns:</p>
<blockquote>
<div><p>tek_dhw, tek_name or throws an error</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Union[Tuple[float, str], ValueError]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_usage_start_and_end">
<span class="sig-name descname"><span class="pre">get_usage_start_and_end</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Tuple</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_usage_start_and_end" title="Link to this definition"></a></dt>
<dd><p>Find building’s usage time DIN 18599-10 or SIA2024
Returns:</p>
<blockquote>
<div><p>usage_start, usage_end</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>Tuple[int, int]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_weather_data">
<span class="sig-name descname"><span class="pre">get_weather_data</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="dibs_computing_core.iso_simulator.model.html#dibs_computing_core.iso_simulator.model.weather_data.WeatherData" title="dibs_computing_core.iso_simulator.model.weather_data.WeatherData"><span class="pre">WeatherData</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.get_weather_data" title="Link to this definition"></a></dt>
<dd><p>This method retrieves the right weather data according to the given weather_period and file_name</p>
<dl class="simple">
<dt>Returns:</dt><dd><p>weather_data_objects</p>
</dd>
<dt>Return type</dt><dd><p>List[WeatherData]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.hard_coal">
<span class="sig-name descname"><span class="pre">hard_coal</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.hard_coal" title="Link to this definition"></a></dt>
<dd><p>See above method coal_solid_fuel_boiler() and solid_fuel_liquid_fuel_furnace() for more information
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>bool</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.heat_pump">
<span class="sig-name descname"><span class="pre">heat_pump</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.heat_pump" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named heat_pumping
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.heat_pump_or_electric_heating">
<span class="sig-name descname"><span class="pre">heat_pump_or_electric_heating</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.heat_pump_or_electric_heating" title="Link to this definition"></a></dt>
<dd><p>See above method heat_pump() and electric_heating() for more information
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return type</dt><dd><p>bool</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.hot_energy_hi_sum">
<span class="sig-name descname"><span class="pre">hot_energy_hi_sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hotWater_sys_electricity_hi_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hot_water_sys_fossils_hi_sum</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.hot_energy_hi_sum" title="Link to this definition"></a></dt>
<dd><p>Calculates sum of hotWater_sys_electricity_hi_sum and hot_water_sys_fossils_hi_sum
Args:</p>
<blockquote>
<div><p>hotWater_sys_electricity_hi_sum:
hot_water_sys_fossils_hi_sum:</p>
</div></blockquote>
<dl class="simple">
<dt>Returns:</dt><dd><p>hotWater_sys_electricity_hi_sum + hot_water_sys_fossils_hi_sum</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.lgas_boiler_temp">
<span class="sig-name descname"><span class="pre">lgas_boiler_temp</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.lgas_boiler_temp" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named lgas_boiler_temp
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.no_cooling">
<span class="sig-name descname"><span class="pre">no_cooling</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.no_cooling" title="Link to this definition"></a></dt>
<dd><p>Checks if cooling supply system of the building is NoCooling
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.no_heating">
<span class="sig-name descname"><span class="pre">no_heating</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.no_heating" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is NoHeating
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.oil_boiler_types">
<span class="sig-name descname"><span class="pre">oil_boiler_types</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.oil_boiler_types" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building in the list named oil_boiler_types
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.set_t_air_based_on_hour">
<span class="sig-name descname"><span class="pre">set_t_air_based_on_hour</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hour</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">float</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.set_t_air_based_on_hour" title="Link to this definition"></a></dt>
<dd><blockquote>
<div><p>Define t_air for calc_solar_gains(). Starting condition (hour==0) necessary for first time step</p>
</div></blockquote>
<dl class="simple">
<dt>Args:</dt><dd><p>hour: hour to simulate</p>
</dd>
<dt>Returns:</dt><dd><p>t_air</p>
</dd>
<dt>Return type</dt><dd><p>float</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.solid_fuel_liquid_fuel_furnace">
<span class="sig-name descname"><span class="pre">solid_fuel_liquid_fuel_furnace</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.solid_fuel_liquid_fuel_furnace" title="Link to this definition"></a></dt>
<dd><p>Checks if heating supply system of the building is SolidFuelLiquidFuelFurnace
Returns:</p>
<blockquote>
<div><p>True or False</p>
</div></blockquote>
<dl class="simple">
<dt>Return typ</dt><dd><p>boolean</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.solve_building_lightning">
<span class="sig-name descname"><span class="pre">solve_building_lightning</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">occupancy_percent</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#dibs_computing_core.iso_simulator.building_simulator.simulator.BuildingSimulator.solve_building_lightning" title="Link to this definition"></a></dt>
<dd><p>Calculate the lighting of the building for the time step
Args:</p>
<blockquote>
<div><p>occupancy_percent: occupancy for the time step</p>
</div></blockquote>
<dl class="simple">
<dt>Return type:</dt><dd><p>None</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">