Closed jmarrec closed 7 years ago
I think I know what's happening.
I actually use the "inject_idf_objects" measure to add my Spectral Data Sets (MaterialProperty:GlazingSpectralData
) at runtime. But if you do a forward translate from .osm to .idf using command line, you get the following:
[utilities.idf.WorkspaceObject] <0> Object of type 'WindowMaterial:Glazing' and named 'Guardian SunGuard SNX 60/28 _6Clear', points to an object named Guardian SunGuard SNX 60/28_6Clear Spectral Data from field 2, but that object cannot be located.
At this point, the idf doesn't have the "Window Glass Spectral Data Set Name" anymore:
WindowMaterial:Glazing,
HAYAT1_Guardian SunGuard SNX 60/28 _6Clear, !- Name
Spectral, !- Optical Data Type
, !- Window Glass Spectral Data Set Name
0.006, !- Thickness {m}
...
I'm not sure how or why this got messed up but basically the OS Model does not support MaterialProperty:GlazingSpectralData
. The only real way to fix this issue is to wrap that object
OS Model IDD
A4, \field Window Glass Spectral Data Set Name
\note Used only when Optical Data Type = Spectral
\type alpha
E+ IDD
A3 , \field Window Glass Spectral Data Set Name
\note Used only when Optical Data Type = Spectral
\type object-list
\object-list SpectralDataSets
I see that it should translate in ForwardTranslateStandardGlazing
My object is fine:
But in my IDF the spectral data set name is gone.
What's the matter?