1.2、光伏设备管线拓扑
通过拓扑,了解其链接逻辑,更好的定位问题
文章插图
{modelBussiness.chartNames.push(name);var modeljson = {id: "",show: true,name: name,objType: "EchartPanel",position: { x: _obj.position.x , y: 10, z: _obj.position.z +1 },showSortNub: 400,side: 2,size: { width: 200, height:100, length: 0 },echartSize: {width: 1024, height: 512},scale: { x: 1, y: 1, z: 1 },backgroundColor: 0xFFFFFF,rotation: { x: -0.5236, y:0, z: 0 },};var zlnub = 1;var vo= {backgroundColor: "#2957A2",title: {text: zlnub + "#并网柜",textStyle: {color: "#fff",}, left: '2%', top: '0%'},graphic: [{type: "text",left: "2%",top: "15%",style: {text:[`运行状态:` + "充电",`SOC:` + "45%",`电流:` + "34A",`电压:` + "220V",`总有功功率:` + "345KW",`总无功功率:` + "-0.3kVar",`剩余电量:` + "345kWh"].join("\n"),font: "700 14px",fontSize: 14,fill: "#fff",textLineHeight: 14,}}],tooltip: {trigger: "axis",},//legend: {//data: ["最高电压", "最低电压"],//textStyle: {//color: "#fff",//},top: '5%'//},calculable: true,series: [{name: "最高电压",type: "line",min: 10,max: 40,data: [...],//markPoint: {//data: [{ name: "周最高", value: 39, xAxis: 2, yAxis: 39 }],//},lineStyle: {normal: {width: 2,color: {type: "linear",globalCoord: false, // 缺省为 false},shadowColor: "rgba(0,255,255, 1)",shadowBlur: 15,shadowOffsetY: 0,},},itemStyle: {normal: {color: "#AAF487",borderWidth: 2,borderColor: "#AAF487",},},smooth: true,markLine: {data: [{ type: "average", name: "平均值" }],},},],};;WT3DObj.addEchartPanel(WT3DObj, modeljson, option);}【three.js webgl3D光伏,3D太阳能能源,3D智慧光伏、光伏发电、清洁能源三维可视化解决方案——第十六课】 1.3、并网柜设备监测
查看并网柜实时数据与历史曲线
文章插图
if (modelBussiness.chartNames.length >= 0) {var chartModels = WT3DObj.commonFunc.findObjectsByNames(modelBussiness.chartNames);$.each(chartModels, function (_index, _chartobj) {if (_chartobj.name.indexOf("dev_bygcb_") >= 0) {(function (_obj) {var dataparam = _obj.name.replace("dev_bygcb_", "").replace("EchartPanel", "");webapi.getLoadData(dataparam, function (result) {var newxdata = https://www.huyubaike.com/biancheng/[];var newxValues = [];var data = result.inDays;$.each(data, function (_di, _do) {newxdata.push(_do.name);newxValues.push(_do.value);});_obj.myChartOption.xAxis[0].data = newxdata;_obj.myChartOption.series[0].data = newxValues;_obj.myChartOption.graphic[0].style.text = [`运行状态:` + result.status,`SOC:` + result.soc,`电流:` + result.ia,`电压:` + result.ua,`总有功功率:` + result.p,`总无功功率:` + result.q,`剩余电量:` + result.sp].join("\n");_obj.myChart.setOption(_obj.myChartOption);_obj.freshData();});})(_chartobj);}});}1.4、逆变器设别监测
监测逆变器信息
文章插图
/* ==========================逆变器模块.================================================ */ModelBussiness.prototype.showNBQModels = function (callBack) {var _this = this;modelBussiness.hideVitureDevs(null, function () {modelBussiness.doFlashChart = true;if (callBack) {callBack();}});WT3DObj.commonFunc.changeCameraPosition({ x: -7847.362298856568, y: 2349.326497907068, z: 6092.394946263032 }, { x: -3839.311641139668, y: 336.68538867317926, z: 896.2806691329519 }, 1000,function () {setTimeout(function () {WT3DObj.commonFunc.changeCameraPosition({ x: -5823.791307544135, y: 546.2227755970467, z: 1683.797033787011 },{ x: -5258.110268870251, y: 166.46700423551266, z: 983.0003887760242 }, 1000,function () {});}, 2000);});}
经验总结扩展阅读
- three.js 如何用webgl搭建一个3D库房,3D仓库3D码头,3D集装箱,车辆定位,叉车定位可视化孪生系统——第十五课
- three.js 如何用webgl搭建一个3D库房,3D仓库,3D码头,3D集装箱可视化孪生系统——第十五课
- 出租屋顶安装光伏发电对房屋有害吗
- 光伏玻璃的原材料是什么
- 2023光伏工程技术专业学什么课程 就业前景及方向
- 如何清洗光伏发电组件
- 搞笑GIF:光伏电站的技术和施工人员都明白“接地”的重要性