Ticket #4608: TestParameterUnits.mo

File TestParameterUnits.mo, 450 bytes (added by Francesco Casella, 7 years ago)
Line 
1package TestParameterUnits
2 model M1
3 package Medium = Modelica.Media.Water.StandardWater;
4 parameter Modelica.SIunits.Pressure p1;
5 parameter Modelica.SIunits.AbsolutePressure p2;
6 parameter Medium.AbsolutePressure p3;
7 end M1;
8
9
10
11
12 model M2
13 M1 m annotation(
14 Placement(visible = true, transformation(origin = {-6, 6}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
15 end M2;
16
17end TestParameterUnits;