Skip to content

Commit

Permalink
Add single core example (issue #100)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorhardy committed Jan 4, 2025
1 parent 2d48966 commit 72493cf
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user_guide_examples/advanced/advanced_single_core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# HELICS User Guide Advanced Topics - Single-Core Federation

This example demonstrates the capability of HELICS to run multiple federates on a single HELICS core. A full description of the example can be found in the [HELICS User Guide](**TODO add link**).
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "advanced single core",
"broker": true,
"federates": [
{
"directory": ".",
"exec": "python -u battery_charger.py",
"host": "localhost",
"name": "battery_charger"
}
]
}
Loading

0 comments on commit 72493cf

Please sign in to comment.