1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <OspModelDescription xmlns =" http://opensimulationplatform.com/MSMI/OSPModelDescription"
3
+ version =" 0.1" >
4
+ <UnitDefinitions >
5
+ <Unit name =" m" >
6
+ <BaseUnit kg =" 1" m =" 1" s =" 0" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 0" factor =" 1.0" offset =" 0.0" />
7
+ </Unit >
8
+ <Unit name =" rad" >
9
+ <BaseUnit kg =" 0" m =" 0" s =" 0" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 1" factor =" 1.0" offset =" 0.0" />
10
+ </Unit >
11
+ <Unit name =" m/s" >
12
+ <BaseUnit kg =" 0" m =" 1" s =" -1" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 0" factor =" 1.0" offset =" 0.0" />
13
+ </Unit >
14
+ <Unit name =" rad/s" >
15
+ <BaseUnit kg =" 0" m =" 0" s =" -1" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 1" factor =" 1.0" offset =" 0.0" />
16
+ </Unit >
17
+ <Unit name =" N" >
18
+ <BaseUnit kg =" 1" m =" 1" s =" -2" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 0" factor =" 1.0" offset =" 0.0" />
19
+ </Unit >
20
+ <Unit name =" N.m" >
21
+ <BaseUnit kg =" 1" m =" 2" s =" -2" A =" 0" K =" 0" mol =" 0" cd =" 0" rad =" 0" factor =" 1.0" offset =" 0.0" />
22
+ </Unit >
23
+ </UnitDefinitions >
24
+ <VariableGroups >
25
+ <!-- INPUTS -->
26
+ <Generic name =" vesselPosition" >
27
+ <LinearDisplacement name =" linearVesselPosition" >
28
+ <Variable ref =" x" unit =" m" />
29
+ <Variable ref =" y" unit =" m" />
30
+ </LinearDisplacement >
31
+ <AngularDisplacement name =" angularVesselPosition" >
32
+ <Variable ref =" psi" unit =" rad" />
33
+ </AngularDisplacement >
34
+ </Generic >
35
+ <Generic name =" vesselVelocity" >
36
+ <LinearVelocity name =" linearVesselVelocity" >
37
+ <Variable ref =" dx" unit =" m/s" />
38
+ <Variable ref =" dy" unit =" m/s" />
39
+ </LinearVelocity >
40
+ <AngularVelocity name =" angularVesselVelocity" >
41
+ <Variable ref =" dpsi" unit =" rad/s" />
42
+ </AngularVelocity >
43
+ </Generic >
44
+ <Generic name =" vesselPositionReference" >
45
+ <LinearDisplacement name =" linearVesselPositionReference" >
46
+ <Variable ref =" x_ref" unit =" m" />
47
+ <Variable ref =" y_ref" unit =" m" />
48
+ </LinearDisplacement >
49
+ <AngularDisplacement name =" angularVesselPositionReference" >
50
+ <Variable ref =" psi_ref" unit =" rad" />
51
+ </AngularDisplacement >
52
+ </Generic >
53
+ <Generic name =" vesselVelocityReference" >
54
+ <LinearVelocity name =" linearVesselVelocityReference" >
55
+ <Variable ref =" dx_ref" unit =" m/s" />
56
+ <Variable ref =" dy_ref" unit =" m/s" />
57
+ </LinearVelocity >
58
+ <AngularVelocity name =" angularVesselVelocityReference" >
59
+ <Variable ref =" dpsi_ref" unit =" rad/s" />
60
+ </AngularVelocity >
61
+ </Generic >
62
+ <!-- OUTPUTS -->
63
+ <Generic name =" ThrustCommand" >
64
+ <Force name =" linearThrustCommand" >
65
+ <Variable ref =" Controlx" unit =" N" />
66
+ <Variable ref =" Controly" unit =" N" />
67
+ </Force >
68
+ <Torque name =" angularThrustCommand" >
69
+ <Variable ref =" ControlMz" unit =" N.m" />
70
+ </Torque >
71
+ </Generic >
72
+ </VariableGroups >
73
+ </OspModelDescription >
0 commit comments