Constants and Types
The following constants are defined in ModiaMath (all these definitions are not exported and therefore need to be prefixed with ModiaMath):
const path
Absolute path of ModiaMath package directory. This allows for example to run ModiaMath examples asinclude("$(ModiaMath.path)/examples/Simulate_Pendulum.jl").
const Version
Version of ModiaMath
const Date
Version Date of ModiaMath
The following abstract types are defined and used in ModiaMath:
The internal part of a component (has at least fields "name" and "within")
type ModiaMath.AbstractComponentWithVariablesStruct that contains ModiaMath.AbstractVariables as field or as field in a sub-struct.
ModiaMath.AbstractRealVariable — Type.ModiaMath.AbstractRealVariable <: ModiaMath.AbstractVariableA real ModiaMath.AbstractVariable (either scalar or array)
type ModiaMath.AbstractSimulationModelStruct that is used as simulation model (has field: simulationState)
ModiaMath.AbstractVariable — Type.type ModiaMath.AbstractVariable <: ModiaMath.AbstractComponentWithVariablesA Variable used as element of the DAE model description and is included in the result (if no residue)