Žiadny popis

Claudio Gomes cba2da2982 major refactoring for hierarchical cosim support (needed for multirate) 6 rokov pred
.settings 4c9bea782d updated contral lang classes 6 rokov pred
HintCO cba2da2982 major refactoring for hierarchical cosim support (needed for multirate) 6 rokov pred
HintCO.edit cba2da2982 major refactoring for hierarchical cosim support (needed for multirate) 6 rokov pred
HintCO.editor a6460bd560 added powerbonds and editor to solve crashing reflective editor 6 rokov pred
be.uantwerpen.cosys.ContractLang a6460bd560 added powerbonds and editor to solve crashing reflective editor 6 rokov pred
.gitignore 75f7731791 ignored files by xtend 6 rokov pred
.gitlab-ci.yml 513e016204 Try caching Maven dir. 6 rokov pred
.project 4c9bea782d updated contral lang classes 6 rokov pred
CONTRIBUTING.md 6d6eb16c48 Add readme and contributing 6 rokov pred
LICENSE 49126b5ca2 Initial commit 6 rokov pred
README.md 84ac5bf14e fixed problem with dependencies and documentation 6 rokov pred
pom.xml a6460bd560 added powerbonds and editor to solve crashing reflective editor 6 rokov pred
test.sh cba2da2982 major refactoring for hierarchical cosim support (needed for multirate) 6 rokov pred

README.md

HintCO

This framework is a automated co-simulation program which is based on hints. The co-simulation user define some hints in the framework, then the framework automatically try to find best master algorithm in order to satisfy user hints. It runs numerous simulations, using the past results to improve next simulation with new master algorithm.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Windows/Linux platform.

Installing

In order to setup the framework, you need follow these steps:

  1. Install Eclipse IDE for RCP and RAP Developers Version: Photon Release (4.8.0)
  2. Install Xtend (Version 2.16) Using Install new software in Help tab of eclipse
  3. Install Xcore (Version 1.6) Using Install new software in Help tab of eclipse
  4. [Optional] Install Maven (Version 3.6)

Building and Testing

The build can be done in both Eclipse and Maven. Likewise, tests are run using either Eclipse (Junit 4) or Maven. We recommend running the Eclipse plugin tests.

Exporting an Application

The binaries are exported as an Eclipse RCP Application. The file HintCO.product contains all the information.

Running the Application

To get help on the API:

hintco -h

To run a single co-simulation, you need a scenario configuration, which points to the location of the FMUs:

hintco -s .\watertanks.xmi -o output -n 1

Where .\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.

An helper script under scripts is provided, to create pdfs for the plots produced:

python plot_results.py ./output/0_1

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details