{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/fmi-standard/issues/334","repository_url":"https://api.github.com/repos/tbeu/fmi-standard","labels_url":"https://api.github.com/repos/tbeu/fmi-standard/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/fmi-standard/issues/334/comments","events_url":"https://api.github.com/repos/tbeu/fmi-standard/issues/334/events","html_url":"https://github.com/tbeu/fmi-standard/issues/334","id":370355084,"node_id":"MDU6SXNzdWUzNzAzNTUwODQ=","number":334,"title":"Description of fmi2GetContinousStates is out of date","user":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","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":1091877211,"node_id":"MDU6TGFiZWwxMDkxODc3MjEx","url":"https://api.github.com/repos/tbeu/fmi-standard/labels/P:%20minor","name":"P: minor","color":"dcffff","default":false},{"id":1091867389,"node_id":"MDU6TGFiZWwxMDkxODY3Mzg5","url":"https://api.github.com/repos/tbeu/fmi-standard/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1091874831,"node_id":"MDU6TGFiZWwxMDkxODc0ODMx","url":"https://api.github.com/repos/tbeu/fmi-standard/labels/specification","name":"specification","color":"0000aa","default":false}],"state":"open","locked":false,"assignee":{"login":"tbeu","id":5444067,"node_id":"MDQ6VXNlcjU0NDQwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/5444067?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"assignees":[{"login":"tbeu","id":5444067,"node_id":"MDQ6VXNlcjU0NDQwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/5444067?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/fmi-standard/milestones/3","html_url":"https://github.com/tbeu/fmi-standard/milestone/3","labels_url":"https://api.github.com/repos/tbeu/fmi-standard/milestones/3/labels","id":3740093,"node_id":"MDk6TWlsZXN0b25lMzc0MDA5Mw==","number":3,"title":"FMI 2.0.1","description":"","creator":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","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":14,"closed_issues":2,"state":"open","created_at":"2018-10-15T15:12:35Z","updated_at":"2018-10-15T21:40:59Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-10-15T21:40:59Z","updated_at":"2018-10-15T21:41:09Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Reported by karl&#46;wernersson on 10 Apr 2015 13:05 UTC**\nHi\n\nin the description of the function  fmi2GetContinuousStates is not entierly correct.\n\n**fmi2Status fmi2GetContinuousStates(fmi2Component c, fmi2Real x[], size_t nx);**\n_Return the new (continuous) state vector x. This function has to be called directly after calling\nfunction fmi2EnterContinuousTimeMode if it returns with eventInfo->\nvaluesOfContinuousStatesChanged = fmi2True (indicating that the (continuous-time)\nstate vector has changed)._\n\nFirst of the attribute reinit in scalarVariables specifics exactly which states that needs to be reinitialized. This makes calling this function unnecessary and only a call to GetReal on the specific states is needed.\n\nAlso I do not see the requirement to call it directly after calling fmi2EnterContinuousTimeMode, it is fully legal to call this during event mode so the only requirement is to update the required states no later then directly after a cll to fmi2EnterContinousTimeMode.The update can be done either whit this function or by calling fmi2GetReal on the states specified with reinit attributes.\n\nBest Regards\nKarl Wernersson\n\n\n----\n\nMigrated-From: https://trac.fmi-standard.org/ticket/334"},"comment":{"url":"https://api.github.com/repos/tbeu/fmi-standard/issues/comments/430024521","html_url":"https://github.com/tbeu/fmi-standard/issues/334#issuecomment-430024521","issue_url":"https://api.github.com/repos/tbeu/fmi-standard/issues/334","id":430024521,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDAyNDUyMQ==","user":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","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":"2018-10-15T21:41:09Z","updated_at":"2018-10-15T21:41:09Z","author_association":"COLLABORATOR","body":"**Comment by aviel on 25 Oct 2016 12:06 UTC**\nMoreover, the fmi2EnterContinuousTimeMode function does not return an eventInfo structure. The calling condition for fmi2GetContinuousStates should be completely redefined."}}
{"actor":{"display_login":"modelica-trac-importer"}}