Claudio Gomes 879f7b55e6 new release of hintco and shipping mass spring damper example | 4 years ago | |
---|---|---|
.settings | 5 years ago | |
HintCOEngine | 4 years ago | |
HintConfiguration | 4 years ago | |
HintConfiguration.edit | 4 years ago | |
HintConfiguration.editor | 4 years ago | |
be.uantwerpen.cosys.ContractLang | 5 years ago | |
deploy | 4 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 5 years ago | |
CONTRIBUTING.md | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago | |
deploy_examples.ps1 | 4 years ago | |
pom.xml | 5 years ago | |
test.sh | 5 years ago |
This framework is a automated co-simulation program which is based on hints. The co-simulation user defines some hints in the framework, and then the framework automatically tries to find the best master algorithm to satisfy the user's hints. It runs numerous simulations, using the past results to improve the next simulation with a new master algorithm.
The latest precompiled binaries for Windows are available for download in the releases.
For Linux and Windows platforms, see Getting Started in Development.
There are two main tasks in running a co-simulation with HintCO:
Co-simulation scenario are just XML files. See watertanks.xmi for an example.
HintCO provides EMF Editor Plugins to edit such files. To use them, setup the development environment and export the editor jars (see the instructions below). Then, place the exported HintCO.edit_*.jar
and HintCO.editor_*.jar
files into the plugins
folder of an Eclipse Modelling Tools distribution (Photon Release 4.8.0).
HintCO provides some example co-simulations. The scenario files are available in the example directory and the FMUs are available in the resources directory.
If hintco
denotes the HintCO binary, then run
hintco -s .\examples\watertanks.xmi -o output -n 1
Where .\examples\watertanks.xmi
can be found in examples, and output
is where the results will be generated.
The fmus are assumed to be in a resources
folder, in the same directory as the binary hintco
.
A helper script under scripts is provided, to create pdfs for the plots produced:
python plot_results.py ./output/0_1
To get help on the API:
hintco -h
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Windows/Linux platform.
To setup the framework, you need follow these steps:
Photon - http://download.eclipse.org/releases/photon
Exporting the HintCO binary is performed in Eclipse.
Exporting the editor plugins is performed in Eclipse.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details
If you use HintCO, please cite our paper.
Gomes, C.; Oakes, B.; Moradi, M.; Gámiz, A.; Mendo, J.; Dutré, S.; Denil, J. and Vangheluwe, H. (2019). HintCO – Hint-based Configuration of Co-simulations.In Proceedings of the 9th International Conference on Simulation and Modeling Methodologies, Technologies and Applications - Volume 1: SIMULTECH, ISBN 978-989-758-381-0, pages 57-68. DOI: 10.5220/0007830000570068.
@conference{simultech19,
author={Cláudio Gomes. and Bentley James Oakes. and Mehrdad Moradi. and Alejandro Torres Gámiz. and Juan Carlos Mendo. and Stefan Dutré. and Joachim Denil. and Hans Vangheluwe.},
title={HintCO – Hint-based Configuration of Co-simulations},
booktitle={Proceedings of the 9th International Conference on Simulation and Modeling Methodologies, Technologies and Applications - Volume 1: SIMULTECH,},
year={2019},
pages={57-68},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007830000570068},
isbn={978-989-758-381-0},
}