{"action":"opened","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1106","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1106/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1106/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1106/events","html_url":"https://github.com/tbeu/Modelica/issues/1106","id":197559308,"number":1106,"title":"Modelica.Media conformance to the specification","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":[],"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":null,"comments":0,"created_at":"2016-12-26T08:46:33Z","updated_at":"2016-12-26T08:46:33Z","closed_at":null,"body":"**Reported by adrpo on 16 May 2013 06:16 UTC**\nHi,\n\nJust wondering if Modelica.Media is conform to the specification.\n\nSpec says:\n```\n5.3.2 Composite Name Lookup\n...\nThe class we look inside may not be partial in a simulation model.\n```\n\n```\npackage MoistAir \n  extends .Modelica.Media.Interfaces.PartialCondensingGases(\n    mediumName = \"Moist air\", \n    fluidConstants = {IdealGases.Common.FluidData.H2O, IdealGases.Common.FluidData.N2}\n    ...);\n```\n\nNow IdealGases.Common.FluidData looks like:\n```\n  constant PartialMixtureMedium.FluidConstants N2(\n                       chemicalFormula =        \"N2\", ...);\n```\n\nWhich uses PartialMixtureMedium.FluidConstants from a partial package.\n\nI know that fluidConstants is not used in MoistAir at all, but that doesn't matter.\n\nThe question is \\*what\\* can you use from a partial package and \\*how\\*.\nThe specification is rather vague on this point.\n\nCheers,\nAdrian Pop/\n\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1106"}}
{"actor":{"display_login":"modelica-trac-importer"}}