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

Samuel de Vries's profile - activity

2024-02-13 01:42:20 -0500 commented answer Can I access hour of day, day and month by external interface from EnergyPlus?

This: EnergyManagementSystem:Program="IF (DAYOFWEEK <= 5)", Means that there is an error in a program called "IF (DA

2024-02-13 01:38:52 -0500 commented answer Can I access hour of day, day and month by external interface from EnergyPlus?

You are running the wrong file. The error you're gettting suggests that the name of your EMS program is still "IF (Q_Hea

2024-02-12 02:16:17 -0500 commented answer Can I access hour of day, day and month by external interface from EnergyPlus?

The first line of any EMS program should be the name of that program. This name is what you call within the program call

2023-10-16 06:28:22 -0500 commented answer Notepad++ for eQuest and EnergyPlus - Syntax highlighting, navigation pane and code folding

In the latest versions of notepad++ getting the function folding with a function list to work requires also describing t

2022-03-17 12:22:24 -0500 edited question Difference between ideal air loads heating output and EMS sensor of the same variable

Difference between ideal air loads heating output and EMS sensor of the same variable Hi, When measuring the variable

2022-03-17 11:28:15 -0500 asked a question Difference between ideal air loads heating output and EMS sensor of the same variable

Difference between ideal air loads heating output and EMS sensor of the same variable Hi, When measuring the variable

2021-08-09 13:55:00 -0500 marked best answer EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

# Import libraries
import eppy
import sys
import os
from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"
IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'
epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)
Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd.
Type 'energyplus --help' for usage.
Traceback (most recent call last):
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run
    check_call(cmd)
  File "C:\Python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\\energyplus.exe', '--weather', 'C:\\Z_TestEPPY\\someWeather.epw', '--output-directory', 'C:\\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\\Z_TestEPPY\\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run
    run(self, weather=epw, idd=idd, **kwargs)
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run
    raise EnergyPlusRunError(message)
eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err
<File not found>

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

2021-08-09 13:53:53 -0500 edited answer EPPY error in running simulation using IDF.Run

Solved by JasonGlazer in comments: Use full path name for input files Do not start name of input file with a number

2021-08-09 13:52:19 -0500 received badge  Rapid Responder (source)
2021-08-09 13:52:19 -0500 answered a question EPPY error in running simulation using IDF.Run

See solutions in comments: * Use full path name for input files * Do not start name of input file with a number

2021-08-09 13:50:40 -0500 commented question EPPY error in running simulation using IDF.Run

Yes; that worked! The problem also appeared to be caused by the IDF name starting with a number. When I used the full

2021-08-08 06:20:34 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:19:55 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:18:45 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:17:42 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:17:26 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:13:50 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:12:16 -0500 edited question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-08-08 06:10:29 -0500 asked a question EPPY error in running simulation using IDF.Run

EPPY error in running simulation using IDF.Run Hi, I'm running into some errors in trying to run an EnergyPlus simulat

2021-01-27 11:01:00 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

To be clear, in your IDF you never get to see this number. You assign the number to the variable you use as a name in th

2021-01-27 10:54:07 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

As a user you label constructions using their name (a string of text) in the IDF. During run time energyplus, however, u

2021-01-27 10:25:46 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

