-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathObsoleteVehicleInterfaces2.mo
639 lines (546 loc) · 23.7 KB
/
ObsoleteVehicleInterfaces2.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
within ;
package ObsoleteVehicleInterfaces2 "Library that contains components from VehicleInterfaces Library 1.2.5 that have been removed from version 2.0.0"
package Brakes "Collection of brakes subsystem definitions"
package Interfaces "Collection of interface definitions for brakes"
expandable connector StandardBus "Bus of VehicleInterfaces.Brakes: StandardBus of signals generated by the brakes"
extends VehicleInterfaces.Interfaces.BrakesBus;
extends VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
Modelica.Units.SI.AngularVelocity wheelSpeed_1
"Individual wheel speed (wheel 1 = front left wheel)"
annotation (Dialog);
Modelica.Units.SI.AngularVelocity wheelSpeed_2
"Individual wheel speed (wheel 2 = front right wheel)"
annotation (Dialog);
Modelica.Units.SI.AngularVelocity wheelSpeed_3
"Individual wheel speed (wheel 3 = rear left wheel)" annotation (Dialog);
Modelica.Units.SI.AngularVelocity wheelSpeed_4
"Individual wheel speed (wheel 4 = rear right wheel)"
annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.BrakesBus instead",
defaultComponentPrefixes="protected",
defaultComponentName="brakesBus",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,
100}}), graphics={Rectangle(
extent={{-20,2},{20,-2}},
lineColor={255,204,51},
lineThickness=0.5)}),
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Brakes.Interfaces.StandardBus brakesBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.BrakesBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Brakes.Interfaces.StandardBus brakesBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.BrakesBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.BrakesBus brakesBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end StandardBus;
end Interfaces;
end Brakes;
package Chassis "Collection of chassis subsystem definitions"
package Interfaces "Collection of interface definitions for chassis"
expandable connector StandardBus "Bus of VehicleInterfaces.Chassis: StandardBus of signals generated by the chassis"
extends .VehicleInterfaces.Interfaces.ChassisBus;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
Modelica.Units.SI.Velocity longitudinalVelocity
"Longitudinal velocity of vehicle"
annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.ChassisBus instead",
defaultComponentPrefixes="protected",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,
100}}), graphics={Rectangle(
extent={{-20,2},{20,-2}},
lineColor={255,204,51},
lineThickness=0.5)}),
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Chassis.Interfaces.StandardBus chassisBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.ChassisBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Chassis.Interfaces.StandardBus chassisBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.ChassisBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.ChassisBus chassisBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end StandardBus;
end Interfaces;
end Chassis;
package DriverEnvironments "Collection of driver environment subsystem definitions"
package Interfaces "Collection of interface definitions for driver environments"
expandable connector MinimalBus "Bus of VehicleInterfaces.DriverEnvironment: MinimalBus (minimal set of signals for any type of transmissions)"
extends VehicleInterfaces.Interfaces.DriverBus;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
VehicleInterfaces.Types.NormalizedReal acceleratorPedalPosition
"Normalized accelerator pedal position (0=fully released ... 1=fully pressed)"
annotation (Dialog);
VehicleInterfaces.Types.NormalizedReal brakePedalPosition
"Brake pedal position (0=fully released ... 1=fully pressed)"
annotation (Dialog);
VehicleInterfaces.Types.IgnitionSetting.Temp ignition
"Engine ignition (Off, On or Start)" annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverBus instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.DriverEnvironments.Interfaces.MinimalBus driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.DriverEnvironments.Interfaces.MinimalBus driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverBus driverBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end MinimalBus;
expandable connector BusForAutomaticTransmission "Bus of VehicleInterfaces.DriverEnvironment: BusForAutomaticTransmission"
extends ObsoleteVehicleInterfaces2.DriverEnvironments.Interfaces.MinimalBus;
VehicleInterfaces.Types.Gear requestedGear
"Requested gear for automatic transmission if gearboxMode=Manual or =Limited"
annotation (Dialog);
VehicleInterfaces.Types.GearMode.Temp gearboxMode
"Selected gearbox mode (Park, Drive, Neutral, Rear, Manual, Limited)"
annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverBus instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.DriverEnvironments.Interfaces.BusForAutomaticTransmission driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.DriverEnvironments.Interfaces.BusForAutomaticTransmission driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverBus driverBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end BusForAutomaticTransmission;
expandable connector BusForManualTransmission "Bus of VehicleInterfaces.DriverEnvironment: BusForManualTransmission"
extends ObsoleteVehicleInterfaces2.DriverEnvironments.Interfaces.MinimalBus;
VehicleInterfaces.Types.NormalizedReal clutchPedalPosition
"Clutch pedal position (0=fully released ... 1=fully pressed)"
annotation (Dialog);
Integer gear
"Selected gear for manual transmission (>0:forward gear, <0:rear gear)"
annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverBus instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.DriverEnvironments.Interfaces.BusForManualTransmission driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.DriverEnvironments.Interfaces.BusForManualTransmission driverBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverBus driverBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end BusForManualTransmission;
end Interfaces;
end DriverEnvironments;
package Drivers "Collection of driver subsystem definitions"
package Interfaces "Collection of interface definitions for drivers"
expandable connector MinimalBus "Bus of VehicleInterfaces.Drivers: MinimalBus (minimal set of signals for any type of transmissions)"
extends .VehicleInterfaces.Interfaces.DriverInterface;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
VehicleInterfaces.Mechanics.NormalisedTranslational.Interfaces.Flange
acceleratorPedal "Accelerator pedal" annotation (Dialog);
VehicleInterfaces.Mechanics.NormalisedTranslational.Interfaces.Flange
brakePedal "Brake pedal" annotation (Dialog);
VehicleInterfaces.Mechanics.NormalisedRotational.Interfaces.Flange
steeringWheel "Steering wheel" annotation (Dialog);
VehicleInterfaces.Types.IgnitionSetting.Temp ignition
"Engine ignition (Off, On or Start)" annotation (Dialog);
Modelica.Units.SI.Velocity vehicleSpeed "Vehicle speed" annotation (Dialog);
Modelica.Units.SI.AngularVelocity engineSpeed "Engine speed" annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverInterface instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Drivers.Interfaces.MinimalBus driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Drivers.Interfaces.MinimalBus driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverInterface driverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end MinimalBus;
expandable connector BusForAutomaticTransmission "Bus of VehicleInterfaces.Drivers: BusForAutomaticTransmission"
extends .ObsoleteVehicleInterfaces2.Drivers.Interfaces.MinimalBus;
extends Modelica.Icons.ObsoleteModel;
VehicleInterfaces.Types.Gear requestedGear
"Requested gear for automatic transmission if gearboxMode=Manual or =Limited"
annotation (Dialog);
VehicleInterfaces.Types.GearMode.Temp gearboxMode
"Selected gearbox mode (Park, Drive, Neutral, Rear, Manual, Limited)"
annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverInterface instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Drivers.Interfaces.BusForAutomaticTransmission driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Drivers.Interfaces.BusForAutomaticTransmission driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverInterface driverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"));
end BusForAutomaticTransmission;
expandable connector BusForManualTransmission "Bus of VehicleInterfaces.Drivers: BusForManualTransmission"
extends .ObsoleteVehicleInterfaces2.Drivers.Interfaces.MinimalBus;
extends Modelica.Icons.ObsoleteModel;
VehicleInterfaces.Mechanics.NormalisedTranslational.Interfaces.Flange
clutchPedal "Clutch pedal" annotation (Dialog);
Integer gear
"Selected gear for manual transmission (>0:forward gear, <0:rear gear)"
annotation (Dialog);
Boolean clutchLocked "Clutch locked flag" annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.DriverInterface instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Drivers.Interfaces.BusForManualTransmission driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Drivers.Interfaces.BusForManualTransmission driverInterface
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.DriverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.DriverInterface driverInterface
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"));
end BusForManualTransmission;
end Interfaces;
end Drivers;
package Engines "Collection of combustion engine subsystem definitions"
package Interfaces "Collection of interface definitions for engines"
expandable connector StandardBus "Bus of VehicleInterfaces.Engines: StandardBus of signals generated by the Engine"
extends .VehicleInterfaces.Interfaces.EngineBus;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
Modelica.Units.SI.AngularVelocity speed "Speed of engine" annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.EngineBus instead",
defaultComponentPrefixes="protected",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,
100}}), graphics={Rectangle(
extent={{-20,2},{20,-2}},
lineColor={255,204,51},
lineThickness=0.5)}),
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Engines.Interfaces.StandardBus engineBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.EngineBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Engines.Interfaces.StandardBus engineBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.EngineBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.EngineBus engineBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end StandardBus;
end Interfaces;
end Engines;
package Transmissions "Collection of transmission subsystem definitions"
package Interfaces "Collection of interface definitions for transmissions"
expandable connector StandardBus "Bus of VehicleInterfaces.Transmission: StandardBus of signals generated by the Transmission model"
extends .VehicleInterfaces.Interfaces.TransmissionBus;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
Modelica.Units.SI.AngularVelocity outputSpeed "Output shaft speed" annotation (Dialog);
Boolean clutchLocked "Clutch state (true if locked)" annotation (Dialog);
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.TransmissionBus instead",
defaultComponentPrefixes="protected",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,
100}}), graphics={Rectangle(
extent={{-20,2},{20,-2}},
lineColor={255,204,51},
lineThickness=0.5)}),
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Transmissions.Interfaces.StandardBus transmissionBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.TransmissionBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Transmissions.Interfaces.StandardBus transmissionBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.TransmissionBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.TransmissionBus transmissionBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end StandardBus;
expandable connector StandardControlBus "Bus of VehicleInterfaces.Transmission: StandardControlBus of signals generated by the Transmission Controller model"
extends .VehicleInterfaces.Interfaces.TransmissionControlBus;
extends .VehicleInterfaces.Icons.SignalSubBusWithExplicitSignals;
extends Modelica.Icons.ObsoleteModel;
annotation (
obsolete = "Obsolete model - use VehicleInterfaces.Interfaces.TransmissionControlBus instead",
Documentation(info="<html>
<p>
This control bus is obsolete. A typical usage in form of
</p>
<blockquote><pre>
<strong>replaceable</strong> VehicleInterfaces.Transmissions.Interfaces.StandardControlBus transmissionControlBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.TransmissionControlBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
being automatically converted by a conversion script into
</p>
<blockquote><pre>
<strong>replaceable</strong> ObsoleteVehicleInterfaces2.Transmissions.Interfaces.StandardControlBus transmissionControlBus
<strong>constrainedby</strong> VehicleInterfaces.Interfaces.TransmissionControlBus
<strong>annotation</strong>(...);
</pre></blockquote>
<p>
shall be replaced as follows:
</p>
<blockquote><pre>
VehicleInterfaces.Interfaces.TransmissionControlBus transmissionControlBus
<strong>annotation</strong>(...);
</pre></blockquote>
</html>"),Diagram(graphics={
Rectangle(
extent={{-102,82},{102,-52}},
lineColor={255,0,0},
pattern=LinePattern.Dash,
lineThickness=0.5)}));
end StandardControlBus;
end Interfaces;
end Transmissions;
annotation (
preferredView="info",
version="2.0.0",
versionDate="2020-06-26",
dateModified = "2020-06-26 10:00:00Z",
revisionId="$Format:%h %ci$",
uses(
VehicleInterfaces(version="2.0.0"),
Modelica(version="4.0.0")),
Documentation(info="<html>
<p>
This package contains models and blocks from the VehicleInterfaces Library
version 1.2.5 that are no longer available in version 2.0.0.
The conversion script for version 2.0.0 changes references in existing
user models automatically to the models and blocks of package
ObsoleteVehicleInterfaces2. The user should <strong>manually</strong> replace all
references to ObsoleteVehicleInterfaces2 in his/her models to the models
that are recommended in the documentation of the respective model.
</p>
<p>
In most cases, this means that a model with the name
\"ObsoleteVehicleInterfaces2.XY\" should be renamed to \"VehicleInterfaces.YZ\"
(version 2.0.0) and manually adaptated afterwards.
This usually requires some changes at the place where
the class is used (besides the renaming of the underlying class).
</p>
<p>
The models in ObsoleteVehicleInterfaces2 are either not according to the
Modelica Language version 3.4 and higher, or the model was changed to get
a better design.
In all cases, an automatic conversion to the new implementation
was not feasible, since too complicated.
</p>
<p>
In order to easily detect obsolete models and blocks, all of them are specially
marked in the icon layer with a red box.
</p>
<p>
Copyright © 2020, Modelica Association and contributors
</p>
<p>
<em>This Modelica package is <u>free</u> software and the use is completely at <u>your own risk</u>; it can be redistributed and/or modified under the terms of the 3-Clause BSD license. For license conditions (including the disclaimer of warranty) visit <a href=\"https://modelica.org/licenses/modelica-3-clause-bsd\">https://modelica.org/licenses/modelica-3-clause-bsd</a>.</em>
</p>
</html>"));
end ObsoleteVehicleInterfaces2;