- 16 Feb, 2021 1 commit
-
-
PARIS Thomas authored
Fix bug when trying to install MECSYCO, as core is now on 3.0.2, MAven returned a mistake for the other packages which expected a verison 3.0.0. In all POM.xml replace the dependencies that requested 3.0.0 by [3.0.0,) (3.0.0 or later).
-
- 14 Jan, 2021 1 commit
-
-
PARIS Thomas authored
Resolve "Change submodel multimodel description" Closes #2 See merge request !2
-
- 12 Jan, 2021 1 commit
-
-
PARIS Thomas authored
-
- 11 Jan, 2021 3 commits
-
-
PARIS Thomas authored
-
PARIS Thomas authored
Important update, allow minimal propagation delay of zero for specific reactive model. When set to 0 a warning is displayed to prevent about possible deadblock.
-
PARIS Thomas authored
Fix bug in algorithm, didn't test that the out put event was not null in case of instantReaction. Fix it and add a test to check this fix.
-
- 16 Dec, 2020 6 commits
-
-
PARIS Thomas authored
Fix bug with checkParameters and checkSimulationParameters, confusion, getParameter() and getSimulParameter() return directly the value of the parameter and not the MecsycoParameter object. Now use the map of parameters and add a method isReplacableBy method to MecsycoParameter, similar to equals but doesn't take into account the value. UpdateSubModel method, now it can work event if the original model contain ports or parameter not in the new submodel if they are not used by the multimodel. Update to version 3.0.2
-
PARIS Thomas authored
Add test on the updateMSubmodel method. Add DSL and generated XML + gitignore to avoid pushing XML at every regeneration (we will have to first add modification if needed). In test we exchange one source model by another. Update dependency to world-common to 3.0.2, CSV are in the class path so me need this update.
-
PARIS Thomas authored
Update name of methods updateSubmodelParameter and updateSubmodelName -> add a s to be more consistent. Propagate this change in CoSimDescription. Add method to exchange one model by another in the multimodel and methods to check that it is feasible (check inputs outputs, parameters...).
-
PARIS Thomas authored
-
PARIS Thomas authored
Update the elements that represents MECSYCO port and variable, add equals and hash methods (auto generation), and avoid null value (replace by empty String).
-
PARIS Thomas authored
Version -> 3.0.2
-
- 15 Dec, 2020 1 commit
-
-
PARIS Thomas authored
Update getters to return protected copy.
-
- 10 Dec, 2020 5 commits
-
-
PARIS Thomas authored
Resolve "Handling descriptions" Closes #1 See merge request !1
-
PARIS Thomas authored
Update ModelDescription 1) get ports and parameters map now return protective copy 2) add method to get, add or update parameters and to get or add ports 3) update the way file are imported, now the file can be imported from the class path too (ModelImportUtils) 4) launch experiment methods now return a set of IModel agents on which we can call join() (request v 3.0.1 of core and core-composition) 5) add a method to launch experiment with a custom observing tool. Changes are propagated to AtomicModelDescription and MultimodelDescription. In MultimodelDescription, call updateSubmodelParameters in all launch methods (in case of use of update methods). Update updateSubmodelName() and call it only once (names are not suppoed to be changed after the load of the XML). Update the atomic model descriptions to taje into account the previous changes. Add logger in GraphDescription and update the way graphs are loaded, if present in the class path the observing artifact are loaded and caster directly by the LoadGraphDescription (check the classes inherit from ObservingArtifact). Update javadoc in mecsyco parameter, variable and port classes. In ModelImportUtils, update unzip method name to unzipModelDescription because it is what it does. Add tests on atomic model description (FMU, ad-hoc model artifact), on multimodel of the two previous models and of a co-simulation description. Change version to 3.0.1.
-
PARIS Thomas authored
Reduce code of ModelArtifactLoader, check that the imported class implement GenericModelArtifact and cast directlyto it to have the method instead of using undirect call. Update to 3.0.1.
-
PARIS Thomas authored
Dupplicate the join() method in IModelAgent, it doesn't change anything for atomic agents but GenericMMAgents has now this method directly and we can manipulate IMOdelAgent to wait for the end of experiment. Propagate the change in GenericMMAgent, code of join method smaller. Update both to version 3.0.1
-
PARIS Thomas authored
-
- 02 Dec, 2020 1 commit
-
-
PARIS Thomas authored
-
- 21 Oct, 2020 3 commits
-
-
PARIS Thomas authored
-
PARIS Thomas authored
-
PARIS Thomas authored
First commit, move the sources of the Java version of MECSYCO from the private repository to this public one. All sources, tests and resources are included. README.md file with explanation about installation is also included.
-