diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld
index b5d8af7f..65e643bd 100644
--- a/CXF-Core.jsonld
+++ b/CXF-Core.jsonld
@@ -1,9 +1,10 @@
{
"@context": {
"S231": "http://data.ashrae.org/S231#",
+ "ex": "http://example.org#",
"qudt": "http://qudt.org/schema/qudt/",
- "q": "http://qudt.org/vocab/quantitykind#",
"unit": "http://qudt.org/vocab/unit#",
+ "q": "http://qudt.org/vocab/quantitykind#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
@@ -11,25 +12,25 @@
},
"@graph": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants",
"@type": "S231:Block",
"S231:documentation": "info=\n
\nThis package provides often needed constants.\n
\n,revisions=\n\n- \nMarch 12, 2024, by Michael Wetter:
\nChanged small to 1E-37.
\nThis is for\nBuildings, issue 3695.\n \n- \nMarch 27, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasConstant": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.eps"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.eps"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.pi"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.pi"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.small"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.small"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}}),graphics={Rectangle(extent={{-100,-100},{100,100}},radius=25,lineColor={200,200,200},fillColor={248,248,248},fillPattern=FillPattern.HorizontalCylinder),Polygon(points={{48.017,11.336},{48.017,11.336},{10.766,11.336},{-25.684,10.95},{-34.944,-15.111},{-34.944,-15.111},{-32.298,-15.244},{-32.298,-15.244},{-22.112,0.168},{11.292,0.234},{48.267,-0.097},{48.267,-0.097}},smooth=Smooth.Bezier,origin={-9.2597,25.6673},fillColor={102,102,102},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Polygon(points={{3.239,37.343},{3.305,37.343},{-0.399,2.683},{-16.936,-20.071},{-7.808,-28.604},{6.811,-22.519},{9.986,37.145},{9.986,37.145}},smooth=Smooth.Bezier,origin={-19.9923,-8.3993},fillColor={102,102,102},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Polygon(points={{-10.873,41.478},{-10.873,41.478},{-14.048,-4.162},{-9.352,-24.8},{7.912,-24.469},{16.247,0.27},{16.247,0.27},{13.336,0.071},{13.336,0.071},{7.515,-9.983},{-3.134,-7.271},{-2.671,41.214},{-2.671,41.214}},smooth=Smooth.Bezier,origin={23.753,-11.5422},fillColor={102,102,102},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Rectangle(extent={{-100,-100},{100,100}},radius=25,lineColor={128,128,128})}",
"S231:label": "Constants"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.eps",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.eps",
"@type": "S231:Constant",
"S231:accessSpecifier": "public",
"S231:description": "Biggest number such that 1.0 + eps = 1.0",
@@ -43,7 +44,7 @@
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.pi",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.pi",
"@type": "S231:Constant",
"S231:accessSpecifier": "public",
"S231:description": "Constant number pi, 3.14159265358979",
@@ -54,7 +55,7 @@
"S231:value": "2*Modelica.Math.asin(1)"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Constants.small",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Constants.small",
"@type": "S231:Constant",
"S231:accessSpecifier": "public",
"S231:description": "Smallest number such that small and -small are representable on the machine",
@@ -68,28 +69,28 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the Integer\nequivalent of the Boolean input.\n
\n\n y = if u then integerTrue else integerFalse;\n
\n\nwhere u is of Boolean and y\nof Integer type,\nand integerTrue and integerFalse are parameters.\n
\n,revisions=\n\n- \nMay 17, 2022, by Hongxiang Fu:
\nCorrected documentation texts where the variables were described with wrong types.
\nThis is for\nBuildings, issue 3016.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerFalse"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerFalse"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerTrue"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerTrue"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"B\",textColor={255,0,255},extent={{-86,78},{-34,26}}),Polygon(points={{28,48},{8,68},{8,58},{-24,58},{-24,38},{8,38},{8,28},{28,48}},lineColor={255,170,85},fillColor={255,170,85},fillPattern=FillPattern.Solid),Text(textString=\"I\",textColor={255,170,85},extent={{34,82},{86,24}}),Ellipse(extent={{-71,7},{-85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"%integerTrue\",textColor={0,0,0},extent={{-74,-28},{64,20}}),Text(textString=\"%integerFalse\",textColor={0,0,0},extent={{-74,-90},{64,-42}})}",
"S231:label": "BooleanToInteger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerFalse",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerFalse",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Output signal for false Boolean input",
@@ -100,7 +101,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerTrue",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.integerTrue",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Output signal for true Boolean input",
@@ -111,7 +112,7 @@
"S231:value": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Boolean signal to be converted to an Integer signal",
@@ -119,7 +120,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Converted input signal as an Integer",
@@ -127,28 +128,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the Real\nequivalent of the Boolean input.\n
\n\n y = if u then realTrue else realFalse;\n
\n\nwhere u is of Boolean and y\nof Real type,\nand realTrue and realFalse are parameters.\n
\n,revisions=\n\n- \nMay 17, 2022, by Hongxiang Fu:
\nCorrected documentation texts where the variables were described with wrong types.
\nThis is for\nBuildings, issue 3016.\n \n- \nApril 10, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realFalse"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realFalse"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realTrue"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realTrue"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{-71,7},{-85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"%realFalse\",textColor={0,0,0},extent={{-68,-86},{70,-38}}),Text(textString=\"%realTrue\",textColor={0,0,0},extent={{-68,-26},{70,22}}),Text(textString=\"B\",textColor={255,0,255},extent={{-86,78},{-34,26}}),Polygon(points={{26,48},{6,68},{6,58},{-26,58},{-26,38},{6,38},{6,28},{26,48}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Text(textString=\"R\",textColor={0,0,127},extent={{34,82},{86,24}})}",
"S231:label": "BooleanToReal"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realFalse",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realFalse",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Output signal for false Boolean input",
@@ -159,7 +160,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realTrue",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.realTrue",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Output signal for true Boolean input",
@@ -170,7 +171,7 @@
"S231:value": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Boolean signal to be converted to a Real signal",
@@ -178,7 +179,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Converted input signal as a Real",
@@ -186,20 +187,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.IntegerToReal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.IntegerToReal",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the Real\nequivalent of the Integer input.\n
\n\n y = u;\n
\n\nwhere u is of Integer and\ny of Real type.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"I\",textColor={255,127,0},extent={{-120,-40},{-20,40}}),Text(textString=\"R\",textColor={0,0,127},extent={{0,-40},{100,40}},fillPattern=FillPattern.Solid),Polygon(points={{10,0},{-10,20},{-10,10},{-40,10},{-40,-10},{-10,-10},{-10,-20},{10,0}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid)}",
"S231:label": "IntegerToReal"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Integer signal to be converted to a Real signal",
@@ -207,7 +208,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Converted input signal as a Real",
@@ -215,20 +216,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.RealToInteger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.RealToInteger",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y\nas the nearest integer value of the input u.\n
\n\nThe block outputs\n
\n\n y = integer( floor( u + 0.5 ) ) if u > 0,\n y = integer( ceil ( u - 0.5 ) ) otherwise.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.RealToInteger.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.RealToInteger.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.RealToInteger.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.RealToInteger.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"R\",textColor={0,0,127},extent={{-100,-40},{0,40}}),Text(textString=\"I\",textColor={255,127,0},extent={{20,-40},{120,40}}),Polygon(points={{50,0},{30,20},{30,10},{0,10},{0,-10},{30,-10},{30,-20},{50,0}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "RealToInteger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.RealToInteger.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.RealToInteger.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Real signal to be converted to an Integer signal",
@@ -236,7 +237,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Conversions.RealToInteger.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Conversions.RealToInteger.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Converted input signal as an Integer",
@@ -244,23 +245,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the extrapolation through the\nvalues of the last two sampled input signals.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation.
\nThis is for\nBuildings, issue 2170.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nSeptember 14, 2017, by Michael Wetter:
\nRemoved parameter startTime to allow model to work\nalso for negative start time without having to change the value of this\nparameters.
\nThis is for Buildings, issue 938.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.samplePeriod"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.samplePeriod"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,127},points={{-79,-41},{-59,-33},{-40,1},{-20,9},{0,63},{21,20},{41,10},{60,20}}),Line(color={0,0,127},points={{60,20},{81,10}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "FirstOrderHold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.samplePeriod",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.samplePeriod",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Sample period of component",
@@ -280,7 +281,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -288,7 +289,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "First order hold of input signal",
@@ -296,24 +297,24 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:documentation": "info=\n\nBlock that outputs the input signal, sampled at a sampling rate defined\nvia parameter samplePeriod.\n
\n,revisions=\n\n- \nMarch 30, 2022, by Michael Wetter:
\nRemoved graphic from diagram view.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation.
\nThis is for\nBuildings, issue 2170.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nSeptember 14, 2017, by Michael Wetter:
\nRemoved parameter startTime to allow model to work\nalso for negative start time without having to change the value of this\nparameters.
\nThis is for Buildings, issue 938.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.samplePeriod"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.samplePeriod"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Ellipse(extent={{25,-10},{45,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-45,0}}),Line(color={0,0,127},points={{45,0},{100,0}}),Line(color={0,0,127},points={{-35,0},{30,35}}),Ellipse(extent={{-45,-10},{-25,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid)}",
"S231:label": "Sampler"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.samplePeriod",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.samplePeriod",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Sample period of component",
@@ -333,7 +334,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -341,7 +342,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.Sampler.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.Sampler.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sampled input signal",
@@ -349,26 +350,26 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:documentation": "info=\n\nBlock that outputs the input signal whenever the trigger input\nsignal is rising (i.e., trigger changes to\ntrue). The maximum, absolute value of the input signal\nat the sampling point is provided as the output signal.\n
\n,revisions=\n\n- \nMarch 30, 2022, by Michael Wetter:
\nRemoved graphic from diagram view.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nSeptember 14, 2017, by Michael Wetter:
\nRemoved parameter startTime and sampleTime\nas these are not needed for this block, and introduced parameter\ny_start=0.
\nThis is for Buildings, issue 938.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.trigger"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Ellipse(extent={{25,-10},{45,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-45,0}}),Line(color={0,0,127},points={{45,0},{100,0}}),Line(color={255,0,255},points={{0,-100},{0,-26}}),Line(color={0,0,127},points={{-35,0},{28,-48}}),Text(textString=\"max\",extent={{-86,24},{82,82}}),Ellipse(extent={{-45,-10},{-25,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid)}",
"S231:label": "TriggeredMax"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.trigger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.trigger",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for trigger that causes u to be sampled",
@@ -376,7 +377,7 @@
"S231:label": "trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -384,7 +385,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Maximum of input signal over all trigger instants",
@@ -392,28 +393,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the triggered moving mean value of an input signal.\n
\n\nAt the start of the simulation, and whenever the trigger signal is rising\n(i.e., the trigger changes to true), the block samples\nthe input, computes the moving mean value over the past n samples,\nand produces this value at its output y.\n
\n,revisions=\n\n- \nMarch 30, 2022, by Michael Wetter:
\nAdded discrete keyword to sampled variable.
\nThis is for\nBuildings, issue 2942.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRemoved non-needed protected parameter t0.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nNovember 7, 2019, by Michael Wetter:
\nReformulated model to use an equation rather than an algorithm section.\n \n- \nOctober 16, 2019, by Kun Zhang:
\nFirst implementation. This is for Buildings, issue 1588.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.trigger"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.n"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.n"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{-88,0},{70,0}}),Polygon(points={{92,0},{70,8},{70,-8},{92,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-80}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={217,67,180},points={{-80,0},{-52,0}}),Line(color={28,108,200},points={{-80,0},{-68.7,34.2},{-61.5,53.1},{-55.1,66.4},{-49.4,74.6},{-43.8,79.1},{-38.2,79.8},{-32.6,76.6},{-26.9,69.7},{-21.3,59.4},{-14.9,44.1},{-6.83,21.2},{10.1,-30.8},{17.3,-50.2},{23.7,-64.2},{29.3,-73.1},{35,-78.4},{40.6,-80},{46.2,-77.6},{51.9,-71.5},{57.5,-61.9},{63.9,-47.2},{72,-24.8},{80,0}},smooth=Smooth.Bezier),Line(color={217,67,180},points={{-52,36},{-24,36}}),Line(color={217,67,180},points={{-52,0},{-52,36}},smooth=Smooth.Bezier),Line(color={217,67,180},points={{-24,36},{-24,46}},smooth=Smooth.Bezier),Line(color={217,67,180},points={{-24,46},{4,46}}),Line(color={217,67,180},points={{4,4},{32,4}}),Line(color={217,67,180},points={{4,46},{4,4}},smooth=Smooth.Bezier),Line(color={217,67,180},points={{32,-32},{60,-32}}),Line(color={217,67,180},points={{32,4},{32,-32}},smooth=Smooth.Bezier),Line(color={217,67,180},points={{60,-58},{82,-58}}),Line(color={217,67,180},points={{60,-32},{60,-58}},smooth=Smooth.Bezier),Ellipse(extent={{-25,-10},{-45,10}},lineColor={176,181,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{45,-10},{25,10}},lineColor={176,181,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={176,181,255},points={{-100,0},{-45,0}}),Line(color={176,181,255},points={{45,0},{100,0}}),Line(color={176,181,255},points={{-35,0},{28,-48}}),Line(color={255,0,255},points={{0,-100},{0,-26}}),Text(textString=\"%n\",textColor={28,108,200},extent={{56,92},{92,60}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "TriggeredMovingMean"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.n",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.n",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Number of samples over which the input is averaged",
@@ -424,7 +425,7 @@
"S231:min": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.trigger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.trigger",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for trigger that causes u to be sampled",
@@ -432,7 +433,7 @@
"S231:label": "trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -440,7 +441,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredMovingMean.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Moving mean of input signal over all trigger instants",
@@ -448,28 +449,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nSamples the continuous input signal whenever the trigger input\nsignal is rising (i.e., trigger changes from false to\ntrue) and provides the sampled input signal as output.\nBefore the first sampling, the output signal is equal to\nthe initial value defined via parameter y_start.\n
\n,revisions=\n\n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nMay 18, 2017, by Michael Wetter:
\nCorrected documentation.\n \n- \nMay 17, 2017, by Milica Grahovac:
\nFirst revision, based on the implementation of the\nModelica Standard Library.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.trigger"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Ellipse(extent={{25,-10},{45,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-45,0}}),Line(color={0,0,127},points={{45,0},{100,0}}),Line(color={255,0,255},points={{0,-100},{0,-26}}),Line(color={0,0,127},points={{-35,0},{28,-48}}),Ellipse(extent={{-45,-10},{-25,10}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "TriggeredSampler"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.trigger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.trigger",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for trigger that causes u to be sampled",
@@ -477,7 +478,7 @@
"S231:label": "trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -485,7 +486,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal at the last trigger instant",
@@ -493,7 +494,7 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Initial value of output signal",
@@ -504,28 +505,28 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the input signal with a unit delay:\n
\n\n 1\n y = --- * u\n z\n
\n\nthat is, the output signal y is the\ninput signal u of the\nprevious sample instant. Before the second sample instant,\nthe output y is identical to parameter y_start.\n
\n,revisions=\n\n- \nAugust 8, 2024, by Jianjun Hu:
\nDelayed the input.
\nThis is for\nBuildings, issue 3953.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation.
\nThis is for\nBuildings, issue 2170.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nSeptember 14, 2017, by Michael Wetter:
\nRemoved parameter startTime to allow model to work\nalso for negative start time without having to change the value of this\nparameters.
\nThis is for Buildings, issue 938.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.samplePeriod"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.samplePeriod"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y_start"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,127},points={{-30,0},{30,0}}),Text(textString=\"1\",textColor={0,0,127},extent={{-90,10},{90,90}}),Text(textString=\"z\",textColor={0,0,127},extent={{-90,-90},{90,-10}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "UnitDelay"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.samplePeriod",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.samplePeriod",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Sample period of component",
@@ -545,7 +546,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -553,7 +554,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal at the previous sample instant",
@@ -561,7 +562,7 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.UnitDelay.y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Initial value of output signal",
@@ -572,23 +573,23 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the sampled input signal at sample\ntime instants. The output signal is held at the value of the last\nsample instant during the sample points.\nAt initial time, the block feeds the input directly to the output.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation.
\nThis is for\nBuildings, issue 2170.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nSeptember 14, 2017, by Michael Wetter:
\nRemoved parameter startTime to allow model to work\nalso for negative start time without having to change the value of this\nparameters.
\nThis is for Buildings, issue 938.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.samplePeriod"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.samplePeriod"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},borderPattern=BorderPattern.Raised,lineColor={0,0,127},fillColor={223,211,169},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,127},points={{-78,-42},{-52,-42},{-52,0},{-26,0},{-26,24},{-6,24},{-6,64},{18,64},{18,20},{38,20},{38,0},{44,0},{44,0},{62,0}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "ZeroOrderHold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.samplePeriod",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.samplePeriod",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Sample period of component",
@@ -608,7 +609,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be sampled",
@@ -616,7 +617,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Zero order hold of the input signal",
@@ -624,20 +625,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Abs",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Abs",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = abs(u),\nwhere\nu is an Integer input.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Abs.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Abs.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Abs.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Abs.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Polygon(points={{92,0},{70,8},{70,-8},{92,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{0,-14},{0,68}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"abs\",textColor={192,192,192},extent={{-34,-28},{38,-76}}),Line(color={192,192,192},points={{-88,0},{76,0}}),Ellipse(extent={{-68,68},{-60,60}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Ellipse(extent={{-38,38},{-30,30}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Ellipse(extent={{-4,4},{4,-4}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Ellipse(extent={{28,38},{36,30}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Ellipse(extent={{58,68},{66,60}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-64,-6},{-64,6}}),Line(color={192,192,192},points={{-34,-6},{-34,6}}),Line(color={192,192,192},points={{32,-6},{32,6}}),Line(color={192,192,192},points={{62,-6},{62,6}}),Line(color={192,192,192},points={{-8,64},{8,64}}),Line(color={192,192,192},points={{-8,34},{8,34}})}",
"S231:label": "Abs"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Abs.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Abs.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for absolute function",
@@ -645,7 +646,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Abs.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Abs.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Absolute value of the input",
@@ -653,25 +654,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y as the sum of the\ntwo Integer input signals u1 and u2,\n
\n\n y = u1 + u2.\n
\n,revisions=\n\n- \nJanuary 27, 2022, by Jianjun Hu:
\nRemoved gain factors.
\nThis is for Buildings, issue 2865.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-100,60},{-74,24},{-44,24}}),Line(color={255,127,0},points={{-100,-60},{-74,-28},{-42,-28}}),Ellipse(extent={{-50,-50},{50,50}},lineColor={255,127,0}),Line(color={255,127,0},points={{50,0},{100,0}}),Text(textString=\"+\",extent={{-36,-24},{40,44}})}",
"S231:label": "Add"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added",
@@ -679,7 +680,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added",
@@ -687,7 +688,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Add.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Add.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sum of the two inputs",
@@ -695,23 +696,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = u + p,\nwhere p is parameter and u is an input.\n
\n,revisions=\n\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.p"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.p"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={255,127,0},points={{-54,66},{-28,30},{2,30}}),Line(color={255,127,0},points={{-100,0},{100,0}}),Text(textString=\"%p\",textColor={255,127,0},extent={{-122,58},{-17,98}}),Ellipse(extent={{-12,-52},{88,48}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"+\",textColor={255,127,0},extent={{0,-26},{76,42}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "AddParameter"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.p",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.p",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Parameter to be added to the input",
@@ -721,7 +722,7 @@
"S231:label": "p"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added to the parameter",
@@ -729,7 +730,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.AddParameter.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.AddParameter.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sum of the parameter and the input",
@@ -737,31 +738,31 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that evaluates the integer input u to check if its value\nchanges.\n
\n\n- \nWhen the input
u changes, the output y will be\ntrue, otherwise it will be false.\n \n- \nWhen the input
u increases, the output up will be\ntrue, otherwise it will be false.\n \n- \nWhen the input
u decreases, the output down will be\ntrue, otherwise it will be false.\n \n
\n,revisions=\n\n- \nMay 3, 2022, by Michael Wetter:
\nRenamed parameter y_start to pre_u_start.
\nThis is for\nBuildings, issue 2990.\n \n- \nJanuary 26, 2021, by Michael Wetter:
\nChanged initialization of pre(u) to use the initial value of the input rather than 0.
\nThis is for\nBuildings, issue 2294.\n \n- \nJuly 18, 2018, by Michael Wetter:
\nRevised model and icon.\n \n- \nJuly 13, 2018, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.u"
},
"S231:hasOutput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.down"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.down"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.up"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.up"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.y"
}
],
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.pre_u_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.pre_u_start"
},
"S231:icon": "coordinateSystem(preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"change\",textColor={255,127,0},extent={{-50,62},{50,-56}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Change"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.down",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.down",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output that is true when the input decreased its value",
@@ -769,7 +770,7 @@
"S231:label": "down"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.pre_u_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.pre_u_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Start value of pre(u) at initial time",
@@ -780,7 +781,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Integer to be monitored for a change in value",
@@ -788,7 +789,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.up",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.up",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output that is true when the input increased its value",
@@ -796,7 +797,7 @@
"S231:label": "up"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Change.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Change.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output that is true when the input changes its value",
@@ -804,25 +805,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input u1\nis equal to the Integer input u2.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{73,7},{87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{32,10},{52,-10}},lineColor={255,127,0}),Line(color={255,127,0},points={{-100,-80},{42,-80},{42,0}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=,textString=,textColor={255,127,0},extent={{-76,-36},{20,54}})}",
"S231:label": "Equal"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be checked for equality with other input",
@@ -830,7 +831,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be checked for equality with other input",
@@ -838,7 +839,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Equal.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Equal.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs that is true if the two inputs are equal, and false otherwise",
@@ -846,25 +847,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input u1\nis greater than the Integer input u2.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{73,7},{87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{32,10},{52,-10}},lineColor={255,127,0}),Line(color={255,127,0},points={{-100,-80},{42,-80},{42,0}}),Line(color={255,127,0},thickness=0.5,points={{-54,22},{-8,2},{-54,-18}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Greater"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "First input u1",
@@ -872,7 +873,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Second input u2",
@@ -880,7 +881,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Greater.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Greater.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u1 is greater than u2",
@@ -888,25 +889,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if Integer the input u1\nis greater than or equal to the Integer input u2.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{73,7},{87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{32,10},{52,-10}},lineColor={255,127,0}),Line(color={255,127,0},points={{-100,-80},{42,-80},{42,0}}),Line(color={255,127,0},thickness=0.5,points={{-54,22},{-8,2},{-54,-18}}),Line(color={255,127,0},thickness=0.5,points={{-52,-36},{-6,-14}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "GreaterEqual"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "First input u1",
@@ -914,7 +915,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Second input u2",
@@ -922,7 +923,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqual.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqual.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u1 is greater or equal than u2",
@@ -930,23 +931,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input is greater than or equal to\nthe parameter t.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 6, 2020, by Michael Wetter:
\nRenamed threshold to t.
\nThis is for Buildings, issue 2076.\n \n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%t\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={255,127,0},thickness=0.5,points={{-54,22},{-8,2},{-54,-18}}),Line(color={255,127,0},thickness=0.5,points={{-52,-36},{-6,-14}})}",
"S231:label": "GreaterEqualThreshold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold against which the input is compared to",
@@ -957,7 +958,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared against the threshold",
@@ -965,7 +966,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterEqualThreshold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u is greater or equal than the threshold",
@@ -973,23 +974,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input is greater than\nthe parameter t.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 6, 2020, by Michael Wetter:
\nRenamed threshold to t.
\nThis is for Buildings, issue 2076.\n \n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%t\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={255,127,0},thickness=0.5,points={{-54,22},{-8,2},{-54,-18}})}",
"S231:label": "GreaterThreshold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold against which the input is compared to",
@@ -1000,7 +1001,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared against the threshold",
@@ -1008,7 +1009,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.GreaterThreshold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u is greater than the threshold",
@@ -1016,25 +1017,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input u1\nis less than the Integer input u2.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{73,7},{87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{32,10},{52,-10}},lineColor={255,127,0}),Line(color={255,127,0},points={{-100,-80},{42,-80},{42,0}}),Line(color={255,127,0},thickness=0.5,points={{-6,18},{-50,-2},{-6,-20}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Less"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "First input u1",
@@ -1042,7 +1043,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Second input u2",
@@ -1050,7 +1051,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Less.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Less.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u1 is less than u2",
@@ -1058,25 +1059,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input u1\nis less than or equal to the Integer input u2.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{73,7},{87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{32,10},{52,-10}},lineColor={255,127,0}),Line(color={255,127,0},points={{-100,-80},{42,-80},{42,0}}),Line(color={255,127,0},thickness=0.5,points={{-10,20},{-54,0},{-10,-18}}),Line(color={255,127,0},thickness=0.5,points={{-54,-18},{-14,-34}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "LessEqual"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "First input",
@@ -1084,7 +1085,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Second input",
@@ -1092,7 +1093,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqual.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqual.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u1 is less or equal than u2",
@@ -1100,23 +1101,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input is less than or equal to\nthe parameter t.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 6, 2020, by Michael Wetter:
\nRenamed threshold to t.
\nThis is for Buildings, issue 2076.\n \n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%t\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={255,127,0},thickness=0.5,points={{-54,-18},{-14,-34}}),Line(color={255,127,0},thickness=0.5,points={{-10,20},{-54,0},{-10,-18}})}",
"S231:label": "LessEqualThreshold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold for comparison",
@@ -1127,7 +1128,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared",
@@ -1135,7 +1136,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessEqualThreshold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u is less or equal than the threshold",
@@ -1143,23 +1144,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Integer input is less than\nthe parameter t.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nAugust 30, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%t\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={255,127,0},thickness=0.5,points={{-10,20},{-54,0},{-10,-18}})}",
"S231:label": "LessThreshold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold for comparison",
@@ -1170,7 +1171,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared against the threshold",
@@ -1178,7 +1179,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.LessThreshold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.LessThreshold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u is less than the threshold",
@@ -1186,25 +1187,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = max(u1, u2),\nwhere\nu1 and u2 are inputs.\n
\n,revisions=\n\n- \nJanuary 9, 2017, by Milica Grahovac:
\nFirst integer implementation, based on the implementation of the\nModelica Standard Library.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"max()\",textColor={160,160,164},extent={{-90,36},{90,-36}})}",
"S231:label": "Max"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to the max function",
@@ -1212,7 +1213,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to the max function",
@@ -1220,7 +1221,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Max.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Max.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Maximum of the inputs",
@@ -1228,25 +1229,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = min(u1, u2),\nwhere\nu1 and u2 are inputs.\n
\n,revisions=\n\n- \nJanuary 9, 2017, by Milica Grahovac:
\nFirst integer implementation, based on the implementation of the\nModelica Standard Library.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"min()\",textColor={160,160,164},extent={{-90,36},{90,-36}})}",
"S231:label": "Min"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to the min function",
@@ -1254,7 +1255,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to the max function",
@@ -1262,7 +1263,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Min.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Min.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Minimum of the inputs",
@@ -1270,28 +1271,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs\n
\n\ny = ∑i=1n ki ui,\n
\n\nwhere k is a parameter with n elements and u is\nan input of the same length.\nThe dimension of u can be enlarged by\ndrawing an additional connection line. The connection is automatically connected\nto this new free index.\n
\n\n\nIf no connection to the input connector u is present,\nthe output is y=0.\n
\n\nSee\n\nBuildings.Controls.OBC.CDL.Integers.Validation.MultiSum\nfor an example.\n
\n,revisions=\n\n- \nSeptember 14, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the Modelica Standard\nLibrary. This is for\nBuildings, issue 933.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.k"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.k"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.nin"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.nin"
}
],
"S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%k\",textColor={0,0,0},extent={{-200,-110},{200,-140}},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"+\",textColor={255,127,0},extent={{-82,84},{82,-52}},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-144,150},{156,110}})}",
"S231:label": "MultiSum"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.k",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.k",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Input gains",
@@ -1305,7 +1306,7 @@
"S231:value": "fill(1,nin)"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.nin",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.nin",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Number of input connections",
@@ -1317,7 +1318,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.u",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Inputs to be multipled with gain and added",
@@ -1328,7 +1329,7 @@
"S231:sizeOfDimensions": "(nin)"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.MultiSum.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.MultiSum.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sum of inputs multiplied by the gain",
@@ -1336,25 +1337,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = u1 * u2,\nwhere\nu1 and u2 are Integer inputs.\n
\n,revisions=\n\n- \nJanuary 27, 2022, by Jianjun Hu:
\nRenamed the block name from Product to Multiply.
\nThis is for Buildings, issue 2865.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-100,60},{-40,60},{-30,40}}),Line(color={255,127,0},points={{-100,-60},{-40,-60},{-30,-40}}),Line(color={255,127,0},points={{50,0},{100,0}}),Line(points={{-30,0},{30,0}}),Line(points={{-15,25.99},{15,-25.99}}),Line(points={{-15,-25.99},{15,25.99}}),Ellipse(extent={{-50,-50},{50,50}},lineColor={255,127,0}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Multiply"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for multiplication",
@@ -1362,7 +1363,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for multiplication",
@@ -1370,7 +1371,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Multiply.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Multiply.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Product of the inputs",
@@ -1378,28 +1379,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs how often the trigger input changed to true\nsince the last invocation of reset.\n
\n\nThis block may be used as a counter. Its output y starts\nat the parameter value y_start.\nWhenever the input signal trigger changes to true,\nthe output is incremented by 1.\nWhen the input reset changes to true,\nthen the output is reset to y = y_start.\nIf both inputs trigger and reset change\nsimultaneously, then the ouput is y = y_start.\n
\n,revisions=\n\n- \nOctober 21, 2021, by Michael Wetter:
\nRemoved errorneous visible attribute in icon.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.reset"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.reset"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.trigger"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.trigger"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.y_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false,initialScale=0.06),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"reset\",textColor={0,0,0},extent={{-64,-62},{58,-86}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "OnCounter"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.reset",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.reset",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Reset, when true, the counter is set to y_start",
@@ -1407,7 +1408,7 @@
"S231:label": "reset"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.trigger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.trigger",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Trigger, when set to true, the counter increases",
@@ -1415,7 +1416,7 @@
"S231:label": "trigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Counter value",
@@ -1423,7 +1424,7 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.OnCounter.y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.OnCounter.y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Initial and reset value of y if input reset switches to true",
@@ -1434,20 +1435,20 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Constant",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Constant",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs a constant signal y = k,\nwhere k is an Integer-valued parameter.\n
\n\n\n
\n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Constant.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Constant.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Constant.k"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Constant.k"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-80}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-90,-70},{82,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(points={{-80,0},{80,0}}),Text(textString=\"k=%k\",textColor={0,0,0},extent={{-150,-150},{150,-110}})}",
"S231:label": "Constant"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Constant.k",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Constant.k",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Constant output value",
@@ -1457,7 +1458,7 @@
"S231:label": "k"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Constant.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Constant.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with constant value",
@@ -1465,34 +1466,34 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs a pulse signal as shown below.\n
\n\n
\n
\n\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n
\n,revisions=\n\n- \nDecember 03, 2020, by Milica Grahovac:
\nRenamed delay parameter to shift.
\nThis is for\nBuildings, issue 2282.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation, avoided state events.
\nThis is for\nBuildings, issue 2170.\n \n- \nSeptember 8, 2020, by Milica Grahovac:
\nFirst implementation, based on the implementation of Real pulse.\n \n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.amplitude"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.amplitude"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.offset"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.offset"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.period"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.shift"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.shift"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.width"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.width"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={244,125,35},points={{-80,68},{-80,-80}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={244,125,35},fillColor={244,125,35},fillPattern=FillPattern.Solid),Line(color={255,170,85},points={{-90,-70},{82,-70}}),Text(textString=\"period=%period\",textColor={0,0,0},extent={{-147,-152},{153,-112}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}}),Line(color={28,108,200},points={{-132,-18}}),Polygon(points={{-80,52},{-68,56},{-68,48},{-80,52}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={135,135,135},points={{-80,52},{-4,52}}),Text(textString=\"%period\",textColor={135,135,135},extent={{-66,80},{-8,56}}),Polygon(points={{-2,52},{-14,56},{-14,48},{-2,52}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={135,135,135},points={{40,34},{72,34}}),Polygon(points={{74,34},{62,38},{62,30},{74,34}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"%shift\",textColor={135,135,135},extent={{38,64},{96,40}}),Line(points={{79,-70},{40,-70},{40,44},{-1,44},{-1,-70},{-41,-70},{-41,44},{-80,44}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={244,125,35},fillColor={244,125,35},fillPattern=FillPattern.Solid)}",
"S231:label": "Pulse"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.amplitude",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.amplitude",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Amplitude of pulse",
@@ -1503,24 +1504,24 @@
"S231:value": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul",
"S231:hasInstance": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.offset",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.offset",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Offset of output signals",
@@ -1531,7 +1532,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time for one period",
@@ -1548,7 +1549,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.shift",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.shift",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Shift time for output",
@@ -1565,7 +1566,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.width",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.width",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Width of pulse in fraction of period",
@@ -1584,7 +1585,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output connector with pulse value",
@@ -1592,33 +1593,33 @@
"S231:label": "y"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booPul.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.booToInt.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.Pulse.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs Integer time table values.\n
\n\nThe block takes as a parameter a time table of a format:\n
\n\ntable = [ 0*3600, 2;\n 6*3600, 1;\n 18*3600, 8];\nperiod = 24*3600;\n
\n\nwhere the first column of table is time and the remaining column(s) are the table values.\nThe time column contains Real values that are in units of seconds if timeScale = 1.\nThe parameter timeScale can be used to scale the time values, for example, use\ntimeScale = 3600 if the values in the first column are interpreted as hours.\n
\n\nThe values in column two and higher must be of type Integer, otherwise the model stops with an error.\n
\n\nUntil a new tabulated value is set, the previous tabulated value is returned.\n
\n\nThe table scope is repeated periodically with periodicity period.\n
\n,revisions=\n\n- \nOctober 21, 2021, by Michael Wetter:
\nRemoved writing output value in icon (as it is an array of values).\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRevised to call round() as a function.
\nFor Buildings, issue 2170.\n \n- \nOctober 7, 2020, by Michael Wetter:
\nRevised implementation to add timeSpan and to guard against rounding errors.\nRefactored to avoid non-needed event-triggering functions.\nRemoved parameter offset as I dont see a use case that justifies this complexity.\n \n- \nSeptember 14, 2020, by Milica Grahovac:
\nInitial CDL implementation based on continuous time table implementation in CDL.\n \n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.period"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.table"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.table"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.timeScale"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.timeScale"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={244,125,35},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-80}}),Line(color={192,192,192},points={{-90,-70},{82,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Rectangle(extent={{-48,-50},{2,70}},lineColor={255,255,255},fillColor={255,215,136},fillPattern=FillPattern.Solid),Line(points={{-48,-50},{-48,70},{52,70},{52,-50},{-48,-50},{-48,-20},{52,-20},{52,10},{-48,10},{-48,40},{52,40},{52,70},{2,70},{2,-51}})}",
@@ -1628,7 +1629,7 @@
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Periodicity of table",
@@ -1648,7 +1649,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.table",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.table",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Table matrix with time as a first table column (in seconds, unless timeScale is not 1) and Integers in all other columns",
@@ -1660,7 +1661,7 @@
"S231:numberDimensions": 2
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.timeScale",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.timeScale",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time scale of first table column. Set to 3600 if time in table is in hours",
@@ -1674,7 +1675,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with tabulated values",
@@ -1685,35 +1686,35 @@
"S231:sizeOfDimensions": "(nout)"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false)",
"S231:documentation": "info=\n\nBlock that outputs the total number of stages to be enabled.\n
\n\nThe block compares the input u with the threshold of each stage. If the input is greater\nthan a stage threshold, the output is set to that stage.\nThe block outputs the total number of stages to be enabled.\n
\n\nThe parameter n specifies the maximum number of stages.\nThe stage thresholds are evenly distributed, i.e. the thresholds\nfor stages [1, 2, 3, ... , n] are\n[0, 1/n, 2/n, ... , (n-1)/n], plus a hysteresis which is by default\nh=0.02/n.\nOnce the output changes, it cannot change for at least holdDuration seconds.\n
\n,revisions=\n\n- \nMarch 3, 2023, by Michael Wetter:
\nRevised implementation.\n \n- \nSeptember 8, 2022, by Jianjun Hu:
\nFirst implementation.
\nThis is for Buildings, issue 3103.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.h"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.h"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.holdDuration"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.holdDuration"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.n"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.n"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.pre_y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.pre_y_start"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,140},{100,100}}),Text(textString=DynamicSelect(\"\",String(u,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{-98,14},{-54,-12}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{56,16},{100,-10}}),Text(textString=\"h=%h\",textColor={0,0,0},extent={{-62,70},{64,100}}),Line(color={0,0,0},thickness=0.5,points={{-60,-60},{-40,-60},{-40,-20},{0,-20},{0,20},{40,20},{40,60},{60,60}}),Line(color={0,0,0},thickness=0.5,points={{-80,-60},{40,60}},pattern=LinePattern.Dash)}",
"S231:label": "Stage"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.h",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.h",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Hysteresis for comparing input with threshold",
@@ -1726,7 +1727,7 @@
"S231:value": "0.02/n"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.holdDuration",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.holdDuration",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Minimum time that the output needs to be held constant. Set to 0 to disable hold time",
@@ -1743,7 +1744,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.n",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.n",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Number of stages that could be enabled",
@@ -1754,7 +1755,7 @@
"S231:min": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.pre_y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.pre_y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Value of pre(y) at initial time",
@@ -1765,7 +1766,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input between 0 and 1 for specifying stages",
@@ -1775,7 +1776,7 @@
"S231:min": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Stage.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Stage.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Total number of stages that should be enabled",
@@ -1785,25 +1786,25 @@
"S231:min": 1
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y as the difference of the\ntwo input signals u1 and u2,\n
\n\n y = u1 - u2\n
\n,revisions=\n\n- \nJanuary 28, 2022, by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{-50,-50},{50,50}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={255,127,0},points={{-100,60},{-74,24},{-44,24}}),Line(color={255,127,0},points={{-100,-60},{-74,-28},{-42,-28}}),Line(color={255,127,0},points={{50,0},{100,0}}),Text(textString=\"-\",textColor={255,127,0},extent={{-38,-28},{38,40}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Subtract"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u1 for the minuend",
@@ -1811,7 +1812,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.u2",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u2 for the subtrahend",
@@ -1819,7 +1820,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Subtract.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Subtract.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with the difference u1-u2",
@@ -1827,28 +1828,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs one of two integer input signals based on a boolean input signal.\n
\n\nIf the input signal u2 is true,\nthe block outputs y = u1.\nOtherwise, it outputs y = u3.\n
\n,revisions=\n\n- \nJuly 17, 2020, by Jianjun Hu:
\nChanged icon to display dynamically which input signal is being outputted.
\nThis is for\nBuildings, issue 2033.\n \n- \nJuly 10, 2019, by Milica Grahovac:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u3"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u3"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(color={244,125,35},points={{12,0},{100,0}}),Line(color={255,0,255},points={{-100,0},{-40,0}}),Line(color={244,125,35},points={{-100,-80},{-40,-80},{-40,-80}}),Line(color={255,0,255},points={{-40,12},{-40,-10}}),Line(color={244,125,35},points={{-100,80},{-40,80}}),Line(color={244,125,35},thickness=1,points={{8,2},{-40,80},{8,2},{-40,80},{-40,-80}}),Ellipse(extent={{2,-6},{18,8}},lineColor={0,0,127},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{-71,7},{-85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"true\",textColor={0,0,0},extent={{-90,80},{-46,54}}),Text(textString=\"false\",textColor={0,0,0},extent={{-90,-46},{-38,-76}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Switch"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u1",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u1",
@@ -1856,7 +1857,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Boolean switch input signal, if true, y=u1, else y=u3",
@@ -1864,7 +1865,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.u3",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.u3",
"@type": "S231:IntegerInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u3",
@@ -1872,7 +1873,7 @@
"S231:label": "u3"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Integers.Switch.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Integers.Switch.y",
"@type": "S231:IntegerOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with u1 if u2 is true, else u3",
@@ -1880,25 +1881,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if all inputs are true.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"and\",textColor={0,0,0},extent={{-90,40},{90,-40}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-73},{-89,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "And"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for logical 'and'",
@@ -1906,7 +1907,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for logical 'and'",
@@ -1914,7 +1915,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.And.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.And.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u1 and u2 are both true",
@@ -1922,23 +1923,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Boolean input has either a rising edge\nfrom false to true or a falling edge from\ntrue to false.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.pre_u_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.pre_u_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"change\",textColor={0,0,0},extent={{-50,62},{50,-56}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Change"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.pre_u_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.pre_u_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Start value of pre(u) at initial time",
@@ -1949,7 +1950,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be monitored for a change",
@@ -1957,7 +1958,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Change.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Change.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true when the input changes",
@@ -1965,23 +1966,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Boolean input has a rising edge\nfrom false to true.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.pre_u_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.pre_u_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"edge\",textColor={0,0,0},extent={{-50,52},{50,-46}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Polygon(points={{-120,140},{-120,140}},lineColor={28,108,200}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Edge"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.pre_u_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.pre_u_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Start value of pre(u) at initial time",
@@ -1992,7 +1993,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be monitored",
@@ -2000,7 +2001,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Edge.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Edge.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true when the input switches to true",
@@ -2008,23 +2009,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Boolean input has a falling edge\nfrom true to false.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.pre_u_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.pre_u_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"falling\",textColor={0,0,0},extent={{-62,64},{56,-54}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "FallingEdge"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.pre_u_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.pre_u_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Start value of pre(u) at initial time",
@@ -2035,7 +2036,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be monitored",
@@ -2043,7 +2044,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.FallingEdge.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.FallingEdge.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true when the input switches to false",
@@ -2051,25 +2052,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that generates a true output when the latch input u\nrises from false to true, provided that the clear input\nclr is false or also became at the same time false.\nThe output remains true until the clear input clr rises\nfrom false to true.\n
\n\nIf the clear input clr is true, the output y\nswitches to false (if it was true) and it remains false,\nregardless of the value of the latch input u.\n
\n\nAt initial time, if clr = false, then the output will be\ny = u. Otherwise it will be y=false\n(because the clear input clr is true).\n
\n\n\n
\n
\n\n,revisions=\n\n- \nApril 15, 2024, by Antoine Gautier:
\nSimplified the implementation.
\nThis is for Buildings, issue 3796.\n \n- \nOctober 13, 2020, by Jianjun Hu:
\nRemoved the parameter pre_y_start, and made the initial output to be\nequal to latch input when the clear input is false.
\nThis is for Buildings, issue 2177.\n \n- \nMarch 9, 2020, by Michael Wetter:
\nSimplified implementation, and made model work with OpenModelica.\n \n- \nApril 4, 2019, by Jianjun Hu:
\nCorrected implementation that causes wrong output at initial stage.\nThis is for Buildings, issue 1402.\n \n- \nDecember 1, 2017, by Michael Wetter:
\nRevised documentation.\n \n- \nMarch 30, 2017, by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.clr"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.clr"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{-73,9},{-87,-5}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{81,7},{95,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-73,-53},{-87,-67}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-68,-62},{4,-62},{4,-22},{74,-22}}),Line(color={255,0,255},points={{-68,24},{-48,24},{-48,56},{-16,56},{-16,24},{24,24},{24,56},{54,56},{54,24},{74,24}}),Text(textString=\"Clear\",textColor={0,0,0},extent={{-14,-8},{14,-18}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"Latch input\",textColor={0,0,0},extent={{-16,72},{24,58}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Latch"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.clr",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.clr",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Clear input",
@@ -2077,7 +2078,7 @@
"S231:label": "clr"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Latch input",
@@ -2085,7 +2086,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Latch.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Latch.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with latched signal",
@@ -2093,23 +2094,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = true if and only if\nall elements of the input vector u are true.\nIf no connection to the input connector u is present,\nthe output is y=false.\n
\n\nSee\n\nBuildings.Controls.OBC.CDL.Logical.Validation.MultiAnd\nfor an example.\n
\n,revisions=\n\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.nin"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.nin"
},
"S231:icon": "graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-144,150},{156,110}}),Text(textString=\"AND\",textColor={0,0,0},extent={{-80,52},{56,-52}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid)}",
"S231:label": "MultiAnd"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.nin",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.nin",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Number of input connections",
@@ -2121,7 +2122,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signals",
@@ -2132,7 +2133,7 @@
"S231:sizeOfDimensions": "(nin)"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiAnd.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiAnd.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if all input signals are true",
@@ -2140,23 +2141,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = true if any element in the input\nvector u is true.\nIf no connection to the input connector u is present,\nthe output is y=false.\n
\n\nSee\n\nBuildings.Controls.OBC.CDL.Logical.Validation.MultiOr\nfor an example.\n
\n,revisions=\n\n- \nJuly 26, 2021, by Jianjun Hu:
\nRenamed parameter nu to nin. This is for\nBuildings, issue 2580.\n \n- \nJune 6, 2019, by Milica Grahovac:
\nFirst implementation.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.nin"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.nin"
},
"S231:icon": "graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-144,150},{156,110}}),Text(textString=\"OR\",textColor={0,0,0},extent={{-80,52},{56,-52}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid)}",
"S231:label": "MultiOr"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.nin",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.nin",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Number of input connections",
@@ -2168,7 +2169,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signals",
@@ -2179,7 +2180,7 @@
"S231:sizeOfDimensions": "(nin)"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.MultiOr.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.MultiOr.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if at least one input is true",
@@ -2187,25 +2188,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if at least\none input is false.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"nand\",textColor={0,0,0},extent={{-50,52},{50,-48}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-73},{-89,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Nand"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for 'nand'",
@@ -2213,7 +2214,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for 'nand'",
@@ -2221,7 +2222,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nand.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nand.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with false if both inputs are true",
@@ -2229,25 +2230,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if none of the inputs is true.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"nor\",textColor={0,0,0},extent={{-90,40},{90,-40}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-73},{-89,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Nor"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for 'nor'",
@@ -2255,7 +2256,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal for 'nor'",
@@ -2263,7 +2264,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Nor.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Nor.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with false if at least one of the inputs is true",
@@ -2271,20 +2272,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Not",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Not",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the input is false,\nand false if the input is true.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Not.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Not.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Not.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Not.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"not\",textColor={0,0,0},extent={{-56,28},{72,-24}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Not"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Not.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Not.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be negated",
@@ -2292,7 +2293,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Not.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Not.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with negated input",
@@ -2300,25 +2301,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if at least one input\nis true.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"or\",textColor={0,0,0},extent={{-90,40},{90,-40}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-73},{-89,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Or"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for logical 'or'",
@@ -2326,7 +2327,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for logical 'or'",
@@ -2334,7 +2335,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Or.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Or.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if at least one of the inputs is true",
@@ -2342,23 +2343,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nThis block delays the Boolean input by an infinitesimal small time delay and\ntherefore breaks algebraic loops. In a network of logical blocks, in every\nclosed connection loop, at least one logical block must have a delay,\nsince algebraic systems of Boolean equations are not solvable.\n
\n\n\nThis block returns the value of the input signal u from the\nlast event iteration. The event iteration stops once both\nvalues are identical, i.e., if u = pre(u).\n
\n,revisions=\n\n- \nMay 24, 2017, by Milica Grahovac:
\nFirst CDL implementation.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.pre_u_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.pre_u_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"pre\",textColor={0,0,0},extent={{-90,40},{90,-40}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid)}",
"S231:label": "Pre"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.pre_u_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.pre_u_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Start value of pre(u) at initial time",
@@ -2369,7 +2370,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be delayed by one event iteration",
@@ -2377,7 +2378,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Pre.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Pre.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Input delayed by one event iteration",
@@ -2385,183 +2386,183 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-260,-240},{240,240}}),graphics={Rectangle(extent={{-258,236},{28,42}},lineColor={215,215,215},fillColor={215,215,215},fillPattern=FillPattern.Solid),Rectangle(extent={{-258,38},{-114,-58}},lineColor={215,215,215},fillColor={215,215,215},fillPattern=FillPattern.Solid),Rectangle(extent={{-116,-62},{66,-198}},lineColor={215,215,215},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"Output true if u_s has passed\nthe feedback delay\",textColor={0,0,255},horizontalAlignment=TextAlignment.Left,extent={{-248,38},{-174,20}},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"Check if the inputs are different\",textColor={0,0,255},horizontalAlignment=TextAlignment.Left,extent={{-90,-182},{-4,-196}},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"Check if there is a stable measured input u_m\",textColor={0,0,255},horizontalAlignment=TextAlignment.Left,extent={{-252,236},{-130,224}},fillColor={215,215,215},fillPattern=FillPattern.Solid)}",
"S231:documentation": "info=\n\nBlock that compares a boolean set point u_s with\na measured signal u_m and produces two outputs\nthat may be used to raise alarms about malfunctioning equipment.\n
\n\nThe block sets the output yLocFal = true if\nthe set point is u_s = true but the measured signal is locked\nat false, i.e., u_m = false.\nSimilarly, the block sets the output yLocTru = true\nif the set point is u_s = false but the measured signal is locked\nat true, i.e., u_m = true.\nHence, any output being true indicates an operational\nproblem.\n
\n\nTo use this block, proceed as follows:\nSet the parameter feedbackDelay ≥ 0 to specify how long the\nfeedback of the controlled device is allowed to take to report\nits measured operational signal u_s\nafter a set point change u_m.\nSet the parameter debounce ≥ 0\nto specify how long the measured\nsignal u_m need to remain constant for it to be considered\nstable.\nConnect the inputs for the set point u_s and\nthe measured signal u_m to the output signals that need to be checked.\nIf either output is true, raise an alarm, such as by\nconnecting instances of\n\nBuildings.Controls.OBC.CDL.Utilities.Assert\nto the outputs of this block.\n
\n\nAny output being true indicates a problem.\n
\n\nThe block has two timers that each start whenever the corresponding input changes.\nOne timer, called feedbackDelay+debounce timer, starts\nwhenever the set point u_s change, and it runs for a time equal to\nfeedbackDelay+debounce.\nThe other timer, called debounce timer, starts whenever\nthe measured signal u_m changes, and it runs for a time equal to\ndebounce.\nThe block starts verifying the inputs whenever the feedbackDelay+debounce timer\nlapsed, or the debounce timer lapsed,\n(and hence the measurement is stable,) whichever is first.\n
\n\nBoth outputs being true indicates that the measured signal u_m\nis not stable within feedbackDelay+debounce time.\nExactly one output being true indicates\nthat the measured signal u_m is stable, but\nu_s ≠ u_m. In this case,\nthe block sets yLocFal = true if u_s = true\n(the measured signal is locked at false),\nor it sets yLocTru = true if u_s = false\n(the measured signal is locked at true).\n
\n\nTherefore, exactly one output being true can be interpreted as follows:\nSuppose true means on and false means off.\nThen, yLocTru = true indicates that an equipment is locked\nin operation mode but is commanded off; and similarly,\nyLocFal = true indicates that it is locked in off mode\nwhen it is commanded on.\n
\nDetailed description
\n\nThe block works as follows.\nAny change in set point u_s starts the feedbackDelay+debounce timer, and\nany change in measured signal u_m starts the debounce timer.\n
\n\nAs soon as the feedbackDelay+debounce timer\nor the debounce timer lapsed,\nwhichever happens first,\nthe controller continuously performs these checks:\n
\n\n- \nCheck for stable measured signal.
\nIf u_m is stable, then
\n goto step 2.
\nElse:
\n Set yLocFal = yLocTru = true.
\n (Equipment is commanded on but we cannot conclude it is running;
\n set both true to flag an unstable measurement signal.)
\n \n- \nCheck for commanded and measured input to be equal.
\nIf u_s ≠ u_m, then
\n goto step 3.
\nElse,
\n set yLocFal = false and yLocTru = false.
\n (Equipment is operating as commanded, verified using stable input.)\n \n- \nInputs differ.
\nIf u_s = true , then
\n set yLocFal = true and yLocTru = false.
\n (The equipment is commanded on, but it is off.)
\nElse,
\n set yLocFal = false and yLocTru = true.
\n (The equipment is commanded off, but it is on.)
\n \n
\n,revisions=\n\n- \nMarch 28, 2023, by Michael Wetter:
\nRevised documentation.\n \n- \nMarch 27, 2023, by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.u_m"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.u_m"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.u_s"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.u_s"
}
],
"S231:hasOutput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru"
}
],
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.debounce"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.debounce"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.feedbackDelay"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.feedbackDelay"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}}),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{7,-73},{-7,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-73,7},{-87,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{73,57},{87,43}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{75,-43},{89,-57}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,140},{100,100}}),Line(color={192,192,192},points={{-60,60},{-60,-88}}),Polygon(points={{-60,82},{-68,60},{-52,60},{-60,82}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-70,-68},{80,-68}}),Polygon(points={{90,-68},{68,-60},{68,-76},{90,-68}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={28,108,200},points={{-40,44}}),Line(color={0,0,0},points={{-60,-36},{-40,-36},{-40,-16},{20,-16},{20,-36},{60,-36}}),Line(color={0,0,0},points={{-60,-68},{-14,-68},{-14,-48},{40,-48},{40,-68},{60,-68}}),Line(color={28,108,200},points={{-60,44},{-40,44},{-40,64},{-14,64},{-14,44},{60,44}}),Line(color={28,108,200},points={{-60,12},{20,12},{20,32},{40,32},{40,12},{60,12}}),Line(color={28,108,200},points={{-40,40},{-40,-12}},pattern=LinePattern.Dash),Line(color={28,108,200},points={{-14,40},{-14,-44}},pattern=LinePattern.Dash),Line(color={28,108,200},points={{20,8},{20,-12}},pattern=LinePattern.Dash),Line(color={28,108,200},points={{40,8},{40,-44}},pattern=LinePattern.Dash),Text(textString=\"u_s\",textColor={0,0,0},extent={{-6,-4},{6,-14}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"u_m\",textColor={0,0,0},extent={{-10,-36},{6,-46}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"yLocTru\",textColor={0,0,0},extent={{22,44},{44,32}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"yLocFal\",textColor={0,0,0},extent={{-40,76},{-18,64}},fillColor={210,210,210},fillPattern=FillPattern.Solid)}",
"S231:label": "Proof"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.botFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.botFal",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.botTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.botTru",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.conFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.conFal",
"S231:hasInstance": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.conFal.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.conFal.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.conTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.conTru",
"S231:hasInstance": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.conTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.conTru.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.debounce",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.debounce",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time during which input must remain unchanged for signal to considered valid and used in checks",
@@ -2577,71 +2578,71 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.delChe1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.delChe1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.delChe2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.delChe2",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.equInp",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.equInp",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.equSta",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.equSta",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.falTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.falTru",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.feedbackDelay",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.feedbackDelay",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Delay after which the two inputs are checked for equality once they become valid",
@@ -2657,265 +2658,265 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.holTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.holTru",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.clr"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.clr"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.clr"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.clr"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.invInp",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.invInp",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.not1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.not1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.not2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.not2",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not2.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not2.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.not3",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.not3",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not3.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not3.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not3.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not3.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.passed"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.passed"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.u"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.truDel1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.truDel1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.truFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.truFal",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.u_m",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.u_m",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Measured status",
"S231:graphics": "Placement(transformation(origin={0,-260},extent={{-20,-20},{20,20}},rotation=90)),iconTransformation(origin={0,-120},extent={{-20,-20},{20,20}},rotation=90)))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valTru.u"
}
],
"S231:label": "u_m"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.u_s",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.u_s",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Commanded status setpoint",
"S231:graphics": "Placement(transformation(extent={{-300,-20},{-260,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u2"
}
],
"S231:label": "u_s"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.valFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.valFal",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.valInp",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.valInp",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.valTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.valTru",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valTru.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valTru.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valTru.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if the measured input is locked to false even after the setpoint has changed to true",
@@ -2923,7 +2924,7 @@
"S231:label": "yLocFal"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if the measured input is locked to true even after the setpoint has changed to false",
@@ -2931,287 +2932,287 @@
"S231:label": "yLocTru"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.u2"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.u"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u3"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u3"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.conFal.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.conFal.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u3"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u3"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.conTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.conTru.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u3"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u3"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u2"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe2.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equSta.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equSta.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.equInp.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif2.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocFal"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Proof.yLocTru"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheStaMea1.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not2.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not2.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botFal.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.delChe1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not3.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not3.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.u"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotFal.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.falTru.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.notBotTru.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.passed",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDeb.passed",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.invInp.u2"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.pasDel.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru.clr"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru.clr"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.clr"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.holTru1.clr"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truDel1.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.truFal.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.truFal.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif1.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.samInpEdg.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valFal.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valFal.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.booToInt.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.cheDif.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.not3.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.not3.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valEqu.u2"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valTru.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valTru.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.botTru.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Proof.valInp.u1"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Constant",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Constant",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs a constant signal y = k,\nwhere k is a Boolean-valued parameter.\n
\n\n\n
\n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Constant.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Constant.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Constant.k"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Constant.k"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-90,-70},{72,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Polygon(points={{-80,88},{-88,66},{-72,66},{-80,88}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-80,66},{-80,-82}}),Line(points={{-80,0},{64,0}}),Text(textString=\"%k\",textColor={0,0,0},extent={{-150,-140},{150,-110}})}",
"S231:label": "Constant"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Constant.k",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Constant.k",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Constant output value",
@@ -3221,7 +3222,7 @@
"S231:label": "k"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Constant.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Constant.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with constant value",
@@ -3229,28 +3230,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs a pulse signal as shown below.\n
\n\n
\n
\n\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n
\n,revisions=\n\n- \nDecember 03, 2020, by Milica Grahovac:
\nRenamed delay parameter to shift.
\nThis is for\nBuildings, issue 2282.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation, avoided state events.
\nThis is for\nBuildings, issue 2170.\n \n- \nSeptember 8, 2020, by Milica Grahovac:
\nEnabled specification of number of periods as a parameter.\n \n- \nSeptember 1, 2020, by Milica Grahovac:
\nRevised initial equation section to ensure expected simulation results when startTime is before simulation start time.\nThis is for\nBuildings, issue 2110.\n \n- \nMarch 23, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.period"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.shift"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.shift"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.width"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.width"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%period\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Line(points={{79,-70},{40,-70},{40,44},{-1,44},{-1,-70},{-41,-70},{-41,44},{-80,44}}),Polygon(points={{-80,88},{-88,66},{-72,66},{-80,88}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-80,66},{-80,-82}}),Line(color={255,0,255},points={{-90,-70},{72,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Text(textString=\"%period\",textColor={135,135,135},extent={{-66,80},{-8,56}}),Polygon(points={{-2,52},{-14,56},{-14,48},{-2,52}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={135,135,135},points={{-80,52},{-4,52}}),Polygon(points={{-80,52},{-68,56},{-68,48},{-80,52}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={135,135,135},points={{40,34},{72,34}}),Polygon(points={{74,34},{62,38},{62,30},{74,34}},lineColor={0,0,0},fillColor={135,135,135},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"%shift\",textColor={135,135,135},extent={{38,64},{96,40}})}",
"S231:label": "Pulse"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time for one period",
@@ -3267,7 +3268,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.shift",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.shift",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Shift time for output",
@@ -3284,7 +3285,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.width",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.width",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Width of pulse in fraction of period",
@@ -3303,7 +3304,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.Pulse.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with pulse value",
@@ -3311,25 +3312,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nThe Boolean output y is a trigger signal that is only true\nat sample times (defined by parameter period) and is otherwise\nfalse.\n
\n\n
\n
\n\nThe trigger signal is generated an infinite number of times, and aligned with time=delay.\n
\n,revisions=\n\n- \nDecember 03, 2020, by Milica Grahovac:
\nRenamed delay parameter to shift.
\nThis is for\nBuildings, issue 2282.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 19, 2020, by Michael Wetter:
\nRefactored implementation.
\nThis is for\nBuildings, issue 2170.\n \n- \nMarch 23, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.period"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.shift"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.shift"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(points={{-60,-70},{-60,70}}),Line(points={{-20,-70},{-20,70}}),Line(points={{20,-70},{20,70}}),Line(points={{60,-70},{60,70}}),Text(textString=\"%period\",textColor={0,0,0},extent={{-150,-140},{150,-110}}),Polygon(points={{-80,88},{-88,66},{-72,66},{-80,88}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-80,66},{-80,-82}}),Line(color={255,0,255},points={{-90,-70},{72,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}",
"S231:label": "SampleTrigger"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Sample period",
@@ -3346,7 +3347,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.shift",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.shift",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Shift time for output",
@@ -3363,7 +3364,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with trigger value",
@@ -3371,46 +3372,46 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}})",
"S231:documentation": "info=\n\nBlock that outputs true/false time table values.\n
\n\nThe block takes as a parameter a time table of a format:\n
\n\ntable = [ 0*3600, 0;\n 6*3600, 1;\n 6*3600, 0;\n 18*3600, 1;\n 18*3600, 1];\nperiod = 24*3600;\n
\n\nwhere the first column of table is time and the remaining column(s) are the table values.\nThe time column contains Real values that are in units of seconds if timeScale = 1.\nThe parameter timeScale can be used to scale the time values, for example, use\ntimeScale = 3600 if the values in the first column are interpreted as hours.\n
\n\nThe values in column two and higher must be 0 or 1, otherwise the model stops with an error.\n
\n\nUntil a new tabulated value is set, the previous tabulated value is returned.\n
\n\nThe table scope is repeated periodically with periodicity period.\n
\n,revisions=\n\n- \nOctober 21, 2021, by Michael Wetter:
\nRemoved writing output value in icon (as it is an array of values).\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nOctober 8, 2020, by Michael Wetter:
\nRevised implementation to use integer time table for its implementation.\n \n- \nSeptember 14, 2020, by Milica Grahovac:
\nInitial CDL implementation based on continuous time table implementation in CDL.\n \n
\n",
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.period"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.table"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.table"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.timeScale"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.timeScale"
}
],
"S231:icon": "graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={217,67,180},fillColor={217,67,180},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-80,68},{-80,-80}}),Line(color={255,0,255},points={{-90,-70},{82,-70}}),Polygon(points={{90,-70},{68,-62},{68,-78},{90,-70}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-48,-50},{2,70}},lineColor={255,255,255},fillColor={255,215,136},fillPattern=FillPattern.Solid),Line(points={{-48,-50},{-48,70},{52,70},{52,-50},{-48,-50},{-48,-20},{52,-20},{52,10},{-48,10},{-48,40},{52,40},{52,70},{2,70},{2,-51}})}",
"S231:label": "TimeTable"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab",
"S231:hasInstance": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Periodicity of table",
@@ -3426,7 +3427,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.table",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.table",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Table matrix with time as a first column (in seconds, unless timeScale is not 1) and 0 for False or 1 for True in all other columns",
@@ -3438,7 +3439,7 @@
"S231:numberDimensions": 2
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.timeScale",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.timeScale",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time scale of first table column. Set to 3600 if time in table is in hours",
@@ -3452,7 +3453,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with tabulated values",
@@ -3463,40 +3464,40 @@
"S231:sizeOfDimensions": "(nout)"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.y"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intTimTab.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable.intGreThr.u"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs one of two boolean input signals based on a boolean input signal.\n
\n\nIf the input signal u2 is true,\nthe block outputs y = u1.\nOtherwise, it outputs y = u3.\n
\n,revisions=\n\n- \nJuly 17, 2020, by Jianjun Hu:
\nChanged icon to display dynamically which input signal is being outputted.
\nThis is for\nBuildings, issue 2033.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u3"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u3"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{12,0},{100,0}}),Line(color={255,0,255},points={{-100,0},{-40,0}}),Line(color={255,0,255},points={{-100,-80},{-40,-80},{-40,-80}}),Line(color={255,0,255},points={{-40,12},{-40,-10}}),Line(color={255,0,255},points={{-100,80},{-40,80}}),Line(color={255,0,255},thickness=1,points={{8,2},{-40,80},{8,2},{-40,80},{-40,-80}}),Ellipse(extent={{2,-6},{18,8}},lineColor={0,0,127},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{-71,7},{-85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-71,74},{-85,88}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-71,-74},{-85,-88}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"true\",textColor={0,0,0},extent={{-90,76},{-46,50}}),Text(textString=\"false\",textColor={0,0,0},extent={{-90,-42},{-38,-72}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Switch"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u1",
@@ -3504,7 +3505,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Boolean switch input signal, if true, y=u1, else y=u3",
@@ -3512,7 +3513,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.u3",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.u3",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u3",
@@ -3520,7 +3521,7 @@
"S231:label": "u3"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Switch.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Switch.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with u1 if u2 is true, else u3",
@@ -3528,28 +3529,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nIf the Boolean input u is true,\nthe output y is the time that has elapsed since u became true.\nOtherwise, y is 0.\nIf the output y becomes greater than the threshold time t,\nthe output passed is true.\nOtherwise it is false.\n
\n\nIn the limiting case where the timer value reaches the threshold t\nand the input u becomes false simultaneously,\nthe output passed remains false.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nAugust 28, 2020, by Michael Wetter:
\nRevised implementation to correctly deal with non-zero simulation start time,\nand to avoid state events.
\nThis is for\nBuildings, issue 2101.\n \n- \nAugust 26, 2020, by Jianjun Hu:
\nRemoved reset boolean input and added output passed\nto show if the time becomes greater than threshold time.
\nThis is for\nBuildings, issue 2101.\n \n- \nJuly 31, 2020, by Jianjun Hu:
\nFixed the reset input. This is for\nBuildings, issue 2056.\n \n- \nNovember 8, 2019, by Michael Wetter:
\nRevised implementation. This is for\nBuildings, issue 1221.\n \n- \nJuly 23, 2018, by Jianjun Hu:
\nAdded conditional boolean input for cumulative time measuring. This is for\nBuildings, issue 1221.\n \n- \nJuly 18, 2018, by Jianjun Hu:
\nUpdated implementation to output accumulated true input time. This is for\nBuildings, issue 1212.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.u"
},
"S231:hasOutput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.passed"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.passed"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.y"
}
],
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-66,-60},{82,-60}}),Line(color={192,192,192},points={{-58,68},{-58,-80}}),Polygon(points={{90,-60},{68,-52},{68,-68},{90,-60}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Polygon(points={{-58,90},{-66,68},{-50,68},{-58,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-56,-60},{-38,-60},{-38,-16},{40,-16},{40,-60},{68,-60}}),Line(color={0,0,127},points={{-58,0},{-40,0},{40,58},{40,0},{68,0}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"t=%t\",textColor={0,0,0},extent={{-64,62},{62,92}}),Ellipse(extent={{-83,7},{-69,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{71,-73},{85,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Timer"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.passed",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.passed",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if the elapsed time is greater than threshold",
@@ -3557,7 +3558,7 @@
"S231:label": "passed"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold time for comparison",
@@ -3574,7 +3575,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input that switches timer on if true, and off if false",
@@ -3582,7 +3583,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Timer.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Timer.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Elapsed time",
@@ -3596,33 +3597,33 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nTimer that accumulates time until it is reset by an input signal.\n
\n\nIf the Boolean input u is true,\nthe output y is the time that has elapsed while u has been true\nsince the last time reset became true.\nIf u is false, the output y holds its value.\nIf the output y becomes greater than the threshold time t,\nthe output passed is true.\nOtherwise it is false.\n
\n\nWhen reset becomes true, the timer is reset to 0.\n
\n\nIn the limiting case where the timer value reaches the threshold t\nand the input u becomes false simultaneously,\nthe output passed remains false.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nAugust 28, 2020, by Michael Wetter:
\nRevised implementation to correctly deal with non-zero simulation start time,\nand to avoid state events.
\nThis is for\nBuildings, issue 2101.\n \n- \nAugust 26, 2020, by Jianjun Hu:
\nRemoved parameter accumulate and added output passed.
\nThis is for\nBuildings, issue 2101.\n \n- \nJuly 31, 2020, by Jianjun Hu:
\nFixed the reset input. This is for\nBuildings, issue 2056.\n \n- \nNovember 8, 2019, by Michael Wetter:
\nRevised implementation. This is for\nBuildings, issue 1221.\n \n- \nJuly 23, 2018, by Jianjun Hu:
\nAdded conditional boolean input for cumulative time measuring. This is for\nBuildings, issue 1221.\n \n- \nJuly 18, 2018, by Jianjun Hu:
\nUpdated implementation to output accumulated true input time. This is for\nBuildings, issue 1212.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.reset"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.reset"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.u"
}
],
"S231:hasOutput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.passed"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.passed"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.y"
}
],
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.t"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-66,-60},{82,-60}}),Line(color={192,192,192},points={{-58,68},{-58,-80}}),Polygon(points={{90,-60},{68,-52},{68,-68},{90,-60}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Polygon(points={{-58,90},{-66,68},{-50,68},{-58,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-56,-60},{-38,-60},{-38,-16},{-4,-16},{-4,-60},{26,-60},{26,-16},{64,-16}}),Line(color={0,0,127},points={{-58,0},{-40,0},{-6,28},{24,28},{60,58}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"t=%t\",textColor={0,0,0},extent={{-64,62},{62,92}}),Ellipse(extent={{-83,7},{-69,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{71,-73},{85,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "TimerAccumulating"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.passed",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.passed",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with true if the elapsed time is greater than threshold",
@@ -3630,7 +3631,7 @@
"S231:label": "passed"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.reset",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.reset",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Connector for signal that sets timer to zero if it switches to true",
@@ -3638,7 +3639,7 @@
"S231:label": "reset"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold time for comparison",
@@ -3655,7 +3656,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input that switches timer on if true, and off if false",
@@ -3663,7 +3664,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TimerAccumulating.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Elapsed time",
@@ -3677,25 +3678,25 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that generates a true output when toggle input u\nrises from false to true, provided that the clear input\nclr is false or also became at the same time\nfalse. The output remains true until\n
\n\n- \nthe toggle input
u rises from false to true again, or\n \n- \nthe clear input
clr rises from false to true.\n \n
\n\nIf the clear input clr is true, the output y\nswitches to false (if it was true) and it remains false,\nregardless of the value of the toggle input u.\n
\n\n\nAt initial time, if clr = false, then the output will be\ny = u. Otherwise it will be y=false\n(because the clear input clr is true).\n
\n\n\n
\n
\n\n,revisions=\n\n- \nOctober 13, 2020, by Jianjun Hu:
\nRemoved the parameter pre_y_start, and made the initial output to be\nequal to toggle input when the clear input is false.
\nThis is for Buildings, issue 2177.\n \n- \nMarch 9, 2020, by Michael Wetter:
\nSimplified implementation, and made model work with OpenModelica.\n \n- \nApril 4, 2019, by Jianjun Hu:
\nCorrected implementation that causes wrong output at initial stage.\nThis is for Buildings, issue 1402.\n \n- \nMarch 31, 2017, by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.clr"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.clr"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{-73,9},{-87,-5}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-73,-53},{-87,-67}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-68,-62},{4,-62},{4,-22},{74,-22}}),Line(color={255,0,255},points={{-68,24},{-48,24},{-48,56},{-16,56},{-16,24},{24,24},{24,56},{54,56},{54,24},{74,24}}),Text(textString=\"Toggle input\",textColor={0,0,0},extent={{-22,72},{28,58}},fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"Clear\",textColor={0,0,0},extent={{-14,-10},{14,-20}},fillColor={210,210,210},fillPattern=FillPattern.Solid)}",
"S231:label": "Toggle"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.clr",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.clr",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Clear input",
@@ -3703,7 +3704,7 @@
"S231:label": "clr"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Toggle input",
@@ -3711,7 +3712,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Toggle.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Toggle.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with toggled signal",
@@ -3719,28 +3720,28 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that delays a signal when it becomes true.\n
\n\nA rising edge of the Boolean input u gives a delayed output.\nA falling edge of the input is immediately given to the output. If\ndelayOnInit = true, then a true input signal\nat the start time is also delayed, otherwise the input signal is\nproduced immediately at the output.\n
\n\nSimulation results of a typical example with a delay time of 0.1 second\nis shown below.\n
\n\n
\n
\n
\n
\n\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nFebruary 11, 2019, by Milica Grahovac:
\nAdded boolean input to enable delay of an initial true input.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayOnInit"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayOnInit"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayTime"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayTime"
}
],
"S231:icon": "graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"%delayTime\",textColor={0,0,0},extent={{-250,-120},{250,-150}}),Line(points={{-80,-66},{-60,-66},{-60,-22},{38,-22},{38,-66},{66,-66}}),Line(color={255,0,255},points={{-80,32},{-4,32},{-4,76},{38,76},{38,32},{66,32}}),Ellipse(extent={{-71,7},{-85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "TrueDelay"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayOnInit",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayOnInit",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Set to true to delay initial true input",
@@ -3751,7 +3752,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayTime",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.delayTime",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Delay time",
@@ -3767,7 +3768,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal to be delayed when it switches to true",
@@ -3775,7 +3776,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueDelay.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueDelay.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with delayed input signal after it switched to true",
@@ -3783,29 +3784,29 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(preserveAspectRatio=false)",
"S231:documentation": "info=\n\nBlock that holds a true or false signal for at least a defined time period.\n
\n\nWhenever the input u switches to true (resp. false),\nthe output y switches and remains true for at least\nthe duration specified by the parameter trueHoldDuration\n(resp. falseHoldDuration).\nAfter this duration has elapsed, the output will be y = u.\n
\n\nThis block could for example be used to disable an economizer,\nand not re-enable it for 10 min, and vice versa.\n
\n\nSimulation results of a typical example with trueHoldDuration = falseHoldDuration = 1000 s.\n
\n\n
\n
\n,revisions=\n\n- \nJanuary 13, 2025, by Antoine Gautier:
\nMerge elsewhen clauses.
\nThis is for\nBuildings, issue 4082.\n \n- \nAugust 26, 2024, by Antoine Gautier:
\nResolved an issue with unit impulse signals.
\nThis is for\nBuildings, issue 3966.\n \n- \nJune 13, 2024, by Antoine Gautier:
\nRefactored with synchronous language elements.
\nThis is for\nBuildings, issue 3787.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nSeptember 18, 2017, by Michael Wetter:
\nImproved event handling.\n \n- \nJuly 14, 2017, by Michael Wetter:
\nCorrected model to set output equal to input during initialization.\n \n- \nJune 13, 2017, by Michael Wetter:
\nReimplemented model using a state graph to avoid having to test for equality within tolerance,\nand to correct a bug.\nThis implementation is also easier to understand.
\nThis is for\nBuildings, issue 789.\n \n- \nMay 24, 2017, by Milica Grahovac:
\nFirst implementation.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.falseHoldDuration"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.falseHoldDuration"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.trueHoldDuration"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.trueHoldDuration"
}
],
"S231:icon": "graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-84,10},{-50,10},{-50,54},{-18,54},{-18,10},{-18,10}}),Line(points={{-78,-46},{-48,-46},{-48,-2},{-24,-2},{-24,-46},{-24,-46}}),Line(points={{-24,-46},{6,-46},{6,-2},{44,-2},{44,-46},{74,-46}}),Line(color={255,0,255},points={{-18,10},{14,10},{14,54},{46,54},{46,10},{66,10}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"%falseHoldDuration\",textColor={0,0,255},extent={{-88,-62},{92,-90}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-83,7},{-69,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%trueHoldDuration\",textColor={0,0,255},extent={{-90,96},{96,68}})}",
"S231:label": "TrueFalseHold"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.falseHoldDuration",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.falseHoldDuration",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Duration of false hold",
@@ -3822,7 +3823,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.trueHoldDuration",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.trueHoldDuration",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Duration of true hold",
@@ -3838,7 +3839,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.u",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input signal that is to be delayed",
@@ -3846,7 +3847,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with delayed input signal",
@@ -3854,25 +3855,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(extent={{-120,-120},{120,120}})",
"S231:documentation": "info=\n\nBlock that outputs a boolean pulse.\n
\n\nThe output of this block is a pulse with a constant period\nand a width as obtained from the input 0 ≤ u ≤ 1,\nwhich is the width relative to the period.\n
\n\nThe block produces the following ouputs:\n
\n\n- \nIf
u = 0, the output y remains false.\n \n- \nIf
0 < u < 1, the output y will be\na boolean pulse with the period specified by the parameter period and\nthe width set to u*period.\n \n- \nIf
u = 1, the output y remains true.\n \n
\n\nWhen the input u changes by more than deltaU and the output\nhas been holding constant for more than minimum holding time\nminTruFalHol, the output will change to a new pulse with\nwidth equal to u*period.\n
\n\n
\n
\n,revisions=\n\n- \nAugust 11, 2022, by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.deltaU"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.deltaU"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.minTruFalHol"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.minTruFalHol"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.period"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.period"
}
],
"S231:icon": [
@@ -3885,32 +3886,32 @@
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.go"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.go"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.deltaU",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.deltaU",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Increment of u that triggers recomputation of output",
@@ -3935,29 +3936,29 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.minTruFalHol",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.minTruFalHol",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Minimum time to hold true or false",
@@ -3975,7 +3976,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.period",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.period",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Time for one pulse period",
@@ -3991,70 +3992,70 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.trigger"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.trigger"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Ratio of the period that the output should be true",
"S231:graphics": "Placement(transformation(extent={{-160,-20},{-120,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.u"
}
],
"S231:label": "u",
@@ -4065,7 +4066,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Boolean pulse when the input is greater than zero",
@@ -4073,78 +4074,78 @@
"S231:label": "y"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.go"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.cycOut.go"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.greThr.y",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.edg2.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.u"
}
]
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.preBre.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.trigger"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.trigger"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.abs1.u"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.triSam.y",
"S231:isConnectedTo": {
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.sub.u1"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Logical.VariablePulse.truFalHol.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.VariablePulse.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.VariablePulse.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if exactly one input is true.\nOtherwise the output is false.\n
\n,revisions=\n\n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,fillColor={210,210,210},fillPattern=FillPattern.Solid),Text(textString=\"xor\",textColor={0,0,0},extent={{-90,40},{90,-40}}),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-6},{-89,8}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Ellipse(extent={{-75,-73},{-89,-87}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Xor"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.u1",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for logical 'xor'",
@@ -4152,7 +4153,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.u2",
"@type": "S231:BooleanInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for logical 'xor'",
@@ -4160,7 +4161,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Logical.Xor.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Logical.Xor.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with u1 xor u2",
@@ -4168,25 +4169,25 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nDew point temperature calculation for moist air above freezing temperature.\n
\n\nThe correlation used in this model is valid for dew point temperatures between\n0°C and 93°C. It is the correlation from 2009\nASHRAE Handbook Fundamentals, p. 1.9, equation 39.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nSeptember 29, 2020, by Michael Wetter:
\nRemoved unused input p and renamed block.
\nThis is for\nBuildings, issue 2139\n \n- \nApril 7, 2017 by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.phi"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.phi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDryBul"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDryBul"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDewPoi"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDewPoi"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"X\",textColor={0,0,0},extent={{-44,82},{-22,64}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Polygon(points={{-48,88},{-46,74},{-50,74},{-48,88}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Text(textString=\"phi\",textColor={0,0,127},extent={{-90,-46},{-70,-72}}),Text(textString=\"TDryBul\",textColor={0,0,127},extent={{-92,82},{-62,38}}),Polygon(points={{86,-74},{76,-72},{76,-76},{86,-74}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Text(textString=\"T\",textColor={0,0,0},extent={{76,-78},{86,-94}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(points={{-48,84},{-48,-74}}),Text(textString=\"TDewPoi\",textColor={0,0,127},extent={{60,14},{98,-12}}),Line(points={{82,-72},{-66,-72}}),Line(points={{-48,-40},{-38,-36},{-24,-30},{8,-2},{20,22},{28,54},{32,74}}),Line(color={255,0,0},thickness=0.5,points={{68,-12},{-2,-12}}),Polygon(points={{-2,-12},{12,-10},{12,-14},{-2,-12}},lineColor={255,0,0},fillColor={255,0,0},fillPattern=FillPattern.Solid),Line(color={175,175,175},points={{66,-44},{-48,-44}}),Line(color={175,175,175},points={{68,-18},{-10,-18}}),Line(color={175,175,175},points={{70,6},{12,6}}),Line(color={175,175,175},points={{68,32},{22,32}})}",
"S231:label": "DewPoint_TDryBulPhi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.phi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.phi",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Relative air humidity",
@@ -4199,7 +4200,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDewPoi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDewPoi",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Dew point temperature",
@@ -4214,7 +4215,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDryBul",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.TDryBul",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Dry bulb temperature",
@@ -4229,28 +4230,28 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nThis block computes the specific enthalpy for a given dry bulb temperature, relative air humidity\nand atmospheric pressure.\nThe specific enthalpy is zero if the temperature is 0°C and if there\nis no moisture.\n
\n\nThe correlation used in this model is from the 2009 ASHRAE Handbook Fundamentals, p. 1.9, equation 32.\n
\n,revisions=\n\n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nSeptember 29, 2020, by Michael Wetter:
\nRemoved input p, used instead a parameter for the atmospheric pressure and renamed block.
\nThis is for\nBuildings, issue 2139\n \n- \nApril 7, 2017 by Jianjun Hu:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.phi"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.phi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.TDryBul"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.TDryBul"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.h"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.h"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.pAtm"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.pAtm"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=false),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,100},{100,-100}},lineColor={0,0,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={215,215,215},points={{-44,-52},{-30,-48},{0,-36},{32,-8},{44,16},{52,48},{56,68}},smooth=Smooth.Bezier),Line(color={255,0,0},thickness=0.5,points={{66,-58},{10,-28}}),Text(textString=\"X\",textColor={0,0,0},extent={{-44,82},{-22,64}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Polygon(points={{-48,88},{-46,74},{-50,74},{-48,88}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Text(textString=\"phi\",textColor={0,0,127},extent={{-88,-44},{-68,-70}}),Text(textString=\"TDryBul\",textColor={0,0,127},extent={{-92,82},{-62,38}}),Line(points={{78,-74},{-48,-74}}),Polygon(points={{86,-74},{76,-72},{76,-76},{86,-74}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Text(textString=\"T\",textColor={0,0,0},extent={{76,-78},{86,-94}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(points={{-48,84},{-48,-74}}),Text(textString=\"h\",textColor={0,0,127},extent={{74,14},{94,-12}})}",
"S231:label": "SpecificEnthalpy_TDryBulPhi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.h",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.h",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Specific enthalpy",
@@ -4264,7 +4265,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.pAtm",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.pAtm",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Atmospheric pressure",
@@ -4281,7 +4282,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.phi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.phi",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Relative air humidity",
@@ -4291,7 +4292,7 @@
"S231:min": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.TDryBul",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.TDryBul",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Dry bulb temperature",
@@ -4306,25 +4307,25 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nThis block computes the wet bulb temperature for a given dry bulb temperature, relative air humidity\nand atmospheric pressure.\n
\n\nThe block uses the approximation of Stull (2011) to compute\nthe wet bulb temperature without requiring a nonlinear equation.\nThe approximation by Stull is valid for a relative humidity of 5% to 99%,\na temperature range from -20°C to 50°C\nand standard sea level pressure.\nFor this range of data, the approximation error is -1 Kelvin to +0.65 Kelvin,\nwith a mean error of less than 0.3 Kelvin.\n
\n\nThe model is validated in\n\nBuildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.\n
\nReferences
\n\nStull, Roland.\n\nWet-Bulb Temperature from Relative Humidity and Air Temperature\nRoland Stull.\nJournal of Applied Meteorology and Climatology.\nVolume 50, Issue 11, pp. 2267-2269. November 2011\nDOI: 10.1175/JAMC-D-11-0143.1\n
\n,revisions=\n\n- \nMarch 6, 2023, by Michael Wetter:
\nAdded a constant in order for unit check to pass.
\nSee Buildings, issue 1711\nfor a discussion.\n \n- \nNovember 12, 2020, by Michael Wetter:
\nReformulated to remove dependency to Modelica.Units.SI.
\nThis is for\nBuildings, issue 2243.\n \n- \nSeptember 29, 2020, by Michael Wetter:
\nRemoved unused input p and renamed block.
\nThis is for\nBuildings, issue 2139\n \n- \nApril 11, 2017, by Jianjun Hu:
\nChanged the model to avoid using nonlinear equation.\n \n- \nNovember 3, 2016, by Michael Wetter:
\nChanged icon.\n \n- \nMay 24, 2016, by Filip Jorissen:
\nCorrected exact implementation.\nSee Buildings, issue 474\nfor a discussion.\n \n- \nOctober 3, 2014, by Michael Wetter:
\nChanged assignment of nominal value to avoid in OpenModelica the warning\nalias set with different nominal values.\n \n- \nNovember 20, 2013 by Michael Wetter:
\nUpdated model to use\nBuildings.Utilities.Psychrometrics.Functions.saturationPressure()\nand\nBuildings.Utilities.Psychrometrics.Functions.saturationPressureLiquid()\nas these functions have been moved from the medium to the psychrometrics package.\n \n- \nOctober 1, 2012 by Michael Wetter:
\nFirst implementation.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.phi"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.phi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TDryBul"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TDryBul"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TWetBul"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TWetBul"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Rectangle(extent={{-100,100},{100,-100}},lineColor={0,0,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"TDryBul\",textColor={0,0,127},extent={{-92,82},{-62,38}}),Text(textString=\"phi\",textColor={0,0,127},extent={{-90,-44},{-70,-70}}),Text(textString=\"TWetBul\",textColor={0,0,127},extent={{62,22},{92,-22}}),Line(points={{78,-74},{-48,-74}}),Text(textString=\"T\",textColor={0,0,0},extent={{76,-78},{86,-94}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(color={255,0,0},thickness=0.5,points={{76,-46},{26,-4}}),Line(color={0,0,0},points={{-48,-48},{-2,-30},{28,-4},{48,32},{52,72}},smooth=Smooth.Bezier),Line(points={{-48,84},{-48,-74}}),Text(textString=\"X\",textColor={0,0,0},extent={{-44,82},{-22,64}},fillColor={0,0,0},fillPattern=FillPattern.Solid),Polygon(points={{86,-74},{76,-72},{76,-76},{86,-74}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Polygon(points={{-48,88},{-46,74},{-50,74},{-48,88}},lineColor={0,0,0},fillColor={0,0,0},fillPattern=FillPattern.Solid),Polygon(points={{26,-4},{36,-10},{34,-12},{26,-4}},lineColor={255,0,0},fillColor={255,0,0},fillPattern=FillPattern.Solid)}",
"S231:label": "WetBulb_TDryBulPhi"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.phi",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.phi",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Relative air humidity",
@@ -4334,7 +4335,7 @@
"S231:min": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TDryBul",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TDryBul",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Dry bulb temperature",
@@ -4349,7 +4350,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TWetBul",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.TWetBul",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Wet bulb temperature",
@@ -4364,20 +4365,20 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Abs",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Abs",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = abs(u),\nwhere\nu is an input.\n
\n,revisions=\n\n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Abs.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Abs.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Abs.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Abs.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{92,0},{70,8},{70,-8},{92,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(points={{-80,80},{0,0},{80,80}}),Line(color={192,192,192},points={{0,-14},{0,68}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"abs\",textColor={192,192,192},extent={{-34,-28},{38,-76}}),Line(color={192,192,192},points={{-88,0},{76,0}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Abs"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Abs.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Abs.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for absolute function",
@@ -4385,7 +4386,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Abs.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Abs.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Absolute value of the input",
@@ -4393,21 +4394,21 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Acos",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Acos",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(preserveAspectRatio=false)",
"S231:documentation": "info=\n\nBlock that outputs y = acos(u), where u is an input.\n
\n\n
\n
\n,revisions=\n\n- \nNovember 8, 2024, by Michael Wetter:
\nAdded final keyword to unit declaration as block is only valid for this unit.
\nAlso added displayUnit keyword.\n \n- \nMarch 7, 2023, by Jianjun Hu:
\nAdded unit rad to the output.
\nThis is for\nBuildings, issue 3277.\n \n- \nJanuary 28, 2022, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Acos.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Acos.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Acos.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Acos.y"
},
"S231:icon": "coordinateSystem(preserveAspectRatio=false),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(points={{-80,80},{-79.2,72.8},{-77.6,67.5},{-73.6,59.4},{-66.3,49.8},{-53.5,37.3},{-30.2,19.7},{37.4,-24.8},{57.5,-40.8},{68.7,-52.7},{75.2,-62.2},{77.6,-67.5},{80,-80}},smooth=Smooth.Bezier),Line(color={192,192,192},points={{0,-88},{0,68}}),Line(color={192,192,192},points={{-90,-80},{68,-80}}),Polygon(points={{90,-80},{68,-72},{68,-88},{90,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"acos\",textColor={192,192,192},extent={{-86,-14},{-14,-62}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Acos"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Acos.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Acos.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for arc cosine function",
@@ -4415,7 +4416,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Acos.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Acos.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Arc cosine of the input",
@@ -4429,25 +4430,25 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y as the sum of the\ntwo input signals u1 and u2,\n
\n\n y = u1 + u2.\n
\n,revisions=\n\n- \nJanuary 27, 2022, by Jianjun Hu:
\nRemoved gain factors.
\nThis is for Buildings, issue 2865.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{-50,-50},{50,50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,127},points={{-100,60},{-74,24},{-44,24}}),Line(color={0,0,127},points={{-100,-60},{-74,-28},{-42,-28}}),Line(color={0,0,127},points={{50,0},{100,0}}),Text(textString=\"+\",extent={{-36,-26},{40,42}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Add"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.u1",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added",
@@ -4455,7 +4456,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.u2",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added",
@@ -4463,7 +4464,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Add.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Add.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sum of the inputs",
@@ -4471,23 +4472,23 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = u + p,\nwhere p is parameter and u is an input.\n
\n,revisions=\n\n- \nFebruary 3, 2022, by Jianjun Hu:
\nRemoved input gain factor.
\nThis is for Buildings, issue 2876.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.p"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.p"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={0,0,127},points={{-54,66},{-28,30},{2,30}}),Line(color={0,0,127},points={{-100,0},{100,0}}),Text(textString=\"%p\",textColor={0,0,0},extent={{-122,58},{-17,98}}),Ellipse(extent={{-12,-52},{88,48}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"+\",extent={{0,-26},{76,42}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "AddParameter"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.p",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.p",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Parameter to be added to the input",
@@ -4497,7 +4498,7 @@
"S231:label": "p"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be added to the parameter",
@@ -4505,7 +4506,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.AddParameter.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.AddParameter.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Sum of the parameter and the input",
@@ -4513,21 +4514,21 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Asin",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Asin",
"@type": "S231:ElementaryBlock",
"S231:diagram": "coordinateSystem(preserveAspectRatio=false)",
"S231:documentation": "info=\n\nBlock that outputs y = asin(u), where u is an input.\n
\n\n
\n
\n,revisions=\n\n- \nNovember 8, 2024, by Michael Wetter:
\nAdded final keyword to unit declaration as block is only valid for this unit.
\nAlso added displayUnit keyword.\n \n- \nMarch 7, 2023, by Jianjun Hu:
\nAdded unit rad to the output.
\nThis is for\nBuildings, issue 3277.\n \n- \nJanuary 28, 2022, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Asin.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Asin.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Asin.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Asin.y"
},
"S231:icon": "coordinateSystem(preserveAspectRatio=false),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,140},{100,100}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{0,-80},{0,68}}),Line(points={{-80,-80},{-79.2,-72.8},{-77.6,-67.5},{-73.6,-59.4},{-66.3,-49.8},{-53.5,-37.3},{-30.2,-19.7},{37.4,24.8},{57.5,40.8},{68.7,52.7},{75.2,62.2},{77.6,67.5},{80,80}},smooth=Smooth.Bezier),Line(color={192,192,192},points={{-90,0},{68,0}}),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"asin\",textColor={192,192,192},extent={{-88,78},{-16,30}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Asin"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Asin.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Asin.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the arc sine function",
@@ -4535,7 +4536,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Asin.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Asin.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Arc sin of the input",
@@ -4549,20 +4550,20 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = atan(u), where u is an input.\n
\n\n
\n
\n,revisions=\n\n- \nNovember 8, 2024, by Michael Wetter:
\nAdded final keyword to unit declaration as block is only valid for this unit.
\nAlso added displayUnit keyword.\n \n- \nMarch 7, 2023, by Jianjun Hu:
\nAdded unit rad to the output.
\nThis is for\nBuildings, issue 3277.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Text(textString=\"atan\",textColor={192,192,192},extent={{-86,68},{-14,20}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{0,-80},{0,68}}),Line(points={{-80,-80},{-52.7,-75.2},{-37.4,-69.7},{-26.9,-63},{-19.7,-55.2},{-14.1,-45.8},{-10.1,-36.4},{-6.03,-23.9},{-1.21,-5.06},{5.23,21},{9.25,34.1},{13.3,44.2},{18.1,52.9},{24.5,60.8},{33.4,67.6},{47,73.6},{69.5,78.6},{80,80}},smooth=Smooth.Bezier),Line(color={192,192,192},points={{-90,0},{68,0}}),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Atan"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the arc tangent function",
@@ -4570,7 +4571,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Arc tangent of the input",
@@ -4584,25 +4585,25 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs the tangent-inverse y = atan2(u1, u2)\nof the input u1 divided by the input u2.\n
\n\nu1 and u2 shall not be zero at the same time instant.\nAtan2 uses the sign of u1 and u2\nin order to construct the solution in the range\n-π ≤ y ≤ π, whereas\n\nBuildings.Controls.OBC.CDL.Reals.Atan\ngives a solution in the range\n-π/2 ≤ y ≤ π/2.\n
\n\n\n
\n
\n\n,revisions=\n\n- \nNovember 8, 2024, by Michael Wetter:
\nAdded final keyword to unit declaration as block is only valid for this unit.
\nAlso added displayUnit keyword.\n \n- \nMarch 7, 2023, by Jianjun Hu:
\nAdded unit rad to the output.
\nThis is for\nBuildings, issue 3277.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.y"
},
"S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{0,-80},{0,68}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(points={{-80,-34.9},{-46.1,-31.4},{-29.4,-27.1},{-18.3,-21.5},{-10.3,-14.5},{-2.03,-3.17},{7.97,11.6},{15.5,19.4},{24.3,25},{39,30},{62.1,33.5},{80,34.9}},smooth=Smooth.Bezier),Line(points={{-80,45.1},{-45.9,48.7},{-29.1,52.9},{-18.1,58.6},{-10.2,65.8},{-1.82,77.2},{0,80}},smooth=Smooth.Bezier),Line(points={{0,-80},{8.93,-67.2},{17.1,-59.3},{27.3,-53.6},{42.1,-49.4},{69.9,-45.8},{80,-45.1}},smooth=Smooth.Bezier),Text(textString=\"atan2\",textColor={192,192,192},extent={{-90,-46},{-18,-94}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Atan2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.u1",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u1 for the atan2(u1/u2) function",
@@ -4610,7 +4611,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.u2",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input u2 for the atan2(u1/u2) function",
@@ -4618,7 +4619,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Atan2.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Atan2.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with atan2(u1/u2)",
@@ -4632,25 +4633,25 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = (u1 + u2) / 2,\nwhere\nu1 and u2 are inputs.\n
\n,revisions=\n\n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nMarch 15, 2017, by Jianjun Hu:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"avg()\",textColor={192,192,192},extent={{-50,34},{52,-26}}),Line(color={0,0,0},points={{-8,16}}),Line(color={0,0,0},thickness=1,points={{-100,60}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Average"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.u1",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for average function",
@@ -4658,7 +4659,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.u2",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for average function",
@@ -4666,7 +4667,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Average.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Average.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with the average of the two inputs",
@@ -4674,20 +4675,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Cos",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Cos",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = cos(u),\nwhere\nu is an input.\n
\n\n\n
\n
\n\n,revisions=\n\n- \nNovember 8, 2024, by Michael Wetter:
\nAdded final keyword to unit declaration as block is only valid for this unit.
\nAlso added displayUnit keyword.\n \n- \nMarch 7, 2023, by Jianjun Hu:
\nAdded unit rad to the input.
\nThis is for\nBuildings, issue 3277.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Cos.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Cos.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Cos.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Cos.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(points={{-80,80},{-74.4,78.1},{-68.7,72.3},{-63.1,63},{-56.7,48.7},{-48.6,26.6},{-29.3,-32.5},{-22.1,-51.7},{-15.7,-65.3},{-10.1,-73.8},{-4.42,-78.8},{1.21,-79.9},{6.83,-77.1},{12.5,-70.6},{18.1,-60.6},{24.5,-45.7},{32.6,-23},{50.3,31.3},{57.5,50.7},{63.9,64.6},{69.5,73.4},{75.2,78.6},{80,80}},smooth=Smooth.Bezier),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,-80},{-80,68}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"cos\",textColor={192,192,192},extent={{-36,80},{36,32}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Cos"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Cos.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Cos.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the cosine function",
@@ -4701,7 +4702,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Cos.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Cos.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Cosine of the input",
@@ -4709,31 +4710,31 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nThis blocks defines the transfer function between the\ninput u and the output y\nas approximated derivative:\n
\n\n s\n y = k * ------------ * u\n T * s + 1\n
\n\nIf k=0, the block reduces to y=0.\n
\n,revisions=\n\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.k"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.k"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.T"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.T"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.u"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.y"
},
"S231:hasParameter": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.y_start"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}}),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-56,78},{-56,-90}}),Polygon(points={{-56,90},{-64,68},{-48,68},{-56,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-64,-80},{82,-80}}),Polygon(points={{90,-80},{68,-72},{68,-88},{90,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-31.333,89.333},{-19.333,-40.667},{86.667,-52.667}},smooth=Smooth.Bezier),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}}),Text(textString=\"u\",textColor={0,0,0},extent={{-106,14},{-62,-12}}),Text(textString=,textString=,textColor={0,0,0},extent={{46,14},{90,-12}}),Text(textString=\"k\",textColor={0,0,0},extent={{-108,94},{-64,68}}),Text(textString=\"T\",textColor={0,0,0},extent={{-108,54},{-64,28}})}",
"S231:label": "Derivative"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.k",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.k",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the gain",
@@ -4741,7 +4742,7 @@
"S231:label": "k"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.T",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.T",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the time constant (T>0 required; T=0 is ideal derivative block)",
@@ -4756,7 +4757,7 @@
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be differentiated",
@@ -4764,7 +4765,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Approximation of derivative du/dt",
@@ -4772,7 +4773,7 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Derivative.y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Derivative.y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Initial value of output (= state)",
@@ -4783,25 +4784,25 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = u1 / u2,\nwhere\nu1 and u2 are inputs.\n
\n,revisions=\n\n- \nJanuary 27, 2022, by Jianjun Hu:
\nRenamed the block name from Division to Divide.
\nThis is for Buildings, issue 2865.\n \n- \nMarch 9, 2020, by Michael Wetter:
\nReformulated model to avoid stack overflow in OpenModelica.
\nThis is for\nBuildings, issue 1819.\n \n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{-50,-50},{50,50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,127},points={{50,0},{100,0}}),Line(points={{-30,0},{30,0}}),Ellipse(extent={{-5,20},{5,30}},fillPattern=FillPattern.Solid),Ellipse(extent={{-5,-30},{5,-20}},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,60},{-66,60},{-40,30}}),Line(color={0,0,127},points={{-100,-60},{0,-60},{0,-50}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Divide"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.u1",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for dividend",
@@ -4809,7 +4810,7 @@
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.u2",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for divisor",
@@ -4817,7 +4818,7 @@
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Divide.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Divide.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output with the quotient",
@@ -4825,20 +4826,20 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Exp",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Exp",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs y = exp(u),\nwhere\nu is an input and exp() is the\nbase-e exponential function.\n
\n\n\n
\n
\n\n,revisions=\n\n- \nMarch 2, 2020, by Michael Wetter:
\nChanged icon to display dynamically the output value.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Exp.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Exp.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Exp.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Exp.y"
},
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Line(color={192,192,192},points={{-90,-80.3976},{68,-80.3976}}),Rectangle(extent={{-100,100},{100,-100}},lineColor={0,0,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(points={{-80,-80},{-31,-77.9},{-6.03,-74},{10.9,-68.4},{23.7,-61},{34.2,-51.6},{43,-40.3},{50.3,-27.8},{56.7,-13.5},{62.3,2.23},{67.1,18.6},{72,38.2},{76,57.6},{80,80}}),Line(color={192,192,192},points={{0,-80},{0,68}}),Text(textString=\"exp\",textColor={192,192,192},extent={{-86,50},{-14,2}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}",
"S231:label": "Exp"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Exp.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Exp.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input for the base e exponential function",
@@ -4846,7 +4847,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Exp.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Exp.y",
"@type": "S231:RealOutput",
"S231:accessSpecifier": "public",
"S231:description": "Base e exponential value of the input",
@@ -4854,26 +4855,26 @@
"S231:label": "y"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Real input u1\nis greater than the Real input u2, optionally within a hysteresis h.\n
\n\nThe parameter h ≥ 0 is used to specify a hysteresis.\nFor any h ≥ 0, the output switches to true if u1 > u2,\nand it switches to false if u1 ≤ u2 - h.\nNote that in the special case of h = 0, this produces the output y=u1 > u2.\n
\n\nTo disable hysteresis, set h=0.\n
\nUsage
\n\nEnabling hysteresis can avoid frequent switching.
\nIn simulation, adding hysteresis is recommended to guard against numerical noise.\nOtherwise, numerical noise from a nonlinear solver or from an\nimplicit time integration algorithm may cause the simulation to stall.\nNumerical noise can be present if an input depends\non a state variable or a quantity that requires an iterative solution,\nsuch as a temperature or a mass flow rate of an HVAC system.
\nIn real controllers, adding hysteresis is recommended to guard against measurement noise.\nOtherwise, measurement noise may cause the output to change frequently.\n
\n,revisions=\n\n- \nApril 29, 2022, by Jianjun Hu:
\nCorrected the condition of swiching true back to false.
\nThis is for Buildings, issue 2981.\n \n- \nFebruary 3, 2021, by Antoine Gautier:
\nCorrected documentation.
\nThis is for Buildings, issue 2246.\n \n- \nAugust 5, 2020, by Michael Wetter:
\nAdded hysteresis.
\nThis is for Buildings, issue 2076.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.u1"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.u2"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.u2"
}
],
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.h"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.h"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.pre_y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.pre_y_start"
}
],
"S231:icon": [
@@ -4888,35 +4889,35 @@
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.greHys",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.greHys",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.h",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.h",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Hysteresis",
@@ -4928,7 +4929,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.pre_y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.pre_y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Value of pre(y) at initial time",
@@ -4939,39 +4940,39 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.u1",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.u1",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "First input u1",
"S231:graphics": "Placement(transformation(extent={{-140,-20},{-100,20}})))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u1"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u1"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u1"
}
],
"S231:label": "u1"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.u2",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.u2",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Second input u2",
"S231:graphics": "Placement(transformation(extent={{-140,-100},{-100,-60}})))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.u2"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u2"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.u2"
}
],
"S231:label": "u2"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Output true if u1 is greater than u2 with hysteresis",
@@ -4979,36 +4980,36 @@
"S231:label": "y"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greHys.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greHys.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.y"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Greater.greNoHys.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Greater.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Greater.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that outputs true if the Real input u\nis greater than a threshold t, optionally within a hysteresis h.\n
\n\nThe parameter h ≥ 0 is used to specify a hysteresis.\nFor any h ≥ 0, the output switches to true if u > t,\nwhere t is the threshold,\nand it switches to false if u ≤ t - h.\nNote that in the special case of h = 0, this produces the output y=u > t.\n
\n\nTo disable hysteresis, set h=0.\n
\nUsage
\n\nEnabling hysteresis can avoid frequent switching.
\nIn simulation, adding hysteresis is recommended to guard against numerical noise.\nOtherwise, numerical noise from a nonlinear solver or from an\nimplicit time integration algorithm may cause the simulation to stall.\nNumerical noise can be present if an input depends\non a state variable or a quantity that requires an iterative solution,\nsuch as a temperature or a mass flow rate of an HVAC system.
\nIn real controllers, adding hysteresis is recommended to guard against measurement noise.\nOtherwise, measurement noise may cause the output to change frequently.\n
\n,revisions=\n\n- \nApril 29, 2022, by Jianjun Hu:
\nCorrected the condition of swiching true back to false.
\nThis is for Buildings, issue 2981.\n \n- \nFebruary 3, 2021, by Antoine Gautier:
\nCorrected documentation.
\nThis is for Buildings, issue 2246.\n \n- \nAugust 5, 2020, by Michael Wetter:
\nAdded hysteresis.
\nThis is for Buildings, issue 2076.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.h"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.h"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.pre_y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.pre_y_start"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.t"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.t"
}
],
"S231:icon": [
@@ -5023,29 +5024,29 @@
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys",
"S231:hasInstance": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.y"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.y"
}
]
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.h",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.h",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Hysteresis",
@@ -5057,7 +5058,7 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.pre_y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.pre_y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Value of pre(y) at initial time",
@@ -5068,7 +5069,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.t",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.t",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Threshold for comparison",
@@ -5079,23 +5080,23 @@
"S231:value": 0
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared against the threshold",
"S231:graphics": "Placement(transformation(extent={{-140,-20},{-100,20}})))",
"S231:isConnectedTo": [
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.u"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.u"
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.u"
}
],
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y",
"@type": "S231:BooleanOutput",
"S231:accessSpecifier": "public",
"S231:description": "Outputs true if u is greater than the threshold with hysteresis",
@@ -5103,43 +5104,43 @@
"S231:label": "y"
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greHys.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
}
},
{
- "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.y",
+ "@id": "ex:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.greNoHys.y",
"S231:isConnectedTo": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.GreaterThreshold.y"
}
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis",
"@type": "S231:ElementaryBlock",
"S231:documentation": "info=\n\nBlock that transforms a Real input signal into a Boolean\noutput signal:\n
\n\n- When the output was
false and the input becomes\n greater than the parameter uHigh, the output\n switches to true.\n \n- When the output was
true and the input becomes\n less than the parameter uLow, the output\n switches to false.\n \n
\n\nThe start value of the output is defined via parameter\npre_y_start (= value of pre(y) at initial time).\nThe default value of this parameter is false.\n
\n\n
\n
\n,revisions=\n\n- \nOctober 3, 2017, by Michael Wetter:
\nRemoved start value for parameters, and moved assertion to initial equation.\n \n- \nJanuary 3, 2017, by Michael Wetter:
\nFirst implementation, based on the implementation of the\nModelica Standard Library.\n \n
\n",
"S231:hasInput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.u"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.u"
},
"S231:hasOutput": {
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.y"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.y"
},
"S231:hasParameter": [
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.pre_y_start"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.pre_y_start"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.uHigh"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.uHigh"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.uLow"
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.uLow"
}
],
"S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,100},{100,-100}},borderPattern=BorderPattern.Raised,lineColor={0,0,0},fillColor={210,210,210},fillPattern=FillPattern.Solid),Ellipse(extent={{71,7},{85,-7}},lineColor={235,235,235},fillColor={235,235,235},fillPattern=FillPattern.Solid),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-29}}),Polygon(points={{92,-29},{70,-21},{70,-37},{92,-29}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-79,-29},{84,-29}}),Line(points={{-79,-29},{41,-29}}),Line(points={{-15,-21},{1,-29},{-15,-36}}),Line(points={{41,51},{41,-29}}),Line(points={{33,3},{41,22},{50,3}}),Line(points={{-49,51},{81,51}}),Line(points={{-4,59},{-19,51},{-4,43}}),Line(points={{-59,29},{-49,11},{-39,29}}),Line(points={{-49,51},{-49,-29}}),Text(textString=\"%uLow\",textColor={192,192,192},extent={{-92,-49},{-9,-92}}),Text(textString=\"%uHigh\",textColor={192,192,192},extent={{2,-49},{91,-92}}),Rectangle(extent={{-91,-49},{-8,-92}},lineColor={192,192,192}),Line(color={192,192,192},points={{-49,-29},{-49,-49}}),Rectangle(extent={{2,-49},{91,-92}},lineColor={192,192,192}),Line(color={192,192,192},points={{41,-29},{41,-49}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}})}",
"S231:label": "Hysteresis"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.pre_y_start",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.pre_y_start",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "Value of pre(y) at initial time",
@@ -5150,7 +5151,7 @@
"S231:value": false
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.u",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.u",
"@type": "S231:RealInput",
"S231:accessSpecifier": "public",
"S231:description": "Input to be compared against hysteresis values",
@@ -5158,7 +5159,7 @@
"S231:label": "u"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.uHigh",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.uHigh",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "if y=false and u>uHigh, switch to y=true",
@@ -5168,7 +5169,7 @@
"S231:label": "uHigh"
},
{
- "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Hysteresis.uLow",
+ "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Hysteresis.uLow",
"@type": "S231:Parameter",
"S231:accessSpecifier": "public",
"S231:description": "if y=true and u\n\nBlock that outputs\n
\n\ny(t) = ystart + ∫t0t u(s) ds.\n
\n\nWhenever the input signal trigger changes from false\nto true,\nthe integrator is reset by setting ystart\nto the value of the input signal y_reset_in.\n
\n