Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Removed docs and examples directory; renamed TinyModia to ModiaLang
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinOtter committed Jul 27, 2021
1 parent e64d165 commit b271af0
Show file tree
Hide file tree
Showing 79 changed files with 118 additions and 2,983 deletions.
64 changes: 31 additions & 33 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab"

[[DiffEqBase]]
deps = ["ArrayInterface", "ChainRulesCore", "DataStructures", "DocStringExtensions", "FastBroadcast", "FunctionWrappers", "IterativeSolvers", "LabelledArrays", "LinearAlgebra", "Logging", "MuladdMacro", "NonlinearSolve", "Parameters", "Printf", "RecursiveArrayTools", "RecursiveFactorization", "Reexport", "Requires", "SciMLBase", "Setfield", "SparseArrays", "StaticArrays", "Statistics", "SuiteSparse", "ZygoteRules"]
git-tree-sha1 = "932153f62d0508e59733e0fc33361470d293a889"
git-tree-sha1 = "9d312bb0b7c8ace440a71c64330cf1bea0ade0c8"
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
version = "6.68.1"
version = "6.70.0"

[[DiffEqCallbacks]]
deps = ["DataStructures", "DiffEqBase", "ForwardDiff", "LinearAlgebra", "NLsolve", "OrdinaryDiffEq", "RecipesBase", "RecursiveArrayTools", "StaticArrays"]
Expand Down Expand Up @@ -257,9 +257,9 @@ uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"

[[DynamicPolynomials]]
deps = ["DataStructures", "Future", "LinearAlgebra", "MultivariatePolynomials", "MutableArithmetics", "Pkg", "Reexport", "Test"]
git-tree-sha1 = "5e47c4d652ea67652b7c5945c79c46472397d47f"
git-tree-sha1 = "e9d82a6f35d199d3821c069932115e19ca2a2b3d"
uuid = "7c1d4256-1411-5781-91ec-d7bc3513ac07"
version = "0.3.18"
version = "0.3.19"

[[EllipsisNotation]]
deps = ["ArrayInterface"]
Expand Down Expand Up @@ -385,9 +385,9 @@ version = "0.21.1"

[[JuliaFormatter]]
deps = ["CSTParser", "CommonMark", "DataStructures", "Pkg", "Tokenize"]
git-tree-sha1 = "671676423c7c70673d4d2f03f2be2d6741c6884e"
git-tree-sha1 = "03d48b801c3d497c301a137ad32be7a70f1a64cb"
uuid = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
version = "0.15.1"
version = "0.15.2"

[[LaTeXStrings]]
git-tree-sha1 = "c7f1c695e06c01b95a67f0cd1d34994f3e7db104"
Expand All @@ -396,9 +396,9 @@ version = "1.2.1"

[[LabelledArrays]]
deps = ["ArrayInterface", "LinearAlgebra", "MacroTools", "StaticArrays"]
git-tree-sha1 = "5e38cfdd771c34821ade5515f782fe00865d60b3"
git-tree-sha1 = "41fc666d11a346e55f7fb70318e7078bfc0ae7cb"
uuid = "2ee39098-c373-598a-b85f-a56591580800"
version = "1.6.2"
version = "1.6.3"

[[Latexify]]
deps = ["Formatting", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "Printf", "Requires"]
Expand Down Expand Up @@ -452,9 +452,9 @@ uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"

[[LoopVectorization]]
deps = ["ArrayInterface", "DocStringExtensions", "IfElse", "LinearAlgebra", "OffsetArrays", "Polyester", "Requires", "SLEEFPirates", "Static", "StrideArraysCore", "ThreadingUtilities", "UnPack", "VectorizationBase"]
git-tree-sha1 = "06c91d5495c32bca6b843551a1331c3cd2fb23d0"
git-tree-sha1 = "b844cb320457812f739fe75f216a481095daf5c2"
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
version = "0.12.53"
version = "0.12.55"

[[MacroTools]]
deps = ["Markdown", "Random"]
Expand Down Expand Up @@ -497,12 +497,10 @@ uuid = "961ee093-0014-501f-94e3-6117800e7a78"
version = "5.25.1"

[[ModiaBase]]
deps = ["DataFrames", "DiffRules", "LinearAlgebra", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "Unitful"]
git-tree-sha1 = "e22838a9cb989b67c5a2c0e42212977dda15964c"
repo-rev = "development"
repo-url = "https://github.com/ModiaSim/ModiaBase.jl.git"
deps = ["DataFrames", "DiffRules", "LinearAlgebra", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "TimerOutputs", "Unitful"]
git-tree-sha1 = "36df1afcd6f4967406476ca5292dbc097f2bc1b9"
uuid = "ec7bf1ca-419d-4510-bbab-199861c55244"
version = "0.7.2-dev"
version = "0.7.3"

