{"action":"created","issue":{"url":"https://api.github.com/repos/santoshphilip/eppy/issues/167","repository_url":"https://api.github.com/repos/santoshphilip/eppy","labels_url":"https://api.github.com/repos/santoshphilip/eppy/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/santoshphilip/eppy/issues/167/comments","events_url":"https://api.github.com/repos/santoshphilip/eppy/issues/167/events","html_url":"https://github.com/santoshphilip/eppy/issues/167","id":256128392,"number":167,"title":"function to return the fan power in watts or BHP","user":{"login":"santoshphilip","id":2014885,"avatar_url":"https://avatars1.githubusercontent.com/u/2014885?v=4","gravatar_id":"","url":"https://api.github.com/users/santoshphilip","html_url":"https://github.com/santoshphilip","followers_url":"https://api.github.com/users/santoshphilip/followers","following_url":"https://api.github.com/users/santoshphilip/following{/other_user}","gists_url":"https://api.github.com/users/santoshphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/santoshphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santoshphilip/subscriptions","organizations_url":"https://api.github.com/users/santoshphilip/orgs","repos_url":"https://api.github.com/users/santoshphilip/repos","events_url":"https://api.github.com/users/santoshphilip/events{/privacy}","received_events_url":"https://api.github.com/users/santoshphilip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"santoshphilip","id":2014885,"avatar_url":"https://avatars1.githubusercontent.com/u/2014885?v=4","gravatar_id":"","url":"https://api.github.com/users/santoshphilip","html_url":"https://github.com/santoshphilip","followers_url":"https://api.github.com/users/santoshphilip/followers","following_url":"https://api.github.com/users/santoshphilip/following{/other_user}","gists_url":"https://api.github.com/users/santoshphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/santoshphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santoshphilip/subscriptions","organizations_url":"https://api.github.com/users/santoshphilip/orgs","repos_url":"https://api.github.com/users/santoshphilip/repos","events_url":"https://api.github.com/users/santoshphilip/events{/privacy}","received_events_url":"https://api.github.com/users/santoshphilip/received_events","type":"User","site_admin":false},"assignees":[{"login":"santoshphilip","id":2014885,"avatar_url":"https://avatars1.githubusercontent.com/u/2014885?v=4","gravatar_id":"","url":"https://api.github.com/users/santoshphilip","html_url":"https://github.com/santoshphilip","followers_url":"https://api.github.com/users/santoshphilip/followers","following_url":"https://api.github.com/users/santoshphilip/following{/other_user}","gists_url":"https://api.github.com/users/santoshphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/santoshphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santoshphilip/subscriptions","organizations_url":"https://api.github.com/users/santoshphilip/orgs","repos_url":"https://api.github.com/users/santoshphilip/repos","events_url":"https://api.github.com/users/santoshphilip/events{/privacy}","received_events_url":"https://api.github.com/users/santoshphilip/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-09-08T03:09:13Z","updated_at":"2017-09-08T20:27:41Z","closed_at":null,"author_association":"OWNER","body":"should work something like this:\r\n\r\n    vavfan = \"\"\"Fan:VariableVolume,\r\n      Fan 2,                                  !- Name\r\n      OfficeHVACAvail,                        !- Availability Schedule Name\r\n      0.519,                                  !- Fan Total Efficiency\r\n      164.3824832215,                         !- Pressure Rise {Pa}\r\n      5.6633693184,                           !- Maximum Flow Rate {m3/s}\r\n      FixedFlowRate,                          !- Fan Power Minimum Flow Rate Input Method\r\n      0,                                      !- Fan Power Minimum Flow Fraction\r\n      1.4158423296,                           !- Fan Power Minimum Air Flow Rate {m3/s}\r\n      0.865,                                  !- Motor Efficiency\r\n      1,                                      !- Motor In Airstream Fraction\r\n      0.04076,                                !- Fan Power Coefficient 1\r\n      0.088045,                               !- Fan Power Coefficient 2\r\n      -0.072926,                              !- Fan Power Coefficient 3\r\n      0.94374,                                !- Fan Power Coefficient 4\r\n      0,                                      !- Fan Power Coefficient 5\r\n      AC(1)(2) Supply Side (Return Air) Inlet Node, !- Air Inlet Node Name\r\n      Fan 2 Outlet Node;                      !- Air Outlet Node Name\r\n    \"\"\" \r\n\r\n    idf = IDF(StringIO(vavfan))\r\n    thefans = idf.idfobjects['Fan:VariableVolume'.upper()]\r\n    thefan = thefans[0]\r\n    bhp = thefan.fanpower_bhp\r\n    watts = thefan.fanpower_watts\r\n    \r\n    print bhp\r\n    print watts\r\n    --------\r\n    2.40306611606\r\n    1791.9664027495671\r\n"},"comment":{"url":"https://api.github.com/repos/santoshphilip/eppy/issues/comments/328205754","html_url":"https://github.com/santoshphilip/eppy/issues/167#issuecomment-328205754","issue_url":"https://api.github.com/repos/santoshphilip/eppy/issues/167","id":328205754,"user":{"login":"santoshphilip","id":2014885,"avatar_url":"https://avatars1.githubusercontent.com/u/2014885?v=4","gravatar_id":"","url":"https://api.github.com/users/santoshphilip","html_url":"https://github.com/santoshphilip","followers_url":"https://api.github.com/users/santoshphilip/followers","following_url":"https://api.github.com/users/santoshphilip/following{/other_user}","gists_url":"https://api.github.com/users/santoshphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/santoshphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santoshphilip/subscriptions","organizations_url":"https://api.github.com/users/santoshphilip/orgs","repos_url":"https://api.github.com/users/santoshphilip/repos","events_url":"https://api.github.com/users/santoshphilip/events{/privacy}","received_events_url":"https://api.github.com/users/santoshphilip/received_events","type":"User","site_admin":false},"created_at":"2017-09-08T20:27:41Z","updated_at":"2017-09-08T20:27:41Z","author_association":"OWNER","body":"fixed the circular dependency in previous comment"}}
{"actor":{"display_login":"santoshphilip"}}