Ticket #6430: Nr6430 DryAirNasa.mo

File Nr6430 DryAirNasa.mo, 1.1 KB (added by hubertblervaque@…, 5 years ago)

ErrorSimpleModel

Line 
1package TestBug01MSL
2 model Test01002
3
4 package Medium = Modelica.Media.Air.ReferenceAir.Air_dT; //.DryAirNasa
5 inner Modelica.Fluid.System system annotation(
6 Placement(visible = true, transformation(origin = {90, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
7
8
9 Modelica.Fluid.Sources.MassFlowSource_T boundary1(redeclare package Medium = Medium, m_flow = 0.1, nPorts = 1) annotation(
10 Placement(visible = true, transformation(origin = {-30, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
11 Modelica.Fluid.Vessels.ClosedVolume volume(redeclare package Medium = Modelica.Media.Air.SimpleAir,
12 V = 4, use_portsData = false, nPorts = 1) annotation(
13 Placement(visible = true, transformation(origin = {30, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
14
15
16 equation
17 connect(boundary1.ports[1], volume.ports[1]) annotation(
18 Line(points = {{-20, 10}, {30, 10}, {30, 20}}, color = {0, 127, 255}));
19
20 end Test01002;
21 annotation(
22 uses(Modelica(version = "4.0.0")));
23end TestBug01MSL;