-
Notifications
You must be signed in to change notification settings - Fork 44
/
hopsan-default-configuration.xml
241 lines (226 loc) · 20.5 KB
/
hopsan-default-configuration.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<hopsandefaults>
<settings>
<librarystyle>0</librarystyle>
<showpopuphelp>true</showpopuphelp>
<backgroundcolor>#ffffff</backgroundcolor>
<antialiasing>true</antialiasing>
<invertwheel>false</invertwheel>
<snapping>true</snapping>
<progressbar>true</progressbar>
<progressbar_step>100</progressbar_step>
<multicore>false</multicore>
<numberofthreads>0</numberofthreads>
<togglenamesbuttonchecked>true</togglenamesbuttonchecked>
<toggleportsbuttonchecked>true</toggleportsbuttonchecked>
<groupmessagesbytag>true</groupmessagesbytag>
<generationlimit>100</generationlimit>
<cachelogdata>true</cachelogdata>
<autobackup>true</autobackup>
<autolimitgenerations>false</autolimitgenerations>
<ploexportversion>2</ploexportversion>
<showhiddennodedatavariables>false</showhiddennodedatavariables>
<loadmodeldir/>
<plotgfximageformat>png</plotgfximageformat>
<plotgfxdimensionsunit>px</plotgfxdimensionsunit>
<plotgfxdpi>96</plotgfxdpi>
<plotgfxsize>800 600</plotgfxsize>
<plotgfxkeepaspect>true</plotgfxkeepaspect>
<plotgfxusescreensize>false</plotgfxusescreensize>
<setpwdtomwd>false</setpwdtomwd>
<plotwindowsontop>true</plotwindowsontop>
<remotehopsanaddress>localhost:23300</remotehopsanaddress>
<remotehopsandispatchaddress>localhost:23200</remotehopsandispatchaddress>
<useremotehopsandispatch>false</useremotehopsandispatch>
</settings>
<style>
<penstyle width="1" situation="Primary" capstyle="32" type="Undefined" style="1" color="#778899" gfxtype="Iso"/>
<penstyle width="2" situation="Active" capstyle="32" type="Undefined" style="1" color="#ff0000" gfxtype="Iso"/>
<penstyle width="2" situation="Hover" capstyle="32" type="Undefined" style="1" color="#db0000" gfxtype="Iso"/>
<penstyle width="1.5" situation="Primary" capstyle="32" type="Undefined" style="1" color="#778899" gfxtype="User"/>
<penstyle width="2" situation="Active" capstyle="32" type="Undefined" style="1" color="#ff0000" gfxtype="User"/>
<penstyle width="2" situation="Hover" capstyle="32" type="Undefined" style="1" color="#db0000" gfxtype="User"/>
<penstyle width="2" situation="Primary" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="Iso"/>
<penstyle width="4" situation="Active" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="Iso"/>
<penstyle width="3" situation="Hover" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="Iso"/>
<penstyle width="2" situation="Primary" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="User"/>
<penstyle width="4" situation="Active" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="User"/>
<penstyle width="3" situation="Hover" capstyle="32" type="Broken" style="2" color="#F660AB" gfxtype="User"/>
<penstyle width="2" situation="Active" capstyle="32" type="Power" style="1" color="#ff0000" gfxtype="Iso"/>
<penstyle width="2" situation="Hover" capstyle="32" type="Power" style="1" color="#db0000" gfxtype="Iso"/>
<penstyle width="1" situation="Primary" capstyle="32" type="Power" style="1" color="#000000" gfxtype="Iso"/>
<penstyle width="2" situation="Active" capstyle="32" type="Power" style="1" color="#ff0000" gfxtype="User"/>
<penstyle width="2" situation="Hover" capstyle="32" type="Power" style="1" color="#db0000" gfxtype="User"/>
<penstyle width="1.5" situation="Primary" capstyle="32" type="Power" style="1" color="#000000" gfxtype="User"/>
<penstyle width="2" situation="Active" capstyle="32" type="Signal" style="2" color="#ff0000" gfxtype="Iso"/>
<penstyle width="2" situation="Hover" capstyle="32" type="Signal" style="2" color="#db0000" gfxtype="Iso"/>
<penstyle width="1" situation="Primary" capstyle="32" type="Signal" style="2" color="#0000bb" gfxtype="Iso"/>
<penstyle width="1.5" situation="Active" capstyle="32" type="Signal" style="2" color="#ff0000" gfxtype="User"/>
<penstyle width="1.5" situation="Hover" capstyle="32" type="Signal" style="2" color="#db0000" gfxtype="User"/>
<penstyle width="1" situation="Primary" capstyle="32" type="Signal" style="2" color="#0000cc" gfxtype="User"/>
<palette windowText="0,0,0" button="0,0,255" light="173,216,230" dark="0,0,139" mid="0,0,255" text="0,0,0" bright_text="128,128,128" base="244,247,251" window="226,231,237"/>
<font family="Calibri" size="9"/>
<stylesheet>
QPushButton { border: 1px solid gray; border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); min-width: 80px; }
QPushButton:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); min-width: 80px; }
QPushButton:hover:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); min-width: 80px; }
QPushButton:default { border: 1px solid gray; border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); min-width: 80px; }
QPushButton:hover { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); min-width: 80px; }
QPushButton:focus { border: 1px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); min-width: 80px; }
QPushButton:hover:focus { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 4px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); min-width: 80px; }
QToolButton { border: 2px; border-style: none; border-radius: 5px; padding: 2px; background-color: rgb(226,231,237); }
QToolButton:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); }
QToolButton:hover:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); }
QToolButton:hover { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); }
QToolButton:checked { border: 1px solid gray; border-style: inset; border-radius: 5px; padding: 1px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 lightgray, stop: 1 rgb(226,231,237)); }
QToolButton:hover:checked { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 lightgray, stop: 1 rgb(226,231,237)); }
QToolButton:unchecked { border: 2px none; border-style: outset; border-radius: 5px; padding: 0px; background-color: rgb(226,231,237); }
QToolButton:hover:unchecked { border: 2px; border-style: none; border-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); }
QToolButton::menu-indicator { image: none; }
QComboBox { border: 1px solid gray; border-style: outset; border-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); }
QComboBox:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 1px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); }
QComboBox:hover:pressed { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 1px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 beige, stop: 1 white); }
QComboBox:hover { border: 2px solid rgb(70,70,150); border-style: outset; border-radius: 5px; padding: 1px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); }
QComboBox:drop-down { border: 1px solid gray; border-style: none; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
QComboBox::down-arrow { image: url(:graphics/style-arrow-down.png); }
QLineEdit { border: 1px solid gray; border-style: inset; border-radius: 5px; padding: 2px; background-color: white; min-width: 80px; }
QLineEdit:hover { border: 2px solid rgb(70,70,150); border-style: inset; border-radius: 5px; padding: 1px; background-color: white; min-width: 80px; }
QSpinBox { border: 1px solid gray; border-style: inset; border-radius: 5px; padding: 2px; background-color: white; }
QSpinBox:hover { border: 2px solid blue; border-style: inset; border-radius: 5px; padding: 1px; background-color: white; }
QSpinBox::up-button { border: 1px solid gray; border-style: outset; border-top-right-radius: 5px; border-top-left-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); subcontrol-origin: border; subcontrol-position: top right; }
QSpinBox::down-button { border: 1px solid gray; border-style: outset; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); subcontrol-origin: border; subcontrol-position: bottom right; }
QSpinBox::up-button:hover { border: 2px solid blue; border-style: outset; border-top-right-radius: 5px; border-top-left-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); subcontrol-origin: border; subcontrol-position: top right; }
QSpinBox::down-button:hover { border: 2px solid blue; border-style: outset; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 2px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); subcontrol-origin: border; subcontrol-position: bottom right; }
QSpinBox::up-arrow { image: url(:graphics/style-arrow-up.png); }
QSpinBox::down-arrow { image: url(:graphics/style-arrow-down.png); }
QTabWidget:pane { border: 1px solid gray; background-color: rgb(226,231,237); padding: 0px; position: absolute; top: -0px; margin-top: -1px; }
QTabBar:tab:top { background-color: rgb(244,247,251); border: 1px solid gray; border-bottom: 1px solid gray; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 5px; }
QTabBar:tab:top:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 white, stop: 1 rgb(244,247,251)); border: 1px solid gray; border-bottom: 1px solid gray; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 0px; }
QTabBar:tab:top:selected { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(244,247,251), stop: 1 rgb(226,231,237)); border: 1px solid gray; border-bottom: 1px rgb(244,247,251); border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 5px; }
QTabBar:tab:top:selected:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 white, stop: 1 rgb(226,231,237)); border: 1px solid gray; border-bottom: 1px rgb(244,247,251); border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 0px; }
QTabBar:tab:bottom { background-color: rgb(244,247,251); border: 1px solid gray; border-top: 1px solid gray; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 5px; }
QTabBar:tab:bottom:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(244,247,251), stop: 1 white); border: 1px solid gray; border-top: 1px solid gray; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 0px; }
QTabBar:tab:bottom:selected { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 rgb(244,247,251)); border: 1px solid gray; border-top: 1px rgb(244,247,251); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 5px; }
QTabBar:tab:bottom:selected:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(226,231,237), stop: 1 white); border: 1px solid gray; border-top: 1px rgb(244,247,251); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 0px; }
QTreeWidget { background-color: rgb(244,247,251); padding: 0px; }
QTextEdit { background-color: rgb(244,247,251); border: 1px solid gray; }
QListWidget { background-color: rgb(244,247,251); padding: 0px; }
QListWidget:item { background-color: rgb(244,247,251); }
QListWidget:item:hover { background-color: palegreen; }
QMainWindow::separator:hover { background: darkgray; }
QDockWidget { border: 1px solid gray; padding: 10px;}
QDockWidget::title:horizontal { text-align: left center; background: rgb(226,231,237); padding-top: -10px; padding-left: 5px; padding-bottom: -10px; }
QDockWidget::title { text-align: left top; background: rgb(226,231,237); padding-left: 5px; padding-right: -50px; }
QGroupBox { border: 1px solid gray; border-radius: 5px; margin-top: 7px; }
QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top center; padding: 0 3px; }
QScrollArea { background-color: rgb(226,231,237); border: 0px;}
QDialog { background-color: rgb(226,231,237); }
</stylesheet>
</style>
<unitsettings>
<!-- value in [BaseUnit] = scale * value in [CustomUnit] + offset -->
<quantity name="Position" baseunit="m" m="1">
<unit name="mm" scale="1e-3"/>
<unit name="cm" scale="1e-2"/>
<unit name="dm" scale="1e-1"/>
<unit name="km" scale="1e3"/>
<unit name="ft" scale="1/3.2808"/>
<unit name="inch" scale="1/39.370"/>
</quantity>
<quantity name="Velocity" baseunit="m/s" m="1" s="-1">
<unit name="km/h" scale="1000/3600"/>
<unit name="mph" scale="1609.344/3600"/>
<unit name="knot" scale="1852/3600"/>
</quantity>
<quantity name="Voltage" baseunit="V" kg="1" m="2" A="-1" s="-3">
</quantity>
<quantity name="Current" baseunit="A" A="1">
</quantity>
<quantity name="Time" baseunit="s" s="1">
<unit name="ms" scale="1e-3"/>
<unit name="us" scale="1e-6"/>
<unit name="ns" scale="1e-9"/>
<unit name="min" scale="60"/>
</quantity>
<quantity name="Frequency" baseunit="rad/s" rad="1" s="-1">
<unit name="Hz" scale="2*pi"/>
<unit name="kHz" scale="2*pi*1e3"/>
<unit name="MHz" scale="2*pi*1e6"/>
<unit name="GHz" scale="2*pi*1e9"/>
</quantity>
<quantity name="Angle" baseunit="rad" rad="1">
<unit name="deg" scale="pi/180"/>
</quantity>
<quantity name="AngularVelocity" baseunit="rad/s" rad="1" s="-1">
<unit name="deg/s" scale="pi/180"/>
<unit name="rev/s" scale="2*pi"/>
<unit name="rpm" scale="2*pi/60"/>
</quantity>
<quantity name="Flow" baseunit="m^3/s" m="3" s="-1">
<unit name="l/min" scale="1/60*1e-3"/>
</quantity>
<quantity name="Force" baseunit="N" kg="1" m="1" s="-2">
<unit name="kN" scale="1e3"/>
</quantity>
<quantity name="Torque" baseunit="Nm" kg="1" m="2" s="-2">
</quantity>
<quantity name="Pressure" baseunit="Pa" kg="1" m="-1" s="-2">
<unit name="bar" scale="1e5"/>
<unit name="MPa" scale="1e6"/>
<unit name="psi" scale="6894.76"/>
<unit name="kPa" scale="1e3"/>
<unit name="GPa" scale="1e9"/>
</quantity>
<quantity name="Area" baseunit="m^2" m="2">
<unit name="mm^2" scale="1e-6"/>
<unit name="cm^2" scale="1e-4"/>
<unit name="dm^2" scale="1e-2"/>
<unit name="ft^2" scale="1/3.2808^2"/>
<unit name="inch^2" scale="1/39.370^2"/>
</quantity>
<quantity name="Volume" baseunit="m^3">
<unit name="cm^3" scale="1e-6"/>
<unit name="l" scale="1e-3"/>
</quantity>
<quantity name="Displacement" baseunit="m^3/rev" m="3">
<unit name="cm^3/rev" scale="1e-6"/>
</quantity>
<quantity name="Temperature" baseunit="K" K="1">
<unit name="C" scale="1" offset="273.15"/>
<unit name="F" scale="5/9" offset="459.67*5/9"/>
</quantity>
<quantity name="Density" baseunit="kg/m^3" kg="1" m="-3">
</quantity>
<quantity name="Momentum" baseunit="kg m/s" kg="1" m="1" s="-1">
</quantity>
<quantity name="Energy" baseunit="J" kg="1" m="2" s="-2"
>
<unit name="mJ" scale="1e-3"/>
<unit name="kJ" scale="1e3"/>
<unit name="MJ" scale="1e6"/>
</quantity>
<quantity name="Power" baseunit="J/s" kg="1" m="2" s="-3">
<unit name="mW" scale="1e-3"/>
<unit name="W" scale="1.0"/>
<unit name="kW" scale="1e3"/>
<unit name="MW" scale="1e6"/>
</quantity>
<quantity name="Mass" baseunit="kg" kg="1">
<unit name="g" scale="0.001"/>
<unit name="hg" scale="0.01"/>
<unit name="t" scale="1000"/>
</quantity>
<quantity name="Resistance" baseunit="ohm" kg="1" m="2" A="-2" s="-3">
<unit name="milliohm" scale="1e-3"/>
<unit name="kilohm" scale="1e3"/>
<unit name="megohm" scale="1e6"/>
</quantity>
<quantity name="Magnitude" baseunit="-">
<unit name="dB" tobaseexpr="10^(x/20.0)" frombaseexpr="20.0*log10(x)"/>
</quantity>
<quantity name="LeakageCoefficient" baseunit="(m^3/s)/Pa" m="2" s="-3" kg="1">
<unit name="m^5/(Ns)" scale="1.0"/>
<unit name="(l/min)/bar" tobaseexpr="0.001*(x)/60e5" frombaseexpr="60e5*(x)/0.001"/>
</quantity>
</unitsettings>
</hopsandefaults>