Skip to content

[ModelicaSystemDoE] use OMCPath #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 101 commits into
base: master
Choose a base branch
from

Conversation

syntron
Copy link
Contributor

@syntron syntron commented Aug 12, 2025

use OMCPath within ModelicaSystemDoE - this allows to run DoEs also on docker or WSL

needs PR #312 and PR #324

@syntron syntron force-pushed the ModelicaSystemDoE_use_OMCPath branch 2 times, most recently from 2f58334 to 917540f Compare August 14, 2025 20:19
syntron added 25 commits August 16, 2025 14:49
* not working: 3.10
* working:     3.12
* use modified pathlib.Path as OMCPath
* this is scripting output and, thus, it cannot be parsed
see commit ID: aa74b36 - [OMCPath] add more functionality and docstrings
* differentiate between
  * Python >= 3.12 uses OMCPath based on OMC for filesystem operation
  * Python <  3.12 uses a pathlib.Path based implementation which is
    limited to OMCProcessLocal
syntron added 28 commits August 16, 2025 15:08
* define file name based on result file name & Path
* simplify code
* allow different ways to define the path
remove pathlib - use OMCPath and (for type hints) os.PathLike
…te()

* no dependency loop OMCsessionZMQ => OMCProcess* => OMCSessionZMQ
* check if model executable exists will be handled via ModelicaSystemCmd
@syntron syntron force-pushed the ModelicaSystemDoE_use_OMCPath branch from 917540f to 36443e9 Compare August 16, 2025 13:26
@adeas31 adeas31 added this to the 4.1.0 milestone Aug 18, 2025
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.

2 participants