Skip to content

Commit ae4fb70

Browse files
authored
Merge pull request #82 from modelica/fixSIunits
Fix broken SI-units types
2 parents d90d357 + 91051f8 commit ae4fb70

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ObsoleteVehicleInterfaces2.mo

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ package ObsoleteVehicleInterfaces2 "Library that contains components from Vehicl
99
extends VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
1010
extends Modelica.Icons.ObsoleteModel;
1111

12-
.Modelica.SIunits.AngularVelocity wheelSpeed_1
12+
Modelica.Units.SI.AngularVelocity wheelSpeed_1
1313
"Individual wheel speed (wheel 1 = front left wheel)"
1414
annotation (Dialog);
15-
.Modelica.SIunits.AngularVelocity wheelSpeed_2
15+
Modelica.Units.SI.AngularVelocity wheelSpeed_2
1616
"Individual wheel speed (wheel 2 = front right wheel)"
1717
annotation (Dialog);
18-
.Modelica.SIunits.AngularVelocity wheelSpeed_3
18+
Modelica.Units.SI.AngularVelocity wheelSpeed_3
1919
"Individual wheel speed (wheel 3 = rear left wheel)" annotation (Dialog);
20-
.Modelica.SIunits.AngularVelocity wheelSpeed_4
20+
Modelica.Units.SI.AngularVelocity wheelSpeed_4
2121
"Individual wheel speed (wheel 4 = rear right wheel)"
2222
annotation (Dialog);
2323
annotation (
@@ -76,7 +76,7 @@ VehicleInterfaces.Interfaces.BrakesBus brakesBus
7676
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
7777
extends Modelica.Icons.ObsoleteModel;
7878

79-
.Modelica.SIunits.Velocity longitudinalVelocity
79+
Modelica.Units.SI.Velocity longitudinalVelocity
8080
"Longitudinal velocity of vehicle"
8181
annotation (Dialog);
8282
annotation (
@@ -297,8 +297,8 @@ VehicleInterfaces.Interfaces.DriverBus driverBus
297297
VehicleInterfaces.Types.IgnitionSetting.Temp ignition
298298
"Engine ignition (Off, On or Start)" annotation (Dialog);
299299

300-
Modelica.SIunits.Velocity vehicleSpeed "Vehicle speed" annotation (Dialog);
301-
Modelica.SIunits.AngularVelocity engineSpeed "Engine speed" annotation (Dialog);
300+
Modelica.Units.SI.Velocity vehicleSpeed "Vehicle speed" annotation (Dialog);
301+
Modelica.Units.SI.AngularVelocity engineSpeed "Engine speed" annotation (Dialog);
302302
annotation (
303303
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverInterface instead",
304304
Documentation(info="<html>
@@ -438,7 +438,7 @@ VehicleInterfaces.Interfaces.DriverInterface driverInterface
438438
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
439439
extends Modelica.Icons.ObsoleteModel;
440440

441-
.Modelica.SIunits.AngularVelocity speed "Speed of engine" annotation (Dialog);
441+
Modelica.Units.SI.AngularVelocity speed "Speed of engine" annotation (Dialog);
442442

443443
annotation (
444444
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.EngineBus instead",
@@ -495,7 +495,7 @@ VehicleInterfaces.Interfaces.EngineBus engineBus
495495
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
496496
extends Modelica.Icons.ObsoleteModel;
497497

498-
.Modelica.SIunits.AngularVelocity outputSpeed "Output shaft speed" annotation (Dialog);
498+
Modelica.Units.SI.AngularVelocity outputSpeed "Output shaft speed" annotation (Dialog);
499499
Boolean clutchLocked "Clutch state (true if locked)" annotation (Dialog);
500500

501501
annotation (

0 commit comments

Comments
 (0)