Skip to content

Supported Modelica features (discussion item) #100

Description

@casella

Overview of Base Modelica features supported by BaseModelica.jl

Already supported Base Modelica features

  • Real types
  • Integer types
  • Boolean types
  • Differential-algebraic equations
  • Constants and parameters with fixed = true evaluated as literal constants
  • Initial equations
  • Parameters with fixed = false evaluated during initialization
  • Conditional expressions with event generation
  • Conditional equations with event generation
  • Discrete variables and when-equations (no event iterations)
  • Index reduction

Features that have a corresponding MTK counterpart and could be supported

  • String types
  • Array types
  • Record types
  • Event iteration for discrete variables
  • Clocked variables
  • Non-evaluated parameters with binding equations
  • State variable change
  • delay() and spatialDistribution() (solution of bi-directional 1D advection equation)
  • External C functions

Other features (unclear if they could be supported)

  • Functions
  • External objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions