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
[](https://github.com/ModiaSim/Modia.jl/blob/master/LICENSE)
5
5
6
-
Modia is part of [ModiaSim](https://modiasim.github.io/docs/).
6
+
The [Modia Tutorial](https://modiasim.github.io/Modia.jl/stable/Tutorial.html) provides an introduction to Modia. Modia is part of [ModiaSim](https://modiasim.github.io/docs/).
7
7
8
-
The [Modia Tutorial](https://modiasim.github.io/Modia.jl/stable/Tutorial.html) provides an introduction to Modia.
8
+
Modia is a Julia package for modeling and simulation of multidomain engineering systems
9
+
described by differential equations, algebraic equations, and (space-discretized) partial differential equations. It shares many powerful features of the [Modelica language](https://www.modelica.org/modelicalanguage), together with features not available in Modelica.
9
10
10
-
Modia is a Julia package for modeling and simulation of multidomain engineering systems (electrical, 3D mechanical, fluid, etc.) described by differential equations, algebraic equations, and (space-discretized) partial differential equations. It shares many powerful features of the
11
-
[Modelica language](https://www.modelica.org/modelicalanguage), together with new features not available in Modelica.
11
+
A user defines a model on a high level with model components (like an electrical resistance, a rotational inertia, a rod with heat transfer, a PI controller etc.) that are physically connected together. A model component is constructed by "expression = expression" equations. The defined model is symbolically transformed to ODE form dx/dt = f(x,t). For example, equations might be analytically differentiated, ODE states selected, linear equation systems numerically solved when evaluating the function. From the transformed model a Julia function is generated that is used to simulate the model with integrators from [DifferentialEquations](https://github.com/SciML/DifferentialEquations.jl). Simulation results are plotted with [ModiaPlot](https://github.com/ModiaSim/ModiaPlot.jl), providing a convenient interface to [GLMakie](https://github.com/JuliaPlots/GLMakie.jl) line plots.
12
12
13
-
Simulation is performed with [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl), units are supported via [Unitful.jl](https://github.com/PainterQubits/Unitful.jl) , uncertainty modeling is performed with [Measurements.jl](https://github.com/JuliaPhysics/Measurements.jl), Monte Carlo simulation is performed with [MonteCarloMeasurements.jl](https://github.com/baggepinnen/MonteCarloMeasurements.jl).
13
+
Other packages from the Julia eco-systems that are specially supported:
14
14
15
-
Plotting is performed with package [ModiaPlot.jl](https://github.com/ModiaSim/ModiaPlot.jl) as convenient interface to GLMakie.
15
+
-[Unitful](https://github.com/PainterQubits/Unitful.jl) to define and process physical units.
16
+
-[Measurements](https://github.com/JuliaPhysics/Measurements.jl) to perform simulations with uncertain parameters and initial values with linear propagation theory.
17
+
-[MonteCarloMeasurements](https://github.com/baggepinnen/MonteCarloMeasurements.jl) to perform simulations with uncertain parameters and initial values with particle theory.
16
18
17
19
18
20
## Installation
@@ -26,20 +28,21 @@ julia> ]add Modia, ModiaPlot
26
28
It is recommended to also add the following packages, in order that all tests and examples can be executed in your standard environment:
where *phi* is the rotation angle, *omega* the angular velocity,
40
-
*m* the mass, *L* the rod length, *d* a damping constant,
41
-
*g* the gravity constant and *r* the vector from the origin of the world system
42
-
to the tip of the pendulum. These equations can be defined, simulated and plotted with:
44
+
where *phi* is the rotation angle, *omega* the angular velocity, *m* the mass, *L* the rod length, *d* a damping constant, *g* the gravity constant and *r* the vector from the origin of the world system to the tip of the pendulum. These equations can be defined, simulated and plotted with
45
+
(note, you can define models also without units, or remove units before the model is processed):
0 commit comments