{"id":32157196,"url":"https://github.com/modiasim/modiabase.jl","last_synced_at":"2025-10-21T12:44:47.625Z","repository":{"id":43472548,"uuid":"335682511","full_name":"ModiaSim/ModiaBase.jl","owner":"ModiaSim","description":"Core algorithms for equation-based modeling","archived":false,"fork":false,"pushed_at":"2024-03-10T07:39:07.000Z","size":688,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-21T12:44:39.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ModiaSim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-02-03T16:15:50.000Z","updated_at":"2024-11-06T22:13:19.000Z","dependencies_parsed_at":"2022-08-12T10:41:38.687Z","dependency_job_id":"e8f67b59-b790-4825-b75a-fbe631a83ea8","html_url":"https://github.com/ModiaSim/ModiaBase.jl","commit_stats":{"total_commits":139,"total_committers":3,"mean_commits":"46.333333333333336","dds":"0.17985611510791366","last_synced_commit":"c7024611c9222f02aba4c5c8bd347f1b4dd2baf5"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/ModiaSim/ModiaBase.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaBase.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaBase.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaBase.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaBase.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModiaSim","download_url":"https://codeload.github.com/ModiaSim/ModiaBase.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaBase.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280264171,"owners_count":26300771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-21T12:44:46.134Z","updated_at":"2025-10-21T12:44:47.617Z","avatar_url":"https://github.com/ModiaSim.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ModiaBase\n \n[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://modiasim.github.io/ModiaBase.jl/stable/)\n[![The MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/ModiaSim/ModiaBase.jl/blob/master/LICENSE.md)\n\nModiaBase is part of [ModiaSim](https://modiasim.github.io/docs/). It is usually used via [Modia](https://github.com/ModiaSim/Modia.jl).\nThe [ModiaBase documentation](https://modiasim.github.io/ModiaBase.jl/stable/) provides details of the algorithms and how to use them.\n\nModiaBase provides basic algorithms and functionality that is needed for\nequation-based modeling to transform a (potentially high-index) Differential-Algebraic Equation system (DAE),\nto an Ordinary Differential Equation system in state space form (ODE).\nIt is used by [Modia](https://github.com/ModiaSim/Modia.jl),\nbut can also be utilized in another context. Especially the following functionality is provided:\n\n- Simplify linear Integer equations (many equations of object-oriented models are linear Integer equations and can be pre-processed exactly)\n  - to remove alias variables and equations,\n  - to remove redundant equations,\n  - to provide definite values for variables that can have arbitrary values if this makes sense,\n  - to make state constraints structurally visible.\n  \n- Find a variable assignment of an equation system, in order\n  to transform the equation system in a directed graph that can be further\n  processed.\n  \n- Find the strong components in a directed graph (with the algorithm of Tarjan)\n  to determine algebraic equation systems that must be solved together.\n\n- Sort an equation system (= transform to Block Lower Triangular form), \n  to determine the order in which the equations have to be evaluated.\n  \n- Reduce the dimension of algebraic equation systems by tearing.\n \n- Find equations that need to be differentiated one or more times (with the algorithm of Pantelides)\n  in order that the DAE can be transformed to an ODE.\n\n- Analytically differentiate the found equations.\n\n- Statically select ODE states and transform to ODE form\n  (hereby identifying linear equation systems that must be solved during simulation).\n  \n\n## Installation\n \nTypically, a user installs [Modia](https://github.com/ModiaSim/Modia.jl) and does not need\nto install ModiaBase separately. If needed, ModiaBase is installed with (Julia 1.7 is required):\n\n```julia\njulia\u003e ]add ModiaBase\n```\n\n## Main Developers\n\n- [Hilding Elmqvist](mailto:Hilding.Elmqvist@Mogram.net), [Mogram](http://www.mogram.net/).\n\n- [Martin Otter](https://rmc.dlr.de/sr/en/staff/martin.otter/),\n  [DLR - Institute of System Dynamics and Control](https://www.dlr.de/sr/en).\n  \n\nLicense: MIT (expat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodiasim%2Fmodiabase.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodiasim%2Fmodiabase.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodiasim%2Fmodiabase.jl/lists"}