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

Revision history [back]

Error running Radiance measure in Example model OS Application

Hello,

I am trying to test Radiance measure with the simplest possible model. Hence, I started with the Example model (File > Examples > Example model). However, I failed to apply such measure.

I have explored it in SketchUp and I have seen that it already has an illumiance map, a daylighting control and a glare sensor. According to various posts in unmet hours, these are all the pre-requisites for running the radiance measure, however, I am getting the following error when I go to "Apply measure now> Electric Lighting > Radiance Daylighting Measure":

Error: Error creating prepared statement: SELECT MapNumber FROM Daylight Maps WHERE LIKE '%Space_2 DAYLIGHT MAP%' with error code 21, extended code 21, errmsg: bad parameter or other API misuse

Reproducing this error should be easy, just load the example model, add a weather file, add the radiance measure, and try to apply it.

Can anyone tell me what is missing in such model in order to successfully complete the Radiance analysis?

Much appreciated in advance.

Error running Radiance measure in Example model OS Application

Hello,

I am trying to test Radiance measure with the simplest possible model. Hence, I started with the Example model (File > Examples > Example model). However, I failed to apply such measure.

I have explored it in SketchUp and I have seen that it already has an illumiance map, a daylighting control and a glare sensor. According to various posts in unmet hours, these are all the pre-requisites for running the radiance measure, however, I am getting the following error when I go to "Apply measure now> Electric Lighting > Radiance Daylighting Measure":

Error: Error creating prepared statement: SELECT MapNumber FROM Daylight Maps WHERE LIKE '%Space_2 DAYLIGHT MAP%' with error code 21, extended code 21, errmsg: bad parameter or other API misuse

Reproducing this error should be easy, just load the example model, add a weather file, add the radiance measure, and try to apply it.

Can anyone tell me what is missing in such model in order to successfully complete the Radiance analysis?

Much appreciated in advance.

Error running Radiance measure in Example model OS Application

Hello,

I am trying to test Radiance measure with the simplest possible model. Hence, I started with the Example model (File > Examples > Example model). However, I failed to apply such measure.

I have explored it in SketchUp and I have seen that it already has an illumiance map, a daylighting control and a glare sensor. According to various posts in unmet hours, these are all the pre-requisites for running the radiance measure, however, I am getting the following error when I go to "Apply measure now> Electric Lighting > Radiance Daylighting Measure":

Error: Error creating prepared statement: SELECT MapNumber FROM Daylight Maps WHERE LIKE '%Space_2 DAYLIGHT MAP%' with error code 21, extended code 21, errmsg: bad parameter or other API misuse

Reproducing this error should be easy, just load the example model, add a weather file, add the radiance measure, and try to apply it.

Can anyone tell me what is missing in such model in order to successfully complete the Radiance analysis?

Much appreciated in advance.

Error running Radiance measure in Example model OS Application

Hello,

I am trying to test Radiance measure with the simplest possible model. Hence, I started with the Example model (File > Examples > Example model). However, I failed to apply such measure.

I have explored it in SketchUp and I have seen that it already has an illumiance map, a daylighting control and a glare sensor. According to various posts in unmet hours, these are all the pre-requisites for running the radiance measure, however, I am getting the following error when I go to "Apply measure now> Electric Lighting > Radiance Daylighting Measure":

Error: Error creating prepared statement: SELECT MapNumber FROM Daylight Maps WHERE LIKE '%Space_2 DAYLIGHT MAP%' with error code 21, extended code 21, errmsg: bad parameter or other API misuse

Reproducing this error should be easy, just load the example model, add a weather file, add the radiance measure, and try to apply it.

Can anyone tell me what is missing in such model in order to successfully complete the Radiance analysis?

Much appreciated in advance.