Skip to content

Commit

Permalink
Fix intervalVariability in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
PTaeuberDS committed Apr 22, 2024
1 parent c1c6145 commit b4fc9e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/examples/X_network4FMI_modelDescription_highCut.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
instantiationToken="Network4FMI">
<ModelVariables>
<Clock name="Powertrain.tcuSensors_Clock" valueReference="1007"
causality="input" variability="discrete" interval="triggered"/>
causality="input" variability="discrete" intervalVariability="triggered"/>
<Float64 name="Powertrain.tcuSensors.tcuSensors.vCar" valueReference="1005"
causality="input" variability="discrete" start="0" clocks="1007"/>
<Float64 name="Powertrain.tcuSensors.tcuSensors.oilTemp" valueReference="1006"
causality="input" variability="discrete" start="20" clocks="1007"/>

<Clock name="Powertrain.tcuState_Clock" valueReference="1011"
causality="input" variability="discrete" interval="triggered"/>
causality="input" variability="discrete" intervalVariability="triggered"/>
<Float64 name="Powertrain.tcuState.tcuState.state" valueReference="1008"
causality="input" variability="discrete" start="0" clocks="1011"/>
<Float64 name="Powertrain.tcuState.tcuState.gear" valueReference="1009"
Expand All @@ -19,7 +19,7 @@
causality="input" variability="discrete" start="0" clocks="1011"/>

<Clock name="Powertrain.ecuState_Clock" valueReference="1016"
causality="output" variability="discrete" interval="triggered"/>
causality="output" variability="discrete" intervalVariability="triggered"/>
<Float64 name="Powertrain.ecuState.ecuState.accelPedal" valueReference="1012"
causality="output" variability="discrete" start="0" clocks="1016"/>
<Float64 name="Powertrain.ecuState.ecuState.k15" valueReference="1013"
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/X_network4FMI_modelDescription_lowCut.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
instantiationToken="Network4FMI">
<ModelVariables>
<Clock name="Powertrain.Rx_Clock" valueReference="1002"
causality="input" variability="discrete" interval="triggered"/>
causality="input" variability="discrete" intervalVariability="triggered"/>
<Binary name="Powertrain.Rx_Data" valueReference="1001" causality="input"
mimeType="org.fmi-standard.fmi-ls-bus.v1.can" variability="discrete" clocks="1002"/>
<Clock name="Powertrain.Tx_Clock" valueReference="1004"
causality="input" variability="discrete" interval="aperiodic"/>
causality="input" variability="discrete" intervalVariability="changing"/>
<Binary name="Powertrain.Tx_Data" valueReference="1003" causality="output"
mimeType="org.fmi-standard.fmi-ls-bus.v1.can" variability="discrete" clocks="1004"/>
</ModelVariables>
Expand Down

0 comments on commit b4fc9e8

Please sign in to comment.