Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

EnergyPlus Measure to import BSDF-idf from LBNL WINDOW

Hi guys

I'm trying to create a EnergyPlus measure to import the BSDF-idf input from LBNL WINDOW. Most of the functionality needed can be found in the BCL measure "inject_idf_ojbects". However the measure chages the formatting of all the matrix data (to something that cannot run) - example:

C:\fakepath\Formatting2.png

I think it comes down to that one of these functions

source_idf = OpenStudio::IdfFile::load(OpenStudio::Path.new(source_idf_path)).get workspace.addObjects(source_idf.objects)

uses "," to destinguise a new line and not "\n" as it should in this case.

Does anybody have an idea of how to correctly import the BSDF-idf using a EnergyPlus measure?

Cheers Tobias

EnergyPlus Measure to import BSDF-idf from LBNL WINDOW

Hi guys

I'm trying to create a EnergyPlus measure to import the BSDF-idf input from LBNL WINDOW. Most of the functionality needed can be found in the BCL measure "inject_idf_ojbects". However the measure chages the formatting of all the matrix data (to something that cannot run) - example:

C:\fakepath\Formatting2.pngimage description

(correct formatting on the left before applying the measure - wrong formatting on the right after application of the measure)

I think it comes down to that one of these functions

source_idf = OpenStudio::IdfFile::load(OpenStudio::Path.new(source_idf_path)).get workspace.addObjects(source_idf.objects)

uses "," to destinguise a new line and not "\n" as it should in this case.

Does anybody have an idea of how to correctly import the BSDF-idf using a EnergyPlus measure?

Cheers Tobias

EnergyPlus Measure to import BSDF-idf from LBNL WINDOW

Hi guys

I'm trying to create a EnergyPlus measure to import the BSDF-idf input from LBNL WINDOW. Most of the functionality needed can be found in the BCL measure "inject_idf_ojbects". However the measure chages the formatting of all the matrix data (to something that cannot run) - example:

image description

(correct formatting on the left before applying the measure - wrong formatting on the right after application of the measure)

I think it comes down to that one of these functions

source_idf = OpenStudio::IdfFile::load(OpenStudio::Path.new(source_idf_path)).get workspace.addObjects(source_idf.objects)

uses "," to destinguise a new line and not "\n" as it should in this case.

Does anybody have an idea of how to correctly import the BSDF-idf using a EnergyPlus measure?

Cheers Tobias

EnergyPlus Measure to import BSDF-idf from LBNL WINDOW

Hi guys

I'm trying to create a EnergyPlus measure to import the BSDF-idf input from LBNL WINDOW. Most of the functionality needed can be found in the BCL measure "inject_idf_ojbects". However the measure chages the formatting of all the matrix data (to something that cannot run) - example:

image description

(correct formatting on the left before applying the measure - wrong formatting on the right after application of the measure)

I think it comes down to that one of these functions

source_idf = OpenStudio::IdfFile::load(OpenStudio::Path.new(source_idf_path)).get workspace.addObjects(source_idf.objects)

uses "," to destinguise a new line and not "\n" as it should in this case.

Does anybody have an idea of how to correctly import the BSDF-idf using a EnergyPlus measure?

Cheers Tobias