Sen descrición

Claudio Gomes a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
.settings 4c9bea782d updated contral lang classes %!s(int64=6) %!d(string=hai) anos
HintCO a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
HintCO.edit a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
HintCO.editor a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
be.uantwerpen.cosys.ContractLang a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
.gitignore db407069b3 fixed build. Added contract lang model code as dependency (this is ugly, but better than depending on xtext). %!s(int64=6) %!d(string=hai) anos
.gitlab-ci.yml 513e016204 Try caching Maven dir. %!s(int64=6) %!d(string=hai) anos
.project 4c9bea782d updated contral lang classes %!s(int64=6) %!d(string=hai) anos
CONTRIBUTING.md 6d6eb16c48 Add readme and contributing %!s(int64=6) %!d(string=hai) anos
LICENSE 49126b5ca2 Initial commit %!s(int64=6) %!d(string=hai) anos
README.md 84ac5bf14e fixed problem with dependencies and documentation %!s(int64=6) %!d(string=hai) anos
pom.xml a6460bd560 added powerbonds and editor to solve crashing reflective editor %!s(int64=6) %!d(string=hai) anos
test.sh a6bde4e734 test corrected %!s(int64=6) %!d(string=hai) anos

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