Skip to content

Conversation

@syntron
Copy link
Contributor

@syntron syntron commented Jun 25, 2025

New class to run DoEs based on the available functionality

Usage (see test_ModelicaSystemDoE):

  • define the model
  • define all parameters with the values to iterate
  • run DoE (simulation of all parameter combinations)

based on PR #310, #311, #313, #314 and #316; see also #230

@syntron
Copy link
Contributor Author

syntron commented Jun 26, 2025

converted to draft - It is running but there is still some work need to get it to a working state for all corner cases

@syntron syntron force-pushed the ModelicaSystemDoE branch from d554b09 to 763850b Compare June 28, 2025 19:26
@syntron syntron force-pushed the ModelicaSystemDoE branch 2 times, most recently from 36730bf to 2aab143 Compare July 9, 2025 19:30
@syntron syntron force-pushed the ModelicaSystemDoE branch 2 times, most recently from f068f39 to 7545971 Compare July 12, 2025 17:05
@syntron syntron force-pushed the ModelicaSystemDoE branch from 7545971 to 90914d5 Compare August 12, 2025 20:12
@syntron syntron marked this pull request as ready for review August 12, 2025 21:05
@syntron
Copy link
Contributor Author

syntron commented Aug 16, 2025

@adeas31 I'm not sure if the code in ModelicaSystemDoE will work well for bool or string parameters (= structural); I'm unsure how to correctly set these in OMC and how it will behave. Please advice!

@syntron syntron force-pushed the ModelicaSystemDoE branch from 90914d5 to e351fb6 Compare August 16, 2025 13:05
@adeas31 adeas31 added this to the 4.1.0 milestone Aug 18, 2025
@syntron
Copy link
Contributor Author

syntron commented Nov 4, 2025

Rebase done; see also #361 for an overview

* no need to add aditional requirements
* hint how to use pandas in the docstrings
* update test to match code changes
* remove DICT_RESULT_FILENAME
* add comment
* add DICT_ID_STRUCTURE and DICT_ID_NON_STRUCTURE
* rename param_simple => param_non_structure
* add ModelicaSystem.session() - returns _getconn
* add ModelicaSystemDoE.session() - returns _mod.session()

reasoning:
* do not access private variables of a class
* limit chain access to (sub)data
it does not exists at this point thus, resolve() and absolute() will fail
@adeas31
Copy link
Member

adeas31 commented Nov 5, 2025

I believe this can be closed now since #333 is merged.

@syntron
Copy link
Contributor Author

syntron commented Nov 5, 2025

I believe this can be closed now since #333 is merged.

Correct!

@syntron syntron closed this Nov 5, 2025
@syntron syntron deleted the ModelicaSystemDoE branch November 5, 2025 21:49
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