openergy / opyplus

A package to work with EnergyPlus in python
Mozilla Public License 2.0
38 stars 13 forks source link

idd field error #43

Open Lefort-Antoine opened 4 years ago

Lefort-Antoine commented 4 years ago

Describe the bug Error of field

To Reproduce import os import opyplus as op example_idf_path = os.path.join( op.get_eplus_base_dir_path((9, 2, 0)), "ExampleFiles", "5ZoneVAV-ChilledWaterStorage-Mixed.idf" ) epm = op.Epm.load(example_idf_path)

dc = epm.Daylighting_Controls[0] print(dc) print(dc["fraction_of_zone_controlled_by_reference_point_0"])

Expected behavior dc["fraction_of_zone_controlled_by_reference_point_0"] must be equal to : 1.0

Screenshots """Daylighting:Controls, zn_1_flr_1_sec_1_daylctrl, ! Name zn_1_flr_1_sec_1, ! Zone Name splitflux, ! Daylighting Method always_on_exceptdds, ! Availability Schedule Name stepped, ! Lighting Control Type 0.3, ! Minimum Input Power Fraction for Continuous or ContinuousOff Dimming Control 0.2, ! Minimum Light Output Fraction for Continuous or ContinuousOff Dimming Control 3, ! Number of Stepped Control Steps 1.0, ! Probability Lighting will be Reset When Needed in Manual Stepped Control zn_1_flr_1_sec_1_daylrefpt1, ! Glare Calculation Daylighting Reference Point Name 180.0, ! Glare Calculation Azimuth Angle of View Direction Clockwise from Zone y-Axis 20.0, ! Maximum Allowable Discomfort Glare Index , ! DElight Gridding Resolution zn_1_flr_1_sec_1_daylrefpt1, ! Daylighting Reference Point 0 Name 1.0, ! Fraction of Zone Controlled by Reference Point 0 400.0; ! Illuminance Setpoint at Reference Point 0"""