From 2a4b0c106ecb323fcc329a10a56ddfd846901988 Mon Sep 17 00:00:00 2001 From: TT Date: Mon, 19 Aug 2024 15:08:35 +0200 Subject: [PATCH] updated actions --- .github/workflows/Documentation.yml | 2 +- .github/workflows/Example.yml | 2 +- .github/workflows/Formatter.yml | 2 +- src/sim.jl | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 8455fd46..e18401a2 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -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" diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml index 57eaf579..6caffaa3 100644 --- a/.github/workflows/Example.yml +++ b/.github/workflows/Example.yml @@ -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] diff --git a/.github/workflows/Formatter.yml b/.github/workflows/Formatter.yml index c85e9423..1c21c87e 100644 --- a/.github/workflows/Formatter.yml +++ b/.github/workflows/Formatter.yml @@ -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 diff --git a/src/sim.jl b/src/sim.jl index f3d4a1d7..a558cb59 100644 --- a/src/sim.jl +++ b/src/sim.jl @@ -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. @@ -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. @@ -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. @@ -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 ...