{"action":"created","comment":{"url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/comments/183458303","pull_request_review_id":114460522,"id":183458303,"diff_hunk":"@@ -0,0 +1,127 @@\n+\" propeller model \"\n+from numpy import pi\n+from gpkit import Model, Variable,Vectorize,parse_variables, SignomialsEnabled, SignomialEquality\n+from gpkit.constraints.tight import Tight as TCS\n+from gpfit.fit_constraintset import XfoilFit\n+import os\n+import pandas as pd\n+\n+\n+\n+class Blade_Element_Performance(Model):\n+    \"\"\" Single element of a propeller blade\n+\n+    Variables\n+    ---------\n+    dT                      [lbf]       thrust\n+    eta_i                   [-]         local induced efficiency\n+    dQ                      [N*m]       torque\n+    omega                   [rpm]       propeller rotation rate \n+    Wa                      [m/s]       Axial total relative velocity\n+    Wt                      [m/s]       Tangential total relative velocity\n+    Wr                      [m/s]       Total relative velocity\n+    va                      [m/s]       Axial induced velocity\n+    vt                      [m/s]       Tangential induced velocity\n+    G                       [m^2/s]     Circulation\n+    cl                     [-]          local lift coefficient","path":"gpkitmodels/SP/aircraft/prop/propeller.py","position":26,"original_position":26,"commit_id":"d3f83e25bfa44359dc9d4337522d56fca0b27404","original_commit_id":"d3f83e25bfa44359dc9d4337522d56fca0b27404","user":{"login":"mjburton11","id":14276241,"avatar_url":"https://avatars1.githubusercontent.com/u/14276241?v=4","gravatar_id":"","url":"https://api.github.com/users/mjburton11","html_url":"https://github.com/mjburton11","followers_url":"https://api.github.com/users/mjburton11/followers","following_url":"https://api.github.com/users/mjburton11/following{/other_user}","gists_url":"https://api.github.com/users/mjburton11/gists{/gist_id}","starred_url":"https://api.github.com/users/mjburton11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjburton11/subscriptions","organizations_url":"https://api.github.com/users/mjburton11/orgs","repos_url":"https://api.github.com/users/mjburton11/repos","events_url":"https://api.github.com/users/mjburton11/events{/privacy}","received_events_url":"https://api.github.com/users/mjburton11/received_events","type":"User","site_admin":false},"body":"fix alignments","created_at":"2018-04-23T16:30:45Z","updated_at":"2018-04-23T16:34:55Z","html_url":"https://github.com/convexengineering/gplibrary/pull/165#discussion_r183458303","pull_request_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/comments/183458303"},"html":{"href":"https://github.com/convexengineering/gplibrary/pull/165#discussion_r183458303"},"pull_request":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165","id":183124860,"html_url":"https://github.com/convexengineering/gplibrary/pull/165","diff_url":"https://github.com/convexengineering/gplibrary/pull/165.diff","patch_url":"https://github.com/convexengineering/gplibrary/pull/165.patch","issue_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/165","number":165,"state":"open","locked":false,"title":"Multiple blade element model","user":{"login":"courtin","id":32649540,"avatar_url":"https://avatars0.githubusercontent.com/u/32649540?v=4","gravatar_id":"","url":"https://api.github.com/users/courtin","html_url":"https://github.com/courtin","followers_url":"https://api.github.com/users/courtin/followers","following_url":"https://api.github.com/users/courtin/following{/other_user}","gists_url":"https://api.github.com/users/courtin/gists{/gist_id}","starred_url":"https://api.github.com/users/courtin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courtin/subscriptions","organizations_url":"https://api.github.com/users/courtin/orgs","repos_url":"https://api.github.com/users/courtin/repos","events_url":"https://api.github.com/users/courtin/events{/privacy}","received_events_url":"https://api.github.com/users/courtin/received_events","type":"User","site_admin":false},"body":"Adds propeller blade element model","created_at":"2018-04-20T17:29:35Z","updated_at":"2018-04-23T16:34:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1c3c3c94b9c3e2e17646ed9c1aebe8cf3de9ae2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165/commits","review_comments_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165/comments","review_comment_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/165/comments","statuses_url":"https://api.github.com/repos/convexengineering/gplibrary/statuses/d3f83e25bfa44359dc9d4337522d56fca0b27404","head":{"label":"convexengineering:one_element","ref":"one_element","sha":"d3f83e25bfa44359dc9d4337522d56fca0b27404","user":{"login":"convexengineering","id":32085780,"avatar_url":"https://avatars2.githubusercontent.com/u/32085780?v=4","gravatar_id":"","url":"https://api.github.com/users/convexengineering","html_url":"https://github.com/convexengineering","followers_url":"https://api.github.com/users/convexengineering/followers","following_url":"https://api.github.com/users/convexengineering/following{/other_user}","gists_url":"https://api.github.com/users/convexengineering/gists{/gist_id}","starred_url":"https://api.github.com/users/convexengineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexengineering/subscriptions","organizations_url":"https://api.github.com/users/convexengineering/orgs","repos_url":"https://api.github.com/users/convexengineering/repos","events_url":"https://api.github.com/users/convexengineering/events{/privacy}","received_events_url":"https://api.github.com/users/convexengineering/received_events","type":"Organization","site_admin":false},"repo":{"id":44559346,"name":"gplibrary","full_name":"convexengineering/gplibrary","owner":{"login":"convexengineering","id":32085780,"avatar_url":"https://avatars2.githubusercontent.com/u/32085780?v=4","gravatar_id":"","url":"https://api.github.com/users/convexengineering","html_url":"https://github.com/convexengineering","followers_url":"https://api.github.com/users/convexengineering/followers","following_url":"https://api.github.com/users/convexengineering/following{/other_user}","gists_url":"https://api.github.com/users/convexengineering/gists{/gist_id}","starred_url":"https://api.github.com/users/convexengineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexengineering/subscriptions","organizations_url":"https://api.github.com/users/convexengineering/orgs","repos_url":"https://api.github.com/users/convexengineering/repos","events_url":"https://api.github.com/users/convexengineering/events{/privacy}","received_events_url":"https://api.github.com/users/convexengineering/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/convexengineering/gplibrary","description":"Useful subsystem models","fork":false,"url":"https://api.github.com/repos/convexengineering/gplibrary","forks_url":"https://api.github.com/repos/convexengineering/gplibrary/forks","keys_url":"https://api.github.com/repos/convexengineering/gplibrary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/convexengineering/gplibrary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/convexengineering/gplibrary/teams","hooks_url":"https://api.github.com/repos/convexengineering/gplibrary/hooks","issue_events_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/events{/number}","events_url":"https://api.github.com/repos/convexengineering/gplibrary/events","assignees_url":"https://api.github.com/repos/convexengineering/gplibrary/assignees{/user}","branches_url":"https://api.github.com/repos/convexengineering/gplibrary/branches{/branch}","tags_url":"https://api.github.com/repos/convexengineering/gplibrary/tags","blobs_url":"https://api.github.com/repos/convexengineering/gplibrary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/convexengineering/gplibrary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/convexengineering/gplibrary/git/refs{/sha}","trees_url":"https://api.github.com/repos/convexengineering/gplibrary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/convexengineering/gplibrary/statuses/{sha}","languages_url":"https://api.github.com/repos/convexengineering/gplibrary/languages","stargazers_url":"https://api.github.com/repos/convexengineering/gplibrary/stargazers","contributors_url":"https://api.github.com/repos/convexengineering/gplibrary/contributors","subscribers_url":"https://api.github.com/repos/convexengineering/gplibrary/subscribers","subscription_url":"https://api.github.com/repos/convexengineering/gplibrary/subscription","commits_url":"https://api.github.com/repos/convexengineering/gplibrary/commits{/sha}","git_commits_url":"https://api.github.com/repos/convexengineering/gplibrary/git/commits{/sha}","comments_url":"https://api.github.com/repos/convexengineering/gplibrary/comments{/number}","issue_comment_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/comments{/number}","contents_url":"https://api.github.com/repos/convexengineering/gplibrary/contents/{+path}","compare_url":"https://api.github.com/repos/convexengineering/gplibrary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/convexengineering/gplibrary/merges","archive_url":"https://api.github.com/repos/convexengineering/gplibrary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/convexengineering/gplibrary/downloads","issues_url":"https://api.github.com/repos/convexengineering/gplibrary/issues{/number}","pulls_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls{/number}","milestones_url":"https://api.github.com/repos/convexengineering/gplibrary/milestones{/number}","notifications_url":"https://api.github.com/repos/convexengineering/gplibrary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/convexengineering/gplibrary/labels{/name}","releases_url":"https://api.github.com/repos/convexengineering/gplibrary/releases{/id}","deployments_url":"https://api.github.com/repos/convexengineering/gplibrary/deployments","created_at":"2015-10-19T19:44:45Z","updated_at":"2018-04-21T18:36:12Z","pushed_at":"2018-04-23T15:36:55Z","git_url":"git://github.com/convexengineering/gplibrary.git","ssh_url":"git@github.com:convexengineering/gplibrary.git","clone_url":"https://github.com/convexengineering/gplibrary.git","svn_url":"https://github.com/convexengineering/gplibrary","homepage":"","size":9097,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":29,"watchers":7,"default_branch":"master"}},"base":{"label":"convexengineering:master","ref":"master","sha":"3a49468fa5aaae9c1d48b1aa4ecd1644c5205fd9","user":{"login":"convexengineering","id":32085780,"avatar_url":"https://avatars2.githubusercontent.com/u/32085780?v=4","gravatar_id":"","url":"https://api.github.com/users/convexengineering","html_url":"https://github.com/convexengineering","followers_url":"https://api.github.com/users/convexengineering/followers","following_url":"https://api.github.com/users/convexengineering/following{/other_user}","gists_url":"https://api.github.com/users/convexengineering/gists{/gist_id}","starred_url":"https://api.github.com/users/convexengineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexengineering/subscriptions","organizations_url":"https://api.github.com/users/convexengineering/orgs","repos_url":"https://api.github.com/users/convexengineering/repos","events_url":"https://api.github.com/users/convexengineering/events{/privacy}","received_events_url":"https://api.github.com/users/convexengineering/received_events","type":"Organization","site_admin":false},"repo":{"id":44559346,"name":"gplibrary","full_name":"convexengineering/gplibrary","owner":{"login":"convexengineering","id":32085780,"avatar_url":"https://avatars2.githubusercontent.com/u/32085780?v=4","gravatar_id":"","url":"https://api.github.com/users/convexengineering","html_url":"https://github.com/convexengineering","followers_url":"https://api.github.com/users/convexengineering/followers","following_url":"https://api.github.com/users/convexengineering/following{/other_user}","gists_url":"https://api.github.com/users/convexengineering/gists{/gist_id}","starred_url":"https://api.github.com/users/convexengineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexengineering/subscriptions","organizations_url":"https://api.github.com/users/convexengineering/orgs","repos_url":"https://api.github.com/users/convexengineering/repos","events_url":"https://api.github.com/users/convexengineering/events{/privacy}","received_events_url":"https://api.github.com/users/convexengineering/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/convexengineering/gplibrary","description":"Useful subsystem models","fork":false,"url":"https://api.github.com/repos/convexengineering/gplibrary","forks_url":"https://api.github.com/repos/convexengineering/gplibrary/forks","keys_url":"https://api.github.com/repos/convexengineering/gplibrary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/convexengineering/gplibrary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/convexengineering/gplibrary/teams","hooks_url":"https://api.github.com/repos/convexengineering/gplibrary/hooks","issue_events_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/events{/number}","events_url":"https://api.github.com/repos/convexengineering/gplibrary/events","assignees_url":"https://api.github.com/repos/convexengineering/gplibrary/assignees{/user}","branches_url":"https://api.github.com/repos/convexengineering/gplibrary/branches{/branch}","tags_url":"https://api.github.com/repos/convexengineering/gplibrary/tags","blobs_url":"https://api.github.com/repos/convexengineering/gplibrary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/convexengineering/gplibrary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/convexengineering/gplibrary/git/refs{/sha}","trees_url":"https://api.github.com/repos/convexengineering/gplibrary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/convexengineering/gplibrary/statuses/{sha}","languages_url":"https://api.github.com/repos/convexengineering/gplibrary/languages","stargazers_url":"https://api.github.com/repos/convexengineering/gplibrary/stargazers","contributors_url":"https://api.github.com/repos/convexengineering/gplibrary/contributors","subscribers_url":"https://api.github.com/repos/convexengineering/gplibrary/subscribers","subscription_url":"https://api.github.com/repos/convexengineering/gplibrary/subscription","commits_url":"https://api.github.com/repos/convexengineering/gplibrary/commits{/sha}","git_commits_url":"https://api.github.com/repos/convexengineering/gplibrary/git/commits{/sha}","comments_url":"https://api.github.com/repos/convexengineering/gplibrary/comments{/number}","issue_comment_url":"https://api.github.com/repos/convexengineering/gplibrary/issues/comments{/number}","contents_url":"https://api.github.com/repos/convexengineering/gplibrary/contents/{+path}","compare_url":"https://api.github.com/repos/convexengineering/gplibrary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/convexengineering/gplibrary/merges","archive_url":"https://api.github.com/repos/convexengineering/gplibrary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/convexengineering/gplibrary/downloads","issues_url":"https://api.github.com/repos/convexengineering/gplibrary/issues{/number}","pulls_url":"https://api.github.com/repos/convexengineering/gplibrary/pulls{/number}","milestones_url":"https://api.github.com/repos/convexengineering/gplibrary/milestones{/number}","notifications_url":"https://api.github.com/repos/convexengineering/gplibrary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/convexengineering/gplibrary/labels{/name}","releases_url":"https://api.github.com/repos/convexengineering/gplibrary/releases{/id}","deployments_url":"https://api.github.com/repos/convexengineering/gplibrary/deployments","created_at":"2015-10-19T19:44:45Z","updated_at":"2018-04-21T18:36:12Z","pushed_at":"2018-04-23T15:36:55Z","git_url":"git://github.com/convexengineering/gplibrary.git","ssh_url":"git@github.com:convexengineering/gplibrary.git","clone_url":"https://github.com/convexengineering/gplibrary.git","svn_url":"https://github.com/convexengineering/gplibrary","homepage":"","size":9097,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":29,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165"},"html":{"href":"https://github.com/convexengineering/gplibrary/pull/165"},"issue":{"href":"https://api.github.com/repos/convexengineering/gplibrary/issues/165"},"comments":{"href":"https://api.github.com/repos/convexengineering/gplibrary/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/convexengineering/gplibrary/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/convexengineering/gplibrary/statuses/d3f83e25bfa44359dc9d4337522d56fca0b27404"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mjburton11"}}