{"action":"created","issue":{"url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/34","repository_url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased","labels_url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/34/comments","events_url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/34/events","html_url":"https://github.com/rte-antares-rpackage/antaresFlowbased/issues/34","id":285442695,"number":34,"title":"New function createFBTS()","user":{"login":"baptsegu","id":23483145,"avatar_url":"https://avatars1.githubusercontent.com/u/23483145?v=4","gravatar_id":"","url":"https://api.github.com/users/baptsegu","html_url":"https://github.com/baptsegu","followers_url":"https://api.github.com/users/baptsegu/followers","following_url":"https://api.github.com/users/baptsegu/following{/other_user}","gists_url":"https://api.github.com/users/baptsegu/gists{/gist_id}","starred_url":"https://api.github.com/users/baptsegu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptsegu/subscriptions","organizations_url":"https://api.github.com/users/baptsegu/orgs","repos_url":"https://api.github.com/users/baptsegu/repos","events_url":"https://api.github.com/users/baptsegu/events{/privacy}","received_events_url":"https://api.github.com/users/baptsegu/received_events","type":"User","site_admin":false},"labels":[{"id":564757536,"url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"baptsegu","id":23483145,"avatar_url":"https://avatars1.githubusercontent.com/u/23483145?v=4","gravatar_id":"","url":"https://api.github.com/users/baptsegu","html_url":"https://github.com/baptsegu","followers_url":"https://api.github.com/users/baptsegu/followers","following_url":"https://api.github.com/users/baptsegu/following{/other_user}","gists_url":"https://api.github.com/users/baptsegu/gists{/gist_id}","starred_url":"https://api.github.com/users/baptsegu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptsegu/subscriptions","organizations_url":"https://api.github.com/users/baptsegu/orgs","repos_url":"https://api.github.com/users/baptsegu/repos","events_url":"https://api.github.com/users/baptsegu/events{/privacy}","received_events_url":"https://api.github.com/users/baptsegu/received_events","type":"User","site_admin":false},"assignees":[{"login":"baptsegu","id":23483145,"avatar_url":"https://avatars1.githubusercontent.com/u/23483145?v=4","gravatar_id":"","url":"https://api.github.com/users/baptsegu","html_url":"https://github.com/baptsegu","followers_url":"https://api.github.com/users/baptsegu/followers","following_url":"https://api.github.com/users/baptsegu/following{/other_user}","gists_url":"https://api.github.com/users/baptsegu/gists{/gist_id}","starred_url":"https://api.github.com/users/baptsegu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptsegu/subscriptions","organizations_url":"https://api.github.com/users/baptsegu/orgs","repos_url":"https://api.github.com/users/baptsegu/repos","events_url":"https://api.github.com/users/baptsegu/events{/privacy}","received_events_url":"https://api.github.com/users/baptsegu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-01-02T14:30:13Z","updated_at":"2018-02-16T10:59:42Z","closed_at":null,"author_association":"MEMBER","body":"Function name :  `createFBTS() `\r\n\r\nArguments : \r\n\r\n- `probabilityMatrix `: as returned by `flowBasedClustering::getProbability()`. \r\nThe link between the different variables of the matrix and the antares study is made with the name of the variables. \r\nTo do so, the following syntax should be used : area/variable (variable = load, solar, wind) ou area/cluster\r\nExample : \r\n`matProb <- flowBasedClustering::getProbability(climat, clusterTD, levelsProba = c(1/3, 2/3))`\r\n`setnames(MatProb[[1]],\"Conso (J-1)\", \"fr/load\" )`\r\n`setnames(MatProb[[2]],\"Conso (J-1)\", \"fr/load\" )`\r\n\r\n- `multiplier` : data.frame or csv, with two columns, variable name (e.g. `fr/load`) and a numerical value.\r\nLevels of the variables are multiplied by the multiplier before being compared to the Antares Study\r\n\r\n- `interSeasonBegin`\r\n- `interSeasonEnd` : define three seasons as with `flowBasedClustering::getCalendar()` function\r\n\r\n- `firstDay` : define which day of the week is the first day of the time series of the Antares study.\r\n1 to 7, or \"monday\" to \"sunday\", or `NULL`\r\nif `NULL`, the first day is identified automatically looking at the load time series\r\n\r\n- `output_path` : output directory\r\n\r\n- `seed` : seed used to initiate the pseudo-random number generator. Defaut value is `04052017`.\r\n\r\n- `opts `: as returned by `antaresRead::setSimulationPath()`\r\n\r\n\r\nOutputs : \r\nCreate file ts.txt in `output_path`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/comments/366205450","html_url":"https://github.com/rte-antares-rpackage/antaresFlowbased/issues/34#issuecomment-366205450","issue_url":"https://api.github.com/repos/rte-antares-rpackage/antaresFlowbased/issues/34","id":366205450,"user":{"login":"baptsegu","id":23483145,"avatar_url":"https://avatars1.githubusercontent.com/u/23483145?v=4","gravatar_id":"","url":"https://api.github.com/users/baptsegu","html_url":"https://github.com/baptsegu","followers_url":"https://api.github.com/users/baptsegu/followers","following_url":"https://api.github.com/users/baptsegu/following{/other_user}","gists_url":"https://api.github.com/users/baptsegu/gists{/gist_id}","starred_url":"https://api.github.com/users/baptsegu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptsegu/subscriptions","organizations_url":"https://api.github.com/users/baptsegu/orgs","repos_url":"https://api.github.com/users/baptsegu/repos","events_url":"https://api.github.com/users/baptsegu/events{/privacy}","received_events_url":"https://api.github.com/users/baptsegu/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T10:59:42Z","updated_at":"2018-02-16T10:59:42Z","author_association":"MEMBER","body":"A rajouter dans createFBTS(), l'argument outputPath dans lequel le fichier `ts.txt` sera créé."}}
{"actor":{"display_login":"baptsegu"}}