var _0x57d7d6=_0x36c2;function _0x463a(){var _0x3c6938=['color(\x27#66c2a5\x27)','HeatDemand','6AyfQEi','Number(${PV_potential_yield})\x20<\x201','subtract','add','toIsoString_Stop','color(\x22#fee08b\x22)','AllWhite','Number(${PV_potential_yield})\x20<\x202','color(\x22#B2D531\x22)','color(\x22#F56D1F\x22)','change','5210888QcexeO','fromIso8601','color(\x27#f46d43\x27)','.cesiumLegend','toIsoString_Start','abs','clock','Cesium3DTileset','Number(${Specific_space_heating_demand})>=\x20100','14Sgjvxv','color(\x22#3288bd\x22)','Number(${Specific_space_heating_demand})>=\x2050','Number(${electric_load})\x20<\x203229000','floor','latitude','color(\x22#61B949\x22,0)','color(\x22#D1E023\x22)','prototype','body','color(\x22white\x22,0)','color(\x22#ffffbf\x22)','Number(${PV_potential_yield})\x20>=\x208','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2017500','Number(${Specific_space_heating_demand})>=\x20150','3.0','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2050000','Number(${Specific_space_heating_demand})>\x20250','No\x20','color(\x27#feedde\x27)','color(\x22#d53e4f\x22)','22163JLSkRL','modelMatrix','color(\x22#fdae61\x22)','Number(${Specific_space_heating_demand})>=\x2025','Fullscreen','color(\x27#3288bd\x27)','3420912IMkAMd','fromCartesian','longitude','Number(${Specific_space_heating_demand})>=\x20200','#shadow_check','color(\x27#fd8d3c\x27)','T08:00:00Z','47591390oGyHAn','4358920fAjMzQ','Number(${electric_load})\x20<\x209999999','color(\x27#fee08b\x27)','getFullYear','->\x20\x20add\x203DTiles\x20failed!\x0a','https://steinbeis-3dps.eu/3DGeoVolumes/collections/Ludwigsburg/tileset_lu_all/tileset.json','Number(${PV_potential_yield})\x20<\x205','color(\x27#ffffff\x27)','getTimezoneOffset','getMonth','10853622FBtzbB','Number(${PV_potential_yield})\x20<\x206','Number(${electric_load})\x20<\x206229000','134YeydKU','requestFullscreen','color(\x22#F6EC00\x22)','#full-screen-button','currentTime','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20200000','color(\x22#F22E22\x22)','PVPotential','getDate','hide','Number(${Total_Yearly_Heat_DHW_demand})\x20===\x200','\x20Style\x20in\x20the\x20html','style','Number(${electric_load})\x20===\x200','true','log','Cartographic','Cesium3DTileStyle','color(\x27#fdae6b\x27)','shadows','color(\x22#e6f598\x22)','color(\x27#abdda4\x27)','587775kEMCiR','Number(${Specific_space_heating_demand})>=\x20125','readyPromise','color(\x27#fff\x27,0)','color(\x27#e6550d\x27)','value','color(\x27#d53e4f\x27)','color(\x22#abdda4\x22)','Number(${PV_potential_yield})\x20<\x207','color(\x27#ffffbf\x27)','color(\x27#fdd0a2\x27)','color(\x22#61B949\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2035000','Number(${PV_potential_yield})\x20<\x204','fromRadians','color(\x22#F9A717\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20100000','show','boundingSphere','T23:00:00Z','Number(${Total_Yearly_Heat_DHW_demand})\x20>=\x2099999999','Number(${PV_potential_yield})\x20<\x208','Cartesian3','Number(${Specific_space_heating_demand})>=\x2075','SpecificHeatDemand'];_0x463a=function(){return _0x3c6938;};return _0x463a();}(function(_0x51bbbd,_0x323f1f){var _0x3ca030=_0x36c2,_0x3a4181=_0x51bbbd();while(!![]){try{var _0x3df43c=parseInt(_0x3ca030(0x1f2))/0x1*(parseInt(_0x3ca030(0x20d))/0x2)+-parseInt(_0x3ca030(0x1ae))/0x3+parseInt(_0x3ca030(0x1f8))/0x4+parseInt(_0x3ca030(0x200))/0x5*(parseInt(_0x3ca030(0x1c9))/0x6)+parseInt(_0x3ca030(0x1dd))/0x7*(parseInt(_0x3ca030(0x1d4))/0x8)+parseInt(_0x3ca030(0x20a))/0x9+-parseInt(_0x3ca030(0x1ff))/0xa;if(_0x3df43c===_0x323f1f)break;else _0x3a4181['push'](_0x3a4181['shift']());}catch(_0x2c36d2){_0x3a4181['push'](_0x3a4181['shift']());}}}(_0x463a,0xbae6d),$(document)['ready'](function(){var _0x20ab96=_0x36c2;$('#loading')[_0x20ab96(0x1a1)]();}));var homeCameraView={'destination':{'x':-4646319.653422943,'y':2552632.012284364,'z':-3536295.07803609},'orientation':{'direction':{'x':0.24900131396642067,'y':0.3727636841027887,'z':0.8938934955894424},'up':{'x':-0.7037933752118672,'y':0.7036958074350335,'z':-0.09740172280942716}}};$(_0x57d7d6(0x210))['click'](function(){var _0x462aaa=_0x57d7d6;Cesium[_0x462aaa(0x1f6)][_0x462aaa(0x20e)](document[_0x462aaa(0x1e6)]);});var building_style=[],addBuilding=function(){var _0x566a7d=_0x57d7d6;try{tileset_3Dbuildings=viewer['scene']['primitives'][_0x566a7d(0x1cc)](new Cesium[(_0x566a7d(0x1db))]({'url':_0x566a7d(0x205),'maximumScreenSpaceError':0x20,'skipLevelOfDetail':!0x0,'baseScreenSpaceError':0x400,'skipScreenSpaceErrorFactor':0x40,'skipLevels':0x2,'immediatelyLoadDesiredLevelOfDetail':!0x1,'loadSiblings':!0x1,'cullWithChildrenBounds':!0x0}));}catch(_0x1f1b95){console[_0x566a7d(0x1a7)](_0x566a7d(0x204)+_0x1f1b95);}tileset_3Dbuildings[_0x566a7d(0x1b0)]['then'](function(){var _0x41388c=_0x566a7d,_0x17223d=tileset_3Dbuildings[_0x41388c(0x1c0)],_0x282e7a=Cesium[_0x41388c(0x1a8)][_0x41388c(0x1f9)](_0x17223d['center']),_0x417090=Cesium['Cartesian3'][_0x41388c(0x1bc)](_0x282e7a['longitude'],_0x282e7a['latitude'],0x0),_0x4517e4=Cesium[_0x41388c(0x1c4)][_0x41388c(0x1bc)](_0x282e7a[_0x41388c(0x1fa)],_0x282e7a[_0x41388c(0x1e2)],0x32),_0x3a8fc5=Cesium[_0x41388c(0x1c4)][_0x41388c(0x1cb)](_0x4517e4,_0x417090,new Cesium[(_0x41388c(0x1c4))]());tileset_3Dbuildings[_0x41388c(0x1f3)]=Cesium['Matrix4']['fromTranslation'](_0x3a8fc5);}),building_style[_0x566a7d(0x1cf)]=new Cesium[(_0x566a7d(0x1a9))]({'pointSize':'3.0','show':!0x0,'color':_0x566a7d(0x207)}),building_style[_0x566a7d(0x1c8)]=new Cesium[(_0x566a7d(0x1a9))]({'pointSize':'3.0','show':!0x0,'color':{'conditions':[[_0x566a7d(0x1a2),'color(\x27#ffffff\x27,0)'],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2010000',_0x566a7d(0x1f7)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2012500',_0x566a7d(0x1c7)],[_0x566a7d(0x1ea),_0x566a7d(0x1ad)],[_0x566a7d(0x1ba),'color(\x27#e6f598\x27)'],[_0x566a7d(0x1ed),_0x566a7d(0x1b7)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2075000',_0x566a7d(0x202)],[_0x566a7d(0x1be),'color(\x27#fdae61\x27)'],[_0x566a7d(0x212),_0x566a7d(0x1d6)],[_0x566a7d(0x1c2),_0x566a7d(0x1b4)],[_0x566a7d(0x1a6),_0x566a7d(0x1b1)]]}}),building_style[_0x566a7d(0x1c6)]=new Cesium[(_0x566a7d(0x1a9))]({'pointSize':_0x566a7d(0x1ec),'show':!0x0,'color':{'conditions':[[_0x566a7d(0x1ee),_0x566a7d(0x1f1)],[_0x566a7d(0x1fb),'color(\x22#f46d43\x22)'],[_0x566a7d(0x1eb),_0x566a7d(0x1f4)],[_0x566a7d(0x1af),_0x566a7d(0x1ce)],[_0x566a7d(0x1dc),_0x566a7d(0x1e8)],[_0x566a7d(0x1c5),_0x566a7d(0x1ac)],[_0x566a7d(0x1df),_0x566a7d(0x1b5)],[_0x566a7d(0x1f5),'color(\x22#66c2a5\x22)'],['Number(${Specific_space_heating_demand})>=\x200',_0x566a7d(0x1de)],[_0x566a7d(0x1a6),_0x566a7d(0x1e3)]]}}),building_style[_0x566a7d(0x19f)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x566a7d(0x1ec),'show':!0x0,'color':{'conditions':[[_0x566a7d(0x1ca),_0x566a7d(0x19e)],[_0x566a7d(0x1d0),_0x566a7d(0x1d2)],['Number(${PV_potential_yield})\x20<\x203',_0x566a7d(0x1bd)],[_0x566a7d(0x1bb),'color(\x22#FECE02\x22)'],[_0x566a7d(0x206),_0x566a7d(0x20f)],[_0x566a7d(0x20b),_0x566a7d(0x1e4)],[_0x566a7d(0x1b6),_0x566a7d(0x1d1)],[_0x566a7d(0x1c3),'color(\x22#A4C711\x22)'],[_0x566a7d(0x1e9),_0x566a7d(0x1b9)],['true',_0x566a7d(0x1e3)]]}}),building_style['ElecDemand']=new Cesium[(_0x566a7d(0x1a9))]({'pointSize':'3.0','show':!0x0,'color':{'conditions':[[_0x566a7d(0x1a5),'color(\x27#ffffff\x27,0)'],[_0x566a7d(0x1e0),_0x566a7d(0x1f0)],['Number(${electric_load})\x20<\x204229000',_0x566a7d(0x1b8)],['Number(${electric_load})\x20<\x205229000',_0x566a7d(0x1aa)],[_0x566a7d(0x20c),_0x566a7d(0x1fd)],[_0x566a7d(0x201),_0x566a7d(0x1b2)],['true',_0x566a7d(0x1e7)]]}}),tileset_3Dbuildings[_0x566a7d(0x1a4)]=building_style[_0x566a7d(0x1cf)];};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];function _0x36c2(_0x127bad,_0xeec167){var _0x463aab=_0x463a();return _0x36c2=function(_0x36c2ec,_0x5f006e){_0x36c2ec=_0x36c2ec-0x19e;var _0x40ebdd=_0x463aab[_0x36c2ec];return _0x40ebdd;},_0x36c2(_0x127bad,_0xeec167);}Date['prototype'][_0x57d7d6(0x1d8)]=function(){var _0x1b5c93=_0x57d7d6;this[_0x1b5c93(0x208)]();var _0x4818b8=function(_0x1c4112){var _0x5b27ad=_0x1b5c93,_0x430af1=Math[_0x5b27ad(0x1e1)](Math[_0x5b27ad(0x1d9)](_0x1c4112));return(_0x430af1<0xa?'0':'')+_0x430af1;};return this[_0x1b5c93(0x203)]()+'-'+_0x4818b8(this[_0x1b5c93(0x209)]()+0x1)+'-'+_0x4818b8(this[_0x1b5c93(0x1a0)]())+_0x1b5c93(0x1fe);},Date[_0x57d7d6(0x1e5)][_0x57d7d6(0x1cd)]=function(){var _0x191172=_0x57d7d6;this[_0x191172(0x208)]();var _0x2119f6=function(_0x2f701e){var _0x14cae0=_0x191172,_0x1f229b=Math[_0x14cae0(0x1e1)](Math[_0x14cae0(0x1d9)](_0x2f701e));return(_0x1f229b<0xa?'0':'')+_0x1f229b;};return this['getFullYear']()+'-'+_0x2119f6(this[_0x191172(0x209)]()+0x1)+'-'+_0x2119f6(this[_0x191172(0x1a0)]())+_0x191172(0x1c1);};var dateEvent=new Date(),startTime=dateEvent[_0x57d7d6(0x1d8)](),stopTime=dateEvent['toIsoString_Stop']();viewer[_0x57d7d6(0x1da)][_0x57d7d6(0x211)]=Cesium['JulianDate'][_0x57d7d6(0x1d5)](startTime),$('#BuildingStyleSelector')['on'](_0x57d7d6(0x1d3),function(){var _0x4fa118=_0x57d7d6;tileset_3Dbuildings[_0x4fa118(0x1a4)]=building_style[this[_0x4fa118(0x1b3)]],$(_0x4fa118(0x1d7))[_0x4fa118(0x1a1)]();try{$('#'+this['value']+'-legend')[_0x4fa118(0x1bf)](),activateChart(this['value']);}catch(_0x5538f7){console[_0x4fa118(0x1a7)](_0x4fa118(0x1ef)+this[_0x4fa118(0x1b3)]+_0x4fa118(0x1a3));}}),$(_0x57d7d6(0x1fc))[_0x57d7d6(0x1d3)](function(){var _0x12ec16=_0x57d7d6;this['checked']?viewer[_0x12ec16(0x1ab)]=!0x0:viewer[_0x12ec16(0x1ab)]=!0x1;});