暂无描述

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

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