Skip to content

B001 ModelicaSystem split#426

Open
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:B001-ModelicaSystem_split
Open

B001 ModelicaSystem split#426
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:B001-ModelicaSystem_split

Conversation

@syntron
Copy link
Contributor

@syntron syntron commented Feb 27, 2026

(B001) split ModelicaSystem

[ModelicaSystem] split ModelicaSystem into ModelicaSystemABC and ModelicaSystem

[ModelicaSystem] rename ModelicaSystem => ModelicaSystemOMC

* add compatibility variable for ModelicaSystem

[test_ModelicaSystemOMC] rename from ModelicaSystem and update

[test_*] use ModelicaSystemOMC

[ModelicaSystem*] fix last usages of ModelicaSystem() in comments & docstrings

@syntron syntron changed the title B001 modelica system split B001 ModelicaSystem split Feb 27, 2026
syntron added 3 commits March 9, 2026 20:15
[ModelExecution*] create classes to handle model execution

* rename ModelicaSystemCmd => ModelExecutionCmd
* rename OMCSessionRunData => ModelExecutionData
* create class ModelExecutionException
* move some code:
  * OMCSession.omc_run_data_update() => merge into ModelExecutionCmd.define()
  * OMCSession.run_model_executable() => ModelExecutionData.run()

[test_ModelicaSystemCmd] update unittest

[ModelExecutionData] include the original exception if reraised as ModelExecutionException

[ModelicaSystem] fix usage of ModelicaSystemCmd
[ModelicaSystem] split ModelicaSystem into ModelicaSystemABC and ModelicaSystem

[ModelicaSystem] rename ModelicaSystem => ModelicaSystemOMC

* add compatibility variable for ModelicaSystem

[test_ModelicaSystemOMC] rename from ModelicaSystem and update

[test_*] use ModelicaSystemOMC

[ModelicaSystem*] fix last usages of ModelicaSystem() in comments & docstrings
@syntron syntron force-pushed the B001-ModelicaSystem_split branch from 69e5e82 to 59e6c9d Compare March 9, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant