Skip to content

Commit dd3c1fa

Browse files
committed
Remove continuous part from repository
1 parent b34f217 commit dd3c1fa

11 files changed

Lines changed: 6 additions & 655 deletions

File tree

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SimJulia
22
========
33

4-
**SimJulia** is a combined continuous time / discrete event process oriented simulation framework written in [Julia](http://julialang.org/) inspired by the Simula library [DISCO](http://www.akira.ruc.dk/~keld/research/DISCO/), the Python library [SimPy](https://simpy.readthedocs.io/) and the standalone [QSS](https://sourceforge.net/projects/qssengine/) solver.
4+
**SimJulia** is a discrete event process oriented simulation framework written in [Julia](http://julialang.org/) inspired by the Python library [SimPy](https://simpy.readthedocs.io/).
55

66
#### Build Status
77

@@ -37,6 +37,9 @@ julia> Pkg.add("SimJulia")
3737

3838
#### Release Notes
3939

40+
* Version 0.5 does no longer integrate a continuous time solver. A continuous time solver using SimJulia as its discrete event engine can be found in [QuantizedStateSystems](https://github.com/BenLauwens/QuantizedStateSystems.jl.git)
41+
* Starting from SimJulia v0.4.1, [ResumableFunctions](https://github.com/BenLauwens/ResumableFunctions.jl.git) is a separate package exporting the `resumable` and `yield` macro and it is a dependency for `SimJulia`. Users have to take into account the following syntax change:
42+
* `@yield return arg` is replaced by `@yield arg`
4043
* Version 0.4 is a complete rewrite: more julian and less pythonic.
4144
* Only supports Julia v0.6 and above.
4245
* Scheduling of events can be done with `Base.Dates.Datetime` and `Base.Dates.Period`:
@@ -90,19 +93,6 @@ run(sim, datetime+Month(3))
9093
sim = Simulation()
9194
@coroutine fibonnaci(sim)
9295
run(sim, 10)
93-
```
94-
* Starting from SimJulia v0.4.1, `ResumableFunctions` is a separate package exporting the `resumable` and `yield` macro and it is a dependency for `SimJulia`. Users have to take into account the following syntax change:
95-
* `@yield return arg` is replaced by `@yield arg`
96-
* The continuous time simulation is based on a quantized state system solver. (EXPERIMENTAL)
97-
```julia
98-
@model function diffeq(t, x, p, dx)
99-
dx[1] = p[2]+0.01*x[2]
100-
dx[2] = p[1]-100.0*x[1]-100.0*x[2]
101-
end
102-
103-
sim = Simulation()
104-
cont = @continuous diffeq(sim, [0.0, 20.0], [2020.0, 0.0]; stiff=false, order=4)
105-
run(sim, 100)
10696
```
10797
* Documentation is automated with [Documenter.jl](https://github.com/JuliaDocs/Documenter.jl). (WIP)
10898

REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
julia 0.6
22
DataStructures
33
ResumableFunctions
4-
TaylorSeries

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SimJulia
22

3-
a combined continuous time / discrete event process oriented simulation framework written in [Julia](http://julialang.org/) inspired by the Simula library [DISCO](http://www.akira.ruc.dk/~keld/research/DISCO/), the Python library [SimPy](https://simpy.readthedocs.io/) and the standalone [QSS](https://sourceforge.net/projects/qssengine/) solver.
3+
a discrete event process oriented simulation framework written in [Julia](http://julialang.org/) inspired by the Python library [SimPy](https://simpy.readthedocs.io/).

src/SimJulia.jl

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
isdefined(Base, :__precompile__) && __precompile__()
22

33
"""
4-
Main module for SimJulia.jl – a combined continuous time / discrete event process oriented simulation framework for Julia.
4+
Main module for SimJulia.jl – a discrete event process oriented simulation framework for Julia.
55
"""
66
module SimJulia
77

88
using DataStructures
99
using Base.Dates
1010
using ResumableFunctions
11-
using TaylorSeries
1211

1312
import Base.run, Base.now, Base.isless, Base.show, Base.interrupt, Base.yield, Base.length
1413
import Base.(&), Base.(|)
15-
import TaylorSeries.evaluate
1614

1715
export AbstractEvent
1816
export value, state, environment
@@ -28,11 +26,6 @@ module SimJulia
2826
export Coroutine, @coroutine
2927
export Container, Resource, Store
3028
export Put, Get, Request, Release, cancel, capacity, request, @request
31-
export Model, Continuous, Variable
32-
export @model, @continuous
33-
export evaluate
34-
export QSS
35-
export non_stiff, stiff
3629

3730
include("base.jl")
3831
include("events.jl")
@@ -45,9 +38,4 @@ module SimJulia
4538
include("resources/base.jl")
4639
include("resources/containers.jl")
4740
include("resources/stores.jl")
48-
include("odes/base.jl")
49-
include("odes/macros.jl")
50-
include("continuous.jl")
51-
include("odes/roots.jl")
52-
include("odes/QSS.jl")
5341
end

src/continuous.jl

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/odes/QSS.jl

Lines changed: 0 additions & 171 deletions
This file was deleted.

src/odes/base.jl

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)