{"action":"created","issue":{"url":"https://api.github.com/repos/calliope-project/calliope/issues/7","repository_url":"https://api.github.com/repos/calliope-project/calliope","labels_url":"https://api.github.com/repos/calliope-project/calliope/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/calliope-project/calliope/issues/7/comments","events_url":"https://api.github.com/repos/calliope-project/calliope/issues/7/events","html_url":"https://github.com/calliope-project/calliope/issues/7","id":157328361,"number":7,"title":"Extend variables/data which can be loaded from file","user":{"login":"brynpickering","id":17178478,"avatar_url":"https://avatars.githubusercontent.com/u/17178478?v=3","gravatar_id":"","url":"https://api.github.com/users/brynpickering","html_url":"https://github.com/brynpickering","followers_url":"https://api.github.com/users/brynpickering/followers","following_url":"https://api.github.com/users/brynpickering/following{/other_user}","gists_url":"https://api.github.com/users/brynpickering/gists{/gist_id}","starred_url":"https://api.github.com/users/brynpickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brynpickering/subscriptions","organizations_url":"https://api.github.com/users/brynpickering/orgs","repos_url":"https://api.github.com/users/brynpickering/repos","events_url":"https://api.github.com/users/brynpickering/events{/privacy}","received_events_url":"https://api.github.com/users/brynpickering/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/calliope-project/calliope/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/calliope-project/calliope/milestones/1","html_url":"https://github.com/calliope-project/calliope/milestones/0.5.0","labels_url":"https://api.github.com/repos/calliope-project/calliope/milestones/1/labels","id":1778144,"number":1,"title":"0.5.0","description":null,"creator":{"login":"sjpfenninger","id":141709,"avatar_url":"https://avatars.githubusercontent.com/u/141709?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpfenninger","html_url":"https://github.com/sjpfenninger","followers_url":"https://api.github.com/users/sjpfenninger/followers","following_url":"https://api.github.com/users/sjpfenninger/following{/other_user}","gists_url":"https://api.github.com/users/sjpfenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpfenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpfenninger/subscriptions","organizations_url":"https://api.github.com/users/sjpfenninger/orgs","repos_url":"https://api.github.com/users/sjpfenninger/repos","events_url":"https://api.github.com/users/sjpfenninger/events{/privacy}","received_events_url":"https://api.github.com/users/sjpfenninger/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-05-20T06:42:08Z","updated_at":"2016-06-06T11:45:30Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-28T08:38:59Z","updated_at":"2016-06-15T13:36:36Z","closed_at":null,"body":"Consolidation and generalisation of data input from file to account for any variable, rather than just a few. This includes those which are time dependant (e.g. weather data, energy purchase/selling price) or load dependant (e.g. piecewise linearisation of non-linear technology characteristic consumption curves). \r\nLoad dependant requires integration of MILP functionality (issue #2)."},"comment":{"url":"https://api.github.com/repos/calliope-project/calliope/issues/comments/226188934","html_url":"https://github.com/calliope-project/calliope/issues/7#issuecomment-226188934","issue_url":"https://api.github.com/repos/calliope-project/calliope/issues/7","id":226188934,"user":{"login":"sjpfenninger","id":141709,"avatar_url":"https://avatars.githubusercontent.com/u/141709?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpfenninger","html_url":"https://github.com/sjpfenninger","followers_url":"https://api.github.com/users/sjpfenninger/followers","following_url":"https://api.github.com/users/sjpfenninger/following{/other_user}","gists_url":"https://api.github.com/users/sjpfenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpfenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpfenninger/subscriptions","organizations_url":"https://api.github.com/users/sjpfenninger/orgs","repos_url":"https://api.github.com/users/sjpfenninger/repos","events_url":"https://api.github.com/users/sjpfenninger/events{/privacy}","received_events_url":"https://api.github.com/users/sjpfenninger/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T13:36:36Z","updated_at":"2016-06-15T13:36:36Z","body":"Re the [first comment](#issuecomment-224219909), I would say that option 3 (time-based data indexed by timestamps rather than integers) is probably best -- although it would require some thinking to ensure that all data files contain a consistent time dimension (which is easier to do if the time dimension is specified only once in a separate file).\r\n\r\nRe the [second comment](#issuecomment-224558173), it is true that values like `r_eff` are currently assumed to be static in time. Hmm... I suspect the main issue with adding more parameters defined over time and space will be the performance impact, particularly on Pyomo. Perhaps this requires some testing? Iterating over a pandas DataFrame would is likely slower than get_option now is, and I think iterating over a Pyomo parameter would be too (but I'm not certain about that - nor am I certain whether that is a relevant time cost in the context of all the other stuff Pyomo does when constructing the model)."}}
{"actor":{"display_login":"sjpfenninger"}}