Maybe this helps: EnergyPlus references constructions assigned to surfaces internally using numbers (and not the constru

2021-01-27 10:23:30 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

Maybe this helps: EnergyPlus references constructions assigned to surfaces internally using numbers (and not the constru

2021-01-27 10:20:51 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

I simplified my example to some extent. See the LINK. Now there's just two construction states being used and the states

2021-01-27 09:52:19 -0500 answered a question Simulating complex curved blinds

You could consider the following (I haven't tried this myself, but It's suggested in literature): some CAD software (H

2021-01-27 09:30:19 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

Can you explain what you mean by 'CFS cannot be chosen in ConIndexVar' and how you come across this problem (and error m

2021-01-27 08:22:18 -0500 commented question Discrepancies when using EMS to assign Construction:ComplexFenestrationState compared to assigning by construction name

Maybe the example listed in the dropbox link in this discussion could help.

2020-04-04 09:50:55 -0500 answered a question If there is a hole on the external wall, how could I set up the model in honeybee?

I would approach this by modelling a verry large operable window with a transmittance of nearly 1, controlled by a sched

2020-03-30 10:59:59 -0500 edited answer I am using EMS to assign different complex fenestration constructions to windows - can I change the frame also?

The actuator type that you need for switching between different constructions is called Construction State. See the EMS

2020-03-30 10:53:58 -0500 answered a question I am using EMS to assign different complex fenestration constructions to windows - can I change the frame also?

The actuator type that you need for switching between different constructions is called Construction State. See the EMS

2019-11-15 10:41:26 -0500 received badge  Commentator
2019-11-15 10:41:26 -0500 commented answer coupling Energyplus for control purposes

If you do choose for BCVTB on our gitlab I have an example of how you can also do sensitivity analyses with a EP + Matla

2019-11-15 10:38:54 -0500 commented answer coupling Energyplus for control purposes

I do not know whether MLE+ is the toolbox you heard of. There used to be a site dedicated to MLE+ but it went offline. I

2019-11-14 00:06:17 -0500 answered a question coupling Energyplus for control purposes

Tot should have a look at BCVTB (Matlab examples included in the installation) and MLE+.

2019-06-17 03:53:12 -0500 commented question Inconsistency in results from Winkelman and equivalent layer blinds models

This gives the same discrepancies. Tried with 2 cm blinds and the uneditted IDD file. Also tried horizontal blinds. This

2019-06-17 03:48:18 -0500 edited question Inconsistency in results from Winkelman and equivalent layer blinds models

Inconsistency in results from Winkelman and equivalent layer blinds models I am trying to model vertical blinds and I am

2019-05-31 11:49:33 -0500 edited answer Suitable for window shading simulation? Ecotect replacement needed!

I would say that Radiance is too 'sophisticated' for what you want to achieve here. It has quite a steep learning curve.

2019-05-31 11:45:38 -0500 answered a question Suitable for window shading simulation? Ecotect replacement needed!

I would say that Radiance is too 'sophisticated' for what you want to achieve here. It has quite a steep learning curve.

2019-05-31 11:22:53 -0500 answered a question Exterior Shading minimum size

I interpret this as a condition for truncating which goes for both the vertices of the input geometry in Shading:site:de

2019-05-31 10:46:17 -0500 asked a question Inconsistency in results from Winkelman and equivalent layer blinds models

Inconsistency in results from Winkelman and equivalent layer blinds models I am trying to model vertical blinds and I am

2019-05-10 08:50:28 -0500 marked best answer Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

I am trying to model 12.7 cm wide vertical blinds using WindowMaterial:Blind:EquivalentLayer. When I do so I get the following errors:

* Severe * Out of range value Numeric Field#1 (Slat Width), value=0.12700, range={>0 and <=0.025}, in WINDOWMATERIAL:BLIND:EQUIVALENTLAYER=WMTEUQL_BLND_KINDV_RF80_T02_A18_RB45 * Severe * Out of range value Numeric Field#2 (Slat Separation), value=0.12700, range={>0 and <=0.025}, in WINDOWMATERIAL:BLIND:EQUIVALENTLAYER=WMTEUQL_BLND_KINDV_RF80_T02_A18

The input should be in meters. It seems a bit strange that the slat width would be limited to a maximum of 2.5 cm. Wider products are quite common and for vertical blind a slat width as small as 2.5 cm doesn't exist. The input output reference also state that 2.54 cm should be the default value.

I am using EP 8.5. I have also tried updating to 9.0 but this still gave the same error. My WindowMaterial:Blind:EquivalentLayer object: (I am aware I am omitting visible properties. I am not interested in these and the exmple IDF shows they are not required)

WindowMaterial:Blind:EquivalentLayer,
  WMTEUQL_BLND_KINDV_RF80_T02_A18_Rb45,          !- Name
  Vertical,              !- Slat Orientation
  0.127,                  !- Slat Width {m}
  0.127,                  !- Slat Separation {m}
  0.0000,                !- Slat Crown {m}
  45,                      !- Slat Angle {deg}
  0.02,                 !- Front Side Slat Beam-Diffuse Solar Transmittance
  0.02,               !- Back Side Slat Beam-Diffuse Solar Transmittance {dimensionless}
  0.80,                 !- Front Side Slat Beam-Diffuse Solar Reflectance {dimensionless}
  0.45,                 !- Back Side Slat Beam-Diffuse Solar Reflectance {dimensionless}
  ,                !- Front Side Slat Beam-Diffuse Visible Transmittance {dimensionless}
  ,                  !- Back Side Slat Beam-Diffuse Visible Transmittance {dimensionless}
  ,                   !- Front Side Slat Beam-Diffuse Visible Reflectance {dimensionless}
  ,                    !- Back Side Slat Beam-Diffuse Visible Reflectance {dimensionless}
  0.02,                   !- Slat Diffuse-Diffuse Solar Transmittance {dimensionless}
  0.80,              !- Front Side Slat Diffuse-Diffuse Solar Reflectance {dimensionless}
  0.45,               !- Back Side Slat Diffuse-Diffuse Solar Reflectance {dimensionless}
  ,                     !- Slat Diffuse-Diffuse Visible Transmittance
  ,                !- Front Side Slat Diffuse-Diffuse Visible Reflectance {dimensionless}
  ,                 !- Back Side Slat Diffuse-Diffuse Visible Reflectance {dimensionless}
  ,                        !- Slat Infrared Transmittance
  0.9,                     !- Front Side Slat Infrared Emissivity {dimensionless}
  0.9,                     !- Back Side Slat Infrared Emissivity {dimensionless}
  FixedSlatAngle;    !- Slat Angle Control
2019-05-10 08:50:28 -0500 received badge  Scholar (source)
2019-05-09 14:04:53 -0500 answered a question Unusual DGI value Changes

DGI assesses glare on the basis of contrast within the distribution of luminance within the field of view of the occupan

2019-05-09 09:34:14 -0500 answered a question Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

The maximum slat width error can be resolved by editing the .IDD file. Apparently the IDD file is no longer read at runt

2019-05-09 03:49:51 -0500 commented question Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

I tried editing the maximum values in the IDD file. For energyPlus 8.5 this takes out the maximum slat width limitation.

2019-05-09 02:42:20 -0500 edited question Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer I am trying to model 12.7 cm wide ver

2019-05-09 02:41:14 -0500 asked a question Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer I am trying to model 12.7 cm wide ver

2019-05-09 02:41:09 -0500 asked a question Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer

Trying to model blinds wider than 2.5 cm with WindowMaterial:Blind:EquivalentLayer I am trying to model 12.7 cm wide ver

2019-04-22 09:55:24 -0500 commented question Does MLE+ use BCVTB?

In addition to the pro’s and con’s which are already mentioned: An advantage of BCVTB is that there is more support fr