![7348dc8fff3ea811f7fc0d903bcbd4a0.png](https://i-blog.csdnimg.cn/blog_migrate/1118be524551810f51907a9be65d6079.jpeg)
你好这里是牛侃BIM,我是你们的老朋友彩虹直至黑白L。
![e02da5f9c161696c7ff2451a8f79005b.png](https://i-blog.csdnimg.cn/blog_migrate/889f4011d7e833cd19d66eb42581abf7.jpeg)
![c3a66c1aa04099cd7dd511c5cb8e0354.png](https://i-blog.csdnimg.cn/blog_migrate/3c10da14d5b1cf1ce733e0fddea195ab.jpeg)
![8c4af13d6ea457e4f2eb450b1f12acd0.png](https://i-blog.csdnimg.cn/blog_migrate/b28659b13802270ff352782922e52e61.jpeg)
![7a8422f01186dfb00e2ab8e9875a733b.png](https://i-blog.csdnimg.cn/blog_migrate/9898349e7fdac8bca42c6964839b6b1a.jpeg)
![101a7dacd1990b01722b83c71aa28a31.png](https://i-blog.csdnimg.cn/blog_migrate/abdfbd6d188ef7c36610dadd6325f8d2.jpeg)
看到以上的几张图大家一定想知道其背后的工作流程,这其实是一个非常简单的工作流程,我们以上图中涉及到的软件有Dynamo、Openstudio,在Revit中我们可以导出gbxml分析模型对建筑进行建筑性能模拟分析,但是revit模型导出建筑模拟分析时候存在数据交互的问题,gbxml文件似乎无法承载我们需要的数据。
在传统的能耗模拟软件中,比如equest建模极其复杂不友好,legacy openstudio插件实现了su模型到分析模型的互通,但是对于非线性建筑,我们需要建筑Dynamo以及Grasshopper等参数化可视化编程软件辅助设计,我给大家要介绍的是基于Dynamo开发的一个插件Topologic,Topologic保持了拓扑的一致性,所以用户可以查询这些细胞空间和表面的拓扑数据,从而进行各种分析。它可将我们Dynamo创建的模型很好的实现数据传递给Openstudio。
接下来介绍Topologic的安装和注意事项
首先需要登录Topologic的网站:https://topologic.app/,大家可以使用网页翻译工具转为中文
![4d2d58aebe682942f3ef1da0d30a06d8.png](https://i-blog.csdnimg.cn/blog_migrate/56623d764c5a3d6176acf4da87101669.jpeg)
我们可以点击下载界面,这里我们可以看到grasshopper版本和dynamo版本,软件安装包我会打包上传分享给各位朋友
![5d3868a39863c369f84bc2419ec3698c.png](https://i-blog.csdnimg.cn/blog_migrate/4cd52fa89aaf684e86fbc7e53768f666.jpeg)
![fc65da73db7833dafff086c07e885352.png](https://i-blog.csdnimg.cn/blog_migrate/ce7ac6e02e4797c4929aac473342154b.png)
软件的安装注意以下两步即可
![f59cede57b2db4fab98d1164caef500c.png](https://i-blog.csdnimg.cn/blog_migrate/deea1947aa283d85a3928ae9dcc322e8.png)
![661c51bff2cbc5774c4729001c1dcb64.png](https://i-blog.csdnimg.cn/blog_migrate/9735a3728426256b4fa3d7ff496857e8.png)
之后我们打开dynamo就会发现在dynamo的节点包中可以看到Topologic和TopologicEnergy,如果大家在之前安装时候选择了dynamo core就不会看到这两选项的出现,解决办法是将dynamocore下packeges下的topologic拷贝到dynamo revit文件夹下的packeges
![e73b93aff6b31e0941cfdf4c40a40b85.png](https://i-blog.csdnimg.cn/blog_migrate/df8bb2f8667e7037b040dbb6b037d987.png)
之后我们需要安装openstudio2.8版本,安装包我在文末打包发出来。
接下来就是在dynamo中操作的环节了总体分为以下几步:01建立拓扑模型02转化为能耗分析模型03对能耗分析模型进行模拟04得出模拟结果及结果可视化
01建立拓扑模型(这里需要注意以下几点知识,其实就是拓扑的顶点,线、面、区域以及区域集合)Topology: A Topology is an abstractsuperclass that stores constructors, properties and methods used by othersubclasses that extend it.• Vertex: A Vertex is a zero-dimensional entityequivalent to a geometry point. • Edge: An Edge is a one-dimensional entitydefined by two vertices. It is important to note that while a topologic edge ismade of two vertices, its geometry can be a curve with multiple controlvertices. •Wire: A Wire is a contiguous collection of Edges where adjacent Edges areconnected by shared Vertices. It may be open or closed and may be manifold ornon-manifold. • Face: A Face is a two-dimensional region defined by acollection of closed Wires. The geometry of a face can be flat or undulating.• Shell: A Shell is a contiguous collectionof Faces, where adjacent Faces are connected by shared Edges. It may be open orclosed and may be manifold or non-manifold.• Cell: A Cell is a three-dimensionalregion defined by a collection of closed Shells. It may be manifold or non-manifold. •CellComplex: A CellComplex is a contiguous collection of Cells where adjacentCells are connected by shared Faces. It is non- manifold.• Cluster: A Cluster is a collection of anytopologic entities. It may be contiguous or not and may be manifold or non-manifold. Clusters can be nested within other Clusters创建建筑轮廓,在dynamo中创建一个立方体并使用Topology.ByGeometry做转化
![6b755385fdae3ed65fa4450476102e49.png](https://i-blog.csdnimg.cn/blog_migrate/d3f0234c23aa883a0978e5b3f37cab28.jpeg)
![8ed17eaa16d51ef1c5beb8cd5e4740e2.png](https://i-blog.csdnimg.cn/blog_migrate/5ff7a327ca209a32e7ce9691cfca592e.jpeg)
层划分,通过建立长方形再使用Topology.ByGeometry转化,之后通过拓扑的变构建face,使用Cluster.ByTopologies组合,最后与之前的topology剪切
![b93ffe1b727d1fbd1dbee6703fdaa8c6.png](https://i-blog.csdnimg.cn/blog_migrate/56ae4748f868b1f3b65b8089b92f05a0.jpeg)
创建对角面
![0d4f8b90ffcd7904db7111902b276ee6.png](https://i-blog.csdnimg.cn/blog_migrate/a69edc0823612ef9a6ff295a5dd9d2da.jpeg)
形成最终的拓扑模型,我们可以看最终的有六层每层四个空间,加上中间一个,共计25个
![a1962645b289754b9ad9c66af8464f32.png](https://i-blog.csdnimg.cn/blog_migrate/5cf87969307860c7670874873545d590.jpeg)
02转化为分析模型
这里注意最后三个输入端分别是epw气象文件(我使用的是天津市的数据)、设计日数据(来源于美国ASHRAE标准,分别为夏季设计日和冬季设计日)、openstudio模板文件;两个输入端我们没有输入数据,一个是遮阳面,一个是正北方向
![4880ab1cc048856096548b810b4637a6.png](https://i-blog.csdnimg.cn/blog_migrate/38d5bb29d199ee5b6c211c160c46fb90.jpeg)
03对能耗分析模型进行模拟
第一个输入端输入openstudio,.exe的路径:C:openstudio-2.8.0binopenstudio.exe,下一个输入端为我们设置计算后导出的文件位置,最后是控制是否运行,
![67de42db76e661d8ca980242fb62bd62.png](https://i-blog.csdnimg.cn/blog_migrate/0688f400df98f592d3b67f0abc0617c3.jpeg)
04得出模拟结果及结果可视化,这里我们也可以把模型导出为gbxml文件
![5b2e4542d46c691ab598ef6db8f86c6d.png](https://i-blog.csdnimg.cn/blog_migrate/863fd27f0afe061bb15c82a2bc222f6b.jpeg)
![79a24f53be0958cc2bba874ca7753b02.png](https://i-blog.csdnimg.cn/blog_migrate/36039a66ebb2084c27447f291c211ea3.jpeg)
得到计算结果后我们找到导出的文件,目录是我们之前设置过的,第一个report就是我们导出的模拟报告文件我们打开osm文件
![f3c6b70ceda0f9719b0c5bdef9f3dd9c.png](https://i-blog.csdnimg.cn/blog_migrate/7d73132e88f33797ec62f1c8e53759f4.png)
![0db4b6cafba0f2230d7121daed60b4b8.png](https://i-blog.csdnimg.cn/blog_migrate/72d9c05ca7deb784a66091b3d6a25e49.jpeg)
点击倒数第二个选项点击run之后点击最后一项
![e189027e61140785a33d98cb0babddd7.gif](https://i-blog.csdnimg.cn/blog_migrate/3af1f5eae272624b529a6f8a325e61d9.gif)
再给大家推荐一个ladybugtools的gbxml的查看器
![b045467b4c47d30dd2d9242bafd6342e.gif](https://i-blog.csdnimg.cn/blog_migrate/caa9829b98920b08d1497c06c1089c28.gif)
关于openstudio的知识不在这里赘述,大家有兴趣可以去网上查找学习。
总结,
1.在Dynamo中创建参数化模型结合Refinery生成式设计和Topologic,给我们提供了很多创造可能的机会
2.对于revit模型我们使用dynamo编写简化模型的脚本也可以实现对接openstudio建筑能耗分析
最后附上本文涉及到的软件和相关文件合集
链接:https://pan.baidu.com/s/11SeFV39G8y-3iySPRHMsPg
提取码:2ahr