Skip to content

Commit cc0c2be

Browse files
committed
Merge branch 'main' of github.com:malamalca/pures3
2 parents 797850b + aae0a96 commit cc0c2be

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

config/TSGKonstrukcije.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,50 @@
279279
"difuzijskaUpornost": 2.1
280280
},
281281
{
282-
"id": "44",
282+
"id": "44.1",
283+
"sifra": "beton2500",
284+
"opis": "Beton s kamnitimi agregati",
285+
"lambda": 2.33,
286+
"gostota": 2500,
287+
"specificnaToplota": 960,
288+
"difuzijskaUpornost": 90
289+
},
290+
{
291+
"id": "44.2",
283292
"sifra": "beton",
284293
"opis": "Beton s kamnitimi agregati",
285294
"lambda": 2.04,
286295
"gostota": 2400,
287296
"specificnaToplota": 960,
288297
"difuzijskaUpornost": 60
289298
},
299+
{
300+
"id": "44.3",
301+
"sifra": "beton2200",
302+
"opis": "Beton s kamnitimi agregati",
303+
"lambda": 1.51,
304+
"gostota": 2200,
305+
"specificnaToplota": 960,
306+
"difuzijskaUpornost": 30
307+
},
308+
{
309+
"id": "44.4",
310+
"sifra": "beton2000",
311+
"opis": "Beton s kamnitimi agregati",
312+
"lambda": 1.16,
313+
"gostota": 2000,
314+
"specificnaToplota": 960,
315+
"difuzijskaUpornost": 22
316+
},
317+
{
318+
"id": "44.5",
319+
"sifra": "beton1800",
320+
"opis": "Beton s kamnitimi agregati",
321+
"lambda": 0.93,
322+
"gostota": 1800,
323+
"specificnaToplota": 960,
324+
"difuzijskaUpornost": 15
325+
},
290326
{
291327
"id": "50.1",
292328
"sifra": "MKplosce",

src/Calc/GF/Cone/ElementiOvoja/NetransparentenElementOvoja.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ private function vplivZemljine()
274274
{
275275
// proti terenu
276276
if ($this->konstrukcija->TSG->tip == 'tla-teren') {
277+
if (!isset($this->obseg)) {
278+
throw new \Exception(sprintf('Element "%s" nima definiranega obsega proti zemljini.', $this->id ?? ''));
279+
}
277280
$B = $this->povrsina / (0.5 * $this->obseg);
278281

279282
// ekvivalentna debelina konstrukcije - TLA
@@ -377,6 +380,9 @@ private function vplivZemljine()
377380
// ekvivalentna debelina stene
378381
// enačba 15 v standardu
379382
// TODO: v standardu je brez debelineStene, XLS pa jo upošteva
383+
if (!isset($this->debelinaStene)) {
384+
throw new \Exception(sprintf('Element "%s" nima definirane debeline stene.', $this->id ?? ''));
385+
}
380386
$d_wb = $this->debelinaStene + $this->tla->lambda() * 1 / $this->konstrukcija->U;
381387

382388
// ekvivalentna debelina tal (floor)

0 commit comments

Comments
 (0)