Hi to everyone,
I'm trying to use an external library (for thermal process simulation): The problem that I found is that it needs some packages of the standard modelica library that weren't include with the system modeler (Fluid and Media). I Downloaded from the modelica web site the full library, and overwritten the SystemModeler deafault library. The problem is that those packages shows errors when validated, or tried to use in the external library. For example when validating a function in the Media package it shows this:
 04:15:26 PM Validation of function Modelica.Media.Interfaces.PartialMedium.setState_pTX
Error: [:0:0-0:0] Error occurred while flattening model Modelica.Media.Interfaces.PartialMedium.setState_pTX
Error: [C:/Program Files (x86)/Wolfram Research/SystemModeler 4.0/Libraries/Modelica 3.2.1/Modelica/Media/package.mo:4505:7-4505:59] Class MassFraction not found in scope Modelica.Media.Interfaces.PartialMedium.setState_pTX while instantiating X.
Error: [:0:0-0:0] Class MassFraction not found in scope Modelica.Media.Interfaces.PartialMedium.setState_pTX.
Validation of partial function Modelica.Media.Interfaces.PartialMedium.setState_pTX completed with errors.
Then I check in the class Modelica.Media.Interfaces.PartialMedium and there is declared this variable. And is the same all over those two Packages.
Please any help you can provide will be very valuable.