Smart3D二次开发的API中,有设置piperun的保温属性的相关方法。
SetInsulationSpec(oInsulSpec, dblInsulSpecTemp)
本文就相关参数做一些强调。
x x x x x x x x x x x x x x x x
x x x x x x x x x x x x x x x x
x x x x x x x x x x x x x x x x
‘Define pipe run.
Dim oPipeRun As PipeRun = Nothing
‘Define input arguments.
Dim oPipeInsulationSpec As PipeInsulationSpec = Nothing
Dim dTemperature As Double = 290
‘Call SetInsulationSpec method.
oPipeRun.SetInsulationSpec(oPipeInsulationSpec, dTemperature)
x x x x x x x x x x x x x x x x
本文主要对insulation temperature这个参数做一下强调。
x x x x x x x x x x x x x x x x
如上查询可以看出,在数据库中,温度是基于K作为基准单位存储的。
因此,在这个方法的应用过程中,要注意,temperature这个参数是有单位的,并且单位是K,而不是摄氏度。
x x x x x x x x x x x x x x x x
x x x x x x x x x x x x x x x x
x x x x x x x x x x x x x x x x
如下图,在meta data browser中温度的默认存储单位也是“K”。
x x x x x x x x x x x x x x x x

您需要登录 或注册 后才可以发表评论。