Skip to content

Commit ddf0eed

Browse files
fixup! docs: add doc page for FMU import capability
1 parent 8c6c5ae commit ddf0eed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/fmi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ FMUs can also be imported as individual components. For this example, we will us
139139
in the test suite of ModelingToolkit.jl.
140140

141141
```@example fmi
142-
fmu = loadFMU(joinpath("test", "fmi", "fmus", "SimpleAdder.fmu"); type = :ME)
142+
fmu = loadFMU(joinpath("..", "test", "fmi", "fmus", "SimpleAdder.fmu"); type = :ME)
143143
fmu.modelDescription.modelVariables
144144
```
145145

@@ -207,7 +207,7 @@ CoSimulation FMUs are not directly involved in the RHS of the system - instead o
207207
callbacks - we can use a solver with automatic differentiation.
208208

209209
```@example fmi
210-
fmu = loadFMU(joinpath("test", "fmi", "fmus", "SimpleAdder.fmu"); type = :CS)
210+
fmu = loadFMU(joinpath("..", "test", "fmi", "fmus", "SimpleAdder.fmu"); type = :CS)
211211
@named adder = ModelingToolkit.FMIComponent(
212212
Val(2); fmu, type = :CS, communication_step_size = 1e-3,
213213
reinitializealg = BrownFullBasicInit())

0 commit comments

Comments
 (0)