{"action":"created","comment":{"url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/comments/199122226","pull_request_review_id":133179893,"id":199122226,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTEyMjIyNg==","diff_hunk":"@@ -0,0 +1,58 @@\n+function out_data = reArrangeMat(varargin)\r\n+%**********************************************************************\r\n+%% HOME_SIM_MPC || Auxiliary function reArrangeMat\r","path":"methods/matlab_mpc/reArrangeMat.m","position":3,"original_position":3,"commit_id":"3ef00f5951f532ff340853748deb35c6b3e98004","original_commit_id":"3ef00f5951f532ff340853748deb35c6b3e98004","user":{"login":"pajjaecat","id":37332216,"node_id":"MDQ6VXNlcjM3MzMyMjE2","avatar_url":"https://avatars0.githubusercontent.com/u/37332216?v=4","gravatar_id":"","url":"https://api.github.com/users/pajjaecat","html_url":"https://github.com/pajjaecat","followers_url":"https://api.github.com/users/pajjaecat/followers","following_url":"https://api.github.com/users/pajjaecat/following{/other_user}","gists_url":"https://api.github.com/users/pajjaecat/gists{/gist_id}","starred_url":"https://api.github.com/users/pajjaecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajjaecat/subscriptions","organizations_url":"https://api.github.com/users/pajjaecat/orgs","repos_url":"https://api.github.com/users/pajjaecat/repos","events_url":"https://api.github.com/users/pajjaecat/events{/privacy}","received_events_url":"https://api.github.com/users/pajjaecat/received_events","type":"User","site_admin":false},"body":"Yes, definitely like the discussion on stackOverflow. You've got it completely right. \r\nGoing to rename it right away","created_at":"2018-06-29T10:44:44Z","updated_at":"2018-06-29T10:44:44Z","html_url":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1#discussion_r199122226","pull_request_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/comments/199122226"},"html":{"href":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1#discussion_r199122226"},"pull_request":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1"}},"in_reply_to_id":199099265},"pull_request":{"url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1","id":198247846,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjQ3ODQ2","html_url":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1","diff_url":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1.diff","patch_url":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1.patch","issue_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/1","number":1,"state":"open","locked":false,"title":"Add home_sim_mpc and a related function used therein","user":{"login":"pajjaecat","id":37332216,"node_id":"MDQ6VXNlcjM3MzMyMjE2","avatar_url":"https://avatars0.githubusercontent.com/u/37332216?v=4","gravatar_id":"","url":"https://api.github.com/users/pajjaecat","html_url":"https://github.com/pajjaecat","followers_url":"https://api.github.com/users/pajjaecat/followers","following_url":"https://api.github.com/users/pajjaecat/following{/other_user}","gists_url":"https://api.github.com/users/pajjaecat/gists{/gist_id}","starred_url":"https://api.github.com/users/pajjaecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajjaecat/subscriptions","organizations_url":"https://api.github.com/users/pajjaecat/orgs","repos_url":"https://api.github.com/users/pajjaecat/repos","events_url":"https://api.github.com/users/pajjaecat/events{/privacy}","received_events_url":"https://api.github.com/users/pajjaecat/received_events","type":"User","site_admin":false},"body":"Check the functions I've added and let me know if something should be changed. \r\n\r\nThanks","created_at":"2018-06-29T08:25:01Z","updated_at":"2018-06-29T10:44:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bbf148b8d116cc72b80c0216f05512651c29576","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/1/comments","statuses_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/statuses/3ef00f5951f532ff340853748deb35c6b3e98004","head":{"label":"pajjaecat:master","ref":"master","sha":"3ef00f5951f532ff340853748deb35c6b3e98004","user":{"login":"pajjaecat","id":37332216,"node_id":"MDQ6VXNlcjM3MzMyMjE2","avatar_url":"https://avatars0.githubusercontent.com/u/37332216?v=4","gravatar_id":"","url":"https://api.github.com/users/pajjaecat","html_url":"https://github.com/pajjaecat","followers_url":"https://api.github.com/users/pajjaecat/followers","following_url":"https://api.github.com/users/pajjaecat/following{/other_user}","gists_url":"https://api.github.com/users/pajjaecat/gists{/gist_id}","starred_url":"https://api.github.com/users/pajjaecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajjaecat/subscriptions","organizations_url":"https://api.github.com/users/pajjaecat/orgs","repos_url":"https://api.github.com/users/pajjaecat/repos","events_url":"https://api.github.com/users/pajjaecat/events{/privacy}","received_events_url":"https://api.github.com/users/pajjaecat/received_events","type":"User","site_admin":false},"repo":{"id":138883651,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4ODM2NTE=","name":"solarhome-control-bench","full_name":"pajjaecat/solarhome-control-bench","owner":{"login":"pajjaecat","id":37332216,"node_id":"MDQ6VXNlcjM3MzMyMjE2","avatar_url":"https://avatars0.githubusercontent.com/u/37332216?v=4","gravatar_id":"","url":"https://api.github.com/users/pajjaecat","html_url":"https://github.com/pajjaecat","followers_url":"https://api.github.com/users/pajjaecat/followers","following_url":"https://api.github.com/users/pajjaecat/following{/other_user}","gists_url":"https://api.github.com/users/pajjaecat/gists{/gist_id}","starred_url":"https://api.github.com/users/pajjaecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajjaecat/subscriptions","organizations_url":"https://api.github.com/users/pajjaecat/orgs","repos_url":"https://api.github.com/users/pajjaecat/repos","events_url":"https://api.github.com/users/pajjaecat/events{/privacy}","received_events_url":"https://api.github.com/users/pajjaecat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pajjaecat/solarhome-control-bench","description":"open testbench for control and optimization methods for the energy management of a simple solar home","fork":true,"url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench","forks_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/forks","keys_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/teams","hooks_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/hooks","issue_events_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/issues/events{/number}","events_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/events","assignees_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/assignees{/user}","branches_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/branches{/branch}","tags_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/tags","blobs_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/statuses/{sha}","languages_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/languages","stargazers_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/stargazers","contributors_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/contributors","subscribers_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/subscribers","subscription_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/subscription","commits_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/contents/{+path}","compare_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/merges","archive_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/downloads","issues_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/issues{/number}","pulls_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/pulls{/number}","milestones_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/milestones{/number}","notifications_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/labels{/name}","releases_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/releases{/id}","deployments_url":"https://api.github.com/repos/pajjaecat/solarhome-control-bench/deployments","created_at":"2018-06-27T13:13:15Z","updated_at":"2018-06-29T08:21:05Z","pushed_at":"2018-06-29T08:21:03Z","git_url":"git://github.com/pajjaecat/solarhome-control-bench.git","ssh_url":"git@github.com:pajjaecat/solarhome-control-bench.git","clone_url":"https://github.com/pajjaecat/solarhome-control-bench.git","svn_url":"https://github.com/pajjaecat/solarhome-control-bench","homepage":null,"size":22077,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pierre-haessig:master","ref":"master","sha":"58f2d5ccbb94d27cdf1ef9385cdec542707c47d2","user":{"login":"pierre-haessig","id":1010404,"node_id":"MDQ6VXNlcjEwMTA0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1010404?v=4","gravatar_id":"","url":"https://api.github.com/users/pierre-haessig","html_url":"https://github.com/pierre-haessig","followers_url":"https://api.github.com/users/pierre-haessig/followers","following_url":"https://api.github.com/users/pierre-haessig/following{/other_user}","gists_url":"https://api.github.com/users/pierre-haessig/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-haessig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-haessig/subscriptions","organizations_url":"https://api.github.com/users/pierre-haessig/orgs","repos_url":"https://api.github.com/users/pierre-haessig/repos","events_url":"https://api.github.com/users/pierre-haessig/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-haessig/received_events","type":"User","site_admin":false},"repo":{"id":117519031,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc1MTkwMzE=","name":"solarhome-control-bench","full_name":"pierre-haessig/solarhome-control-bench","owner":{"login":"pierre-haessig","id":1010404,"node_id":"MDQ6VXNlcjEwMTA0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1010404?v=4","gravatar_id":"","url":"https://api.github.com/users/pierre-haessig","html_url":"https://github.com/pierre-haessig","followers_url":"https://api.github.com/users/pierre-haessig/followers","following_url":"https://api.github.com/users/pierre-haessig/following{/other_user}","gists_url":"https://api.github.com/users/pierre-haessig/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-haessig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-haessig/subscriptions","organizations_url":"https://api.github.com/users/pierre-haessig/orgs","repos_url":"https://api.github.com/users/pierre-haessig/repos","events_url":"https://api.github.com/users/pierre-haessig/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-haessig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pierre-haessig/solarhome-control-bench","description":"open testbench for control and optimization methods for the energy management of a simple solar home","fork":false,"url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench","forks_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/forks","keys_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/teams","hooks_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/hooks","issue_events_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/events{/number}","events_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/events","assignees_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/assignees{/user}","branches_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/branches{/branch}","tags_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/tags","blobs_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/statuses/{sha}","languages_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/languages","stargazers_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/stargazers","contributors_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/contributors","subscribers_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/subscribers","subscription_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/subscription","commits_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/contents/{+path}","compare_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/merges","archive_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/downloads","issues_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues{/number}","pulls_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls{/number}","milestones_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/milestones{/number}","notifications_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/labels{/name}","releases_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/releases{/id}","deployments_url":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/deployments","created_at":"2018-01-15T08:36:53Z","updated_at":"2018-06-12T09:55:26Z","pushed_at":"2018-06-29T08:25:01Z","git_url":"git://github.com/pierre-haessig/solarhome-control-bench.git","ssh_url":"git@github.com:pierre-haessig/solarhome-control-bench.git","clone_url":"https://github.com/pierre-haessig/solarhome-control-bench.git","svn_url":"https://github.com/pierre-haessig/solarhome-control-bench","homepage":null,"size":22064,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1"},"html":{"href":"https://github.com/pierre-haessig/solarhome-control-bench/pull/1"},"issue":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/1"},"comments":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pierre-haessig/solarhome-control-bench/statuses/3ef00f5951f532ff340853748deb35c6b3e98004"}},"author_association":"NONE"}}
{"actor":{"display_login":"pajjaecat"}}