RFC - definition of a runner class using as much of the existing code as possible#404
Draft
syntron wants to merge 3 commits intoOpenModelica:masterfrom
Draft
RFC - definition of a runner class using as much of the existing code as possible#404syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron wants to merge 3 commits intoOpenModelica:masterfrom
Conversation
… PRs * OMCSession.py: rename real OMCPath* classes as privat (start with '_') * OMCSession: define OMCPathDummy and OMCSessionDummy => no OMC server * OMCSession: remove OMCSessionCmd * ModelExecution.py: include all code related to model execution (from OMCsession*; ModelicaSystemCmd) * ModelicaSystemDoE.py: seperate file for this class * ModelicaSystemDoE.py: use ModelicaSystem / reduce number of arguments to __init__ * ModelicaSystem(Base).py: split getOutputs() and getContinuous() to Initial and Final data * ModelicaSystem(Base).py: getOutputs*() / getContinuous*() - always return np.float64 * ModelicaSystemBase.py: define a basic version of ModelicaSystem * ModelicaSystemRunner.py: definition of a 'runner' class using ModelicaSystemBasic / OMCSessionDummy (see PR OpenModelica#401) * test_ModelicaSystemRunner.py: test case for ModelicaSystemRunner * test_*: update of test cases based on above listed changes
This reverts commit eb312b41854b6310587e6be3cd1bed273e9197e0.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content (lots of changes / these will be splitted into several PRs if the general approach is approved):
Compared to PR #401 this solution:
|instead ofUnionFurther changes could do additional modifications such that the 3rd party packages (ZMQ) are not needed at all in the runner code path.
All tests are running without error / tested in https://github.com/syntron/OMPython/actions/runs/20865402893
Please comment!