Skip to content

Commit

Permalink
update jsonld's for test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlWalther committed Dec 15, 2024
1 parent 855eb90 commit 00ee79c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
52 changes: 26 additions & 26 deletions cxf/ModelicaTestCases/CompositeBlocks/CustomPWithLimiter.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -4,75 +4,75 @@
},
"@graph": [
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter",
"@type": "S231P:Block",
"S231P:containsBlock": [
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue"
}
],
"S231P:hasInput": [
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.e"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.e"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.yMax"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.yMax"
}
],
"S231P:hasOutput": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.y"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.y"
},
"S231P:hasParameter": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.k"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.k"
},
"S231P:label": "CustomPWithLimiter"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.e",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.e",
"@type": "S231P:RealInput",
"S231P:accessSpecifier": "public",
"S231P:description": "Control error",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-140,\"y\":-60},{\"x\":-100,\"y\":-20}]}}}",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.u"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.u"
},
"S231P:label": "e"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain",
"@type": "https://data.ashrae.org/S231P#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter",
"S231P:accessSpecifier": "public",
"S231P:description": "Constant gain",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-60,\"y\":-50},{\"x\":-40,\"y\":-30}]}}}",
"S231P:hasInstance": [
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.k"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.k"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.u"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.u"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.y"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.y"
}
],
"S231P:label": "gain"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.k",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.k",
"S231P:isFinal": true,
"S231P:value": "k"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.gain.y",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.gain.y",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.u2"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.u2"
}
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.k",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.k",
"@type": "S231P:Parameter",
"S231P:accessSpecifier": "public",
"S231P:description": "Constant gain",
Expand All @@ -83,46 +83,46 @@
"S231P:value": 2
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue",
"@type": "https://data.ashrae.org/S231P#Buildings.Controls.OBC.CDL.Reals.Min",
"S231P:accessSpecifier": "public",
"S231P:description": "Outputs the minimum of its inputs",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":20,\"y\":-10},{\"x\":40,\"y\":10}]}}}",
"S231P:hasInstance": [
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.u1"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.u1"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.u2"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.u2"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.y"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.y"
}
],
"S231P:label": "minValue"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.y",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.y",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.y"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.y"
}
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.y",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.y",
"@type": "S231P:RealOutput",
"S231P:accessSpecifier": "public",
"S231P:description": "Control signal",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":100,\"y\":-10},{\"x\":120,\"y\":10}]}}}",
"S231P:label": "y"
},
{
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.yMax",
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.yMax",
"@type": "S231P:RealInput",
"S231P:accessSpecifier": "public",
"S231P:description": "Maximum value of output signal",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-140,\"y\":20},{\"x\":-100,\"y\":60}]}}}",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.CustomPWithLimiter.minValue.u1"
"@id": "http://example.org#ModelicaTestCases.CompositeBlocks.customPWithLimiter.minValue.u1"
},
"S231P:label": "yMax"
}
Expand Down
6 changes: 3 additions & 3 deletions cxf/ModelicaTestCases/SingleBlocks/Reals/Add.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.Add.u1",
"@type": "S231P:RealInput",
"S231P:accessSpecifier": "public",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-120,\"y\":0},{\"x\":-80,\"y\":40}]}}}",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-140,\"y\":0},{\"x\":-100,\"y\":40}]}}}",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.Add.add2.u1"
},
Expand All @@ -60,7 +60,7 @@
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.Add.u2",
"@type": "S231P:RealInput",
"S231P:accessSpecifier": "public",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-120,\"y\":-40},{\"x\":-80,\"y\":0}]}}}",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-140,\"y\":-40},{\"x\":-100,\"y\":0}]}}}",
"S231P:isConnectedTo": {
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.Add.add2.u2"
},
Expand All @@ -70,7 +70,7 @@
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.Add.y1",
"@type": "S231P:RealOutput",
"S231P:accessSpecifier": "public",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":72,\"y\":-20},{\"x\":112,\"y\":20}]}}}",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":100,\"y\":-20},{\"x\":140,\"y\":20}]}}}",
"S231P:label": "y1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.MultiplyByParameter.gain",
"@type": "https://data.ashrae.org/S231P#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter",
"S231P:accessSpecifier": "public",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-8,\"y\":-10},{\"x\":12,\"y\":10}]}}}",
"S231P:graphics": "{\"Placement\":{\"transformation\":{\"extent\":[{\"x\":-6,\"y\":-10},{\"x\":14,\"y\":10}]}}}",
"S231P:hasInstance": [
{
"@id": "http://example.org#ModelicaTestCases.SingleBlocks.Reals.MultiplyByParameter.gain.k"
Expand Down

0 comments on commit 00ee79c

Please sign in to comment.