Skip to content

Commit 071a5d0

Browse files
committed
Updated causality in quarter truck oss
1 parent fccc9de commit 071a5d0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@ Alternatively, ECCO algorithm can also be created via system structure file:
217217
<!-- Annotate variable connection as power bond via `powerBond` attribute. Specify
218218
causality of the variable (input or output) -->
219219
<VariableConnection powerBond="wheelchassis">
220-
<Variable simulator="chassis" name="velocity" causality="input"/>
221-
<Variable simulator="wheel" name="in_vel" causality="output"/>
220+
<Variable simulator="chassis" name="velocity" causality="output"/>
221+
<Variable simulator="wheel" name="in_vel" causality="input"/>
222222
</VariableConnection>
223223
<VariableConnection powerBond="wheelchassis">
224-
<Variable simulator="wheel" name="out_spring_damper_f" causality="input"/>
225-
<Variable simulator="chassis" name="force" causality="output"/>
224+
<Variable simulator="wheel" name="out_spring_damper_f" causality="output"/>
225+
<Variable simulator="chassis" name="force" causality="input"/>
226226
</VariableConnection>
227227
</Connections>
228228
<!-- Specify ecco algorithm parameters -->

tests/data/fmi2/quarter_truck/OspSystemStructure.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
</Simulators>
3333
<Connections>
3434
<VariableConnection powerBond="wheelchassis">
35-
<Variable simulator="chassis" name="velocity" causality="input"/>
36-
<Variable simulator="wheel" name="in_vel" causality="output"/>
35+
<Variable simulator="chassis" name="velocity" causality="output"/>
36+
<Variable simulator="wheel" name="in_vel" causality="input"/>
3737
</VariableConnection>
3838
<VariableConnection powerBond="wheelchassis">
39-
<Variable simulator="wheel" name="out_spring_damper_f" causality="input"/>
40-
<Variable simulator="chassis" name="force" causality="output"/>
39+
<Variable simulator="wheel" name="out_spring_damper_f" causality="output"/>
40+
<Variable simulator="chassis" name="force" causality="input"/>
4141
</VariableConnection>
4242
</Connections>
4343
<EccoConfiguration>

0 commit comments

Comments
 (0)