[[ModiaResult]]
deps = ["DataFrames", "DataStructures", "Measurements", "MonteCarloMeasurements", "Pkg", "Tables", "Unitful"]
Expand Down Expand Up @@ -637,9 +635,9 @@ version = "0.4.0"

[[Polyester]]
deps = ["ArrayInterface", "IfElse", "ManualMemory", "Requires", "Static", "StrideArraysCore", "ThreadingUtilities", "VectorizationBase"]
git-tree-sha1 = "f5a74523ebc205723baefb95874f708741199d70"
git-tree-sha1 = "4b692c8ce1912bae5cd3b90ba22d1b54eb581195"
uuid = "f517fe37-dbe3-4b94-8317-1923a5111588"
version = "0.3.4"
version = "0.3.7"

[[PooledArrays]]
deps = ["DataAPI", "Future"]
Expand Down Expand Up @@ -702,9 +700,9 @@ version = "1.1.1"

[[RecursiveArrayTools]]
deps = ["ArrayInterface", "ChainRulesCore", "DocStringExtensions", "LinearAlgebra", "RecipesBase", "Requires", "StaticArrays", "Statistics", "ZygoteRules"]
git-tree-sha1 = "2a76e8f24c67f3ebecaccefa8d4abd27db828407"
git-tree-sha1 = "0426474f50756b3b47b08075604a41b460c45d17"
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
version = "2.14.9"
version = "2.16.1"

[[RecursiveFactorization]]
deps = ["LinearAlgebra", "LoopVectorization"]
Expand Down Expand Up @@ -752,9 +750,9 @@ uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"

[[SLEEFPirates]]
deps = ["IfElse", "Static", "VectorizationBase"]
git-tree-sha1 = "da6d214ffc85b1292f300649ef86d3c4f9aaf25d"
git-tree-sha1 = "a8415a7a0e050cc927bf045665b8ed3376a6e368"
uuid = "476501e8-09a2-5ece-8869-fb82de89a1fa"
version = "0.6.22"
version = "0.6.24"

[[SafeTestsets]]
deps = ["Test"]
Expand All @@ -764,9 +762,9 @@ version = "0.0.1"

