You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,24 +21,23 @@ Component models are defined by `@model` macros. Such models contain definition
21
21
22
22
## Installation
23
23
24
-
The package is registered in METADATA.jl. Once the registration process of
25
-
ModiaMath 0.2.4 is finalized, a new release of Modia will be registered
26
-
and Modia can be installed with Pkg.add.
24
+
**Modia** is registered in METADATA.jl and can be installed with Pkg.add:
27
25
28
26
```julia
29
-
# Julia 0.6, 0.7, 1.0:
27
+
# Julia 0.6:
30
28
julia> Pkg.add("Modia")
31
29
32
-
#alternatively in Julia 0.7 and 1.0:
30
+
# Julia 0.7 and 1.0:
33
31
julia> ]add Modia
34
32
```
35
33
36
34
Modia uses [PyPlot](https://github.com/JuliaPy/PyPlot.jl) for plotting.
37
35
If `PyPlot` is not available in your current Julia environment
38
36
an information message is printed and all `plot(..)` calls are ignored.
37
+
39
38
In order that plot windows are displayed, you need to add `PyPlot` to your current environment
40
39
via `]add PyPlot`. Often this automatic installation fails and it is recommended to follow
41
-
instead the instructions
40
+
the instructions
42
41
[Installing PyPlot in a robust way](https://github.com/ModiaSim/ModiaMath.jl/wiki/Installing-PyPlot-in-a-robust-way).
43
42
44
43
@@ -66,6 +65,9 @@ instead the instructions
66
65
```
67
66
68
67
## Examples
68
+
69
+
The schematics below are screenshots of [Modelica models](https://www.modelica.org/). These models have been converted to Modia and the examples below execute these models. Note, in Modia there is not (yet) a graphical definition of models.
70
+
69
71
### Current Controller
70
72

0 commit comments