var _0x4341e4=_0x31fb;(function(_0x4e9b2d,_0x54e61c){var _0x581079=_0x31fb,_0x2e6da1=_0x4e9b2d();while(!![]){try{var _0x332d36=-parseInt(_0x581079(0x258))/0x1*(-parseInt(_0x581079(0x202))/0x2)+-parseInt(_0x581079(0x2b3))/0x3+-parseInt(_0x581079(0x2bc))/0x4+parseInt(_0x581079(0x2ba))/0x5+-parseInt(_0x581079(0x25a))/0x6+parseInt(_0x581079(0x20b))/0x7+parseInt(_0x581079(0x1df))/0x8*(parseInt(_0x581079(0x1d2))/0x9);if(_0x332d36===_0x54e61c)break;else _0x2e6da1['push'](_0x2e6da1['shift']());}catch(_0x415436){_0x2e6da1['push'](_0x2e6da1['shift']());}}}(_0x425a,0x57c79),$(document)[_0x4341e4(0x22b)](function(){var _0x3445ff=_0x4341e4;$(_0x3445ff(0x26e))[_0x3445ff(0x28a)]();}));var PVPotential_legend_context=_0x4341e4(0x2a7);$('#PVPotential-legend')[_0x4341e4(0x1f4)]>0x0&&$(_0x4341e4(0x2bf))[_0x4341e4(0x263)](PVPotential_legend_context);var PVSpecificYield_legend_context=_0x4341e4(0x27a);function _0x425a(){var _0x30556e=['JAN','originalColor','createElement','Cesium3DTileStyle','LEFT_CLICK','color(\x27#E8F1F2\x27,\x200.5)','14pt\x20sans-serif','BusMode','features','series','JulianDate','December\x20Heating\x20Demand','citygml_measured_height','VelocityOrientationProperty','color(\x22#e6f598\x22)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Gross\x20volume | ','change','color(\x22white\x22,0)','1.0','LAGRANGE','getElementById','color(\x22#FE9929\x22)','error\x20adding\x20ArcGIS\x20WMTS:\x20','screenSpaceEventHandler','gml_id','getFullYear','ready','category','primitives','ArcGisMapServerImageryProvider'];_0x425a=function(){return _0x30556e;};return _0x425a();}$('#PVSpecificYield-legend')['length']>0x0&&$('#PVSpecificYield-legend')[_0x4341e4(0x263)](PVSpecificYield_legend_context);var heat_demand_legend_context='\x0aAnnual\x20Heat\x20Demand\x20in\x20MW⋅hth\x20\x20 \x0a\x20>=\x20200 \x0a\x20100\x20-\x20200 \x0a\x2075\x20-\x20100 \x0a\x2050\x20-\x2075 \x0a\x2035\x20-\x2050 \x0a\x2017.5\x20-\x2035 \x0a\x2012.5\x20-\x2017.5 \x0a\x2010\x20-\x2012.5 \x0a\x200\x20-\x2010 \x0a';$(_0x4341e4(0x1f1))[_0x4341e4(0x1f4)]>0x0&&$(_0x4341e4(0x1f1))[_0x4341e4(0x263)](heat_demand_legend_context),Cesium[_0x4341e4(0x1c3)][_0x4341e4(0x295)]='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZTkyOTcyNC0yMGFkLTQ2ZjktODA5YS0xYjY1N2QwM2Y2ZmMiLCJpZCI6NDM2NDUsImlhdCI6MTYxMjkyNDgwNX0.12Xvbhtt_c2Y2RGA6J_J906Vdn1iOKZKPur0SASh-gk';var viewer=new Cesium[(_0x4341e4(0x247))]('cesiumContainer',{'terrainProvider':Cesium['createWorldTerrain'](),'baseLayerPicker':!0x0,'vrButton':!0x1,'geocoder':!0x0,'navigationHelpButton':!0x1,'selectionIndicator':!0x0,'shadows':!0x1,'timeline':!0x0,'sceneModePicker':!0x1,'homeButton':!0x1,'fullscreenButton':!0x0,'infoBox':!0x1,'imageryProvider':new Cesium[(_0x4341e4(0x22e))]({'url':_0x4341e4(0x278)})});$('#full-screen-button')[_0x4341e4(0x210)](function(){var _0x1816d4=_0x4341e4;Cesium['Fullscreen'][_0x1816d4(0x1cf)](document[_0x1816d4(0x1c4)]);}),Cesium[_0x4341e4(0x1ec)][_0x4341e4(0x2a9)]=!0x0;var homeCameraView={'destination':{'x':-3447610.163256134,'y':4035558.08021155,'z':3526721.814467922},'orientation':{'direction':{'x':-0.3228353906545565,'y':-0.9232459949887203,'z':0.2083126095036207},'up':{'x':-0.663817634371156,'y':0.3777599007354034,'z':0.6454793611683185}}};viewer[_0x4341e4(0x23f)][_0x4341e4(0x2b1)](homeCameraView);function _0x31fb(_0x3f0000,_0x1603c9){var _0x425a80=_0x425a();return _0x31fb=function(_0x31fb31,_0x1a1bb4){_0x31fb31=_0x31fb31-0x1c3;var _0x49bd2a=_0x425a80[_0x31fb31];return _0x49bd2a;},_0x31fb(_0x3f0000,_0x1603c9);}var building_style=[],addBuilding=function(){var _0x1d760d=_0x4341e4;try{tileset_3Dbuildings=viewer[_0x1d760d(0x20e)][_0x1d760d(0x22d)][_0x1d760d(0x207)](new Cesium['Cesium3DTileset']({'url':_0x1d760d(0x2ca),'maximumScreenSpaceError':0x8})),tileset_3Dbuildings2=viewer[_0x1d760d(0x20e)][_0x1d760d(0x22d)][_0x1d760d(0x207)](new Cesium['Cesium3DTileset']({'url':_0x1d760d(0x212),'maximumScreenSpaceError':0x8}));}catch(_0x3dca94){}tileset_3Dbuildings[_0x1d760d(0x293)][_0x1d760d(0x1f5)](function(){var _0x4980b3=_0x1d760d,_0x540e23=tileset_3Dbuildings[_0x4980b3(0x2c8)],_0x65d21d=Cesium['Cartographic'][_0x4980b3(0x2a0)](_0x540e23[_0x4980b3(0x27b)]),_0x317f62=Cesium[_0x4980b3(0x2a1)]['fromRadians'](_0x65d21d[_0x4980b3(0x214)],_0x65d21d[_0x4980b3(0x28e)],0x0),_0x45395f=Cesium['Cartesian3'][_0x4980b3(0x2ce)](_0x65d21d[_0x4980b3(0x214)],_0x65d21d[_0x4980b3(0x28e)],37.5),_0x96a81d=Cesium[_0x4980b3(0x2a1)][_0x4980b3(0x2b5)](_0x45395f,_0x317f62,new Cesium[(_0x4980b3(0x2a1))]());tileset_3Dbuildings['modelMatrix']=Cesium[_0x4980b3(0x283)][_0x4980b3(0x201)](_0x96a81d),viewer[_0x4980b3(0x2b8)](tileset_3Dbuildings);}),tileset_3Dbuildings2[_0x1d760d(0x293)][_0x1d760d(0x1f5)](function(){var _0x4c0481=_0x1d760d,_0x9dffeb=tileset_3Dbuildings2['boundingSphere'],_0x77e23e=Cesium[_0x4c0481(0x1d1)][_0x4c0481(0x2a0)](_0x9dffeb['center']),_0x57c2ae=Cesium[_0x4c0481(0x2a1)][_0x4c0481(0x2ce)](_0x77e23e[_0x4c0481(0x214)],_0x77e23e[_0x4c0481(0x28e)],0x0),_0x1f7b55=Cesium[_0x4c0481(0x2a1)][_0x4c0481(0x2ce)](_0x77e23e[_0x4c0481(0x214)],_0x77e23e[_0x4c0481(0x28e)],37.5),_0x174fdd=Cesium[_0x4c0481(0x2a1)][_0x4c0481(0x2b5)](_0x1f7b55,_0x57c2ae,new Cesium['Cartesian3']());tileset_3Dbuildings2['modelMatrix']=Cesium['Matrix4'][_0x4c0481(0x201)](_0x174fdd);}),building_style[_0x1d760d(0x2cd)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x1d760d(0x2ab),'show':!0x0,'color':{'conditions':[['true',_0x1d760d(0x1e9)]]}}),building_style[_0x1d760d(0x2ad)]=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[['true',_0x1d760d(0x2a4)]]}}),building_style[_0x1d760d(0x1d7)]=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[[_0x1d760d(0x2b7),_0x1d760d(0x1ca)],[_0x1d760d(0x1c7),'color(\x22#FEE391\x22)'],[_0x1d760d(0x204),_0x1d760d(0x29a)],[_0x1d760d(0x21d),_0x1d760d(0x226)],[_0x1d760d(0x24c),_0x1d760d(0x21a)],['Number(${PV_potential_yield})\x20<\x2030',_0x1d760d(0x267)],['Number(${PV_potential_yield})\x20>=\x2030',_0x1d760d(0x1d5)],[_0x1d760d(0x275),_0x1d760d(0x1e9)]]}}),building_style['PVSpecificYield']=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[[_0x1d760d(0x259),_0x1d760d(0x1ca)],[_0x1d760d(0x29b),_0x1d760d(0x2af)],[_0x1d760d(0x285),_0x1d760d(0x29a)],[_0x1d760d(0x253),_0x1d760d(0x226)],[_0x1d760d(0x1eb),_0x1d760d(0x21a)],['Number(${PV_specific_yield})\x20<\x201100','color(\x22#CC4C02\x22)'],[_0x1d760d(0x269),_0x1d760d(0x1d5)],['true','color(\x27#ffffff\x27)']]}}),building_style[_0x1d760d(0x29c)]=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[[_0x1d760d(0x1e1),_0x1d760d(0x1e9)],[_0x1d760d(0x270),_0x1d760d(0x2ae)],[_0x1d760d(0x273),_0x1d760d(0x1e7)],[_0x1d760d(0x2cf),'color(\x27#fdae6b\x27)'],['${Electric_Demand}\x20<\x206229',_0x1d760d(0x2b0)],[_0x1d760d(0x2c7),'color(\x27#e6550d\x27)'],['true','color(\x27#a63603\x27,\x200.5)']]}}),building_style['height']=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[[_0x1d760d(0x211),_0x1d760d(0x242)],[_0x1d760d(0x279),_0x1d760d(0x21f)],['Number(${計測高さ})\x20<\x2020',_0x1d760d(0x1e5)],[_0x1d760d(0x2a8),_0x1d760d(0x28c)],['Number(${計測高さ})\x20>=\x2030','color(\x27#253494\x27)'],[_0x1d760d(0x275),_0x1d760d(0x234)]]}}),tileset_3Dbuildings['style']=building_style[_0x1d760d(0x2cd)],building_style[_0x1d760d(0x2b4)]=new Cesium[(_0x1d760d(0x232))]({'show':!0x0,'color':{'conditions':[[_0x1d760d(0x29d),_0x1d760d(0x27e)],[_0x1d760d(0x205),_0x1d760d(0x241)],[_0x1d760d(0x1ea),'color(\x22#fdae61\x22)'],[_0x1d760d(0x213),_0x1d760d(0x2c3)],[_0x1d760d(0x216),_0x1d760d(0x272)],['Number(${Specific_space_heating_demand})>=\x2075',_0x1d760d(0x23d)],[_0x1d760d(0x1c9),'color(\x22#abdda4\x22)'],[_0x1d760d(0x1d0),_0x1d760d(0x2c4)],[_0x1d760d(0x2cb),_0x1d760d(0x288)],[_0x1d760d(0x275),_0x1d760d(0x222)]]}});};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];Date[_0x4341e4(0x1d3)][_0x4341e4(0x28b)]=function(){var _0x15a033=_0x4341e4;this[_0x15a033(0x1da)]();var _0x352bb2=function(_0x14fb99){var _0x4aa60c=_0x15a033,_0x21fcac=Math['floor'](Math[_0x4aa60c(0x262)](_0x14fb99));return(_0x21fcac<0xa?'0':'')+_0x21fcac;};return this[_0x15a033(0x22a)]()+'-'+_0x352bb2(this[_0x15a033(0x1fb)]()+0x1)+'-'+_0x352bb2(this[_0x15a033(0x200)]())+_0x15a033(0x286);},Date[_0x4341e4(0x1d3)][_0x4341e4(0x1ff)]=function(){var _0xdd1339=_0x4341e4;this[_0xdd1339(0x1da)]();var _0x116d8a=function(_0xda94cc){var _0x3755ea=_0xdd1339,_0x4e469f=Math[_0x3755ea(0x1f3)](Math[_0x3755ea(0x262)](_0xda94cc));return(_0x4e469f<0xa?'0':'')+_0x4e469f;};return this['getFullYear']()+'-'+_0x116d8a(this[_0xdd1339(0x1fb)]()+0x1)+'-'+_0x116d8a(this['getDate']())+_0xdd1339(0x265);};var layer_district,layer_district_line,layer_temperature,dateEvent=new Date(),startTime=dateEvent['toIsoString_Start'](),stopTime=dateEvent[_0x4341e4(0x1ff)]();viewer['clock'][_0x4341e4(0x27c)]=Cesium[_0x4341e4(0x239)][_0x4341e4(0x243)](startTime),$('#BuildingStyleSelector')['on'](_0x4341e4(0x221),function(){var _0x133fcc=_0x4341e4;tileset_3Dbuildings[_0x133fcc(0x203)]=building_style[this[_0x133fcc(0x2c0)]],$(_0x133fcc(0x1c8))[_0x133fcc(0x28a)]();try{$('#'+this['value']+'-legend')['show']();}catch(_0x560978){}}),$('#shadow_check')[_0x4341e4(0x221)](function(){var _0x55a799=_0x4341e4;this[_0x55a799(0x266)]?viewer[_0x55a799(0x1f6)]=!0x0:viewer[_0x55a799(0x1f6)]=!0x1;}),$(_0x4341e4(0x2d2))[_0x4341e4(0x221)](function(){var _0xbcd8a8=_0x4341e4;this[_0xbcd8a8(0x266)]?tileset_3Dbuildings['show']=!0x0:tileset_3Dbuildings[_0xbcd8a8(0x209)]=!0x1;}),$(_0x4341e4(0x1de))['change'](function(){var _0x368a08=_0x4341e4;if(console[_0x368a08(0x24d)](_0x368a08(0x21e)),this[_0x368a08(0x266)])try{layer=new Cesium[(_0x368a08(0x22e))]({'url':_0x368a08(0x218)}),layer_district=viewer[_0x368a08(0x1db)][_0x368a08(0x28f)](layer);}catch(_0x352f8b){print(_0x368a08(0x227)+_0x352f8b);}else try{viewer[_0x368a08(0x1db)][_0x368a08(0x290)](layer_district);}catch(_0x107b92){print(_0x368a08(0x2d0)+_0x107b92);}}),$('#district_line_checkbox')[_0x4341e4(0x221)](function(){var _0x180735=_0x4341e4;if(console[_0x180735(0x24d)]('district_line_checkbox\x20checked...'),this[_0x180735(0x266)])try{layer=new Cesium['ArcGisMapServerImageryProvider']({'url':_0x180735(0x245)}),layer_district_line=viewer[_0x180735(0x1db)][_0x180735(0x28f)](layer);}catch(_0x489456){print(_0x180735(0x227)+_0x489456);}else try{viewer[_0x180735(0x1db)][_0x180735(0x290)](layer_district_line);}catch(_0x58aa8e){print(_0x180735(0x2d0)+_0x58aa8e);}});const APPID='9b52c757d3a97201d3bed498849d95f3';$(_0x4341e4(0x251))[_0x4341e4(0x221)](function(){var _0x575d26=_0x4341e4;if(console['log'](_0x575d26(0x292)),this['checked'])try{layer=new Cesium['UrlTemplateImageryProvider']({'url':_0x575d26(0x1e3)+APPID+_0x575d26(0x208)}),layer_temperature=viewer[_0x575d26(0x1db)][_0x575d26(0x28f)](layer);}catch(_0x3d438f){print('error\x20adding\x20Tile\x20OpenWeather:\x20'+_0x3d438f);}else try{viewer['imageryLayers']['remove'](layer_temperature);}catch(_0x32d975){print(_0x575d26(0x1ed)+_0x32d975);}});var busRoutePromise,bus,url=_0x4341e4(0x1fd),czml=[],bus_id=_0x4341e4(0x1d4);function addBusRoute(){var _0x16baa6=_0x4341e4;(busRoutePromise=Cesium[_0x16baa6(0x1d6)][_0x16baa6(0x20c)](czml))[_0x16baa6(0x1f5)](function(_0x54a829){var _0xaf5103=_0x16baa6;viewer['dataSources'][_0xaf5103(0x207)](_0x54a829)['then'](function(){var _0x51ad3c=_0xaf5103;(bus=_0x54a829['entities'][_0x51ad3c(0x250)](bus_id))['orientation']=new Cesium[(_0x51ad3c(0x23c))](bus[_0x51ad3c(0x240)]);});});}$[_0x4341e4(0x2c9)](url,function(_0x2cdc98){var _0x57d064=_0x4341e4,_0x1bd762=_0x2cdc98[_0x57d064(0x237)][0x0]['properties']['datetime'][0x0][_0x57d064(0x299)](_0x57d064(0x1d9),'Z'),_0x195f72=_0x2cdc98[_0x57d064(0x237)][0x0][_0x57d064(0x1f7)][_0x57d064(0x1f2)][_0x2cdc98['features'][0x0][_0x57d064(0x1f7)]['datetime'][_0x57d064(0x1f4)]-0x1][_0x57d064(0x299)](_0x57d064(0x1d9),'Z');czml=[{'id':_0x57d064(0x21b),'name':'DataGarmin_11_22_2017_1','version':_0x57d064(0x223),'clock':{'interval':_0x1bd762+'/'+_0x195f72,'currentTime':_0x1bd762,'multiplier':0x3,'range':_0x57d064(0x1ef),'step':_0x57d064(0x268)}},{'id':bus_id,'name':_0x57d064(0x281),'availability':_0x1bd762+'/'+_0x195f72,'ellipsoid':{'radii':{'cartesian':[0x5,0x5,0x5]},'fill':!0x0,'material':{'solidColor':{'color':{'rgba':[0xff,0x0,0x0,0xff]}}}},'label':{'text':_0x57d064(0x2c1),'font':_0x57d064(0x235),'heightReference':_0x57d064(0x25d),'showBackground':_0x57d064(0x275),'horizontalOrigin':_0x57d064(0x291),'verticalOrigin':_0x57d064(0x280),'backgroundPadding':{'cartesian2':[0x14,0x8]},'pixelOffset':{'cartesian2':[0x32,-0x32]},'backgroundColor':{'rgba':[0x0,0x0,0x0,0xa0]},'disableDepthTestDistance':0xf423f},'path':{'show':[{'interval':_0x1bd762+'/'+_0x195f72,'boolean':!0x0}],'width':0x4,'material':{'polylineOutline':{'color':{'rgba':[0x0,0xff,0x32,0x32]},'outlineColor':{'rgba':[0x0,0x0,0x0,0x32]},'outlineWidth':0x1}},'resolution':0x4b0,'leadTime':0x0,'clampToGround':!0x0},'position':{'interpolationAlgorithm':_0x57d064(0x224),'interpolationDegree':0x5,'cartographicDegrees':[]}}];for(const _0x4ef8e0 of _0x2cdc98[_0x57d064(0x237)])for(let _0x44560a=0x0;_0x44560a<_0x4ef8e0['properties']['datetime']['length'];_0x44560a++){const _0x2ab646=_0x4ef8e0[_0x57d064(0x1f7)][_0x57d064(0x1f2)][_0x44560a][_0x57d064(0x299)](_0x57d064(0x1d9),'Z'),_0x43ca4b=_0x4ef8e0[_0x57d064(0x289)][_0x57d064(0x298)][_0x44560a],_0x4800be=_0x43ca4b[0x0],_0x539fde=_0x43ca4b[0x1],_0x57949e=_0x43ca4b[0x2]+0x1e;czml[0x1][_0x57d064(0x240)]['cartographicDegrees']['push'](_0x2ab646,_0x4800be,_0x539fde,_0x57949e);}});var freeModeElement=document[_0x4341e4(0x225)]('freeMode'),BusMode=document[_0x4341e4(0x225)](_0x4341e4(0x236));function setViewMode(){var _0x26bb97=_0x4341e4;BusMode[_0x26bb97(0x266)]?(console[_0x26bb97(0x24d)](_0x26bb97(0x29f)),bus['viewFrom']=new Cesium[(_0x26bb97(0x2a1))](-0x1c2,-0x1c2,0x1f4),viewer[_0x26bb97(0x2bd)]=bus):(freeModeElement[_0x26bb97(0x266)],console[_0x26bb97(0x24d)](_0x26bb97(0x2a3)),viewer[_0x26bb97(0x2bd)]=void 0x0,viewer[_0x26bb97(0x20e)][_0x26bb97(0x23f)][_0x26bb97(0x2b8)](homeCameraView));}freeModeElement[_0x4341e4(0x215)](_0x4341e4(0x221),setViewMode),BusMode['addEventListener'](_0x4341e4(0x221),setViewMode),$(document)[_0x4341e4(0x22b)](function(){addBusRoute();});var drawChart=function(_0x35c398){var _0x15a0aa=_0x4341e4,_0x4344e1,_0x5c844b=document[_0x15a0aa(0x225)]('simstadt_chart'),_0xb7ef88=echarts['init'](_0x5c844b);(_0x4344e1={'color':[_0x15a0aa(0x276),_0x15a0aa(0x2b9)],'tooltip':{'trigger':'axis','axisPointer':{'type':_0x15a0aa(0x2be)}},'legend':{},'grid':{'top':0x46,'bottom':0x32},'xAxis':[{'type':_0x15a0aa(0x22c),'axisTick':{'alignWithLabel':!0x0},'axisLine':{'onZero':!0x1},'data':[_0x15a0aa(0x22f),'FEB',_0x15a0aa(0x20f),_0x15a0aa(0x1d8),_0x15a0aa(0x2a6),'JUN','JUL','AUG',_0x15a0aa(0x260),_0x15a0aa(0x2c5),'NOV','DEC']}],'yAxis':[{'type':_0x15a0aa(0x2c0),'name':'Heat\x20Demand'},{'type':'value','name':'Air\x20Temperature','axisLabel':{'formatter':'{value}\x20°C'}}],'series':[{'name':'Heat\x20Demand','type':'bar','xAxisIndex':0x0,'smooth':!0x0,'yAxisIndex':0x0,'tooltip':{'valueFormatter':function(_0xd257c3){var _0x29f428=_0x15a0aa;return _0xd257c3+_0x29f428(0x2ac);}},'emphasis':{'focus':_0x15a0aa(0x238)},'data':_0x35c398},{'name':_0x15a0aa(0x1e8),'type':_0x15a0aa(0x1cd),'yAxisIndex':0x1,'tooltip':{'valueFormatter':function(_0x433c73){var _0x3ad27c=_0x15a0aa;return _0x433c73+_0x3ad27c(0x1ce);}},'data':[0x9,0xa,0xd,0x12,0x16,0x19,0x1d,0x1e,0x1a,0x16,0x10,0xb]}]})&&_0xb7ef88[_0x15a0aa(0x24f)](_0x4344e1);};const highlighted={'feature':void 0x0,'originalColor':new Cesium[(_0x4341e4(0x26a))]()},nameOverlay=document[_0x4341e4(0x231)](_0x4341e4(0x2d1));viewer[_0x4341e4(0x26f)][_0x4341e4(0x257)](nameOverlay),nameOverlay[_0x4341e4(0x252)]='backdrop',nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x1c6)]=_0x4341e4(0x24b),nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x240)]=_0x4341e4(0x294),nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x1dc)]='0',nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x282)]='0',nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x26c)]=_0x4341e4(0x24b),nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x256)]=_0x4341e4(0x26d),nameOverlay[_0x4341e4(0x203)][_0x4341e4(0x261)]=_0x4341e4(0x1c5);const selected={'feature':void 0x0,'originalColor':new Cesium[(_0x4341e4(0x26a))]()},selectedEntity=new Cesium[(_0x4341e4(0x284))](),clickHandler=viewer[_0x4341e4(0x228)][_0x4341e4(0x206)](Cesium[_0x4341e4(0x1e4)][_0x4341e4(0x233)]);viewer[_0x4341e4(0x228)][_0x4341e4(0x248)](function(_0x4aab9e){var _0x3179f1=_0x4341e4;Cesium['defined'](selected[_0x3179f1(0x219)])&&(selected[_0x3179f1(0x219)][_0x3179f1(0x2bb)]=selected[_0x3179f1(0x230)],selected['feature']=void 0x0,$(_0x3179f1(0x2a2))[_0x3179f1(0x263)](''),$(_0x3179f1(0x27d))['hide']());const _0x1fbf96=viewer[_0x3179f1(0x20e)][_0x3179f1(0x28d)](_0x4aab9e[_0x3179f1(0x240)]);if(Cesium[_0x3179f1(0x25c)](_0x1fbf96)){if(selected[_0x3179f1(0x219)]!==_0x1fbf96&&(selected[_0x3179f1(0x219)]=_0x1fbf96,last_picked_3DTiles=_0x1fbf96,!_0x1fbf96['id'])){var _0x4940d3=last_picked_3DTiles[_0x3179f1(0x20a)]();_0x1fbf96===highlighted[_0x3179f1(0x219)]?(Cesium[_0x3179f1(0x26a)]['clone'](highlighted[_0x3179f1(0x230)],selected[_0x3179f1(0x230)]),highlighted['feature']=void 0x0):Cesium['Color']['clone'](_0x1fbf96[_0x3179f1(0x2bb)],selected[_0x3179f1(0x230)]),_0x1fbf96[_0x3179f1(0x2bb)]=Cesium[_0x3179f1(0x26a)]['LIME'];const _0x725618=_0x1fbf96['getProperty'](_0x3179f1(0x2cc));selectedEntity[_0x3179f1(0x2cc)]=_0x725618,attribute_text='',monthly_heating_demand=[_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x21c)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1dd)),_0x1fbf96['getProperty']('March\x20Heating\x20Demand'),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x29e)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x24e)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1e2)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x27f)),_0x1fbf96[_0x3179f1(0x1e0)]('August\x20Heating\x20Demand'),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x2b6)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x296)),_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x20d)),_0x1fbf96['getProperty'](_0x3179f1(0x23a))];for(let _0xc974c5=0x0;_0xc974c5<_0x4940d3['length'];_0xc974c5++){const _0x1ecc06=_0x4940d3[_0xc974c5];null!==_0x1fbf96[_0x3179f1(0x1e0)](_0x1ecc06)&&(attribute_text+=_0x3179f1(0x217)+_0x1ecc06+_0x3179f1(0x246)+_0x1fbf96[_0x3179f1(0x1e0)](_0x1ecc06)+_0x3179f1(0x244));}table_attribute_html='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 CityGML\x20Attribute\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gml_id | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x229))+_0x3179f1(0x277)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x287))+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20citygml_measured_height | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x23b))+_0x3179f1(0x25e)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x271))+_0x3179f1(0x25b)+_0x1fbf96['getProperty']('建物ID')+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 SimStadt\x20Building\x20Simulation\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Module\x20area/Surface\x20area | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1fc))+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Irradiance\x20in\x20module\x20plane | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1fe))+_0x3179f1(0x1cc)+_0x1fbf96[_0x3179f1(0x1e0)]('PV\x20potential\x20nominal\x20power')+_0x3179f1(0x2c6)+_0x1fbf96['getProperty'](_0x3179f1(0x26b))+_0x3179f1(0x24a)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1f0))+_0x3179f1(0x25f)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x254))+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Net\x20present\x20value | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x297))+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x20rate\x20of\x20return | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1f8))+_0x3179f1(0x1ee)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1cb))+_0x3179f1(0x23e)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x2a5))+_0x3179f1(0x249)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x2aa))+_0x3179f1(0x2c2)+_0x1fbf96[_0x3179f1(0x1e0)]('Total\x20wall\x20thermal\x20area\x20above\x20ground')+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Total\x20roof\x20area | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x274))+_0x3179f1(0x220)+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x1f9))+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Total\x20Yearly\x20Heat+DHW\x20demand | '+_0x1fbf96[_0x3179f1(0x1e0)]('Total\x20Yearly\x20Heat+DHW\x20demand')+' | \x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Specific\x20domestic\x20hot\x20water\x20demand | '+_0x1fbf96[_0x3179f1(0x1e0)](_0x3179f1(0x264))+_0x3179f1(0x1fa)+_0x1fbf96[_0x3179f1(0x1e0)]('Heated\x20area')+_0x3179f1(0x1e6)+_0x1fbf96['getProperty'](_0x3179f1(0x255))+_0x3179f1(0x2b2),$(_0x3179f1(0x2a2))['html'](table_attribute_html),drawChart(monthly_heating_demand);}}else clickHandler(_0x4aab9e);},Cesium[_0x4341e4(0x1e4)][_0x4341e4(0x233)]); |
---|
|
---|