Skip to content

Commit d507f0f

Browse files
Merge pull request #82 from ModiaSim/mo_touching_contact
Require ModiaLang 0.8.6 + Project.toml/Manifest.toml files updated
2 parents 378b329 + d8fb302 commit d507f0f

File tree

7 files changed

+20
-31
lines changed

7 files changed

+20
-31
lines changed

Manifest.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
313313

314314
[[Distributions]]
315315
deps = ["ChainRulesCore", "DensityInterface", "FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "Test"]
316-
git-tree-sha1 = "24d26ca2197c158304ab2329af074fbe14c988e4"
316+
git-tree-sha1 = "2e97190dfd4382499a4ac349e8d316491c9db341"
317317
uuid = "31c24e10-a181-5473-b8eb-7969acd0382f"
318-
version = "0.25.45"
318+
version = "0.25.46"
319319

320320
[[DocStringExtensions]]
321321
deps = ["LibGit2"]
@@ -714,15 +714,15 @@ version = "0.7.8"
714714

715715
[[ModiaLang]]
716716
deps = ["DataFrames", "DifferentialEquations", "FiniteDiff", "ForwardDiff", "InteractiveUtils", "JSON", "Measurements", "ModiaBase", "ModiaResult", "MonteCarloMeasurements", "OrderedCollections", "Reexport", "Sundials", "Test", "TimerOutputs", "Unitful"]
717-
git-tree-sha1 = "f876db8f8bd3742c01534da42a1d7a74e3e28b0a"
717+
git-tree-sha1 = "ba0ee2f42988151af5371d53cf4429dccd6e9d4b"
718718
uuid = "34b37210-eaa3-4b48-8781-0b87bf559981"
719-
version = "0.8.5"
719+
version = "0.8.7"
720720

721721
[[ModiaResult]]
722722
deps = ["DataFrames", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "Pkg", "Tables", "Unitful"]
723-
git-tree-sha1 = "c18e1e86ecac6ba86a21bfbbf2160847670a3f1e"
723+
git-tree-sha1 = "2c8a7118daf30c135921fa12d9b9075963285300"
724724
uuid = "16a87621-1533-42f6-8e19-4a825980cec2"
725-
version = "0.3.8"
725+
version = "0.3.10"
726726

727727
[[MonteCarloMeasurements]]
728728
deps = ["Distributed", "Distributions", "LinearAlgebra", "MacroTools", "Random", "RecipesBase", "Requires", "SLEEFPirates", "StaticArrays", "Statistics", "StatsBase", "Test"]
@@ -1226,9 +1226,9 @@ version = "0.5.21"
12261226

12271227
[[Transducers]]
12281228
deps = ["Adapt", "ArgCheck", "BangBang", "Baselet", "CompositionsBase", "DefineSingletons", "Distributed", "InitialValues", "Logging", "Markdown", "MicroCollections", "Requires", "Setfield", "SplittablesBase", "Tables"]
1229-
git-tree-sha1 = "45279315fe060fce0fe57826986044e29f083a85"
1229+
git-tree-sha1 = "6378ddbd95d1da05ecc67e4f6de205a0732cb6e7"
12301230
uuid = "28d57a85-8fef-5791-bfe6-a80928e7c999"
1231-
version = "0.4.70"
1231+
version = "0.4.71"
12321232

12331233
[[TreeViews]]
12341234
deps = ["Test"]

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ FileIO = "1"
3232
JSON = "0.21"
3333
Measurements = "2"
3434
MeshIO = "0.4.10"
35-
ModiaLang = "0.8.5"
35+
ModiaLang = "0.8.7"
3636
MonteCarloMeasurements = "1, 0.10"
3737
OrderedCollections = "1"
3838
Reexport = "1.0, 0.2"

test/Basic/PendulumWithBar1.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ PendulumWithBar = Model(
4646

4747
pendulumWithBar = @instantiateModel(PendulumWithBar, unitless=true)
4848

49-
import DifferentialEquations
50-
algorithm = DifferentialEquations.Tsit5()
49+
algorithm = Tsit5()
5150
stopTime = 10.0
5251
requiredFinalStates = [-1.578178763749515, 0.06153191687388868]
5352
simulate!(pendulumWithBar, algorithm, stopTime=stopTime, log=true, logStates=false, requiredFinalStates=requiredFinalStates)

test/Basic/PendulumWithDamper.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
module PendulumWithDamper
22

33
using Modia
4-
import ModiaLang
54

6-
7-
# ModiaLang models
8-
include("$(ModiaLang.path)/models/Blocks.jl")
9-
include("$(ModiaLang.path)/models/Electric.jl")
10-
include("$(ModiaLang.path)/models/Rotational.jl")
5+
include("$(Modia.modelsPath)/Blocks.jl")
6+
include("$(Modia.modelsPath)/Electric.jl")
7+
include("$(Modia.modelsPath)/Rotational.jl")
118

129

1310

test/Basic/PendulumWithDamper_MonteCarlo.jl

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
module PendulumWithDamper
22

3-
using ModiaLang
3+
using Modia
4+
using Modia.Modia3D.MonteCarloMeasurements
45

5-
# ModiaLang models
6-
include("$(ModiaLang.path)/models/Blocks.jl")
7-
include("$(ModiaLang.path)/models/Electric.jl")
8-
include("$(ModiaLang.path)/models/Rotational.jl")
6+
include("$(Modia.modelsPath)/Blocks.jl")
7+
include("$(Modia.modelsPath)/Electric.jl")
8+
include("$(Modia.modelsPath)/Rotational.jl")
99

10-
import Modia3D
11-
using Modia
12-
using DifferentialEquations
13-
using MonteCarloMeasurements
1410

1511
Pendulum = Model(
1612
m = 1.0,

test/Collision/BouncingSphere.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module BouncingSphereSimulation
33
# Simulate bouncing sphere with CVODE_BDF, QBDF, Tsit5
44

55
using Modia
6-
using DifferentialEquations
6+
77

88
BouncingSphere = Model(
99
boxHeigth = 0.1,

test/Collision/BouncingSphere2.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module BouncingSphere2
22

33
# Simulate bouncing sphere with CVODE_BDF, QBDF, Tsit5
44

5-
using ModiaLang
6-
import Modia3D
7-
using Modia3D.ModiaInterface
8-
using DifferentialEquations
5+
using Modia
96

107
BouncingSphere = Model(
118
boxHeigth = 0.1,

0 commit comments

Comments
 (0)