{"action":"closed","issue":{"url":"https://api.github.com/repos/santoshphilip/eppy/issues/192","repository_url":"https://api.github.com/repos/santoshphilip/eppy","labels_url":"https://api.github.com/repos/santoshphilip/eppy/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/santoshphilip/eppy/issues/192/comments","events_url":"https://api.github.com/repos/santoshphilip/eppy/issues/192/events","html_url":"https://github.com/santoshphilip/eppy/issues/192","id":311152919,"number":192,"title":"Daylighting:Controls object not running","user":{"login":"adChong","id":29745789,"avatar_url":"https://avatars1.githubusercontent.com/u/29745789?v=4","gravatar_id":"","url":"https://api.github.com/users/adChong","html_url":"https://github.com/adChong","followers_url":"https://api.github.com/users/adChong/followers","following_url":"https://api.github.com/users/adChong/following{/other_user}","gists_url":"https://api.github.com/users/adChong/gists{/gist_id}","starred_url":"https://api.github.com/users/adChong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adChong/subscriptions","organizations_url":"https://api.github.com/users/adChong/orgs","repos_url":"https://api.github.com/users/adChong/repos","events_url":"https://api.github.com/users/adChong/events{/privacy}","received_events_url":"https://api.github.com/users/adChong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-04-04T09:30:34Z","updated_at":"2018-04-23T21:15:55Z","closed_at":"2018-04-23T21:15:55Z","author_association":"NONE","body":"Hi,\r\n\r\nI am trying to add daylight sensors to an EnergyPlus example file (5ZoneAirCooled.idf) using eppy. This is carried out using EnergyPlus version 8.6\r\n\r\n```\r\n> idf.newidfobject('DAYLIGHTING:CONTROLS', Name='SPACE1-1_daylCtrl',\r\n\tZone_Name='SPACE1-1', Daylighting_Reference_Point_1_Name='SPACE1-1_DaylRefPt1')\r\n```\r\nWhat eppy wrote to the idf was as follows. Notice that default values were written for reference points 2 to 10. However, this caused errors when i tried to run the idf file because reference points 2 to 10 were not specified using the Daylighting:ReferencePoint object. \r\n```\r\nDAYLIGHTING:CONTROLS,\r\n    SPACE1-1_daylCtrl,        !- Name\r\n    SPACE1-1,                 !- Zone Name\r\n    SplitFlux,                !- Daylighting Method\r\n    ,                         !- Availability Schedule Name\r\n    Continuous,               !- Lighting Control Type\r\n    0.3,                      !- Minimum Input Power Fraction for Continuous or ContinuousOff Dimming Control\r\n    0.2,                      !- Minimum Light Output Fraction for Continuous or ContinuousOff Dimming Control\r\n    1,                        !- Number of Stepped Control Steps\r\n    1.0,                      !- Probability Lighting will be Reset When Needed in Manual Stepped Control\r\n    ,                         !- Glare Calculation Daylighting Reference Point Name\r\n    0,                        !- Glare Calculation Azimuth Angle of View Direction Clockwise from Zone yAxis\r\n    22.0,                     !- Maximum Allowable Discomfort Glare Index\r\n    ,                         !- DElight Gridding Resolution\r\n    SPACE1-1_DaylRefPt1,      !- Daylighting Reference Point 1 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 1\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 1\r\n    ,                         !- Daylighting Reference Point 2 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 2\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 2\r\n    ,                         !- Daylighting Reference Point 3 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 3\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 3\r\n    ,                         !- Daylighting Reference Point 4 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 4\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 4\r\n    ,                         !- Daylighting Reference Point 5 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 5\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 5\r\n    ,                         !- Daylighting Reference Point 6 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 6\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 6\r\n    ,                         !- Daylighting Reference Point 7 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 7\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 7\r\n    ,                         !- Daylighting Reference Point 8 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 8\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 8\r\n    ,                         !- Daylighting Reference Point 9 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 9\r\n    500.0,                    !- Illuminance Setpoint at Reference Point 9\r\n    ,                         !- Daylighting Reference Point 10 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 10\r\n    500.0;                    !- Illuminance Setpoint at Reference Point 10\r\n```\r\nWhen I deleted the additional fields and ran with the following, the idf ran with no problems\r\n```\r\nDAYLIGHTING:CONTROLS,\r\n    SPACE1-1_daylCtrl,        !- Name\r\n    SPACE1-1,                 !- Zone Name\r\n    SplitFlux,                !- Daylighting Method\r\n    ,                         !- Availability Schedule Name\r\n    Continuous,               !- Lighting Control Type\r\n    0.3,                      !- Minimum Input Power Fraction for Continuous or ContinuousOff Dimming Control\r\n    0.2,                      !- Minimum Light Output Fraction for Continuous or ContinuousOff Dimming Control\r\n    1,                        !- Number of Stepped Control Steps\r\n    1.0,                      !- Probability Lighting will be Reset When Needed in Manual Stepped Control\r\n    ,                         !- Glare Calculation Daylighting Reference Point Name\r\n    0,                        !- Glare Calculation Azimuth Angle of View Direction Clockwise from Zone yAxis\r\n    22.0,                     !- Maximum Allowable Discomfort Glare Index\r\n    ,                         !- DElight Gridding Resolution\r\n    SPACE1-1_DaylRefPt1,      !- Daylighting Reference Point 1 Name\r\n    1.0,                      !- Fraction of Zone Controlled by Reference Point 1\r\n    500.0;                    !- Illuminance Setpoint at Reference Point 1\r\n```\r\nTherefore, I would like to ask if there is any way to add the Daylighting:Controls object using eppy without the default values for Reference points 2 to 10.\r\n\r\nThank you in advance.\r\n\r\n\r\n"}}
{"actor":{"display_login":"santoshphilip"}}