{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1818","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1818/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1818/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1818/events","html_url":"https://github.com/tbeu/Modelica/issues/1818","id":197623781,"number":1818,"title":"constant torque with regularization around zero","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":506762999,"url":"https://api.github.com/repos/tbeu/Modelica/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":506769598,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:Mechanics.Rotational","name":"L:Mechanics.Rotational","color":"0000aa","default":false}],"state":"closed","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/59","html_url":"https://github.com/tbeu/Modelica/milestone/59","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/59/labels","id":2214862,"number":59,"title":"MSL3.2.2","description":"","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":0,"closed_issues":106,"state":"closed","created_at":"2016-12-25T13:02:16Z","updated_at":"2016-12-26T22:33:31Z","due_on":"2016-03-11T08:00:00Z","closed_at":"2016-12-25T13:02:16Z"},"comments":29,"created_at":"2016-12-26T22:26:39Z","updated_at":"2016-12-26T22:34:15Z","closed_at":"2016-12-26T22:33:30Z","body":"**Reported by ahaumer on 4 Nov 2015 18:35 UTC**\nModelica.Mechanics.Rotational.Sources.ConstantTorque provides only torque in one direction. If you want to change torque direction when speed goes through zero, you have to introduce the same boolean parameter TorqueDirection as in Modelica.Mechanics.Rotational.Sources.LinearSpeedDependentTorque and Modelica.Mechanics.Rotational.Sources.uadraticSpeedDependentTorque. Additionally, in case TorqueDirection = false, you have to provide a regularization (i.e. linear speed dependent torque) below a minimum speed.\nSetting TorqueDirection = true by default, the enhancement is backwards compatible.\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1818"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269246221","html_url":"https://github.com/tbeu/Modelica/issues/1818#issuecomment-269246221","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/1818","id":269246221,"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},"created_at":"2016-12-26T22:34:15Z","updated_at":"2016-12-26T22:34:15Z","body":"**Comment by beutlich on 19 Nov 2015 15:09 UTC**\nReplying to [comment:23 hansolsson]:\n> Just wondering, I thought the changes of ConstantTorque were reverted, so what was the reason for the following:\n> \n> Added new variable Modelica.Mechanics.Rotational.Sources.ConstantTorque.w \n> \n> \n\nVariable w was added by Toni. I guess it was by design since the other torque sources also have w as variable present. But actually w is not needed."}}
{"actor":{"display_login":"modelica-trac-importer"}}