{"action":"created","issue":{"url":"https://api.github.com/repos/open-ideas/IDEAS/issues/289","labels_url":"https://api.github.com/repos/open-ideas/IDEAS/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/open-ideas/IDEAS/issues/289/comments","events_url":"https://api.github.com/repos/open-ideas/IDEAS/issues/289/events","html_url":"https://github.com/open-ideas/IDEAS/issues/289","id":56961316,"number":289,"title":"states on layer surfaces","user":{"login":"Mathadon","id":5970879,"avatar_url":"https://avatars.githubusercontent.com/u/5970879?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathadon","html_url":"https://github.com/Mathadon","followers_url":"https://api.github.com/users/Mathadon/followers","following_url":"https://api.github.com/users/Mathadon/following{/other_user}","gists_url":"https://api.github.com/users/Mathadon/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathadon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathadon/subscriptions","organizations_url":"https://api.github.com/users/Mathadon/orgs","repos_url":"https://api.github.com/users/Mathadon/repos","events_url":"https://api.github.com/users/Mathadon/events{/privacy}","received_events_url":"https://api.github.com/users/Mathadon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-ideas/IDEAS/labels/BWF","name":"BWF","color":"009800"},{"url":"https://api.github.com/repos/open-ideas/IDEAS/labels/proposal","name":"proposal","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"Mathadon","id":5970879,"avatar_url":"https://avatars.githubusercontent.com/u/5970879?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathadon","html_url":"https://github.com/Mathadon","followers_url":"https://api.github.com/users/Mathadon/followers","following_url":"https://api.github.com/users/Mathadon/following{/other_user}","gists_url":"https://api.github.com/users/Mathadon/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathadon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathadon/subscriptions","organizations_url":"https://api.github.com/users/Mathadon/orgs","repos_url":"https://api.github.com/users/Mathadon/repos","events_url":"https://api.github.com/users/Mathadon/events{/privacy}","received_events_url":"https://api.github.com/users/Mathadon/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-02-08T18:21:05Z","updated_at":"2015-07-14T16:23:59Z","closed_at":null,"body":"I changed the implementation of IDEAS.Buildings.Components.BaseClasses.MonoLayerOpaqueNf so that layer surfaces contain a state (instead of a resistance). This reduced the simulation time of ```IDEAS.Buildings.Validation.Tests.Case600```from 85s to 60s.\r\nDepending on the case I think that the gain can be larger. We will need to look further into this."},"comment":{"url":"https://api.github.com/repos/open-ideas/IDEAS/issues/comments/121296315","html_url":"https://github.com/open-ideas/IDEAS/issues/289#issuecomment-121296315","issue_url":"https://api.github.com/repos/open-ideas/IDEAS/issues/289","id":121296315,"user":{"login":"Mathadon","id":5970879,"avatar_url":"https://avatars.githubusercontent.com/u/5970879?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathadon","html_url":"https://github.com/Mathadon","followers_url":"https://api.github.com/users/Mathadon/followers","following_url":"https://api.github.com/users/Mathadon/following{/other_user}","gists_url":"https://api.github.com/users/Mathadon/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathadon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathadon/subscriptions","organizations_url":"https://api.github.com/users/Mathadon/orgs","repos_url":"https://api.github.com/users/Mathadon/repos","events_url":"https://api.github.com/users/Mathadon/events{/privacy}","received_events_url":"https://api.github.com/users/Mathadon/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T16:23:59Z","updated_at":"2015-07-14T16:23:59Z","body":"For `IDEAS.Buildings.Validation.Tests.Case920` I get:\r\n\r\n### with Evaluate=false\r\n#### old implementation\r\n```\r\nSizes of linear systems of equations: {4, 2, 2, 4, 63, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2, 2, 2}\r\nSizes after manipulation of the linear systems: {0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2}\r\n```\r\ncputime = 34.4s\r\n#### new implementation\r\n```\r\nSizes of linear systems of equations: {4, 43, 2}\r\nSizes after manipulation of the linear systems: {0, 10, 2}\r\n```\r\nCputime = 24 s\r\n\r\n\r\n### with Evaluate=true\r\n#### old implementation\r\n```\r\nSizes of linear systems of equations: {4, 2, 2, 4, 63, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2}\r\nSizes after manipulation of the linear systems: {0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}\r\n```\r\ncputime = 26s\r\n#### new implementation\r\n```\r\nSizes of linear systems of equations: {4, 43}\r\nSizes after manipulation of the linear systems: {0, 0}\r\n```\r\ncputime = 13 s\r\n\r\nIn both cases the size and number of linear systems is significantly reduced, which leads to significant speed improvements.\r\n\r\nSimulations were using:\r\n`simulateModel(\"IDEAS.Buildings.Validation.Tests.Case920\", stopTime=3.1536e+07, numberOfIntervals=0, outputInterval=3600, method=\"dassl\", resultFile=\"Case920\");`\r\n"}}