{"action":"created","issue":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/1980","labels_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1980/labels{/name}","comments_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1980/comments","events_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1980/events","html_url":"https://github.com/NREL/OpenStudio/issues/1980","id":119936213,"number":1980,"title":"Wrong translation of the OS:DesignSpecification:OurdoorAir object to EnergyPlus","user":{"login":"pachi","id":140611,"avatar_url":"https://avatars.githubusercontent.com/u/140611?v=3","gravatar_id":"","url":"https://api.github.com/users/pachi","html_url":"https://github.com/pachi","followers_url":"https://api.github.com/users/pachi/followers","following_url":"https://api.github.com/users/pachi/following{/other_user}","gists_url":"https://api.github.com/users/pachi/gists{/gist_id}","starred_url":"https://api.github.com/users/pachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pachi/subscriptions","organizations_url":"https://api.github.com/users/pachi/orgs","repos_url":"https://api.github.com/users/pachi/repos","events_url":"https://api.github.com/users/pachi/events{/privacy}","received_events_url":"https://api.github.com/users/pachi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T13:01:03Z","updated_at":"2015-12-02T15:09:26Z","closed_at":null,"body":"Steps to reproduce the problem:\r\n- Define an OS:DesignSpecification:OutdoorAir object, using a value of 4 [1/h] in \"Outdoor Air Flow Air Changes per Hour\".\r\n- Specify an existing Schedule for \"Outdoor Air Flow Rate Fraction Schedule Name\", such as \"Ventilacion_Residencial_CTE\".\r\n\r\nProblem detected:\r\n- The out.idf file uses in its ZoneVentilation:DesignFlowRate object the \"Always_On\" schedule instead of the expected \"Ventilacion_Residencial_CTE\".\r\n\r\nExpected results:\r\n- The ZoneVentilation:DesignFlowRate object should use the \"Ventilacion_Residencial_CTE\" schedule in its \"Schedule Name\" field.\r\n- If the out.idf file is modified manually to reflect the \"Ventilacion_Residencial_CTE\" schedule in the \"Schedule Name\" field, then the expected results are obtained.\r\n\r\nAttached test files with base model and unexpected and expected result:\r\n\r\n[cubito_desde_plantilla_ideal loads_sin garaje_inf=1_vent=4.osm.txt](https://github.com/NREL/OpenStudio/files/49722/cubito_desde_plantilla_ideal.loads_sin.garaje_inf.1_vent.4.osm.txt)\r\n[correct_out.idf.txt](https://github.com/NREL/OpenStudio/files/49727/correct_out.idf.txt)\r\n[wrong_out.idf.txt](https://github.com/NREL/OpenStudio/files/49728/wrong_out.idf.txt)"},"comment":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/comments/161327182","html_url":"https://github.com/NREL/OpenStudio/issues/1980#issuecomment-161327182","issue_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1980","id":161327182,"user":{"login":"pachi","id":140611,"avatar_url":"https://avatars.githubusercontent.com/u/140611?v=3","gravatar_id":"","url":"https://api.github.com/users/pachi","html_url":"https://github.com/pachi","followers_url":"https://api.github.com/users/pachi/followers","following_url":"https://api.github.com/users/pachi/following{/other_user}","gists_url":"https://api.github.com/users/pachi/gists{/gist_id}","starred_url":"https://api.github.com/users/pachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pachi/subscriptions","organizations_url":"https://api.github.com/users/pachi/orgs","repos_url":"https://api.github.com/users/pachi/repos","events_url":"https://api.github.com/users/pachi/events{/privacy}","received_events_url":"https://api.github.com/users/pachi/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T15:09:26Z","updated_at":"2015-12-02T15:09:26Z","body":"I've just seen that this is reported here: https://unmethours.com/question/897/how-is-simple-ventilation-controlled-when-using-ideal-loads-in-openstudio/ and the related code is here: https://github.com/NREL/OpenStudio/blob/develop/openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateThermalZone.cpp#L728\r\n\r\nAnyhow, shouldn't it be reasonable to use the DesignSpecification:OutdoorAir Air Flow Rate Schedule as the ZoneVentilation:DesignFlowRate Schedule when IdealLoads is used for the zone? When would anyone want anything else?\r\n\r\nOur use case is building code compliance and to evaluate energy needs we use a constant design outdoor air flow rate along with nocturnal ventilation in summer, so this is why air flow schedules would be useful for us."}}