{"action":"opened","issue":{"url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/issues/2686","repository_url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary","labels_url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/issues/2686/labels{/name}","comments_url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/issues/2686/comments","events_url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/issues/2686/events","html_url":"https://github.com/modelica/ModelicaStandardLibrary/issues/2686","id":339499802,"node_id":"MDU6SXNzdWUzMzk0OTk4MDI=","number":2686,"title":"Incorrect flow direction in Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater?","user":{"login":"HansOlsson","id":13217430,"node_id":"MDQ6VXNlcjEzMjE3NDMw","avatar_url":"https://avatars0.githubusercontent.com/u/13217430?v=4","gravatar_id":"","url":"https://api.github.com/users/HansOlsson","html_url":"https://github.com/HansOlsson","followers_url":"https://api.github.com/users/HansOlsson/followers","following_url":"https://api.github.com/users/HansOlsson/following{/other_user}","gists_url":"https://api.github.com/users/HansOlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/HansOlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansOlsson/subscriptions","organizations_url":"https://api.github.com/users/HansOlsson/orgs","repos_url":"https://api.github.com/users/HansOlsson/repos","events_url":"https://api.github.com/users/HansOlsson/events{/privacy}","received_events_url":"https://api.github.com/users/HansOlsson/received_events","type":"User","site_admin":false},"labels":[{"id":517713675,"node_id":"MDU6TGFiZWw1MTc3MTM2NzU=","url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/labels/L:%20Fluid","name":"L: Fluid","color":"0000aa","default":false},{"id":34290269,"node_id":"MDU6TGFiZWwzNDI5MDI2OQ==","url":"https://api.github.com/repos/modelica/ModelicaStandardLibrary/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-09T15:31:41Z","updated_at":"2018-07-09T15:31:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In this model I noticed that B2 has a few drops of water flowing out of the port at the top of the tank, which is plain weird!  I don't think it is any error in symbolic processing in Dymola.\r\n\r\nSpecifically B2.top_ports[1].m_flow (same as V6.port_a.m_flow) has a negative dip at 741.5878891772804s (followed by a larger positive flow. note: there is a also  a positive \"dip\" at 3262.7830640209s). \r\nPhysically that should not happen, and top_ports.m_flow has a min-value of 0. \r\n\r\nYou have to zoom in to notice that B2.m also decreases slightly at that time from 4.972674415057601 to 4.972673539863315 (so about 13 drops of water).\r\n\r\nAs far as I can tell the model does not directly try to prevent this flow-situation.\r\n\r\nResults using Dymola 2019 (and turning off equidistant time grid and storing in double precision).\r\n(Still present in current beta, and could be reproduced with other solvers as well.)"}}
{"actor":{"display_login":"HansOlsson"}}