Skip to content

Commit

Permalink
updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThummeTo committed Aug 19, 2024
1 parent 8d90073 commit 2a4b0c1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: '1.9'
version: '1'
arch: x64

- name: "Copy examples, readme"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
os: [windows-latest] # ubuntu-latest
file-name: [manipulation, modelica_conference_2021, multiple_instances, multiprocessing, multithreading, parameterize, simulate, parameter_optimization]
julia-version: ['1.8']
julia-version: ['1']
julia-arch: [x64]
experimental: [false]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: "Set up Julia"
uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: '1'
arch: x64

- name: Install JuliaFormatter and format
Expand Down
16 changes: 8 additions & 8 deletions src/sim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import FMIImport.FMIBase: doStep

"""
simulate(fmu, instance=nothing, tspan=nothing; kwargs...)
simulate(fmu, tspan=nothing; kwargs...)
simulate(instance, tspan=nothing; kwargs...)
simulate(fmu, tspan; kwargs...)
simulate(instance, tspan; kwargs...)
Starts a simulation of the `FMU2` for the instantiated type: CS, ME or SE (this is selected automatically or during loading of the FMU).
You can force a specific simulation mode by calling [`simulateCS`](@ref), [`simulateME`](@ref) or [`simulateSE`](@ref) directly.
Expand Down Expand Up @@ -93,8 +93,8 @@ export simulate

"""
simulateME(fmu, instance=nothing, tspan=nothing; kwargs...)
simulateME(fmu, tspan=nothing; kwargs...)
simulateME(instance, tspan=nothing; kwargs...)
simulateME(fmu, tspan; kwargs...)
simulateME(instance, tspan; kwargs...)
Simulate ME-FMU for the given simulation time interval.
State- and Time-Events are handled correctly.
Expand Down Expand Up @@ -294,8 +294,8 @@ export simulateME

"""
simulateCS(fmu, instance=nothing, tspan=nothing; kwargs...)
simulateCS(fmu, tspan=nothing; kwargs...)
simulateCS(instance, tspan=nothing; kwargs...)
simulateCS(fmu, tspan; kwargs...)
simulateCS(instance, tspan; kwargs...)
Simulate CS-FMU for the given simulation time interval.
State- and Time-Events are handled internally by the FMU.
Expand Down Expand Up @@ -517,8 +517,8 @@ export simulateCS
# [TODO] simulate ScheduledExecution
"""
simulateSE(fmu, instance=nothing, tspan=nothing; kwargs...)
simulateSE(fmu, tspan=nothing; kwargs...)
simulateSE(instance, tspan=nothing; kwargs...)
simulateSE(fmu, tspan; kwargs...)
simulateSE(instance, tspan; kwargs...)
To be implemented ...
Expand Down

0 comments on commit 2a4b0c1

Please sign in to comment.