Skip to content

Commit

Permalink
Merge pull request #71 from dnv-innersource/fix/70-example-interface-fix
Browse files Browse the repository at this point in the history
Fix descriptions in interface json for wind power model
  • Loading branch information
KristofferSkare authored Nov 1, 2024
2 parents f3906b8 + 9cc52ac commit d5abae5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e
* Changed publishing workflow to use OpenID Connect (Trusted Publisher Management) when publishing to PyPI
* Updated copyright statement
* VS Code settings: Turned off automatic venv activation
* Edited descriptions in the examples/wind_to_power/config/interface.json

### Added

Expand Down
58 changes: 29 additions & 29 deletions examples/wind_to_power/config/interface.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"name": "WindToPower",
"description": "A Machine Learning based FMU that outputs the estimated power output of a windmill given the wind speed and direction.",
"inputs": [
{
"name": "windSpeed",
"description": "Noise to be added to the change in wind speed",
"agentInputIndexes": [
"0"
]
},
{
"name": "windDirection",
"description": "Noise to be added to the change in wind direction",
"agentInputIndexes": [
"1"
]
}
],
"parameters": [],
"outputs": [
{
"name": "power",
"description": "The estimated windmill power output",
"agentOutputIndexes": [
"0"
]
}
],
"states": []
"name": "WindToPower",
"description": "A Machine Learning based FMU that outputs the estimated power output of a wind turbine given the wind speed and direction.",
"inputs": [
{
"name": "windSpeed",
"description": "The speed of the wind",
"agentInputIndexes": [
"0"
]
},
{
"name": "windDirection",
"description": "The direction of the wind",
"agentInputIndexes": [
"1"
]
}
],
"parameters": [],
"outputs": [
{
"name": "power",
"description": "The estimated wind turbine power output",
"agentOutputIndexes": [
"0"
]
}
],
"states": []
}

0 comments on commit d5abae5

Please sign in to comment.