{"action":"reopened","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1188","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1188/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1188/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1188/events","html_url":"https://github.com/tbeu/Modelica/issues/1188","id":197573657,"number":1188,"title":"Discontinues v_smooth in dp_edgedOverall_MFLOW","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":506769262,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:Fluid.Dissipation","name":"L:Fluid.Dissipation","color":"0000aa","default":false}],"state":"open","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/47","html_url":"https://github.com/tbeu/Modelica/milestone/47","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/47/labels","id":2214850,"number":47,"title":"MSL3.2.1","description":"Backward compatible bug-fix release.","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":305,"state":"closed","created_at":"2016-12-25T13:00:27Z","updated_at":"2016-12-26T10:43:31Z","due_on":"2013-03-31T07:00:00Z","closed_at":"2016-12-25T13:00:27Z"},"comments":6,"created_at":"2016-12-26T10:41:08Z","updated_at":"2016-12-26T10:43:31Z","closed_at":null,"body":"**Modified by dietmarw on 29 Jun 2013 17:30 UTC**\nThis part of the code in dp_edgedOverall_MFLOW shows a discontinues signal for v_smooth when abs(dp) becomes larger than dp_lam (or vice versa). Unsure if this is on purpose, but it causes simulations to fail if this function is part of an implicit system equations to be solved (nonlinear systems in Dymola).\n```\n//mean velocity under smooth conditions w.r.t. flow regime\n\n  Modelica.SIunits.Velocity v_smooth=if abs(dp) > dp_lam then (2*abs(dp))!^0.5*(\n      A*C1*zeta_LOC*IN_var.rho)!^(-0.5) else (2*(d_hyd/IN_var.eta)!^exp/(A*C1*\n      zeta_LOC*B*(IN_var.rho)!^(1 - exp)))!^(1/pow)*\n      Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(\n      abs(dp),\n      dp_min,\n      1/pow) \"Mean velocity under smooth conditions\";\n```\n\n----\n\n**Reported by edo&#46;drenth on 29 Jun 2013 17:15 UTC**\nThis part of the code in dp_edgedOverall_MFLOW shows a discontinues signal for v_smooth when abs(dp) becomes larger than dp_lam (or vice versa). Unsure if this is on purpose, but it causes simulations to fail if this function is part of an implicit system equations to be solved (nonlinear systems in Dymola).\n\n//mean velocity under smooth conditions w.r.t. flow regime\n\n  Modelica.SIunits.Velocity v_smooth=if abs(dp) > dp_lam then (2\\*abs(dp))!^0.5\\*(\n\n      A\\*C1\\*zeta_LOC\\*IN_var.rho)!<sup>(-0.5) else (2\\*(d_hyd/IN_var.eta)!</sup>exp/(A\\*C1*\n\n      zeta_LOC\\*B*(IN_var.rho)!<sup>(1 - exp)))!</sup>(1/pow)*\n\n      Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(\n\n      abs(dp),\n\n      dp_min,\n\n      1/pow) \"Mean velocity under smooth conditions\";\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1188"}}
{"actor":{"display_login":"modelica-trac-importer"}}