{"action":"created","issue":{"url":"https://api.github.com/repos/modelica/Modelica/issues/1153","repository_url":"https://api.github.com/repos/modelica/Modelica","labels_url":"https://api.github.com/repos/modelica/Modelica/issues/1153/labels{/name}","comments_url":"https://api.github.com/repos/modelica/Modelica/issues/1153/comments","events_url":"https://api.github.com/repos/modelica/Modelica/issues/1153/events","html_url":"https://github.com/modelica/Modelica/issues/1153","id":200817465,"number":1153,"title":"Ideas for a new table call","user":{"login":"modelica-trac-importer","id":22202507,"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":517712841,"url":"https://api.github.com/repos/modelica/Modelica/labels/L:%20Blocks","name":"L: Blocks","color":"0000aa","default":false},{"id":517715795,"url":"https://api.github.com/repos/modelica/Modelica/labels/discussion","name":"discussion","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"MartinOtter","id":7248038,"avatar_url":"https://avatars3.githubusercontent.com/u/7248038?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinOtter","html_url":"https://github.com/MartinOtter","followers_url":"https://api.github.com/users/MartinOtter/followers","following_url":"https://api.github.com/users/MartinOtter/following{/other_user}","gists_url":"https://api.github.com/users/MartinOtter/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinOtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinOtter/subscriptions","organizations_url":"https://api.github.com/users/MartinOtter/orgs","repos_url":"https://api.github.com/users/MartinOtter/repos","events_url":"https://api.github.com/users/MartinOtter/events{/privacy}","received_events_url":"https://api.github.com/users/MartinOtter/received_events","type":"User","site_admin":false},"assignees":[{"login":"MartinOtter","id":7248038,"avatar_url":"https://avatars3.githubusercontent.com/u/7248038?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinOtter","html_url":"https://github.com/MartinOtter","followers_url":"https://api.github.com/users/MartinOtter/followers","following_url":"https://api.github.com/users/MartinOtter/following{/other_user}","gists_url":"https://api.github.com/users/MartinOtter/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinOtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinOtter/subscriptions","organizations_url":"https://api.github.com/users/MartinOtter/orgs","repos_url":"https://api.github.com/users/MartinOtter/repos","events_url":"https://api.github.com/users/MartinOtter/events{/privacy}","received_events_url":"https://api.github.com/users/MartinOtter/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/modelica/Modelica/milestones/12","html_url":"https://github.com/modelica/Modelica/milestone/12","labels_url":"https://api.github.com/repos/modelica/Modelica/milestones/12/labels","id":2250960,"number":12,"title":"MSL3.2.3","description":"","creator":{"login":"modelica-trac-importer","id":22202507,"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":75,"closed_issues":302,"state":"open","created_at":"2017-01-13T19:25:16Z","updated_at":"2018-02-26T22:00:45Z","due_on":null,"closed_at":null},"comments":45,"created_at":"2017-01-14T17:30:38Z","updated_at":"2018-02-27T07:19:21Z","closed_at":null,"author_association":"NONE","body":"**Reported by otter on 1 Jun 2013 21:52 UTC**\r\nThe contract for the development of an open source implementation of the Table blocks was very successful, and it seems useful to continue in this fashion. Therefore, I plan to discuss on Wed. at the Modelica Design Meeting a new call for further improved tables and this ticket should collect ideas for such a new call. Please provide your input.\r\n\r\nHere is a start:\r\n\r\n * ~~Support more extrapolation options, see ticket #477.~~\r\n * Support n-dimensional tables (linear or Akima-Spline interpolation in N dimensions). Several details need to be discussed, especially, whether ASCII format should be extended (or not available for ND tables) and in which form the interpolation problem should be formulated (there are several options).\r\n * ~~Support new interpolation type for 1D tables: monotonic splines according to: Fritsch F.N. and Carlson R.E. (1980): Monotone piecewise cubic interpolation. SIAM J. Numerc. Anal., Vol. 17, No. 2, April 1980, pp. 238-246. These special cubic splines guarantee that if the ordinate points are monotonic, then all interpolated points are monotonic as well (so no \"unwanted vibrations\").~~\r\n\r\n----\r\n\r\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1153"},"comment":{"url":"https://api.github.com/repos/modelica/Modelica/issues/comments/368770862","html_url":"https://github.com/modelica/Modelica/issues/1153#issuecomment-368770862","issue_url":"https://api.github.com/repos/modelica/Modelica/issues/1153","id":368770862,"user":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars3.githubusercontent.com/u/14896695?v=4","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},"created_at":"2018-02-27T07:19:21Z","updated_at":"2018-02-27T07:19:21Z","author_association":"OWNER","body":"Regarding the first case. You are right it can be solved based on bilinear interpolation (of the four adjacent data points) and thus without triangulation. Still, it can be generalized to the second case of scattered data points. Using [griddata](https://www.mathworks.com/help/matlab/ref/griddata.html) with (default) [method](https://de.mathworks.com/help/matlab/ref/griddata.html#input_argument_d119e381781) `'linear'` does (based on triangulation) exactly the job you/we want.\r\n\r\nSure, [ApproxSpline](https://github.com/modelica-3rdparty/ApproxSpline) should not go to MSL. It was decided once to avoid dependencies on [third-party C libraries](https://github.com/modelica/Modelica/issues/2253) for the sake of maintenance effort. Having it as an extra library is sufficient."}}
{"actor":{"display_login":"beutlich"}}