diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 12d8a8a..16399d1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,9 +19,9 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - '1.9' - '1' - - '~1.8.0-beta3' + - 'nightly' os: - ubuntu-latest arch: diff --git a/Project.toml b/Project.toml index 9680c6d..4774131 100644 --- a/Project.toml +++ b/Project.toml @@ -1,17 +1,15 @@ name = "WinchModels" uuid = "7dcfa46b-7979-4771-bbf4-0aee0da42e1f" authors = ["Uwe Fechner and contributors"] -version = "0.1.1" +version = "0.2.0" [deps] KiteUtils = "90980105-b163-44e5-ba9f-8b1c83bb0533" Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" -TestEnv = "1e6cf692-eddd-4d53-88a5-2d735e33781b" [compat] -KiteUtils = "0.4" +KiteUtils = "0.5" Parameters = "0.12" -TestEnv = "1" julia = "1" [extras] diff --git a/README.md b/README.md index 7febabd..966f999 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,10 @@ wind energy system. A ground station has the following components: Currently implemented is a model of the 20kW ground station from Delft University of Technology. ## Installation +First, install Julia 1.9 or higher. Then launch Julia and install this package using the package manager. ```julia -]add https://github.com/aenarete/WinchModels.jl +] +add WinchModels ``` ## Exported types @@ -24,8 +26,8 @@ AsyncMachine ## Main functions ```julia -calc_acceleration(wm::AsyncGenerator, set_speed, speed, force, use_brake = false) -calc_force(wm::AsyncGenerator, set_speed, speed) +calc_acceleration(wm::AsyncMachine, set_speed, speed, force, use_brake = false) +calc_force(wm::AsyncMachine, set_speed, speed) ```

@@ -48,7 +50,7 @@ smooth_sign ```julia using WinchModels, BenchmarkTools -wm = AsyncGenerator() +wm = AsyncMachine() @benchmark calc_acceleration(wm, 7.9, 8.0, 100.0) ``` On i7-7700K 17ns for Julia, 1050ns with Python. diff --git a/bin/run_julia b/bin/run_julia new file mode 100755 index 0000000..0f4e1de --- /dev/null +++ b/bin/run_julia @@ -0,0 +1 @@ +LANG=en_US julia --project