{"action":"created","issue":{"url":"https://api.github.com/repos/quintel/etengine/issues/495","repository_url":"https://api.github.com/repos/quintel/etengine","labels_url":"https://api.github.com/repos/quintel/etengine/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/quintel/etengine/issues/495/comments","events_url":"https://api.github.com/repos/quintel/etengine/issues/495/events","html_url":"https://github.com/quintel/etengine/issues/495","id":8987032,"number":495,"title":"Graph should be able to recalculate without the tricks now used for Merit Order","user":{"login":"dennisschoenmakers","id":104830,"avatar_url":"https://avatars.githubusercontent.com/u/104830?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisschoenmakers","html_url":"https://github.com/dennisschoenmakers","followers_url":"https://api.github.com/users/dennisschoenmakers/followers","following_url":"https://api.github.com/users/dennisschoenmakers/following{/other_user}","gists_url":"https://api.github.com/users/dennisschoenmakers/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisschoenmakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisschoenmakers/subscriptions","organizations_url":"https://api.github.com/users/dennisschoenmakers/orgs","repos_url":"https://api.github.com/users/dennisschoenmakers/repos","events_url":"https://api.github.com/users/dennisschoenmakers/events{/privacy}","received_events_url":"https://api.github.com/users/dennisschoenmakers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/quintel/etengine/labels/Clean-up","name":"Clean-up","color":"0b02e1"},{"url":"https://api.github.com/repos/quintel/etengine/labels/On%20hold","name":"On hold","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"antw","id":4383,"avatar_url":"https://avatars.githubusercontent.com/u/4383?v=3","gravatar_id":"","url":"https://api.github.com/users/antw","html_url":"https://github.com/antw","followers_url":"https://api.github.com/users/antw/followers","following_url":"https://api.github.com/users/antw/following{/other_user}","gists_url":"https://api.github.com/users/antw/gists{/gist_id}","starred_url":"https://api.github.com/users/antw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antw/subscriptions","organizations_url":"https://api.github.com/users/antw/orgs","repos_url":"https://api.github.com/users/antw/repos","events_url":"https://api.github.com/users/antw/events{/privacy}","received_events_url":"https://api.github.com/users/antw/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2012-12-04T15:15:06Z","updated_at":"2016-02-05T08:24:30Z","closed_at":null,"body":"From graph.rb:\n\n```Ruby\n\n        if use_merit_order_demands? && future?\n          dataset_copy = Marshal.load(Marshal.dump(@dataset))\n        end\n\n        calculation_loop # the initial loop\n\n        if use_merit_order_demands? && future?\n          mo = Plugins::MeritOrder::MeritOrderInjector.new(self)\n          mo.run\n          detach_dataset!\n          self.dataset = dataset_copy\n          mo.inject_updated_demand\n          calculation_loop\n        end\n\n```"},"comment":{"url":"https://api.github.com/repos/quintel/etengine/issues/comments/180247479","html_url":"https://github.com/quintel/etengine/issues/495#issuecomment-180247479","issue_url":"https://api.github.com/repos/quintel/etengine/issues/495","id":180247479,"user":{"login":"dennisschoenmakers","id":104830,"avatar_url":"https://avatars.githubusercontent.com/u/104830?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisschoenmakers","html_url":"https://github.com/dennisschoenmakers","followers_url":"https://api.github.com/users/dennisschoenmakers/followers","following_url":"https://api.github.com/users/dennisschoenmakers/following{/other_user}","gists_url":"https://api.github.com/users/dennisschoenmakers/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisschoenmakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisschoenmakers/subscriptions","organizations_url":"https://api.github.com/users/dennisschoenmakers/orgs","repos_url":"https://api.github.com/users/dennisschoenmakers/repos","events_url":"https://api.github.com/users/dennisschoenmakers/events{/privacy}","received_events_url":"https://api.github.com/users/dennisschoenmakers/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T08:24:30Z","updated_at":"2016-02-05T08:24:30Z","body":"Still relevant, @antw?\r\n"}}