[[SciMLBase]]
deps = ["ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "RecipesBase", "RecursiveArrayTools", "StaticArrays", "Statistics", "Tables", "TreeViews"]
git-tree-sha1 = "afa011b411259faa53ccf95b8f18f1e704535c3d"
git-tree-sha1 = "f0bf114650476709dd04e690ab2e36d88368955e"
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
version = "1.18.1"
version = "1.18.2"

[[Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
Expand Down Expand Up @@ -808,9 +806,9 @@ version = "1.15.0"

[[SpecialFunctions]]
deps = ["ChainRulesCore", "LogExpFunctions", "OpenSpecFun_jll"]
git-tree-sha1 = "a50550fa3164a8c46747e62063b4d774ac1bcf49"
git-tree-sha1 = "508822dca004bf62e210609148511ad03ce8f1d8"
uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
version = "1.5.1"
version = "1.6.0"

[[Static]]
deps = ["IfElse"]
Expand All @@ -820,9 +818,9 @@ version = "0.2.5"

[[StaticArrays]]
deps = ["LinearAlgebra", "Random", "Statistics"]
git-tree-sha1 = "1b9a0f17ee0adde9e538227de093467348992397"
git-tree-sha1 = "5b2f81eeb66bcfe379947c500aae773c85c31033"
uuid = "90137ffa-7385-5640-81b9-e52037218182"
version = "1.2.7"
version = "1.2.8"

[[Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
Expand Down Expand Up @@ -859,9 +857,9 @@ version = "6.35.0"

[[StrideArraysCore]]
deps = ["ArrayInterface", "ManualMemory", "Requires", "ThreadingUtilities", "VectorizationBase"]
git-tree-sha1 = "2525850b6887e217c3cc149ab29eb2a7a6360d37"
git-tree-sha1 = "e1c37dd3022ba6aaf536541dd607e8d5fb534377"
uuid = "7792a7ef-975c-4747-a70f-980b88e8d1da"
version = "0.1.16"
version = "0.1.17"

[[StructTypes]]
deps = ["Dates", "UUIDs"]
Expand Down Expand Up @@ -927,9 +925,9 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[ThreadingUtilities]]
deps = ["ManualMemory"]
git-tree-sha1 = "593009385e6536dc50baedc2c8bc1a3717ef358f"
git-tree-sha1 = "03013c6ae7f1824131b2ae2fc1d49793b51e8394"
uuid = "8290d209-cae3-49c0-8002-c8c24d57dab5"
version = "0.4.5"
version = "0.4.6"

[[TimerOutputs]]
deps = ["ExprTools", "Printf"]
Expand Down Expand Up @@ -973,9 +971,9 @@ version = "1.9.0"

[[VectorizationBase]]
deps = ["ArrayInterface", "Hwloc", "IfElse", "Libdl", "LinearAlgebra", "Static"]
git-tree-sha1 = "ddeac5d8aad03c17bdc8efd45246e82fc52d12f4"
git-tree-sha1 = "a4bc1b406dcab1bc482ce647e6d3d53640defee3"
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
version = "0.20.24"
version = "0.20.25"

[[VertexSafeGraphs]]
deps = ["LightGraphs"]
Expand Down
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TinyModia"
uuid = "0169e107-af13-440d-89df-ca21e82123ce"
name = "ModiaLang"
uuid = "34b37210-eaa3-4b48-8781-0b87bf559981"
authors = ["Hilding Elmqvist <[email protected]>", "Martin Otter <[email protected]>"]
version = "0.8.0-dev"
version = "0.8.0"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand All @@ -22,6 +22,7 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
DataFrames = "0.22, 0.21, 0.20, 0.19"
DifferentialEquations = "6.17, 6.16"
FiniteDiff = "2.8, 2.7, 2.6, 2.5"
ForwardDiff = "0.10"
Expand Down
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
# TinyModia
# ModiaLang.jl

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://modiasim.github.io/TinyModia.jl/stable/index.html)
[![The MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/ModiaSim/TinyModia.jl/blob/master/LICENSE.md)
[![The MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/ModiaSim/ModiaLang.jl/blob/master/LICENSE.md)

TinyModia is part of [ModiaSim](https://modiasim.github.io/docs/).
ModiaLang is part of [ModiaSim](https://modiasim.github.io/docs/).

TinyModia is a minimalistic environment in form of a Julia package to model and simulate physical systems (electrical, mechanical, thermo-dynamical, etc.) described by differential and algebraic equations. A user defines a model on a high level with model components (like a mechanical body, an electrical resistance, or a pipe) that are physically connected together. A model component is constructed by "expression = expression" equations. The defined model is symbolically processed (for example, equations might be analytically differentiated) with algorithms from package [ModiaBase.jl](https://github.com/ModiaSim/ModiaBase.jl). From the transformed model a Julia function is generated that is used to simulate the model with integrators from [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl).
The basic type of the floating point variables in the generated function is usually `Float64`,
but can be set to any type `T<:AbstractFloat`, for example
`Float32, DoubleFloat, Measurement{Float64}, StaticParticles{Float64,100}`.
ModiaLang is usually used via [Modia](https://github.com/ModiaSim/Modia.jl).

ModiaLang provides the core equation-based language of Modia, transformation of a model to ODE form dx/dt = f(x,t) and a thin interface to [DifferentialEquations](https://github.com/SciML/DifferentialEquations.jl).

## Installation

The package is registered and is installed with (Julia >= 1.5 is required):

```julia
julia> ]add TinyModia
```
Typically, a user installs [Modia](https://github.com/ModiaSim/Modia.jl) and does not need
to install ModiaLang separately.

It is recommended to also add the following packages, in order that all tests and examples can be executed in your standard environment:
If needed, ModiaLang is installed with (Julia >= 1.5 is required):

```julia
julia> ]add ModiaPlot, Unitful, DifferentialEquations, Measurements, MonteCarloMeasurements, Distributions
julia> ]add ModiaLang
```

## Main Developers
Expand Down
21 changes: 0 additions & 21 deletions docs/make.jl

This file was deleted.

Binary file removed docs/resources/images/BandPassFilterPlot.png
Binary file not shown.
Binary file removed docs/resources/images/Filter.png
Binary file not shown.
Binary file removed docs/resources/images/PendulumEquations.png
Binary file not shown.
Binary file removed docs/resources/images/PendulumFigures.png
Binary file not shown.
Binary file removed docs/resources/images/PendulumWithMonteCarlo.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/resources/images/ServoSystem.png
Binary file not shown.
Binary file removed docs/resources/images/SimpleModel_GLMakie.png
Binary file not shown.
Binary file removed docs/resources/images/TwoInertiasAndIdealGear.png
Binary file not shown.
Binary file removed docs/resources/images/matrix-of-plots.png
Binary file not shown.
27 changes: 0 additions & 27 deletions docs/resources/models/DocuModels.mo

This file was deleted.

105 changes: 0 additions & 105 deletions docs/src/Functions.md

This file was deleted.

Loading

0 comments on commit b271af0

Please sign in to comment.