|
|
@@ -19,13 +19,13 @@ There are two main tasks in running a co-simulation with HintCO:
|
|
|
|
|
|
#### Configuring Co-simulation Scenarios
|
|
|
|
|
|
-Co-simulation scenario are just xml files. See [watertanks.xmi](HintCOEngine\examples\watertanks.xmi) for an example.
|
|
|
+Co-simulation scenario are just xml files. See [watertanks.xmi](HintCOEngine/examples/watertanks.xmi) for an example.
|
|
|
|
|
|
HintCO provides EMF Editor Plugins to edit such files. To use them, install the `HintCO.edit_*.jar` and `HintCO.editor_*.jar` files into your favorite eclipse distribution.
|
|
|
|
|
|
#### Running Co-simulations
|
|
|
|
|
|
-HintCO provides some example co-simulations. The scenario files are available in the [example](HintCOEngine\examples) directory and the FMUs are available in the [resources](HintCOEngine\resources) directory.
|
|
|
+HintCO provides some example co-simulations. The scenario files are available in the [example](HintCOEngine/examples) directory and the FMUs are available in the [resources](HintCOEngine\resources) directory.
|
|
|
|
|
|
If `hintco` denotes the HintCO binary, then run
|
|
|
|
|
|
@@ -33,9 +33,9 @@ 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](HintCOEngine\examples), and `output` is where the results will be generated.
|
|
|
+Where `.\examples\watertanks.xmi` can be found in [examples](HintCOEngine/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](HintCOEngine\scripts) is provided, to create pdfs for the plots produced:
|
|
|
+A helper script under [scripts](HintCOEngine/scripts) is provided, to create pdfs for the plots produced:
|
|
|
|
|
|
```
|
|
|
python plot_results.py ./output/0_1
|
|
|
@@ -73,7 +73,7 @@ To setup the framework, you need follow these steps:
|
|
|
|
|
|
Exporting the HintCO binary is performed in Eclipse.
|
|
|
|
|
|
-1. Use Eclipse to open the [HintCO.product](HintCOEngine\HintCO.product) file.
|
|
|
+1. Use Eclipse to open the [HintCO.product](HintCOEngine/HintCO.product) file.
|
|
|
2. Ensure that the *Overview* tab is selected.
|
|
|
3. On the right-hand side of the tab, under the *Exporting* headline, click the *Eclipse Product export wizard* link.
|
|
|
4. Set the destination directory where the binary will be exported to.
|