From f3bfc7818b7a3c04ba60080ae94c18f8f7a9d44b Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Sat, 1 Aug 2026 09:28:55 +0200 Subject: [PATCH 1/8] chore: regenerate committed CXF artifacts with the current serializer CXF-Core.jsonld and the G36 SetPoints/CoolingCoil reference predate the explicit prefix bindings in getCxfGraph, so they still spell every IRI out in full while fresh output abbreviates with the S231 and ex prefixes. Regenerating rewrites the files wholesale without changing their meaning, which would bury any real change in serialization noise, so do it on its own. node app.js -f Buildings/Controls/OBC/CDL -o cxf --elementary --cxfCore \ --prettyPrint cp cxf/CXF-Core.jsonld . Compared as RDF rather than as text, both files are unchanged: CXF-Core.jsonld 5197 triples before and after with none added or removed, CoolingCoil.jsonld 153. The tests already compare CXF as graphs, so they pass either way. --- CXF-Core.jsonld | 3881 +++++++++-------- .../VAV/SetPoints/CoolingCoil.jsonld | 179 +- test/reference/cxf/CXF-Core.jsonld | 3881 +++++++++-------- 3 files changed, 3972 insertions(+), 3969 deletions(-) diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld index b5d8af7f..05a32fd4 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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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,revisions=\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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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\\IntegerConstant.png\\\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\\Pulse.png\\\n

\n

\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n

\n,revisions=\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", "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", "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", "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", "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", "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", "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", "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", "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\\Latch.png\\\n

\n\n,revisions=\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", "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", "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", "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", "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", "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", "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

\n

Detailed 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
  1. \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
  2. \n
  3. \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
  4. \n
  5. \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
  6. \n
\n,revisions=\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\\Constant.png\\\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\\BooleanPulse.png\\\n

\n

\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n

\n,revisions=\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\\SampleTrigger.png\\\n

\n

\nThe trigger signal is generated an infinite number of times, and aligned with time=delay.\n

\n,revisions=\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", "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", "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", "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", "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

\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\\Toggle.png\\\n

\n\n,revisions=\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\\OnDelay1.png\\\n
\n\\OnDelay2.png\\\n

\n\n,revisions=\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", "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

\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\\VariablePulse.png\\\n

\n,revisions=\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", "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", "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", "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

\n

References

\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", "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", "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\\acos.png\\\n

\n,revisions=\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", "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", "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\\asin.png\\\n

\n,revisions=\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\\atan.png\\\n

\n,revisions=\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\\atan2.png\\\n

\n\n,revisions=\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", "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\\cos.png\\\n

\n\n,revisions=\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", "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\\exp.png\\\n

\n\n,revisions=\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

\n

Usage

\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", "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

\n

Usage

\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", "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

\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\\Hysteresis.png\\\n

\n,revisions=\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,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start" } ], "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=\"y_reset_in\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-88,-94},{212,-54}}),Bitmap(fileName=\"modelica://Buildings/Resources/Images/Controls/OBC/CDL/Reals/int.png\",extent={{-54,-50},{60,50}}),Text(textString=\"k=%k\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-88,56},{206,92}}),Text(textString=\"u\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-92,-12},{208,28}}),Text(textString=\"y\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{70,-14},{370,26}}),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": "IntegratorWithReset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Integrator gain", @@ -5226,7 +5227,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input that resets the integrator output when it becomes true", @@ -5234,7 +5235,7 @@ "S231:label": "trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be integrated", @@ -5242,7 +5243,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Value of the integrator", @@ -5250,7 +5251,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal for state to which integrator is reset", @@ -5258,7 +5259,7 @@ "S231:label": "y_reset_in" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial or guess value of output (= state)", @@ -5269,26 +5270,26 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs true if the Real input u1\nis less 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

\n

Usage

\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", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.h" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.h" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start" } ], "S231:icon": [ @@ -5303,7 +5304,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.h", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.h", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Hysteresis", @@ -5315,35 +5316,35 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.lesHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.lesHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value of pre(y) at initial time", @@ -5354,39 +5355,39 @@ "S231:value": false }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.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.Less.lesHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" } ], "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.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.Less.lesHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" } ], "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Outputs true if u1 is less than u2", @@ -5394,36 +5395,36 @@ "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs true if the Real input u\nis less 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

Usage

\n

\nEnabling hysteresis can avoid frequent switching.\nAdding hysteresis is recommended in real controllers to guard against sensor noise, and\nin simulation to guard against numerical noise. Numerical noise can be present if\nan input depends on a state variable or a quantity that requires an iterative solution, such as\na temperature or a mass flow rate of an HVAC system.\nTo disable hysteresis, set h=0.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.h" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.h" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.t" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.t" } ], "S231:icon": [ @@ -5438,7 +5439,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.h", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.h", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Hysteresis", @@ -5450,29 +5451,29 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value of pre(y) at initial time", @@ -5483,7 +5484,7 @@ "S231:value": false }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.t", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.t", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Threshold for comparison", @@ -5494,23 +5495,23 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.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.LessThreshold.lesHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" } ], "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Outputs true if u is less than the threshold with hysteresis", @@ -5518,46 +5519,46 @@ "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThe block limits the rate of change of the input by a ramp.\n

\n

\nThis block computes a threshold for the rate of change of the output y as\nthr = (u-y)/Td, where Td > 0 is parameter.\nThe output y is computed as follows:\n

\n

Implementation

\n

\nFor the block to work with arbitrary inputs and in order to produce a differentiable output,\nthe input is numerically differentiated with derivative time constant Td.\nSmaller time constant Td means nearer ideal derivative.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td" } ], "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),Line(color={192,192,192},points={{0,-90},{0,68}}),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={{-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=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(points={{-50,-70},{50,70}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "LimitSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to false to disable rate limiter", @@ -5568,7 +5569,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Speed with which to decrease the output", @@ -5583,7 +5584,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Speed with which to increase the output", @@ -5597,7 +5598,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Derivative time constant", @@ -5615,7 +5616,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be rate of change limited", @@ -5623,7 +5624,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Rate of change limited output signal", @@ -5631,28 +5632,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = min(uMax, max(uMin, u)),\nwhere\nu is an input\nand\nuMax and uMin are parameters.\n

\n

\nIf uMax < uMin, an error occurs.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMin" } ], "S231:icon": "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),Line(color={192,192,192},points={{0,-90},{0,68}}),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={{-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,-70},{-50,-70},{50,70},{80,70}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(points={{50,70},{80,70}}),Line(points={{-80,-70},{-50,-70}}),Text(textString=\"%uMax\",textColor={0,0,0},extent={{12,72},{94,98}}),Text(textString=\"%uMin\",textColor={0,0,0},extent={{-100,-98},{-18,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Limiter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be limited", @@ -5660,7 +5661,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of input signal", @@ -5670,7 +5671,7 @@ "S231:label": "uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of input signal", @@ -5680,7 +5681,7 @@ "S231:label": "uMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Limited value of input signal", @@ -5688,42 +5689,42 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = a + b u,\nwhere\nu is an input\nand the coefficients a and b\nare determined so that the line intercepts the two input points\nspecified by the two points x1 and f1,\nand x2 and f2.\n

\n

\nThe parameters limitBelow and limitAbove\ndetermine whether x1 and x2 are also used\nto limit the input u.\n

\n

\nIf the limits are used, then this block requires x1 < x2.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitAbove" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitAbove" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitBelow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitBelow" } ], "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}}),Polygon(points={{92,-78},{70,-70},{70,-86},{92,-78}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={0,0,0},thickness=0.5,points={{-46,40},{50,-44}}),Line(color={192,192,192},points={{-80,-80},{-80,72}}),Polygon(points={{-80,92},{-88,70},{-72,70},{-80,92}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-88,-78},{76,-78}}),Line(color={28,108,200},points={{-100,80},{-64,80}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-64,80},{-62,-78}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,40},{-88,40}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-88,40},{-48,40}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,-40},{48,-36}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{48,-36},{50,-78}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,-80},{-38,-56}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-38,-56},{48,-44}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,0},{-62,0}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-62,0},{8,-8}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{10,-8},{52,-8}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{52,-8},{100,0}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Ellipse(extent={{44,-38},{56,-50}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{2,-2},{14,-14}},lineColor={0,0,0},fillColor={0,0,127},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={0,0,0},thickness=0.5,points={{50,-44},{80,-70}},visible=not limitAbove),Line(color={238,46,47},thickness=0.5,points={{52,-44},{86,-44}},visible=limitAbove),Line(color={0,0,0},thickness=0.5,points={{-80,68},{-46,40}},visible=not limitBelow),Line(color={238,46,47},thickness=0.5,points={{-80,40},{-46,40}},visible=limitBelow),Ellipse(extent={{-52,46},{-40,34}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Line" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point f(x1)", @@ -5731,7 +5732,7 @@ "S231:label": "f1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point f(x2)", @@ -5739,7 +5740,7 @@ "S231:label": "f2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitAbove", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitAbove", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, limit input u to be no larger than x2", @@ -5750,7 +5751,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitBelow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitBelow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, limit input u to be no smaller than x1", @@ -5761,7 +5762,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for independent variable", @@ -5769,7 +5770,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point x1, with x1 < x2", @@ -5777,7 +5778,7 @@ "S231:label": "x1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point x2, with x2 > x1", @@ -5785,7 +5786,7 @@ "S231:label": "x2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with f(x) along the line specified by (x1, f1) and (x2, f2)", @@ -5793,20 +5794,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = log(u),\nwhere\nu is an input and log() is the\nnatural logarithm (base-e) function.\n

\n\n

\nAn error occurs if the input u is\nzero or negative.\n

\n\n

\n\\log.png\\\n

\n\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.y" }, "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={192,192,192},points={{-80,-80},{-80,68}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-79.2,-50.6},{-78.4,-37},{-77.6,-28},{-76.8,-21.3},{-75.2,-11.4},{-72.8,-1.31},{-69.5,8.08},{-64.7,17.9},{-57.5,28},{-47,38.1},{-31.8,48.1},{-10.1,58},{22.1,68},{68.7,78.1},{80,80}}),Text(textString=\"log\",textColor={192,192,192},extent={{-6,-24},{66,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Log" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for base e logarithm", @@ -5814,7 +5815,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Base e logarithm of the input", @@ -5822,20 +5823,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = log10(u),\nwhere\nu is an input and log10() is the\nlogarithm (base-10) function.\n

\n\n

\nAn error occurs if the input u is\nzero or negative.\n

\n\n

\n\\log10.png\\\n

\n\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.y" }, "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={192,192,192},points={{-80,-80},{-80,68}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-79.2,-50.6},{-78.4,-37},{-77.6,-28},{-76.8,-21.3},{-75.2,-11.4},{-72.8,-1.31},{-69.5,8.08},{-64.7,17.9},{-57.5,28},{-47,38.1},{-31.8,48.1},{-10.1,58},{22.1,68},{68.7,78.1},{80,80}}),Text(textString=\"log10\",textColor={192,192,192},extent={{-6,-24},{66,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Log10" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for base 10 logarithm", @@ -5843,7 +5844,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Base 10 logarithm of the input", @@ -5851,24 +5852,24 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"[ ]\",textColor={0,0,0},extent={{-50,-30},{20,38}}),Text(textString=\"*\",textColor={0,0,0},extent={{8,-30},{80,10}})}", "S231:documentation": "info=\n

\nThis blocks computes output vector y as the product of the\ngain matrix K with the input signal vector u as\ny = K u.\nFor example,\n

\n
\n   parameter Real K[:,:] = [0.12, 2; 3, 1.5];\n
\n

\nresults in\n

\n
\n     | y[1] |     | 0.12,  2.00 |   | u[1] |\n     |      |  =  |            | * |      |\n     | y[2] |     | 3.00,  1.50 |   | u[2] |\n
\n\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.K" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.K" }, "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,150},{150,110}}),Text(textString=\"[ ]\",textColor={0,0,0},extent={{-50,-30},{20,38}}),Text(textString=\"*\",textColor={0,0,0},extent={{8,-30},{80,10}})}", "S231:label": "MatrixGain" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.K", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.K", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain matrix which is multiplied with the input", @@ -5881,7 +5882,7 @@ "S231:value": "[1,0;0,1]" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied with the gain matrix", @@ -5892,7 +5893,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of gain matrix times the input", @@ -5903,32 +5904,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true)", "S231:documentation": "info=\n

\nIf rowMax = true, this block outputs the row-wise maximum\nof the input matrix u,\notherwise it outputs the column-wise maximum of the input matrix u.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax" } ], "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,150},{150,110}}),Text(textString=\"[ ] max()\",textColor={0,0,0},extent={{-78,-62},{86,68}})}", "S231:label": "MatrixMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of columns in input matrix", @@ -5939,7 +5940,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of rows in input matrix", @@ -5950,7 +5951,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, outputs row-wise maximum, otherwise column-wise", @@ -5961,7 +5962,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the matrix max function", @@ -5972,7 +5973,7 @@ "S231:sizeOfDimensions": "(nRow,nCol)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with vector of row- or colum-wise maximum of the input matrix", @@ -5982,32 +5983,32 @@ "S231:sizeOfDimensions": " if rowMax then size(u,1) else size(u,2)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true)", "S231:documentation": "info=\n

\nIf rowMin = true, this block outputs the row-wise minimum\nof the input matrix u,\notherwise it outputs the column-wise minimum of the input matrix u.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin" } ], "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,150},{150,110}}),Text(textString=\"[ ] min()\",textColor={0,0,0},extent={{-78,-62},{86,68}})}", "S231:label": "MatrixMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of columns in input matrix", @@ -6018,7 +6019,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of rows in input matrix", @@ -6029,7 +6030,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, outputs row-wise minimum, otherwise column-wise", @@ -6040,7 +6041,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the matrix min function", @@ -6051,7 +6052,7 @@ "S231:sizeOfDimensions": "(nRow,nCol)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with vector of row- or colum-wise minimum of the input matrix", @@ -6061,25 +6062,25 @@ "S231:sizeOfDimensions": " if rowMin then size(u,1) else size(u,2)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.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,150},{150,110}}),Text(textString=\"max()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Max" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the max function", @@ -6087,7 +6088,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the max function", @@ -6095,7 +6096,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Maximum of the inputs", @@ -6103,25 +6104,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.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,150},{150,110}}),Text(textString=\"min()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Min" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6129,7 +6130,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6137,7 +6138,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Minimum of the inputs", @@ -6145,25 +6146,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = mod(u1/u2),\nwhere\nu1 and u2 are inputs.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.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,-48},{50,52}},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=\"mod\",textColor={192,192,192},extent={{-32,-52},{40,-100}}),Line(color={0,0,0},points={{-8,16}}),Line(color={0,0,0},thickness=1,points={{-100,60}}),Line(color={0,0,127},points={{-100,60},{-28,60},{-12,50}}),Line(color={0,0,127},points={{-100,-60},{-26,-60},{-2,-48}}),Line(color={0,0,127},points={{50,2},{102,2},{100,2}}),Ellipse(extent={{11,-18},{21,-8}},fillPattern=FillPattern.Solid),Line(points={{-24,-20},{26,24}}),Ellipse(extent={{-21,12},{-11,22}},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Modulo" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Dividend of the modulus function", @@ -6171,7 +6172,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Divisor of the modulus function", @@ -6179,7 +6180,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Modulus u1 mod u2", @@ -6187,23 +6188,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block outputs the mean value of its input signal as\n

\n
\n      1  t\ny =   -  ∫   u(s) ds\n      δ  t-δ\n
\n

\nwhere δ is a parameter that determines the time window over\nwhich the input is averaged.\nFor\n t < δ seconds, it outputs\n

\n
\n           1      t\ny =   --------    ∫   u(s) ds\n      t-t0+10-10   t0\n
\n

\nwhere t0 is the initial time.\n

\n

\nThis block can for example be used to output the moving\naverage of a noisy measurement signal.\n

\n

\nSee\n\nBuildings.Controls.OBC.CDL.Reals.Validation.MovingAverage\nand\n\nBuildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart\nfor example.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-78,90},{-86,68},{-70,68},{-78,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-78,68},{-78,-80}}),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={215,215,215},points={{-78,-31},{-64,-31},{-64,-15},{-56,-15},{-56,-63},{-48,-63},{-48,-41},{-40,-41},{-40,43},{-32,43},{-32,11},{-32,11},{-32,-49},{-22,-49},{-22,-31},{-12,-31},{-12,-59},{-2,-59},{-2,23},{4,23},{4,37},{10,37},{10,-19},{20,-19},{20,-7},{26,-7},{26,-37},{36,-37},{36,35},{46,35},{46,1},{54,1},{54,-65},{64,-65}}),Line(points={{-78,-24},{68,-24}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-140,152},{160,112}}),Text(textString=\"%delta s\",textColor={192,192,192},extent={{-42,-63},{41,-106}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MovingAverage" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time horizon over which the input is averaged", @@ -6223,7 +6224,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be averaged", @@ -6231,7 +6232,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Moving average of the input", @@ -6239,23 +6240,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nOutputs the maximum element of the input vector.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.nin" }, "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=\"max()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6267,7 +6268,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to max function", @@ -6278,7 +6279,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Largest element of the input vector", @@ -6286,23 +6287,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nOutputs the minimum element of the input vector.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.nin" }, "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=\"min()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6314,7 +6315,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6325,7 +6326,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Smallest element of the input vector", @@ -6333,28 +6334,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum\nfor an example.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.nin" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},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={0,0,0},extent={{-82,90},{82,-46}},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-144,150},{156,110}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiSum" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Input gains", @@ -6368,7 +6369,7 @@ "S231:value": "fill(1,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6380,7 +6381,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to multiplied by gain and then added", @@ -6391,7 +6392,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sum of inputs times gains", @@ -6399,25 +6400,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = u1 * u2,\nwhere\nu1 and u2 are inputs.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.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),Line(color={0,0,127},points={{-100,60},{-40,60},{-30,40}}),Line(color={0,0,127},points={{-100,-60},{-40,-60},{-30,-40}}),Line(color={0,0,127},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}}),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": "Multiply" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied", @@ -6425,7 +6426,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied", @@ -6433,7 +6434,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of the inputs", @@ -6441,23 +6442,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = k * u,\nwhere\nk is a parameter and\nu is an input.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k" }, "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Polygon(points={{-100,-100},{-100,100},{100,0},{-100,-100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"k=%k\",textColor={0,0,0},extent={{-150,-140},{150,-100}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,144},{150,104}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiplyByParameter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Factor to be multiplied with input signal", @@ -6467,7 +6468,7 @@ "S231:label": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied with gain", @@ -6475,7 +6476,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of the parameter times the input", @@ -6483,359 +6484,359 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID", "@type": "S231:ElementaryBlock", "S231:containsBlock": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controlError" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errD" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errP" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P" } ], "S231:diagram": "coordinateSystem(extent={{-220,-200},{220,200}}),graphics={Rectangle(extent={{-56,180},{-24,-16}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-52,184},{-28,156}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:documentation": "info=\n

\nPID controller in the standard form\n

\n

\nyu = k/r   (e(t) + 1 ⁄ Ti   ∫ e(τ) dτ + Td d⁄dt e(t)),\n

\n

\nwhere\nyu is the control signal before output limitation,\ne(t) = us(t) - um(t) is the control error,\nwith us being the set point and um being\nthe measured quantity,\nk is the gain,\nTi is the time constant of the integral term,\nTd is the time constant of the derivative term,\nand\nr is a scaling factor, with default r=1.\nThe scaling factor should be set to the typical order of magnitude of the range of the error e.\nFor example, you may set r=100 to r=1000\nif the control input is a pressure of a heating water circulation pump in units of Pascal, or\nleave r=1 if the control input is a room temperature.\n

\n

\nNote that the units of k are the inverse of the units of the control error,\nwhile the units of Ti and Td are seconds.\n

\n

\nThe actual control output is\n

\n

\ny = min( ymax, max( ymin, y)),\n

\n

\nwhere ymin and ymax are limits for the control signal.\n

\n

P, PI, PD, or PID action

\n

\nThrough the parameter controllerType, the controller can be configured\nas P, PI, PD or PID controller. The default configuration is PI.\n

\n

Reverse or direct action

\n

\nThrough the parameter reverseActing, the controller can be configured to\nbe reverse or direct acting.\nThe above standard form is reverse acting, which is the default configuration.\nFor a reverse acting controller, for a constant set point,\nan increase in measurement signal u_m decreases the control output signal y\n(Montgomery and McDowall, 2008).\nThus,\n

\n\n

\nIf reverseAction=false, then the error e above is multiplied by -1.\n

\n

Anti-windup compensation

\n

\nThe controller anti-windup compensation is as follows:\nInstead of the above basic control law, the implementation is\n

\n

\nyu = k   (e(t) ⁄ r + 1 ⁄ Ti   ∫ (-Δy + e(τ) ⁄ r) dτ + Td ⁄ r d⁄dt e(t)),\n

\n

\nwhere the anti-windup compensation Δy is\n

\n

\nΔy = (yu - y) ⁄ (k Ni),\n

\n

\nwhere\nNi > 0 is the time constant for the anti-windup compensation.\nTo accelerate the anti-windup, decrease Ni.\n

\n

\nNote that the anti-windup term (-Δy + e(τ) ⁄ r) shows that the range of\nthe typical control error r should be set to a reasonable value so that\n

\n

\ne(τ) ⁄ r = (us(τ) - um(τ)) ⁄ r\n

\n

\nhas order of magnitude one, and hence the anti-windup compensation should work well.\n

\n

Reset of the controller output

\n

\nNote that this controller implements an integrator anti-windup. Therefore,\nfor most applications, the controller output does not need to be reset.\nHowever, if the controller is used in conjuction with equipment that is being\nswitched on, better control performance may be achieved by resetting the controller\noutput when the equipment is switched on. This is in particular the case in situations\nwhere the equipment control input should continuously increase as the equipment is\nswitched on, such as a light dimmer that may slowly increase the luminance, or\na variable speed drive of a motor that should continuously increase the speed. In\nthis case, the controller\n\nBuildings.Controls.OBC.CDL.Reals.PIDWithReset\nthat can reset the output should be used.\n

\n

Approximation of the derivative term

\n

\nThe derivative of the control error d ⁄ dt e(t) is approximated using\n

\n

\nd⁄dt x(t) = (e(t)-x(t)) Nd ⁄ Td,\n

\n

\nand\n

\n

\nd⁄dt e(t) ≈ Nd (e(t)-x(t)),\n

\n

\nwhere x(t) is an internal state.\n

\n

Guidance for tuning the control gains

\n

\nThe parameters of the controller can be manually adjusted by performing\nclosed loop tests (= controller + plant connected\ntogether) and using the following strategy:\n

\n
    \n
  1. Set very large limits, e.g., set ymax = 1000.\n
  2. \n
  3. \nSelect a P-controller and manually enlarge the parameter k\n(the total gain of the controller) until the closed-loop response\ncannot be improved any more.\n
  4. \n
  5. \nSelect a PI-controller and manually adjust the parameters\nk and Ti (the time constant of the integrator).\nThe first value of Ti can be selected such that it is in the\norder of the time constant of the oscillations occurring with\nthe P-controller. If, e.g., oscillations in the order of 100 seconds\noccur in the previous step, start with Ti=1/100 seconds.\n
  6. \n
  7. \nIf you want to make the reaction of the control loop faster\n(but probably less robust against disturbances and measurement noise)\nselect a PID-controller and manually adjust parameters\nk, Ti, Td (time constant of derivative block).\n
  8. \n
  9. \nSet the limits yMax and yMin according to your specification.\n
  10. \n
  11. \nPerform simulations such that the output of the PID controller\ngoes in its limits. Tune Ni (Ni Ti is the time constant of\nthe anti-windup compensation) such that the input to the limiter\nblock (= lim.u) goes quickly enough back to its limits.\nIf Ni is decreased, this happens faster. If Ni is very large, the\nanti-windup compensation is not effective and the controller works bad.\n
  12. \n
\n

References

\n

\nR. Montgomery and R. McDowall (2008).\n\\Fundamentals of HVAC Control Systems.\\\nAmerican Society of Heating Refrigerating and Air-Conditioning Engineers Inc. Atlanta, GA.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_m" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_s" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controllerType" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Nd" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Nd" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ni" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ni" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.r" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.r" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.reverseActing" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.reverseActing" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Td" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ti" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.xi_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yd_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMin" } ], "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),Rectangle(extent={{-6,-20},{66,-66}},lineColor={255,255,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"P\",textColor={0,0,0},extent={{-32,-22},{68,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.P),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PI\",textColor={0,0,0},extent={{-26,-22},{74,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PI),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"P D\",textColor={0,0,0},extent={{-16,-22},{88,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PD),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-14,-22},{86,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PID),fillColor={175,175,175},fillPattern=FillPattern.Solid),Polygon(points={{-80,82},{-88,60},{-72,60},{-80,82}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-100}}),Line(color={192,192,192},points={{-90,-80},{70,-80}}),Polygon(points={{74,-80},{52,-72},{52,-88},{74,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,0},points={{-80,-80},{-80,-22}}),Line(color={0,0,0},points={{-80,-22},{6,56}}),Line(color={0,0,0},points={{6,56},{68,56}}),Rectangle(extent={{100,-100},{84,-100},{100,-100}},lineColor={0,0,0},fillColor={175,175,175},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "PID" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.addPD", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.addPD", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.addPID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.addPID", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.con", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.con", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.con1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.con1", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con1.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controlError", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controlError", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "Control error (set point - measurement)", "S231:graphics": "Placement(transformation(extent={{-200,-16},{-180,4}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" } ], "S231:label": "controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controllerType", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType", "S231:accessSpecifier": "public", "S231:description": "Type of controller", "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Derivative", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Derivative", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "Derivative term", "S231:graphics": "Placement(transformation(extent={{-50,60},{-30,80}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.T" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.y" } ], "S231:isConditionalComponent": true, "S231:label": "D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D.y_start", "S231:isFinal": true, "S231:value": "yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Dzero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Dzero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errD", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errD", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "D error", "S231:graphics": "Placement(transformation(extent={{-140,60},{-120,80}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.y" } ], "S231:isConditionalComponent": true, "S231:label": "errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI1", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI1", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (before anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-140,-4},{-120,16}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI2", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI2", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (after anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-100,-10},{-80,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errP", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errP", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "P error", "S231:graphics": "Placement(transformation(extent={{-140,130},{-120,150}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.y" } ], "S231:label": "errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "Integral term", "S231:graphics": "Placement(transformation(extent={{-50,-10},{-30,10}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" } ], "S231:isConditionalComponent": true, "S231:label": "I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.k", "S231:isFinal": true, "S231:value": "k/Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.y_start", "S231:isFinal": true, "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Izero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Izero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Izero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Izero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain of controller", @@ -6847,45 +6848,45 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.kDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.kDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.kDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.kDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Limiter", "S231:accessSpecifier": "public", "S231:description": "Limiter", "S231:graphics": "Placement(transformation(extent={{120,80},{140,100}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y" } ], "S231:label": "lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax", "S231:isFinal": true, "S231:value": "yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin", "S231:isFinal": true, "S231:value": "yMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Nd", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Nd", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "The higher Nd, the more ideal the derivative block", @@ -6897,7 +6898,7 @@ "S231:value": 10 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ni", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ni", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Ni*Ti is time constant of anti-windup compensation", @@ -6912,31 +6913,31 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "S231:accessSpecifier": "public", "S231:description": "Gain for proportional control action", "S231:graphics": "Placement(transformation(extent={{-50,130},{-30,150}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.y" } ], "S231:label": "P" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P.k", "S231:isFinal": true, "S231:value": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.r", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.r", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Typical range of control error, used for scaling the control error", @@ -6948,7 +6949,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.reverseActing", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.reverseActing", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true for reverse acting, or false for direct acting control action", @@ -6959,7 +6960,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of derivative block", @@ -6980,13 +6981,13 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.TDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.TDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.TDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.TDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ti", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ti", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of integrator block", @@ -7007,61 +7008,61 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_m", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_m", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Measurement input signal", "S231:graphics": "Placement(transformation(origin={0,-220},extent={{20,-20},{-20,20}},rotation=270)),iconTransformation(origin={0,-120},extent={{20,-20},{-20,20}},rotation=270)))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" } ], "S231:label": "u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_s", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_s", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Setpoint input signal", "S231:graphics": "Placement(transformation(extent={{-260,-20},{-220,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" } ], "S231:label": "u_s" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.xi_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.xi_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of integrator state", @@ -7072,7 +7073,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Actuator output signal", @@ -7080,7 +7081,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yd_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yd_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of derivative output", @@ -7091,7 +7092,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of output", @@ -7102,7 +7103,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of output", @@ -7113,524 +7114,524 @@ "S231:value": 0 }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.u" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Izero.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Izero.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.kDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.kDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.k" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.TDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.TDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.T" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset", "@type": "S231:ElementaryBlock", "S231:containsBlock": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P" } ], "S231:diagram": "coordinateSystem(extent={{-220,-200},{220,200}}),graphics={Rectangle(extent={{-56,180},{-24,-16}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-52,184},{-28,156}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:documentation": "info=\n

\nPID controller in the standard form\n

\n

\nyu = k/r   (e(t) + 1 ⁄ Ti   ∫ e(τ) dτ + Td d⁄dt e(t)),\n

\n

\nwith output reset,\nwhere\nyu is the control signal before output limitation,\ne(t) = us(t) - um(t) is the control error,\nwith us being the set point and um being\nthe measured quantity,\nk is the gain,\nTi is the time constant of the integral term,\nTd is the time constant of the derivative term,\nand\nr is a scaling factor, with default r=1.\nThe scaling factor should be set to the typical order of magnitude of the range of the error e.\nFor example, you may set r=100 to r=1000\nif the control input is a pressure of a heating water circulation pump in units of Pascal, or\nleave r=1 if the control input is a room temperature.\n

\n

\nNote that the units of k are the inverse of the units of the control error,\nwhile the units of Ti and Td are seconds.\n

\n

\nThe actual control output is\n

\n

\ny = min( ymax, max( ymin, y)),\n

\n

\nwhere ymin and ymax are limits for the control signal.\n

\n

P, PI, PD, or PID action

\n

\nThrough the parameter controllerType, the controller can be configured\nas P, PI, PD or PID controller. The default configuration is PI.\n

\n

Reverse or direct action

\n

\nThrough the parameter reverseActing, the controller can be configured to\nbe reverse or direct acting.\nThe above standard form is reverse acting, which is the default configuration.\nFor a reverse acting controller, for a constant set point,\nan increase in measurement signal u_m decreases the control output signal y\n(Montgomery and McDowall, 2008).\nThus,\n

\n\n

\nIf reverseAction=false, then the error e above is multiplied by -1.\n

\n

Anti-windup compensation

\n

\nThe controller anti-windup compensation is as follows:\nInstead of the above basic control law, the implementation is\n

\n

\nyu = k   (e(t) ⁄ r + 1 ⁄ Ti   ∫ (-Δy + e(τ) ⁄ r) dτ + Td ⁄ r d⁄dt e(t)),\n

\n

\nwhere the anti-windup compensation Δy is\n

\n

\nΔy = (yu - y) ⁄ (k Ni),\n

\n

\nwhere\nNi > 0 is the time constant for the anti-windup compensation.\nTo accelerate the anti-windup, decrease Ni.\n

\n

\nNote that the anti-windup term (-Δy + e(τ) ⁄ r) shows that the range of\nthe typical control error r should be set to a reasonable value so that\n

\n

\ne(τ) ⁄ r = (us(τ) - um(τ)) ⁄ r\n

\n

\nhas order of magnitude one, and hence the anti-windup compensation should work well.\n

\n

Reset of the controller output

\n

\nWhenever the value of boolean input signal trigger changes from\nfalse to true, the controller output is reset by setting\ny to the value of the parameter y_reset.\n

\n

Approximation of the derivative term

\n

\nThe derivative of the control error d ⁄ dt e(t) is approximated using\n

\n

\nd⁄dt x(t) = (e(t)-x(t)) Nd ⁄ Td,\n

\n

\nand\n

\n

\nd⁄dt e(t) ≈ Nd (e(t)-x(t)),\n

\n

\nwhere x(t) is an internal state.\n

\n

Guidance for tuning the control gains

\n

\nThe parameters of the controller can be manually adjusted by performing\nclosed loop tests (= controller + plant connected\ntogether) and using the following strategy:\n

\n
    \n
  1. Set very large limits, e.g., set ymax = 1000.\n
  2. \n
  3. \nSelect a P-controller and manually enlarge the parameter k\n(the total gain of the controller) until the closed-loop response\ncannot be improved any more.\n
  4. \n
  5. \nSelect a PI-controller and manually adjust the parameters\nk and Ti (the time constant of the integrator).\nThe first value of Ti can be selected such that it is in the\norder of the time constant of the oscillations occurring with\nthe P-controller. If, e.g., oscillations in the order of 100 seconds\noccur in the previous step, start with Ti=1/100 seconds.\n
  6. \n
  7. \nIf you want to make the reaction of the control loop faster\n(but probably less robust against disturbances and measurement noise)\nselect a PID-controller and manually adjust parameters\nk, Ti, Td (time constant of derivative block).\n
  8. \n
  9. \nSet the limits yMax and yMin according to your specification.\n
  10. \n
  11. \nPerform simulations such that the output of the PID controller\ngoes in its limits. Tune Ni (Ni Ti is the time constant of\nthe anti-windup compensation) such that the input to the limiter\nblock (= lim.u) goes quickly enough back to its limits.\nIf Ni is decreased, this happens faster. If Ni is very large, the\nanti-windup compensation is not effective and the controller works bad.\n
  12. \n
\n

References

\n

\nR. Montgomery and R. McDowall (2008).\n\\Fundamentals of HVAC Control Systems.\\\nAmerican Society of Heating Refrigerating and Air-Conditioning Engineers Inc. Atlanta, GA.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin" } ], "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),Rectangle(extent={{-6,-20},{66,-66}},lineColor={255,255,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"P\",textColor={0,0,0},extent={{-32,-22},{68,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.P),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PI\",textColor={0,0,0},extent={{-26,-22},{74,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PI),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"P D\",textColor={0,0,0},extent={{-16,-22},{88,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PD),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-14,-22},{86,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PID),fillColor={175,175,175},fillPattern=FillPattern.Solid),Polygon(points={{-80,82},{-88,60},{-72,60},{-80,82}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-100}}),Line(color={192,192,192},points={{-90,-80},{70,-80}}),Polygon(points={{74,-80},{52,-72},{52,-88},{74,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,0},points={{-80,-80},{-80,-22}}),Line(color={0,0,0},points={{-80,-22},{6,56}}),Line(color={0,0,0},points={{6,56},{68,56}}),Rectangle(extent={{100,-100},{84,-100},{100,-100}},lineColor={0,0,0},fillColor={175,175,175},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "PIDWithReset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "Control error (set point - measurement)", "S231:graphics": "Placement(transformation(extent={{-200,-16},{-180,4}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" } ], "S231:label": "controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", "S231:accessSpecifier": "public", "S231:description": "Type of controller", "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Derivative", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Derivative", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "Derivative term", "S231:graphics": "Placement(transformation(extent={{-50,60},{-30,80}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y" } ], "S231:isConditionalComponent": true, "S231:label": "D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start", "S231:isFinal": true, "S231:value": "yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "D error", "S231:graphics": "Placement(transformation(extent={{-140,60},{-120,80}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" } ], "S231:isConditionalComponent": true, "S231:label": "errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (before anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-140,-4},{-120,16}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (after anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-100,-10},{-80,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "P error", "S231:graphics": "Placement(transformation(extent={{-140,130},{-120,150}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" } ], "S231:label": "errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "Integral term", "S231:graphics": "Placement(transformation(extent={{-50,-10},{-30,10}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" } ], "S231:isConditionalComponent": true, "S231:label": "I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k", "S231:isFinal": true, "S231:value": "k/Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start", "S231:isFinal": true, "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain of controller", @@ -7642,45 +7643,45 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Limiter", "S231:accessSpecifier": "public", "S231:description": "Limiter", "S231:graphics": "Placement(transformation(extent={{120,80},{140,100}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" } ], "S231:label": "lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax", "S231:isFinal": true, "S231:value": "yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin", "S231:isFinal": true, "S231:value": "yMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "The higher Nd, the more ideal the derivative block", @@ -7692,7 +7693,7 @@ "S231:value": 10 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Ni*Ti is time constant of anti-windup compensation", @@ -7707,31 +7708,31 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "S231:accessSpecifier": "public", "S231:description": "Proportional action", "S231:graphics": "Placement(transformation(extent={{-50,130},{-30,150}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" } ], "S231:label": "P" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k", "S231:isFinal": true, "S231:value": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Typical range of control error, used for scaling the control error", @@ -7743,7 +7744,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true for reverse acting, or false for direct acting control action", @@ -7754,7 +7755,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of derivative block", @@ -7775,13 +7776,13 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of integrator block", @@ -7802,67 +7803,67 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Resets the controller output when trigger becomes true", "S231:graphics": "Placement(transformation(origin={-160,-220},extent={{-20,-20},{20,20}},rotation=90)),iconTransformation(origin={-60,-120},extent={{-20,-20},{20,20}},rotation=90)))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" }, "S231:label": "trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Connector of measurement input signal", "S231:graphics": "Placement(transformation(origin={0,-220},extent={{20,-20},{-20,20}},rotation=270)),iconTransformation(origin={0,-120},extent={{20,-20},{-20,20}},rotation=270)))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" } ], "S231:label": "u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Connector of setpoint input signal", "S231:graphics": "Placement(transformation(extent={{-260,-20},{-220,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" }, "S231:label": "u_s" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of integrator state", @@ -7873,7 +7874,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Connector of actuator output signal", @@ -7881,7 +7882,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value to which the controller output is reset if the boolean trigger has a rising edge", @@ -7892,7 +7893,7 @@ "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of derivative output", @@ -7903,7 +7904,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of output", @@ -7914,7 +7915,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of output", @@ -7925,215 +7926,215 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "info=\n

\nBlock that limits the rate of change of the input u by a ramp\nif the boolean input active is true,\notherwise the block outputs y = u.\n

\n

\nThis block computes a threshold for the rate of change between\ninput u and output y as\nthr = (u-y)/Td, where Td > 0 is a parameter.\nThe output y is computed as follows:\n

\n

\nA smaller time constant Td > 0 means a higher accuracy for the derivative approximation.\n

\n

\nNote that when the input activate switches to false,\nthe output y can have a discontinuity.\n

\n

Implementation

\n

\nFor the block to work with arbitrary inputs and in order to produce a differentiable output,\nthe input is numerically differentiated with derivative time constant Td.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.active" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.active" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.Td" } ], "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,100},{100,140}}),Line(color={192,192,192},points={{-90,-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={192,192,192},points={{-80,58},{-80,-90}}),Polygon(points={{-80,80},{-88,58},{-72,58},{-80,80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-80,-44},{-60,20},{-44,26},{40,8},{40,-4}}),Line(color={254,0,254},points={{-80,-80},{-60,-80},{-60,-50},{40,-50},{40,-80},{58,-80}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}}),Line(color={0,0,127},points={{40,-4},{58,-28},{76,28}})}", "S231:label": "Ramp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.active", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.active", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Set to true to enable rate limiter", @@ -8141,7 +8142,7 @@ "S231:label": "active" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Maximum speed with which to decrease the output", @@ -8156,7 +8157,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Maximum speed with which to increase the output", @@ -8170,7 +8171,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Derivative time constant", @@ -8188,7 +8189,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input that is being rate limited", @@ -8196,7 +8197,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Rate limited output if active is true, else output is equal to input", @@ -8204,23 +8205,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs the input after rounding it to n digits.\n

\n

\nFor example,\n

\n\n

\nHence, the block outputs\n

\n
\n    y = floor(u*(10^n) + 0.5)/(10^n)  for  u > 0,\n    y = ceil(u*(10^n) - 0.5)/(10^n)   for  u < 0.\n
\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.n" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.n" }, "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=\"round( )\",textColor={0,0,127},extent={{-56,4},{72,106}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"%n\",textColor={0,0,127},extent={{-60,-88},{54,-34}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Round" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.n", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.n", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of digits to be round to", @@ -8230,7 +8231,7 @@ "S231:label": "n" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be rounded", @@ -8238,7 +8239,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with rounded input", @@ -8246,20 +8247,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = sin(u),\nwhere\nu is an input.\n

\n\n

\n\\sin.png\\\n

\n\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.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={{-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}}),Line(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),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"sin\",textColor={192,192,192},extent={{12,84},{84,36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Sin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the sine function", @@ -8273,7 +8274,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sine of input", @@ -8281,33 +8282,33 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that sorts the elements of the input signal u.\nIf the parameter ascending = true, then the output signal y satisfies\nyi <= yi+1 for all i ∈ {1, ..., n-1}.\nOtherwise, it satisfies\nyi >= yi+1 for all i ∈ {1, ..., n-1}.\nThe output signal yIdx contains the indices of the sorted elements,\nwith respect to the input vector u.\n

\n

Usage

\n

\nNote that this block shall only be used for input signals u that are\ntime sampled.
\nOtherwise, in simulation, 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, measurement noise may cause the output to change frequently.\n

\n

\nThis block may for example be used in a variable air volume flow\ncontroller to access the position of the dampers that are most open.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.u" }, "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.yIdx" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.yIdx" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.ascending" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.ascending" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.nin" } ], "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,150},{150,110}}),Text(textString=\"sort\",textColor={0,0,89},extent={{-58,70},{54,-60}})}", "S231:label": "Sort" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.ascending", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.ascending", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true if ascending order, otherwise order is descending", @@ -8318,7 +8319,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -8330,7 +8331,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be sorted", @@ -8341,7 +8342,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with sorted input", @@ -8352,7 +8353,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.yIdx", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.yIdx", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Indices of the sorted vector with respect to the original vector", @@ -8363,62 +8364,62 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs minute, hour, day of the month, month, year and weekday.\n

\n

Assumption and limitations

\n

\nThe implementation only supports date computations from year 2010 up to and including 2020.\nDaylight saving and time zones are not supported.\n

\n

Typical use and important parameters

\n

\nThe user must define which time and date correspond to time = 0\nusing the model parameters zerTim, and, if\nzerTim == CDL.Types.ZeroTime.Custom,\nthe parameter yearRef.\nThe user can choose from new year, midnight for a number of years:\n2010 to 2020 and also 1970.\nThe latter corresponds to a unix stamp of 0.\nNote that when choosing the reference time equal to 0 at 1970,\nthe actual simulation time must be within the 2010-2020 range.\nFor example, startTime = 1262304000 corresponds\nto the simulation starting on the 1st of January 2010 local time\nwhen setting zerTim = CDL.Types.ZeroTime.UnixTimeStamp.\nThis is within the 2010-2020 range and is therefore allowed.\n

\n,revisions=\n\n", "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim" } ], "S231:icon": "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={{-94,94},{16,-16}},lineColor={160,160,164},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"Minute\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-34,92},{96,82}}),Text(textString=\"Hour\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-28,64},{96,54}}),Text(textString=\"Day\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-38,36},{96,24}}),Text(textString=\"Month\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-50,4},{96,-6}}),Text(textString=\"Year\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-70,-24},{96,-34}}),Text(textString=\"Weekday\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-68,-54},{96,-66}}),Line(thickness=0.5,points={{-40,38},{-64,62}}),Line(thickness=0.5,points={{-40,38},{-14,38}})}", "S231:label": "CalendarTime" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Day of the month", @@ -8427,7 +8428,7 @@ "S231:label": "day" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Hour of the day", @@ -8436,7 +8437,7 @@ "S231:label": "hour" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Minute of the hour", @@ -8444,14 +8445,14 @@ "S231:label": "minute" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month", "S231:accessSpecifier": "public", "S231:description": "Month of the year", "S231:graphics": "Placement(transformation(extent={{100,-10},{120,10}})),iconTransformation(extent={{100,-10},{120,10}})))", "S231:label": "month" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset that is added to 'time', may be used for computing time in different time zone", @@ -8468,7 +8469,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer output representing week day (monday = 1, sunday = 7)", @@ -8477,14 +8478,14 @@ "S231:label": "weekDay" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year", "S231:accessSpecifier": "public", "S231:description": "Year", "S231:graphics": "Placement(transformation(extent={{100,-40},{120,-20}})),iconTransformation(extent={{100,-40},{120,-20}})))", "S231:label": "year" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Year when time = 0, used if zerTim=Custom", @@ -8497,59 +8498,59 @@ "S231:value": 2016 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", "S231:accessSpecifier": "public", "S231:description": "Enumeration for choosing how reference time (time = 0) should be defined", "S231:label": "zerTim" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

Block that outputs the civil time.\n

\n

Implementation

\n

\nThis block outputs the time of the model.\nIn the case of a building automation system, the\nbuilding automation system synchronizes time, and hence\nneed to assign a value for the output of this block.\nDaylight saving time shall not be taken into account,\ne.g, the block always outputs civil time rather than\ndaylight savings time.\n

\n

\nIf a simulation starts\nat t=-1, then this block outputs first t=-1,\nand its output is advanced at the same rate as the simulation time.\n

\n\n

\nNote that the block has not been included in the ASHRAE Standard 231p.\nHowever, in the future versions of the ASHRAE 231 Standard, the block should be added.\n

\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.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),Ellipse(extent={{-80,80},{80,-80}},lineColor={160,160,164},fillColor={215,215,215},fillPattern=FillPattern.Solid),Line(color={160,160,164},points={{0,80},{0,60}}),Line(color={160,160,164},points={{80,0},{60,0}}),Line(color={160,160,164},points={{0,-80},{0,-60}}),Line(color={160,160,164},points={{-80,0},{-60,0}}),Line(color={160,160,164},points={{37,70},{26,50}}),Line(color={160,160,164},points={{70,38},{49,26}}),Line(color={160,160,164},points={{71,-37},{52,-27}}),Line(color={160,160,164},points={{39,-70},{29,-51}}),Line(color={160,160,164},points={{-39,-70},{-29,-52}}),Line(color={160,160,164},points={{-71,-37},{-50,-26}}),Line(color={160,160,164},points={{-71,37},{-54,28}}),Line(color={160,160,164},points={{-38,70},{-28,51}}),Line(thickness=0.5,points={{0,0},{-50,50}}),Line(thickness=0.5,points={{0,0},{40,0}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "CivilTime" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Civil time", @@ -8560,20 +8561,20 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a constant signal y = k,\nwhere k is a real-valued parameter.\n

\n

\n\\Constant.png\\\n

\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k" }, "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={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}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Constant" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Constant output value", @@ -8583,7 +8584,7 @@ "S231:label": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Constant output signal", @@ -8591,34 +8592,34 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a pulse signal as shown below.\n

\n

\n\\Pulse.png\\\n

\n

\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n

\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width" } ], "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(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}}),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}}),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={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid)}", "S231:label": "Pulse" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Amplitude of pulse", @@ -8629,24 +8630,24 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signals", @@ -8657,7 +8658,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time for one period", @@ -8674,7 +8675,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Shift time for output", @@ -8691,7 +8692,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Width of pulse in fraction of period", @@ -8710,48 +8711,48 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Pulse output signal", "S231:graphics": "Placement(transformation(extent={{100,-20},{140,20}})))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" }, "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThe Real output y is a ramp signal:\n

\n\n

\n\\Ramp.png\\\n

\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime" } ], "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),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,-70},{-40,-70},{31,38}}),Text(textString=\"duration=%duration\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Line(points={{31,38},{86,38}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Ramp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Duration of ramp (= 0.0 gives a Step)", @@ -8768,7 +8769,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Height of ramps", @@ -8779,7 +8780,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signal", @@ -8790,7 +8791,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Output = offset for time < startTime", @@ -8807,7 +8808,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Ramp output signal", @@ -8815,34 +8816,34 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a sine.\n

\n

\n\\Sin.png\\/\n

\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime" } ], "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-148,104},{152,144}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},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,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,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),Text(textString=\"freqHz=%freqHz\",textColor={0,0,0},extent={{-147,-152},{153,-112}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Sin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Amplitude of sine wave", @@ -8853,7 +8854,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Frequency of sine wave", @@ -8870,7 +8871,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signal", @@ -8881,7 +8882,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Phase of sine wave", @@ -8901,7 +8902,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Output = offset for time < startTime", @@ -8918,7 +8919,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sine output signal", @@ -8926,41 +8927,41 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs values of a time table.\n

\n

\nThe block takes as a parameter a time table of a format:\n

\n
\ntable = [ 0*3600, 0;\n          6*3600, 0;\n          6*3600, 1;\n         18*3600, 1;\n         18*3600, 0;\n         24*3600, 0];\n
\n

\nwhere the first column is time in seconds, and the remaining\ncolumn(s) are the table values.\nAny number of columns can be specified.\nThe parameter smoothness determines how the table values\nare interpolated. The following settings are allowed:\n

\n\n\n\n\n \n \n\n\n \n \n\n
smoothnessDescription
CDL.Types.LinearSegmentsTable points are linearly interpolated.
CDL.Types.ConstantSegmentsTable points are not interpolated,\n but the previous tabulated value is returned.
\n\n

\nThe parameter extrapolation determines how the table\nvalues are extrapolated. The following settings are allowed:\n

\n\n\n\n\n \n \n\n\n \n \n\n\n \n \n\n
extrapolationDescription
CDL.Types.HoldLastPointHold the first or last table point outside of the table scope.
CDL.Types.LastTwoPointsExtrapolate by using the derivative at the first or last table points\n outside of the table scope.
CDL.Types.PeriodicRepeat the table scope periodically with periodicity\n (max(table[:, 1]-min(table[:, 1]))*timeScale).
\n\n

\nIf extrapolation === CDL.Types.Periodic, then the above example\nwould give a schedule with periodicity of one day. The simulation can start at any time,\nwhether it is a multiple of a day or not, and positive or negative.\n

\n\n

\nThe value of the parameter offset is added to the tabulated\nvalues.\nThe parameters timeScale is used to scale the first column\nof the table. For example, set timeScale = 3600 if the first\ncolumn is in hour (because in CDL, the time unit is seconds).\n

\n

\nIf the table has only one row, no interpolation is performed and\nthe table values of this row are just returned.\n

\n

\nAn interval boundary is defined by two identical time values\nfollowing each other. For example\n

\n
\n   table = [0, 0;\n            1, 0;\n            1, 1;\n            2, 3;\n            3, 5;\n            3, 2;\n            4, 4;\n            5, 5];\n
\n

\ndefines three intervalls: 0..1, 1..3, 3..5. Within an interval the defined\ninterpolation method is applied (so the table outputs within an interval are\ncontinuous if smoothness = CDL.Types.LinearSegments).\n

\n

\nExample:\n

\n
\n  table = [0, 0;\n           1, 0;\n           1, 1;\n           2, 4;\n           3, 9;\n           4, 16];\n  smoothness = CDL.Types.LinearSegments;\n\nIf, e.g., time = 1.0, the output y =  0.0 (before event), 1.0 (after event)\n    e.g., time = 1.5, the output y =  2.5,\n    e.g., time = 2.0, the output y =  4.0,\n    e.g., time = 5.0, the output y = 23.0 (i.e., extrapolation via last 2 points).\n
\n

Implementation

\n

\nFor simulation,\nno time events are generated within an interval\nin order that also intervals with many points do not reduce the simulation efficiency.\nIf the table points are largely changing, it is adviseable to force\ntime events by duplicating every time point (especially, if the model in which\nthe table is present allows the variable step integrator to make large\nintegrator steps). For example, if a sawtooth signal is defined with the table,\nit is more reliable to define the table as:\n

\n
\n   table = [0, 0;\n            1, 2;\n            1, 2;\n            2, 0;\n            2, 0;\n            3, 2;\n            3, 2];\n
\n

\ninstead of\n

\n
\n   table = [0, 0;\n            1, 2;\n            2, 0;\n            3, 2];\n
\n

\nbecause time events are then generated at every time point.\n

\n

\nBuilding automation systems typically have discrete time semantics\nwith fixed sampling times, and no notion of superdense time (in which\na tabulated value can change without advancing time).\nTherefore, to implement a table with two equal time stamps,\na CDL translator may parameterize\na table in the building automation in such a way that the step change happens\nat the time indicated in the first column, whereas previous sampling times\noutput the tabulated value at the last transition. For example,\n

\n
\ntable = [0, 0;\n         1, 0;\n         1, 1];\nsmoothness = CDL.Types.ConstantSegments;\n
\n

\nmay be converted such that a building automation system with a sampling time\nof 0.5 seconds outputs\n

\n
\n  t = 0, 0.5, 1, ...\n  y = 0, 0  , 1, ...\n
\n,revisions=\n\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale" } ], "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,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}})}", "S231:label": "TimeTable" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", "S231:accessSpecifier": "public", "S231:description": "Extrapolation of data outside the definition range", "S231:label": "extrapolation", "S231:value": "CDL.Types.Extrapolation.Periodic" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offsets of output signals as a vector with length equal to number of table matrix columns less one", @@ -8973,20 +8974,20 @@ "S231:value": "fill(0,nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", "S231:accessSpecifier": "public", "S231:description": "Smoothness of table interpolation", "S231:label": "smoothness", "S231:value": "CDL.Types.Smoothness.LinearSegments" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Table matrix (time = first column is time in seconds, unless timeScale <> 1)", @@ -8998,7 +8999,7 @@ "S231:numberDimensions": 2 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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", @@ -9012,7 +9013,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with tabulated values", @@ -9023,26 +9024,26 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs square root of the input y = sqrt(u),\nwhere u is an input. The input u must be non-negative.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.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(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),Line(points={{-80,-80},{-79.2,-68.7},{-78.4,-64},{-76.8,-57.3},{-73.6,-47.9},{-67.9,-36.1},{-59.1,-22.2},{-46.2,-6.49},{-28.5,10.7},{-4.42,30},{27.7,51.3},{69.5,74.7},{80,80}},smooth=Smooth.Bezier),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,-88},{-80,68}}),Text(textString=\"sqrt\",textColor={192,192,192},extent={{-8,-4},{64,-52}}),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": "Sqrt" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to square root function", @@ -9050,7 +9051,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with square root of the input", @@ -9058,25 +9059,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.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=\"-\",textColor={0,0,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.Reals.Subtract.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input with minuend", @@ -9084,7 +9085,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input with subtrahend", @@ -9092,7 +9093,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with difference", @@ -9100,28 +9101,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs one of two real 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", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u3" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u3" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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={0,0,127},points={{12,0},{100,0}}),Line(color={255,0,255},points={{-100,0},{-40,0}}),Line(color={0,0,127},points={{-100,-80},{-40,-80},{-40,-80}}),Line(color={255,0,255},points={{-40,12},{-40,-12}}),Line(color={0,0,127},points={{-100,80},{-40,80}}),Line(color={0,0,127},thickness=1,points={{10,0},{-40,80},{10,0},{-40,80},{-40,-80}}),Ellipse(extent={{2,-8},{18,8}},lineColor={0,0,255},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.Reals.Switch.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input u1", @@ -9129,7 +9130,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u2", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean switch input signal, if true, y=u1, else y=u3", @@ -9137,7 +9138,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u3", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u3", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input u3", @@ -9145,7 +9146,7 @@ "S231:label": "u3" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with u1 if u2 is true, else u3", @@ -9153,20 +9154,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = tan(u),\nwhere\nu is an input.\n

\n\n

\n\\tan.png\\\n

\n\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.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=\"tan\",textColor={192,192,192},extent={{-90,72},{-18,24}}),Line(color={192,192,192},points={{0,-80},{0,68}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-78.4,-68.4},{-76.8,-59.7},{-74.4,-50},{-71.2,-40.9},{-67.1,-33},{-60.7,-24.8},{-51.1,-17.2},{-35.8,-9.98},{-4.42,-1.07},{33.4,9.12},{49.4,16.2},{59.1,23.2},{65.5,30.6},{70.4,39.1},{73.6,47.4},{76,56.1},{77.6,63.8},{80,80}},smooth=Smooth.Bezier),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Tan" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the tangent function", @@ -9180,7 +9181,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Tangent of the input", @@ -9188,31 +9189,31 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued boolean input signal and transfer them\nto the vector-valued boolean output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and the elements\nof extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={255,0,255},points={{-73,4},{-59,40},{-49,40}}),Line(color={255,0,255},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={255,0,255},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={255,0,255},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={255,0,255},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{48,0},{70,0}}),Line(color={255,0,255},points={{47,30},{60,30},{73,3}}),Line(color={255,0,255},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "BooleanExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9226,7 +9227,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9237,7 +9238,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9248,7 +9249,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input signals", @@ -9259,7 +9260,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Boolean signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9270,28 +9271,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Boolean input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin" }, "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-80,50},{-40,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={255,0,255},points={{-63,4},{-49,40},{-39,40}}),Line(color={255,0,255},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={0,0,127},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={255,0,255},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={0,0,127},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{100,0},{0,0}}),Line(color={255,128,0},points={{0,2},{0,-104}}),Line(color={255,0,255},points={{-35,40},{-20,40}}),Line(color={255,0,255},points={{-35,13},{-20,13}}),Line(color={255,0,255},points={{-35,-13},{-20,-13}}),Line(color={255,0,255},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={255,0,255}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,128,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "BooleanExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9299,7 +9300,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9310,7 +9311,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input signals", @@ -9321,7 +9322,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Boolean signal extracted from input vector, u[index]", @@ -9329,23 +9330,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Boolean input signal to an array of nout\nidentical Boolean output signals.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-100,0},{-6,0}}),Line(color={255,0,255},points={{100,0},{10,0}}),Line(color={255,0,255},points={{0,0},{100,10}}),Line(color={255,0,255},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "BooleanScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9356,7 +9357,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9364,7 +9365,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9375,32 +9376,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n\n,info=\n

\nThis block filters a Boolean vector of size nin to\na vector of size nout given a Boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout" } ], "S231:icon": "coordinateSystem(preserveAspectRatio=false),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-102,0},{-60,0}}),Line(color={255,0,255},points={{70,0},{100,0}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid,lineThickness=0.5)}", "S231:label": "BooleanVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -9414,7 +9415,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9424,7 +9425,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -9434,7 +9435,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -9445,7 +9446,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -9456,28 +9457,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates a Boolean vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-100,0},{-6,0}}),Line(color={255,0,255},points={{100,0},{10,0}}),Line(color={255,0,255},points={{0,0},{100,10}}),Line(color={255,0,255},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={255,0,255},points={{-100,-10},{0,0}}),Line(color={255,0,255},points={{-100,10},{0,0}})}", "S231:label": "BooleanVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9488,7 +9489,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -9499,7 +9500,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9510,7 +9511,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9521,31 +9522,31 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued integer input signal and transfer them\nto the vector-valued integer output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and\nthe elements of extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={255,127,0},points={{-73,4},{-59,40},{-49,40}}),Line(color={255,127,0},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={255,127,0},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={255,127,0},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={255,127,0},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{48,0},{70,0}}),Line(color={255,127,0},points={{47,30},{60,30},{73,3}}),Line(color={255,127,0},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "IntegerExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9559,7 +9560,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9570,7 +9571,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9581,7 +9582,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Integer input signals", @@ -9592,7 +9593,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9603,28 +9604,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Integer input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin" }, "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),Rectangle(extent={{-80,50},{-40,-50}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={255,127,0},points={{-63,4},{-49,40},{-39,40}}),Line(color={255,127,0},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={255,127,0},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={255,127,0},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{100,0},{0,0}}),Line(color={255,127,0},points={{0,2},{0,-104}}),Line(color={255,127,0},points={{-35,40},{-20,40}}),Line(color={255,127,0},points={{-35,13},{-20,13}}),Line(color={255,127,0},points={{-35,-13},{-20,-13}}),Line(color={255,127,0},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={255,127,0}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,127,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "IntegerExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9632,7 +9633,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9643,7 +9644,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Integer input signals", @@ -9654,7 +9655,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer signal extracted from input vector, u[index]", @@ -9662,23 +9663,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Integer input signal to an array of nout\nidentical Integer output signals.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout" }, "S231:icon": "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,0},{-6,0}}),Line(color={255,127,0},points={{100,0},{10,0}}),Line(color={255,127,0},points={{0,0},{100,10}}),Line(color={255,127,0},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "IntegerScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9689,7 +9690,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9697,7 +9698,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9708,32 +9709,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n\n,info=\n

\nThis block filters a Integer vector of size nin to\na vector of size nout given a Boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout" } ], "S231:icon": "coordinateSystem(preserveAspectRatio=false),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}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid,lineThickness=0.5),Line(color={255,127,0},points={{-100,0},{-60,0}}),Line(color={255,127,0},points={{70,0},{100,0}})}", "S231:label": "IntegerVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -9747,7 +9748,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9757,7 +9758,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -9767,7 +9768,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -9778,7 +9779,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -9789,28 +9790,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates an Integer vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout" } ], "S231:icon": "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,0},{-6,0}}),Line(color={255,127,0},points={{100,0},{10,0}}),Line(color={255,127,0},points={{0,0},{100,10}}),Line(color={255,127,0},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={255,127,0},points={{-100,-10},{0,0}}),Line(color={255,127,0},points={{-100,10},{0,0}})}", "S231:label": "IntegerVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9821,7 +9822,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -9832,7 +9833,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9843,7 +9844,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9854,31 +9855,31 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued real input signal and transfer them\nto the vector-valued real output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and the elements\nof extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={0,0,127},points={{-73,4},{-59,40},{-49,40}}),Line(color={0,0,127},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={0,0,127},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={0,0,127},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={0,0,127},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{48,0},{70,0}}),Line(color={0,0,127},points={{47,30},{60,30},{73,3}}),Line(color={0,0,127},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "RealExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9892,7 +9893,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9903,7 +9904,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9914,7 +9915,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Real input signals", @@ -9925,7 +9926,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Real signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9936,28 +9937,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Real input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin" }, "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),Rectangle(extent={{-80,50},{-40,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={0,0,127},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={0,0,127},points={{-63,4},{-49,40},{-39,40}}),Line(color={0,0,127},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={0,0,127},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={0,0,127},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{100,0},{0,0}}),Line(color={255,128,0},points={{0,2},{0,-104}}),Line(color={0,0,127},points={{-35,40},{-20,40}}),Line(color={0,0,127},points={{-35,13},{-20,13}}),Line(color={0,0,127},points={{-35,-13},{-20,-13}}),Line(color={0,0,127},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={0,0,127}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,128,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "RealExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9965,7 +9966,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9976,7 +9977,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Real input signals", @@ -9987,7 +9988,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Real signal extracted from input vector, u[index]", @@ -9995,23 +9996,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Real input signal to an array of nout\nidentical Real output signals.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-6,0}}),Line(color={0,0,127},points={{100,0},{10,0}}),Line(color={0,0,127},points={{0,0},{100,10}}),Line(color={0,0,127},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "RealScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -10022,7 +10023,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -10030,7 +10031,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -10041,32 +10042,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n\n,info=\n

\nThis block filters a Real vector of size nin to\na vector of size nout given a boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout" } ], "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,110},{150,150}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid,lineThickness=0.5),Line(color={0,0,127},points={{-100,0},{-60,0}}),Line(color={0,0,127},points={{70,0},{100,0}})}", "S231:label": "RealVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -10080,7 +10081,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -10090,7 +10091,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -10100,7 +10101,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -10111,7 +10112,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -10122,28 +10123,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates an Real vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-6,0}}),Line(color={0,0,127},points={{100,0},{10,0}}),Line(color={0,0,127},points={{0,0},{100,10}}),Line(color={0,0,127},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={0,0,127},points={{-100,-10},{0,0}}),Line(color={0,0,127},points={{-100,10},{0,0}})}", "S231:label": "RealVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -10154,7 +10155,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -10165,7 +10166,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -10176,7 +10177,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -10187,419 +10188,419 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining the extrapolation of time table interpolation", "S231:label": "Extrapolation", "S231:value": "Extrapolation" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.HoldLastPoint", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.HoldLastPoint", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Hold the first/last table point outside of the table scope", "S231:label": "HoldLastPoint", "S231:value": "HoldLastPoint" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.LastTwoPoints", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.LastTwoPoints", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Extrapolate by using the derivative at the first/last table points outside of the table scope", "S231:label": "LastTwoPoints", "S231:value": "LastTwoPoints" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.Periodic", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.Periodic", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Repeat the table scope periodically", "S231:label": "Periodic", "S231:value": "Periodic" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", "S231:label": "SimpleController", "S231:value": "SimpleController" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.P", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.P", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "P controller", "S231:label": "P", "S231:value": "P" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PD", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PD", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PD controller", "S231:label": "PD", "S231:value": "PD" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PI", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PI", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PI controller", "S231:label": "PI", "S231:value": "PI" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PID", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PID", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PID controller", "S231:label": "PID", "S231:value": "PID" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining the smoothness of table interpolation", "S231:label": "Smoothness", "S231:value": "Smoothness" }, { - "@id": "http://data.ashrae.org/S231#Smoothness.ConstantSegments", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Smoothness.ConstantSegments", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "S231:description": "Table points are not interpolated, but the previous tabulated value is returned", "S231:label": "ConstantSegments", "S231:value": "ConstantSegments" }, { - "@id": "http://data.ashrae.org/S231#Smoothness.LinearSegments", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Smoothness.LinearSegments", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "S231:description": "Table points are linearly interpolated", "S231:label": "LinearSegments", "S231:value": "LinearSegments" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "@type": "S231:EnumerationType", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.Custom", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.Custom", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "User specified local time", "S231:label": "Custom", "S231:value": "Custom" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2010", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2010", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2010, 00:00:00 local time", "S231:label": "NY2010", "S231:value": "NY2010" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2011", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2011", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2011, 00:00:00 local time", "S231:label": "NY2011", "S231:value": "NY2011" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2012", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2012", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2012, 00:00:00 local time", "S231:label": "NY2012", "S231:value": "NY2012" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2013", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2013", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2013, 00:00:00 local time", "S231:label": "NY2013", "S231:value": "NY2013" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2014", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2014", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2014, 00:00:00 local time", "S231:label": "NY2014", "S231:value": "NY2014" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2015", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2015", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2015, 00:00:00 local time", "S231:label": "NY2015", "S231:value": "NY2015" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2016", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2016", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2016, 00:00:00 local time", "S231:label": "NY2016", "S231:value": "NY2016" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2017", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2017", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2017, 00:00:00 local time", "S231:label": "NY2017", "S231:value": "NY2017" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2018", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2018", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2018, 00:00:00 local time", "S231:label": "NY2018", "S231:value": "NY2018" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2019", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2019", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2019, 00:00:00 local time", "S231:label": "NY2019", "S231:value": "NY2019" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2020", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2020", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2020, 00:00:00 local time", "S231:label": "NY2020", "S231:value": "NY2020" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2021", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2021", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2021, 00:00:00 local time", "S231:label": "NY2021", "S231:value": "NY2021" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2022", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2022", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2022, 00:00:00 local time", "S231:label": "NY2022", "S231:value": "NY2022" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2023", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2023", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2023, 00:00:00 local time", "S231:label": "NY2023", "S231:value": "NY2023" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2024", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2024", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2024, 00:00:00 local time", "S231:label": "NY2024", "S231:value": "NY2024" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2025", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2025", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2025, 00:00:00 local time", "S231:label": "NY2025", "S231:value": "NY2025" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2026", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2026", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2026, 00:00:00 local time", "S231:label": "NY2026", "S231:value": "NY2026" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2027", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2027", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2027, 00:00:00 local time", "S231:label": "NY2027", "S231:value": "NY2027" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2028", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2028", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2028, 00:00:00 local time", "S231:label": "NY2028", "S231:value": "NY2028" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2029", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2029", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2029, 00:00:00 local time", "S231:label": "NY2029", "S231:value": "NY2029" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2030", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2030", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2030, 00:00:00 local time", "S231:label": "NY2030", "S231:value": "NY2030" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2031", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2031", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2031, 00:00:00 local time", "S231:label": "NY2031", "S231:value": "NY2031" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2032", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2032", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2032, 00:00:00 local time", "S231:label": "NY2032", "S231:value": "NY2032" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2033", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2033", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2033, 00:00:00 local time", "S231:label": "NY2033", "S231:value": "NY2033" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2034", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2034", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2034, 00:00:00 local time", "S231:label": "NY2034", "S231:value": "NY2034" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2035", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2035", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2035, 00:00:00 local time", "S231:label": "NY2035", "S231:value": "NY2035" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2036", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2036", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2036, 00:00:00 local time", "S231:label": "NY2036", "S231:value": "NY2036" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2037", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2037", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2037, 00:00:00 local time", "S231:label": "NY2037", "S231:value": "NY2037" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2038", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2038", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2038, 00:00:00 local time", "S231:label": "NY2038", "S231:value": "NY2038" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2039", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2039", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2039, 00:00:00 local time", "S231:label": "NY2039", "S231:value": "NY2039" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2040", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2040", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2040, 00:00:00 local time", "S231:label": "NY2040", "S231:value": "NY2040" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2041", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2041", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2041, 00:00:00 local time", "S231:label": "NY2041", "S231:value": "NY2041" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2042", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2042", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2042, 00:00:00 local time", "S231:label": "NY2042", "S231:value": "NY2042" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2043", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2043", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2043, 00:00:00 local time", "S231:label": "NY2043", "S231:value": "NY2043" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2044", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2044", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2044, 00:00:00 local time", "S231:label": "NY2044", "S231:value": "NY2044" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2045", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2045", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2045, 00:00:00 local time", "S231:label": "NY2045", "S231:value": "NY2045" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2046", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2046", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2046, 00:00:00 local time", "S231:label": "NY2046", "S231:value": "NY2046" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2047", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2047", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2047, 00:00:00 local time", "S231:label": "NY2047", "S231:value": "NY2047" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2048", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2048", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2048, 00:00:00 local time", "S231:label": "NY2048", "S231:value": "NY2048" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2049", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2049", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2049, 00:00:00 local time", "S231:label": "NY2049", "S231:value": "NY2049" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2050", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2050", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2050, 00:00:00 local time", "S231:label": "NY2050", "S231:value": "NY2050" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.UnixTimeStamp", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.UnixTimeStamp", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "Thu, 01 Jan 1970 00:00:00 local time", "S231:label": "UnixTimeStamp", "S231:value": "UnixTimeStamp" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.UnixTimeStampGMT", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.UnixTimeStampGMT", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "Thu, 01 Jan 1970 00:00:00 GMT", "S231:label": "UnixTimeStampGMT", "S231:value": "UnixTimeStampGMT" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that writes a warning if the input becomes false.\n

\n

\nTools or control systems are expected to write message together\nwith a time stamp to an output device and/or a log file.\n

\n,revisions=\n\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.u" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.message" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.message" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{0,80},{-80,-60},{80,-60},{0,80}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,160},{100,106}}),Polygon(points={{0,72},{-72,-56},{72,-56},{0,72}},lineColor={0,0,0},fillColor={255,255,170},fillPattern=FillPattern.Solid),Rectangle(extent={{-4,38},{2,-24}},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{-6,-32},{4,-42}},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:label": "Assert" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.message", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.message", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Message written when u becomes false", @@ -10609,7 +10610,7 @@ "S231:label": "message" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input that triggers assert when it becomes false", @@ -10617,29 +10618,29 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block outputs the next sunrise and sunset time.\nThe sunrise time keeps constant until the model time reaches the next sunrise,\nat which time the output gets updated.\nSimilarly, the output for the next sunset is updated at each sunset.\n

\n

\nThe time zone parameter is based on UTC time; for instance, Eastern Standard Time is -5h.\nNote that daylight savings time is not considered in this component.\n

\n

Validation

\n

\nA validation can be found at\n\nBuildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.\n

\n,revisions=\n\n", "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon" } ], "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={{-100,160},{100,106}}),Ellipse(startAngle=0,endAngle=180,extent={{70,-100},{-70,20}},lineColor={238,46,47}),Line(color={28,108,200},thickness=0.5,points={{-94,-40},{92,-40},{92,-40}}),Line(color={238,46,47},points={{0,60},{0,32}}),Line(color={238,46,47},points={{60,40},{40,20}}),Line(color={238,46,47},points={{94,-6},{70,-6}}),Line(color={238,46,47},points={{10,10},{-10,-10}}),Line(color={238,46,47},points={{-70,-6},{-94,-6}})}", @@ -10651,7 +10652,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Latitude", @@ -10670,7 +10671,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Longitude", @@ -10689,7 +10690,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Time of next sunrise", @@ -10706,7 +10707,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Time of next sunset", @@ -10723,7 +10724,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with true if the sun is up", @@ -10731,7 +10732,7 @@ "S231:label": "sunUp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time zone", diff --git a/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld b/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld index c755e623..1efb98e4 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld @@ -3,272 +3,273 @@ "S231": "http://data.ashrae.org/S231#", "qudt": "http://qudt.org/schema/qudt#", "unit": "http://qudt.org/vocab/unit#", - "q": "http://qudt.org/vocab/quantitykind#" + "q": "http://qudt.org/vocab/quantitykind#", + "ex": "http://example.org#" }, "@graph": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil", "@type": "S231:Block", "S231:containsBlock": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch" } ], "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "info=\n

\nThis block outputs the cooling coil control signal if the fan is on and the zone is\nin cooling status (see\n\nBuildings.Controls.OBC.ASHRAE.G36.Types.ZoneStates).\nOtherwise, the control signal for the coil is set to 0.\nThe implementation is according to the Section 5.18.5.3 of ASHRAE Guideline 36, May 2020.\n

\n,revisions=\n\n", "S231:hasInput": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.uZonSta" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.uZonSta" } ], "S231:hasOutput": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi" }, "S231:hasParameter": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.controllerTypeCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.controllerTypeCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.kCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.kCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TdCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TdCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TiCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TiCooCoi" } ], "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}})}", "S231:label": "CoolingCoil" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Logical.And", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2", + "@type": "ex:Buildings.Controls.OBC.CDL.Logical.And", "S231:accessSpecifier": "protected", "S231:description": "Conditions for cooling state", "S231:graphics": "Placement(transformation(extent={{0,-10},{20,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.y" } ], "S231:label": "and2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u2", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset", "S231:accessSpecifier": "public", "S231:description": "Cooling coil control signal", "S231:graphics": "Placement(transformation(extent={{-10,70},{10,90}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.controllerType" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.controllerType" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.k" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.reverseActing" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.reverseActing" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Td" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Td" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Ti" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Ti" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.trigger" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.trigger" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_m" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_m" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_s" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_s" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.y" } ], "S231:label": "conCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.controllerType", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.controllerType", "S231:isFinal": true, "S231:value": "controllerTypeCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.k", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.k", "S231:isFinal": true, "S231:value": "kCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.reverseActing", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.reverseActing", "S231:isFinal": true, "S231:value": false }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Td", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Td", "S231:isFinal": true, "S231:value": "TdCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Ti", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.Ti", "S231:isFinal": true, "S231:value": "TiCooCoi" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.trigger", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.trigger", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_m", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_m", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_s", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.u_s", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conCoi.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Sources.Constant", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt", + "@type": "ex:Buildings.Controls.OBC.CDL.Integers.Sources.Constant", "S231:accessSpecifier": "protected", "S231:description": "Cooling state value", "S231:graphics": "Placement(transformation(extent={{-80,-10},{-60,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.k" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.y" } ], "S231:label": "conInt" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.k", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.k", "S231:isFinal": true, "S231:value": "Buildings.Controls.OBC.ASHRAE.G36.Types.ZoneStates.cooling" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.conInt.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Constant", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Constant", "S231:accessSpecifier": "protected", "S231:description": "Cooling off mode", "S231:graphics": "Placement(transformation(extent={{20,-50},{40,-30}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.k" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.y" } ], "S231:label": "const" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.k", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.k", "S231:value": 0 }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.const.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u3" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u3" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.controllerTypeCooCoi", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.controllerTypeCooCoi", "S231:accessSpecifier": "public", "S231:description": "Type of controller", "S231:label": "controllerTypeCooCoi", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Integers.Equal", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu", + "@type": "ex:Buildings.Controls.OBC.CDL.Integers.Equal", "S231:accessSpecifier": "protected", "S231:description": "Logical block to check if zone is in cooling state", "S231:graphics": "Placement(transformation(extent={{-40,-10},{-20,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.y" } ], "S231:label": "intEqu" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.and2.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.kCooCoi", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.kCooCoi", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain for cooling coil control loop signal", @@ -285,35 +286,35 @@ } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Switch", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Switch", "S231:accessSpecifier": "protected", "S231:description": "Switch to assign cooling coil control signal", "S231:graphics": "Placement(transformation(extent={{72,-10},{92,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u1" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u3" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.u3" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.y" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.y" } ], "S231:label": "switch" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.y", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.switch.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TAirSup", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Supply air temperature measurement", @@ -330,7 +331,7 @@ } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TdCooCoi", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TdCooCoi", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of derivative block for cooling coil control loop signal", @@ -347,7 +348,7 @@ } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TiCooCoi", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TiCooCoi", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of integrator block for cooling coil control loop signal", @@ -361,7 +362,7 @@ } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.TSupCooSet", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Cooling supply air temperature setpoint", @@ -378,7 +379,7 @@ } }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.u1SupFan", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Supply fan proven on", @@ -386,18 +387,18 @@ "S231:label": "u1SupFan" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.uZonSta", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.uZonSta", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Zone state", "S231:graphics": "Placement(transformation(extent={{-140,-40},{-100,0}})),iconTransformation(extent={{-140,-60},{-100,-20}})))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u2" + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.intEqu.u2" }, "S231:label": "uZonSta" }, { - "@id": "http://example.org#Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi", + "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.yCooCoi", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Cooling coil valve commanded position", diff --git a/test/reference/cxf/CXF-Core.jsonld b/test/reference/cxf/CXF-Core.jsonld index b5d8af7f..05a32fd4 100644 --- a/test/reference/cxf/CXF-Core.jsonld +++ b/test/reference/cxf/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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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,revisions=\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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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", "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\\IntegerConstant.png\\\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\\Pulse.png\\\n

\n

\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n

\n,revisions=\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", "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", "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", "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", "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", "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", "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", "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", "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\\Latch.png\\\n

\n\n,revisions=\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", "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", "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", "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", "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", "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", "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

\n

Detailed 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
  1. \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
  2. \n
  3. \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
  4. \n
  5. \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
  6. \n
\n,revisions=\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\\Constant.png\\\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\\BooleanPulse.png\\\n

\n

\nThe pulse signal is generated an infinite number of times, and aligned with time=shift.\n

\n,revisions=\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\\SampleTrigger.png\\\n

\n

\nThe trigger signal is generated an infinite number of times, and aligned with time=delay.\n

\n,revisions=\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", "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", "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", "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", "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

\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\\Toggle.png\\\n

\n\n,revisions=\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\\OnDelay1.png\\\n
\n\\OnDelay2.png\\\n

\n\n,revisions=\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", "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

\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\\VariablePulse.png\\\n

\n,revisions=\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", "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", "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", "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

\n

References

\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", "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", "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\\acos.png\\\n

\n,revisions=\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", "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", "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\\asin.png\\\n

\n,revisions=\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\\atan.png\\\n

\n,revisions=\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\\atan2.png\\\n

\n\n,revisions=\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", "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\\cos.png\\\n

\n\n,revisions=\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", "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\\exp.png\\\n

\n\n,revisions=\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

\n

Usage

\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", "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

\n

Usage

\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", "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

\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\\Hysteresis.png\\\n

\n,revisions=\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,revisions=\n
    \n
  • \nJune 8, 2023, by Michael Wetter:
    \nUpdated documentation.\n
  • \n
  • \nFebruary 2, 2022, by Michael Wetter:
    \nRemoved unit=\\1\\ declaration for gain k.\nThis is to avoid the warning observed in\nBuildings, issue 2872.\n
  • \n
  • \nOctober 21, 2021, by Michael Wetter:
    \nRemoved errorneous visible attribute in icon.\n
  • \n
  • \nAugust 3, 2020, by Jianjun:
    \nFixed the input y_reset_in.\n
    \nThis is for\nBuildings, issue 2056.\n
  • \n
  • \nApril 21, 2020, by Michael Wetter:
    \nRemoved parameter initType.\n
    \nThis is for\nBuildings, issue 1887.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nNovember 6, 2017, by Michael Wetter:
    \nExplicitly declared types from CDL.\n
  • \n
  • \nMarch 23, 2017, by Jianjun Hu:
    \nFirst implementation, based on the implementation of\n\nBuildings.Utilities.Math.IntegratorWithReset.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start" } ], "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=\"y_reset_in\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-88,-94},{212,-54}}),Bitmap(fileName=\"modelica://Buildings/Resources/Images/Controls/OBC/CDL/Reals/int.png\",extent={{-54,-50},{60,50}}),Text(textString=\"k=%k\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-88,56},{206,92}}),Text(textString=\"u\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{-92,-12},{208,28}}),Text(textString=\"y\",textColor={0,0,0},horizontalAlignment=TextAlignment.Left,extent={{70,-14},{370,26}}),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": "IntegratorWithReset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Integrator gain", @@ -5226,7 +5227,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.trigger", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input that resets the integrator output when it becomes true", @@ -5234,7 +5235,7 @@ "S231:label": "trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be integrated", @@ -5242,7 +5243,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Value of the integrator", @@ -5250,7 +5251,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_reset_in", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal for state to which integrator is reset", @@ -5258,7 +5259,7 @@ "S231:label": "y_reset_in" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset.y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial or guess value of output (= state)", @@ -5269,26 +5270,26 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs true if the Real input u1\nis less 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

\n

Usage

\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.Less.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.h" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.h" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start" } ], "S231:icon": [ @@ -5303,7 +5304,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.h", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.h", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Hysteresis", @@ -5315,35 +5316,35 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.lesHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.lesHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.pre_y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value of pre(y) at initial time", @@ -5354,39 +5355,39 @@ "S231:value": false }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.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.Less.lesHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u1" } ], "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.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.Less.lesHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.u2" } ], "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Outputs true if u1 is less than u2", @@ -5394,36 +5395,36 @@ "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Less.lesNoHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Less.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Less.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs true if the Real input u\nis less 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

Usage

\n

\nEnabling hysteresis can avoid frequent switching.\nAdding hysteresis is recommended in real controllers to guard against sensor noise, and\nin simulation to guard against numerical noise. Numerical noise can be present if\nan input depends on a state variable or a quantity that requires an iterative solution, such as\na temperature or a mass flow rate of an HVAC system.\nTo disable hysteresis, set h=0.\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.LessThreshold.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.h" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.h" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.t" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.t" } ], "S231:icon": [ @@ -5438,7 +5439,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.h", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.h", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Hysteresis", @@ -5450,29 +5451,29 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.pre_y_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value of pre(y) at initial time", @@ -5483,7 +5484,7 @@ "S231:value": false }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.t", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.t", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Threshold for comparison", @@ -5494,23 +5495,23 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.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.LessThreshold.lesHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.u" } ], "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Outputs true if u is less than the threshold with hysteresis", @@ -5518,46 +5519,46 @@ "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.LessThreshold.lesNoHys.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LessThreshold.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThe block limits the rate of change of the input by a ramp.\n

\n

\nThis block computes a threshold for the rate of change of the output y as\nthr = (u-y)/Td, where Td > 0 is parameter.\nThe output y is computed as follows:\n

    \n
  • \nIf thr < fallingSlewRate, then dy/dt = fallingSlewRate,\n
  • \n
  • \nif thr > raisingSlewRate, then dy/dt = raisingSlewRate,\n
  • \n
  • \notherwise, dy/dt = thr.\n
  • \n
\n

Implementation

\n

\nFor the block to work with arbitrary inputs and in order to produce a differentiable output,\nthe input is numerically differentiated with derivative time constant Td.\nSmaller time constant Td means nearer ideal derivative.\n

\n,revisions=\n
    \n
  • \nJanuary 27, 2022, by Jianjun Hu:
    \nRenamed the block name from SlewRateLimiter to LimitSlewRate.
    \nThis is for Buildings, issue 2865.\n
  • \n
  • \nNovember 12, 2020, by Michael Wetter:
    \nReformulated to remove dependency to Modelica.Units.SI.
    \nThis is for\nBuildings, issue 2243.\n
  • \n
  • \nApril 21, 2020, by Michael Wetter:
    \nRemoved final attribute on unit because if the input quantity is power,\nthen the rate limit is units of power per units of time.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 29, 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.LimitSlewRate.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td" } ], "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),Line(color={192,192,192},points={{0,-90},{0,68}}),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={{-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=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(points={{-50,-70},{50,70}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "LimitSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.enable", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to false to disable rate limiter", @@ -5568,7 +5569,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.fallingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Speed with which to decrease the output", @@ -5583,7 +5584,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.raisingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Speed with which to increase the output", @@ -5597,7 +5598,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Derivative time constant", @@ -5615,7 +5616,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be rate of change limited", @@ -5623,7 +5624,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.LimitSlewRate.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Rate of change limited output signal", @@ -5631,28 +5632,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = min(uMax, max(uMin, u)),\nwhere\nu is an input\nand\nuMax and uMin are parameters.\n

\n

\nIf uMax < uMin, an error occurs.\n

\n,revisions=\n
    \n
  • \nFebruary 15, 2024, by Michael Wetter:
    \nUpdated documentation.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nJuly 17, 2017, by Michael Wetter:
    \nRemoved cyclical definition.\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.Limiter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMin" } ], "S231:icon": "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),Line(color={192,192,192},points={{0,-90},{0,68}}),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={{-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,-70},{-50,-70},{50,70},{80,70}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(points={{50,70},{80,70}}),Line(points={{-80,-70},{-50,-70}}),Text(textString=\"%uMax\",textColor={0,0,0},extent={{12,72},{94,98}}),Text(textString=\"%uMin\",textColor={0,0,0},extent={{-100,-98},{-18,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Limiter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be limited", @@ -5660,7 +5661,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of input signal", @@ -5670,7 +5671,7 @@ "S231:label": "uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.uMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of input signal", @@ -5680,7 +5681,7 @@ "S231:label": "uMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Limiter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Limiter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Limited value of input signal", @@ -5688,42 +5689,42 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = a + b u,\nwhere\nu is an input\nand the coefficients a and b\nare determined so that the line intercepts the two input points\nspecified by the two points x1 and f1,\nand x2 and f2.\n

\n

\nThe parameters limitBelow and limitAbove\ndetermine whether x1 and x2 are also used\nto limit the input u.\n

\n

\nIf the limits are used, then this block requires x1 < x2.\n

\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 25, 2018, by Michael Wetter:
    \nImproved documentation, icon and added warning if the limits are used and\nx1 > x2.
    \nThis is for Buildings, issue 1155.\n
  • \n
  • \nJanuary 11, 2017, by Michael Wetter:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitAbove" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitAbove" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitBelow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitBelow" } ], "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}}),Polygon(points={{92,-78},{70,-70},{70,-86},{92,-78}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={0,0,0},thickness=0.5,points={{-46,40},{50,-44}}),Line(color={192,192,192},points={{-80,-80},{-80,72}}),Polygon(points={{-80,92},{-88,70},{-72,70},{-80,92}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-88,-78},{76,-78}}),Line(color={28,108,200},points={{-100,80},{-64,80}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-64,80},{-62,-78}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,40},{-88,40}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-88,40},{-48,40}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,-40},{48,-36}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{48,-36},{50,-78}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,-80},{-38,-56}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-38,-56},{48,-44}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-100,0},{-62,0}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{-62,0},{8,-8}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{10,-8},{52,-8}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Line(color={28,108,200},points={{52,-8},{100,0}},smooth=Smooth.Bezier,pattern=LinePattern.Dot),Ellipse(extent={{44,-38},{56,-50}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{2,-2},{14,-14}},lineColor={0,0,0},fillColor={0,0,127},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Line(color={0,0,0},thickness=0.5,points={{50,-44},{80,-70}},visible=not limitAbove),Line(color={238,46,47},thickness=0.5,points={{52,-44},{86,-44}},visible=limitAbove),Line(color={0,0,0},thickness=0.5,points={{-80,68},{-46,40}},visible=not limitBelow),Line(color={238,46,47},thickness=0.5,points={{-80,40},{-46,40}},visible=limitBelow),Ellipse(extent={{-52,46},{-40,34}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Line" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point f(x1)", @@ -5731,7 +5732,7 @@ "S231:label": "f1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.f2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.f2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point f(x2)", @@ -5739,7 +5740,7 @@ "S231:label": "f2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitAbove", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitAbove", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, limit input u to be no larger than x2", @@ -5750,7 +5751,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.limitBelow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.limitBelow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, limit input u to be no smaller than x1", @@ -5761,7 +5762,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for independent variable", @@ -5769,7 +5770,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point x1, with x1 < x2", @@ -5777,7 +5778,7 @@ "S231:label": "x1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.x2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.x2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for support point x2, with x2 > x1", @@ -5785,7 +5786,7 @@ "S231:label": "x2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Line.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Line.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with f(x) along the line specified by (x1, f1) and (x2, f2)", @@ -5793,20 +5794,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = log(u),\nwhere\nu is an input and log() is the\nnatural logarithm (base-e) function.\n

\n\n

\nAn error occurs if the input u is\nzero or negative.\n

\n\n

\n\\log.png\\\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.Log.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.y" }, "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={192,192,192},points={{-80,-80},{-80,68}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-79.2,-50.6},{-78.4,-37},{-77.6,-28},{-76.8,-21.3},{-75.2,-11.4},{-72.8,-1.31},{-69.5,8.08},{-64.7,17.9},{-57.5,28},{-47,38.1},{-31.8,48.1},{-10.1,58},{22.1,68},{68.7,78.1},{80,80}}),Text(textString=\"log\",textColor={192,192,192},extent={{-6,-24},{66,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Log" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for base e logarithm", @@ -5814,7 +5815,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Base e logarithm of the input", @@ -5822,20 +5823,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = log10(u),\nwhere\nu is an input and log10() is the\nlogarithm (base-10) function.\n

\n\n

\nAn error occurs if the input u is\nzero or negative.\n

\n\n

\n\\log10.png\\\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.Log10.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.y" }, "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={192,192,192},points={{-80,-80},{-80,68}}),Polygon(points={{-80,90},{-88,68},{-72,68},{-80,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-79.2,-50.6},{-78.4,-37},{-77.6,-28},{-76.8,-21.3},{-75.2,-11.4},{-72.8,-1.31},{-69.5,8.08},{-64.7,17.9},{-57.5,28},{-47,38.1},{-31.8,48.1},{-10.1,58},{22.1,68},{68.7,78.1},{80,80}}),Text(textString=\"log10\",textColor={192,192,192},extent={{-6,-24},{66,-72}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Log10" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for base 10 logarithm", @@ -5843,7 +5844,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Log10.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Log10.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Base 10 logarithm of the input", @@ -5851,24 +5852,24 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"[ ]\",textColor={0,0,0},extent={{-50,-30},{20,38}}),Text(textString=\"*\",textColor={0,0,0},extent={{8,-30},{80,10}})}", "S231:documentation": "info=\n

\nThis blocks computes output vector y as the product of the\ngain matrix K with the input signal vector u as\ny = K u.\nFor example,\n

\n
\n   parameter Real K[:,:] = [0.12, 2; 3, 1.5];\n
\n

\nresults in\n

\n
\n     | y[1] |     | 0.12,  2.00 |   | u[1] |\n     |      |  =  |            | * |      |\n     | y[2] |     | 3.00,  1.50 |   | u[2] |\n
\n\n,revisions=\n
    \n
  • \nFebruary 15, 2024, by Michael Wetter:
    \nUpdated documentation to have valid syntax.\n
  • \n
  • \nFebruary 11, 2019, by Milica Grahovac:
    \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.MatrixGain.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.K" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.K" }, "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,150},{150,110}}),Text(textString=\"[ ]\",textColor={0,0,0},extent={{-50,-30},{20,38}}),Text(textString=\"*\",textColor={0,0,0},extent={{8,-30},{80,10}})}", "S231:label": "MatrixGain" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.K", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.K", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain matrix which is multiplied with the input", @@ -5881,7 +5882,7 @@ "S231:value": "[1,0;0,1]" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied with the gain matrix", @@ -5892,7 +5893,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixGain.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixGain.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of gain matrix times the input", @@ -5903,32 +5904,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true)", "S231:documentation": "info=\n

\nIf rowMax = true, this block outputs the row-wise maximum\nof the input matrix u,\notherwise it outputs the column-wise maximum of the input matrix u.\n

\n,revisions=\n
    \n
  • \nMay 17, 2019, by Milica Grahovac:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax" } ], "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,150},{150,110}}),Text(textString=\"[ ] max()\",textColor={0,0,0},extent={{-78,-62},{86,68}})}", "S231:label": "MatrixMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nCol", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of columns in input matrix", @@ -5939,7 +5940,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.nRow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of rows in input matrix", @@ -5950,7 +5951,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.rowMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, outputs row-wise maximum, otherwise column-wise", @@ -5961,7 +5962,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the matrix max function", @@ -5972,7 +5973,7 @@ "S231:sizeOfDimensions": "(nRow,nCol)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMax.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMax.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with vector of row- or colum-wise maximum of the input matrix", @@ -5982,32 +5983,32 @@ "S231:sizeOfDimensions": " if rowMax then size(u,1) else size(u,2)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true)", "S231:documentation": "info=\n

\nIf rowMin = true, this block outputs the row-wise minimum\nof the input matrix u,\notherwise it outputs the column-wise minimum of the input matrix u.\n

\n,revisions=\n
    \n
  • \nMay 17, 2019, by Milica Grahovac:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin" } ], "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,150},{150,110}}),Text(textString=\"[ ] min()\",textColor={0,0,0},extent={{-78,-62},{86,68}})}", "S231:label": "MatrixMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nCol", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of columns in input matrix", @@ -6018,7 +6019,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.nRow", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of rows in input matrix", @@ -6029,7 +6030,7 @@ "S231:min": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.rowMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "If true, outputs row-wise minimum, otherwise column-wise", @@ -6040,7 +6041,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the matrix min function", @@ -6051,7 +6052,7 @@ "S231:sizeOfDimensions": "(nRow,nCol)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MatrixMin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MatrixMin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with vector of row- or colum-wise minimum of the input matrix", @@ -6061,25 +6062,25 @@ "S231:sizeOfDimensions": " if rowMin then size(u,1) else size(u,2)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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
  • \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.Max.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.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,150},{150,110}}),Text(textString=\"max()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Max" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the max function", @@ -6087,7 +6088,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the max function", @@ -6095,7 +6096,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Max.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Max.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Maximum of the inputs", @@ -6103,25 +6104,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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
  • \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.Min.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.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,150},{150,110}}),Text(textString=\"min()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Min" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6129,7 +6130,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6137,7 +6138,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Min.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Min.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Minimum of the inputs", @@ -6145,25 +6146,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = mod(u1/u2),\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.Modulo.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.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,-48},{50,52}},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=\"mod\",textColor={192,192,192},extent={{-32,-52},{40,-100}}),Line(color={0,0,0},points={{-8,16}}),Line(color={0,0,0},thickness=1,points={{-100,60}}),Line(color={0,0,127},points={{-100,60},{-28,60},{-12,50}}),Line(color={0,0,127},points={{-100,-60},{-26,-60},{-2,-48}}),Line(color={0,0,127},points={{50,2},{102,2},{100,2}}),Ellipse(extent={{11,-18},{21,-8}},fillPattern=FillPattern.Solid),Line(points={{-24,-20},{26,24}}),Ellipse(extent={{-21,12},{-11,22}},fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Modulo" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Dividend of the modulus function", @@ -6171,7 +6172,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Divisor of the modulus function", @@ -6179,7 +6180,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Modulo.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Modulo.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Modulus u1 mod u2", @@ -6187,23 +6188,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block outputs the mean value of its input signal as\n

\n
\n      1  t\ny =   -  ∫   u(s) ds\n      δ  t-δ\n
\n

\nwhere δ is a parameter that determines the time window over\nwhich the input is averaged.\nFor\n t < δ seconds, it outputs\n

\n
\n           1      t\ny =   --------    ∫   u(s) ds\n      t-t0+10-10   t0\n
\n

\nwhere t0 is the initial time.\n

\n

\nThis block can for example be used to output the moving\naverage of a noisy measurement signal.\n

\n

\nSee\n\nBuildings.Controls.OBC.CDL.Reals.Validation.MovingAverage\nand\n\nBuildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart\nfor example.\n

\n,revisions=\n
    \n
  • \nJanuary 27, 2022, by Jianjun Hu:
    \nRenamed the block name from MovingMean to MovingAverage.
    \nThis is for Buildings, issue 2865.\n
  • \n
  • \nNovember 12, 2020, by Michael Wetter:
    \nReformulated to remove dependency to Modelica.Units.SI.
    \nThis is for\nBuildings, issue 2243.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nOctober 24, 2017, by Michael Wetter:
    \nSet initial condition for mu.\n
  • \n
  • \nOctober 17, 2017, by Michael Wetter:
    \nReformulated implementation to avoid direct feedthrough.\n
  • \n
  • \nOctober 16, 2017, by Michael Wetter:
    \nReformulated implementation to handle division by zero as the previous\nimplementation caused division by zero in the VAV reheat model with the Radau solver.\n
  • \n
  • \nSeptember 27, 2017, by Thierry S. Nouidui:
    \nReformulated implementation to handle division by zero.\nThis is for\nBuildings, issue 978.\n
  • \n
  • \nSeptember 15, 2017, by Thierry S. Nouidui:
    \nReformulated implementation to avoid state events.\n
  • \n
  • \nJuly 5, 2017, by Michael Wetter:
    \nRevised implementation to allow non-zero start time.\n
  • \n
  • \nJune 29, 2017, by Jianjun Hu:
    \nFirst implementation. This is for\nBuildings, issue 825.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-78,90},{-86,68},{-70,68},{-78,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-78,68},{-78,-80}}),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={215,215,215},points={{-78,-31},{-64,-31},{-64,-15},{-56,-15},{-56,-63},{-48,-63},{-48,-41},{-40,-41},{-40,43},{-32,43},{-32,11},{-32,11},{-32,-49},{-22,-49},{-22,-31},{-12,-31},{-12,-59},{-2,-59},{-2,23},{4,23},{4,37},{10,37},{10,-19},{20,-19},{20,-7},{26,-7},{26,-37},{36,-37},{36,35},{46,35},{46,1},{54,1},{54,-65},{64,-65}}),Line(points={{-78,-24},{68,-24}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-140,152},{160,112}}),Text(textString=\"%delta s\",textColor={192,192,192},extent={{-42,-63},{41,-106}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MovingAverage" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.delta", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time horizon over which the input is averaged", @@ -6223,7 +6224,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be averaged", @@ -6231,7 +6232,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MovingAverage.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MovingAverage.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Moving average of the input", @@ -6239,23 +6240,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nOutputs the maximum element of the input vector.\n

\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nSeptember 14, 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.MultiMax.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.nin" }, "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=\"max()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6267,7 +6268,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to max function", @@ -6278,7 +6279,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMax.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMax.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Largest element of the input vector", @@ -6286,23 +6287,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nOutputs the minimum element of the input vector.\n

\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nSeptember 14, 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.MultiMin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.nin" }, "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=\"min()\",textColor={160,160,164},extent={{-90,36},{90,-36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6314,7 +6315,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to the min function", @@ -6325,7 +6326,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiMin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiMin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Smallest element of the input vector", @@ -6333,28 +6334,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum\nfor an example.\n

\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nJune 28, 2017, by Jianjun Hu:
    \nFirst implementation, based on the implementation of the Modelica Standard\nLibrary. This is for\nBuildings, issue 825.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.nin" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},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={0,0,0},extent={{-82,90},{82,-46}},fillColor={255,213,170},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-144,150},{156,110}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiSum" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Input gains", @@ -6368,7 +6369,7 @@ "S231:value": "fill(1,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -6380,7 +6381,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to multiplied by gain and then added", @@ -6391,7 +6392,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiSum.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiSum.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sum of inputs times gains", @@ -6399,25 +6400,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply", "@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 Product to Multiply.
    \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.Multiply.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.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),Line(color={0,0,127},points={{-100,60},{-40,60},{-30,40}}),Line(color={0,0,127},points={{-100,-60},{-40,-60},{-30,-40}}),Line(color={0,0,127},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}}),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": "Multiply" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied", @@ -6425,7 +6426,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied", @@ -6433,7 +6434,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Multiply.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Multiply.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of the inputs", @@ -6441,23 +6442,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = k * u,\nwhere\nk is a parameter and\nu is an input.\n

\n,revisions=\n
    \n
  • \nJanuary 27, 2022, by Jianjun Hu:
    \nRenamed the block name from Gain to MultiplyByParameter.
    \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.MultiplyByParameter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k" }, "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Polygon(points={{-100,-100},{-100,100},{100,0},{-100,-100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"k=%k\",textColor={0,0,0},extent={{-150,-140},{150,-100}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,144},{150,104}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "MultiplyByParameter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Factor to be multiplied with input signal", @@ -6467,7 +6468,7 @@ "S231:label": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be multiplied with gain", @@ -6475,7 +6476,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Product of the parameter times the input", @@ -6483,359 +6484,359 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID", "@type": "S231:ElementaryBlock", "S231:containsBlock": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controlError" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errD" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errP" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P" } ], "S231:diagram": "coordinateSystem(extent={{-220,-200},{220,200}}),graphics={Rectangle(extent={{-56,180},{-24,-16}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-52,184},{-28,156}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:documentation": "info=\n

\nPID controller in the standard form\n

\n

\nyu = k/r   (e(t) + 1 ⁄ Ti   ∫ e(τ) dτ + Td d⁄dt e(t)),\n

\n

\nwhere\nyu is the control signal before output limitation,\ne(t) = us(t) - um(t) is the control error,\nwith us being the set point and um being\nthe measured quantity,\nk is the gain,\nTi is the time constant of the integral term,\nTd is the time constant of the derivative term,\nand\nr is a scaling factor, with default r=1.\nThe scaling factor should be set to the typical order of magnitude of the range of the error e.\nFor example, you may set r=100 to r=1000\nif the control input is a pressure of a heating water circulation pump in units of Pascal, or\nleave r=1 if the control input is a room temperature.\n

\n

\nNote that the units of k are the inverse of the units of the control error,\nwhile the units of Ti and Td are seconds.\n

\n

\nThe actual control output is\n

\n

\ny = min( ymax, max( ymin, y)),\n

\n

\nwhere ymin and ymax are limits for the control signal.\n

\n

P, PI, PD, or PID action

\n

\nThrough the parameter controllerType, the controller can be configured\nas P, PI, PD or PID controller. The default configuration is PI.\n

\n

Reverse or direct action

\n

\nThrough the parameter reverseActing, the controller can be configured to\nbe reverse or direct acting.\nThe above standard form is reverse acting, which is the default configuration.\nFor a reverse acting controller, for a constant set point,\nan increase in measurement signal u_m decreases the control output signal y\n(Montgomery and McDowall, 2008).\nThus,\n

\n
    \n
  • \n for a heating coil with a two-way valve, leave reverseActing = true, but\n
  • \n
  • \n for a cooling coil with a two-way valve, set reverseActing = false.\n
  • \n
\n

\nIf reverseAction=false, then the error e above is multiplied by -1.\n

\n

Anti-windup compensation

\n

\nThe controller anti-windup compensation is as follows:\nInstead of the above basic control law, the implementation is\n

\n

\nyu = k   (e(t) ⁄ r + 1 ⁄ Ti   ∫ (-Δy + e(τ) ⁄ r) dτ + Td ⁄ r d⁄dt e(t)),\n

\n

\nwhere the anti-windup compensation Δy is\n

\n

\nΔy = (yu - y) ⁄ (k Ni),\n

\n

\nwhere\nNi > 0 is the time constant for the anti-windup compensation.\nTo accelerate the anti-windup, decrease Ni.\n

\n

\nNote that the anti-windup term (-Δy + e(τ) ⁄ r) shows that the range of\nthe typical control error r should be set to a reasonable value so that\n

\n

\ne(τ) ⁄ r = (us(τ) - um(τ)) ⁄ r\n

\n

\nhas order of magnitude one, and hence the anti-windup compensation should work well.\n

\n

Reset of the controller output

\n

\nNote that this controller implements an integrator anti-windup. Therefore,\nfor most applications, the controller output does not need to be reset.\nHowever, if the controller is used in conjuction with equipment that is being\nswitched on, better control performance may be achieved by resetting the controller\noutput when the equipment is switched on. This is in particular the case in situations\nwhere the equipment control input should continuously increase as the equipment is\nswitched on, such as a light dimmer that may slowly increase the luminance, or\na variable speed drive of a motor that should continuously increase the speed. In\nthis case, the controller\n\nBuildings.Controls.OBC.CDL.Reals.PIDWithReset\nthat can reset the output should be used.\n

\n

Approximation of the derivative term

\n

\nThe derivative of the control error d ⁄ dt e(t) is approximated using\n

\n

\nd⁄dt x(t) = (e(t)-x(t)) Nd ⁄ Td,\n

\n

\nand\n

\n

\nd⁄dt e(t) ≈ Nd (e(t)-x(t)),\n

\n

\nwhere x(t) is an internal state.\n

\n

Guidance for tuning the control gains

\n

\nThe parameters of the controller can be manually adjusted by performing\nclosed loop tests (= controller + plant connected\ntogether) and using the following strategy:\n

\n
    \n
  1. Set very large limits, e.g., set ymax = 1000.\n
  2. \n
  3. \nSelect a P-controller and manually enlarge the parameter k\n(the total gain of the controller) until the closed-loop response\ncannot be improved any more.\n
  4. \n
  5. \nSelect a PI-controller and manually adjust the parameters\nk and Ti (the time constant of the integrator).\nThe first value of Ti can be selected such that it is in the\norder of the time constant of the oscillations occurring with\nthe P-controller. If, e.g., oscillations in the order of 100 seconds\noccur in the previous step, start with Ti=1/100 seconds.\n
  6. \n
  7. \nIf you want to make the reaction of the control loop faster\n(but probably less robust against disturbances and measurement noise)\nselect a PID-controller and manually adjust parameters\nk, Ti, Td (time constant of derivative block).\n
  8. \n
  9. \nSet the limits yMax and yMin according to your specification.\n
  10. \n
  11. \nPerform simulations such that the output of the PID controller\ngoes in its limits. Tune Ni (Ni Ti is the time constant of\nthe anti-windup compensation) such that the input to the limiter\nblock (= lim.u) goes quickly enough back to its limits.\nIf Ni is decreased, this happens faster. If Ni is very large, the\nanti-windup compensation is not effective and the controller works bad.\n
  12. \n
\n

References

\n

\nR. Montgomery and R. McDowall (2008).\n\\Fundamentals of HVAC Control Systems.\\\nAmerican Society of Heating Refrigerating and Air-Conditioning Engineers Inc. Atlanta, GA.\n

\n,revisions=\n
    \n
  • \nOctober 23, 2023, by Michael Wetter:
    \nAdded value of control output y to icon.\n
  • \n
  • \nMay 20, 2022, by Michael Wetter:
    \nRefactored implementation to use new derivative block from CDL package.
    \nThis is for\nBuildings, issue 3022.\n
  • \n
  • \nMay 6, 2022, by Michael Wetter:
    \nCorrected wrong documentation in how the derivative of the control error is approximated.
    \nThis is for\nBuildings, issue 2994.\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 15, 2020, by Michael Wetter:
    \nAdded scaling factor r, removed set point weights wp and wd.\nRevised documentation.
    \nThis is for Buildings, issue 2182.\n
  • \n
  • \nAugust 4, 2020, by Jianjun Hu:
    \nRemoved the conditional inputs trigger and y_rest_in.\nRefactored to internally implement the derivative block.
    \nThis is for Buildings, issue 2056.\n
  • \n
  • \nJune 1, 2020, by Michael Wetter:
    \nCorrected wrong convention of reverse and direct action.
    \nThis is for Buildings, issue 1365.\n
  • \n
  • \nApril 23, 2020, by Michael Wetter:
    \nChanged default parameters for limits yMax from unspecified to 1\nand yMin from -yMax to 0.
    \nThis is for\nBuildings, issue 1888.\n
  • \n
  • \nApril 7, 2020, by Michael Wetter:
    \nReimplemented block using only CDL constructs.\nThis refactoring removes the no longer use parameters xd_start that was\nused to initialize the state of the derivative term. This state is now initialized\nbased on the requested initial output yd_start which is a new parameter\nwith a default of 0.\nAlso, removed the parameters y_start and initType because\nthe initial output of the controller can be set by using xi_start\nand yd_start.\nThis is a non-backward compatible change, made to simplify the controller through\nthe removal of options that can be realized differently and are hardly ever used.\nThis refactoring also removes the parameter strict that\nwas used in the output limiter. The new implementation enforces a strict check by default.
    \nThis is for\nBuildings, issue 1878.\n
  • \n
  • \nMarch 9, 2020, by Michael Wetter:
    \nCorrected unit declaration for gain k.
    \nSee Buildings, issue 1821.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nFebruary 25, 2020, by Michael Wetter:
    \nChanged icon to display the output value.\n
  • \n
  • \nOctober 19, 2019, by Michael Wetter:
    \nDisabled homotopy to ensure bounded outputs\nby copying the implementation from MSL 3.2.3 and by\nhardcoding the implementation for homotopyType=NoHomotopy.
    \nSee Buildings, issue 1221.\n
  • \n
  • \nNovember 13, 2017, by Michael Wetter:
    \nChanged default controller type from PID to PI.\n
  • \n
  • \nNovember 6, 2017, by Michael Wetter:
    \nExplicitly declared types and used integrator with reset from CDL.\n
  • \n
  • \nOctober 22, 2017, by Michael Wetter:
    \nAdded to CDL to have a PI controller with integrator reset.\n
  • \n
  • \nSeptember 29, 2016, by Michael Wetter:
    \nRefactored model.\n
  • \n
  • \nAugust 25, 2016, by Michael Wetter:
    \nRemoved parameter limitsAtInit because it was only propagated to\nthe instance limiter, but this block no longer makes use of this parameter.\nThis is a non-backward compatible change.
    \nRevised implemenentation, added comments, made some parameter in the instances final.\n
  • \n
  • July 18, 2016, by Philipp Mehrfeld:
    \nAdded integrator reset.\nThis is for Buildings, issue 494.\n
  • \n
  • \nMarch 15, 2016, by Michael Wetter:
    \nChanged the default value to strict=true in order to avoid events\nwhen the controller saturates.\nThis is for Buildings, issue 433.\n
  • \n
  • \nFebruary 24, 2010, by Michael Wetter:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_m" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_s" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controllerType" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Nd" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Nd" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ni" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ni" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.r" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.r" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.reverseActing" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.reverseActing" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Td" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ti" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.xi_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yd_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMin" } ], "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),Rectangle(extent={{-6,-20},{66,-66}},lineColor={255,255,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"P\",textColor={0,0,0},extent={{-32,-22},{68,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.P),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PI\",textColor={0,0,0},extent={{-26,-22},{74,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PI),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"P D\",textColor={0,0,0},extent={{-16,-22},{88,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PD),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-14,-22},{86,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PID),fillColor={175,175,175},fillPattern=FillPattern.Solid),Polygon(points={{-80,82},{-88,60},{-72,60},{-80,82}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-100}}),Line(color={192,192,192},points={{-90,-80},{70,-80}}),Polygon(points={{74,-80},{52,-72},{52,-88},{74,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,0},points={{-80,-80},{-80,-22}}),Line(color={0,0,0},points={{-80,-22},{6,56}}),Line(color={0,0,0},points={{6,56},{68,56}}),Rectangle(extent={{100,-100},{84,-100},{100,-100}},lineColor={0,0,0},fillColor={175,175,175},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "PID" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.addPD", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.addPD", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.addPID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.addPID", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.con", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.con", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.con1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.con1", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con1.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controlError", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controlError", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "Control error (set point - measurement)", "S231:graphics": "Placement(transformation(extent={{-200,-16},{-180,4}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" } ], "S231:label": "controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.controllerType", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType", "S231:accessSpecifier": "public", "S231:description": "Type of controller", "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Derivative", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Derivative", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "Derivative term", "S231:graphics": "Placement(transformation(extent={{-50,60},{-30,80}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.T" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.y" } ], "S231:isConditionalComponent": true, "S231:label": "D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.D.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.D.y_start", "S231:isFinal": true, "S231:value": "yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Dzero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Dzero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errD", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errD", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "D error", "S231:graphics": "Placement(transformation(extent={{-140,60},{-120,80}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.y" } ], "S231:isConditionalComponent": true, "S231:label": "errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI1", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI1", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (before anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-140,-4},{-120,16}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errI2", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errI2", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (after anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-100,-10},{-80,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.errP", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.errP", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "P error", "S231:graphics": "Placement(transformation(extent={{-140,130},{-120,150}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.y" } ], "S231:label": "errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "Integral term", "S231:graphics": "Placement(transformation(extent={{-50,-10},{-30,10}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" } ], "S231:isConditionalComponent": true, "S231:label": "I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.k", "S231:isFinal": true, "S231:value": "k/Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.I.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.I.y_start", "S231:isFinal": true, "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Izero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Izero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Izero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Izero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain of controller", @@ -6847,45 +6848,45 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.kDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.kDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.kDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.kDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Limiter", "S231:accessSpecifier": "public", "S231:description": "Limiter", "S231:graphics": "Placement(transformation(extent={{120,80},{140,100}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y" } ], "S231:label": "lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMax", "S231:isFinal": true, "S231:value": "yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.lim.uMin", "S231:isFinal": true, "S231:value": "yMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Nd", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Nd", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "The higher Nd, the more ideal the derivative block", @@ -6897,7 +6898,7 @@ "S231:value": 10 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ni", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ni", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Ni*Ti is time constant of anti-windup compensation", @@ -6912,31 +6913,31 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "S231:accessSpecifier": "public", "S231:description": "Gain for proportional control action", "S231:graphics": "Placement(transformation(extent={{-50,130},{-30,150}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.y" } ], "S231:label": "P" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.P.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.P.k", "S231:isFinal": true, "S231:value": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.r", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.r", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Typical range of control error, used for scaling the control error", @@ -6948,7 +6949,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.reverseActing", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.reverseActing", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true for reverse acting, or false for direct acting control action", @@ -6959,7 +6960,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of derivative block", @@ -6980,13 +6981,13 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.TDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.TDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.TDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.TDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.Ti", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.Ti", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of integrator block", @@ -7007,61 +7008,61 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_m", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_m", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Measurement input signal", "S231:graphics": "Placement(transformation(origin={0,-220},extent={{20,-20},{-20,20}},rotation=270)),iconTransformation(origin={0,-120},extent={{20,-20},{-20,20}},rotation=270)))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" } ], "S231:label": "u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.u_s", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.u_s", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Setpoint input signal", "S231:graphics": "Placement(transformation(extent={{-260,-20},{-220,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" } ], "S231:label": "u_s" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.xi_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.xi_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of integrator state", @@ -7072,7 +7073,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Actuator output signal", @@ -7080,7 +7081,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yd_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yd_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of derivative output", @@ -7091,7 +7092,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of output", @@ -7102,7 +7103,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.yMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.yMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of output", @@ -7113,524 +7114,524 @@ "S231:value": 0 }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Dzero.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.u" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinErr.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.antWinGai.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.cheYMinMax.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.assMesYMinMax.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.y_reset_in" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.con1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.con1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.trigger" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPD.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.I.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.I.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI2.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.Izero.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.Izero.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.addPID.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.kDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.kDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.k" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.lim.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.lim.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PID.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.P.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.P.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.TDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.TDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.D.T" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uMea_revAct.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u2" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.uS_revAct.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PID.errP.u1" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset", "@type": "S231:ElementaryBlock", "S231:containsBlock": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P" } ], "S231:diagram": "coordinateSystem(extent={{-220,-200},{220,200}}),graphics={Rectangle(extent={{-56,180},{-24,-16}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-52,184},{-28,156}},fillColor={215,215,215},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:documentation": "info=\n

\nPID controller in the standard form\n

\n

\nyu = k/r   (e(t) + 1 ⁄ Ti   ∫ e(τ) dτ + Td d⁄dt e(t)),\n

\n

\nwith output reset,\nwhere\nyu is the control signal before output limitation,\ne(t) = us(t) - um(t) is the control error,\nwith us being the set point and um being\nthe measured quantity,\nk is the gain,\nTi is the time constant of the integral term,\nTd is the time constant of the derivative term,\nand\nr is a scaling factor, with default r=1.\nThe scaling factor should be set to the typical order of magnitude of the range of the error e.\nFor example, you may set r=100 to r=1000\nif the control input is a pressure of a heating water circulation pump in units of Pascal, or\nleave r=1 if the control input is a room temperature.\n

\n

\nNote that the units of k are the inverse of the units of the control error,\nwhile the units of Ti and Td are seconds.\n

\n

\nThe actual control output is\n

\n

\ny = min( ymax, max( ymin, y)),\n

\n

\nwhere ymin and ymax are limits for the control signal.\n

\n

P, PI, PD, or PID action

\n

\nThrough the parameter controllerType, the controller can be configured\nas P, PI, PD or PID controller. The default configuration is PI.\n

\n

Reverse or direct action

\n

\nThrough the parameter reverseActing, the controller can be configured to\nbe reverse or direct acting.\nThe above standard form is reverse acting, which is the default configuration.\nFor a reverse acting controller, for a constant set point,\nan increase in measurement signal u_m decreases the control output signal y\n(Montgomery and McDowall, 2008).\nThus,\n

\n
    \n
  • \n for a heating coil with a two-way valve, leave reverseActing = true, but\n
  • \n
  • \n for a cooling coil with a two-way valve, set reverseActing = false.\n
  • \n
\n

\nIf reverseAction=false, then the error e above is multiplied by -1.\n

\n

Anti-windup compensation

\n

\nThe controller anti-windup compensation is as follows:\nInstead of the above basic control law, the implementation is\n

\n

\nyu = k   (e(t) ⁄ r + 1 ⁄ Ti   ∫ (-Δy + e(τ) ⁄ r) dτ + Td ⁄ r d⁄dt e(t)),\n

\n

\nwhere the anti-windup compensation Δy is\n

\n

\nΔy = (yu - y) ⁄ (k Ni),\n

\n

\nwhere\nNi > 0 is the time constant for the anti-windup compensation.\nTo accelerate the anti-windup, decrease Ni.\n

\n

\nNote that the anti-windup term (-Δy + e(τ) ⁄ r) shows that the range of\nthe typical control error r should be set to a reasonable value so that\n

\n

\ne(τ) ⁄ r = (us(τ) - um(τ)) ⁄ r\n

\n

\nhas order of magnitude one, and hence the anti-windup compensation should work well.\n

\n

Reset of the controller output

\n

\nWhenever the value of boolean input signal trigger changes from\nfalse to true, the controller output is reset by setting\ny to the value of the parameter y_reset.\n

\n

Approximation of the derivative term

\n

\nThe derivative of the control error d ⁄ dt e(t) is approximated using\n

\n

\nd⁄dt x(t) = (e(t)-x(t)) Nd ⁄ Td,\n

\n

\nand\n

\n

\nd⁄dt e(t) ≈ Nd (e(t)-x(t)),\n

\n

\nwhere x(t) is an internal state.\n

\n

Guidance for tuning the control gains

\n

\nThe parameters of the controller can be manually adjusted by performing\nclosed loop tests (= controller + plant connected\ntogether) and using the following strategy:\n

\n
    \n
  1. Set very large limits, e.g., set ymax = 1000.\n
  2. \n
  3. \nSelect a P-controller and manually enlarge the parameter k\n(the total gain of the controller) until the closed-loop response\ncannot be improved any more.\n
  4. \n
  5. \nSelect a PI-controller and manually adjust the parameters\nk and Ti (the time constant of the integrator).\nThe first value of Ti can be selected such that it is in the\norder of the time constant of the oscillations occurring with\nthe P-controller. If, e.g., oscillations in the order of 100 seconds\noccur in the previous step, start with Ti=1/100 seconds.\n
  6. \n
  7. \nIf you want to make the reaction of the control loop faster\n(but probably less robust against disturbances and measurement noise)\nselect a PID-controller and manually adjust parameters\nk, Ti, Td (time constant of derivative block).\n
  8. \n
  9. \nSet the limits yMax and yMin according to your specification.\n
  10. \n
  11. \nPerform simulations such that the output of the PID controller\ngoes in its limits. Tune Ni (Ni Ti is the time constant of\nthe anti-windup compensation) such that the input to the limiter\nblock (= lim.u) goes quickly enough back to its limits.\nIf Ni is decreased, this happens faster. If Ni is very large, the\nanti-windup compensation is not effective and the controller works bad.\n
  12. \n
\n

References

\n

\nR. Montgomery and R. McDowall (2008).\n\\Fundamentals of HVAC Control Systems.\\\nAmerican Society of Heating Refrigerating and Air-Conditioning Engineers Inc. Atlanta, GA.\n

\n,revisions=\n
    \n
  • \nOctober 23, 2023, by Michael Wetter:
    \nAdded value of control output y to icon.\n
  • \n
  • \nMay 20, 2022, by Michael Wetter:
    \nRefactored implementation to use new derivative block from CDL package.
    \nThis is for\nBuildings, issue 3022.\n
  • \n
  • \nMay 6, 2022, by Michael Wetter:
    \nCorrected wrong documentation in how the derivative of the control error is approximated.
    \nThis is for\nBuildings, issue 2994.\n
  • \n
  • \nApril 30, 2021, by Michael Wetter:
    \nCorrected error in non-released development version\nwhen reset trigger is true.
    \nRefactored implementation to have separate blocks that show the P, I and D contribution,\neach with the control gain applied.
    \nThis is for\nBuildings, issue 2475.\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 15, 2020, by Michael Wetter:
    \nAdded scaling factor r, removed set point weights wp and wd.\nRevised documentation.
    \nThis is for Buildings, issue 2182.\n
  • \n
  • \nAugust 4, 2020, by Jianjun Hu:
    \nRemoved the input y_reset_in.\nRefactored to internally implement the derivative block.
    \nThis is for Buildings, issue 2056.\n
  • \n
  • \nJune 1, 2020, by Michael Wetter:
    \nCorrected wrong convention of reverse and direct action.
    \nThis is for Buildings, issue 1365.\n
  • \n
  • \nApril 23, 2020, by Michael Wetter:
    \nChanged default parameters for limits yMax from unspecified to 1\nand yMin from -yMax to 0.
    \nThis is for\nBuildings, issue 1888.\n
  • \n
  • \nApril 7, 2020, by Michael Wetter:
    \nReimplemented block using only CDL constructs.\nThis refactoring removes the no longer use parameters xd_start that was\nused to initialize the state of the derivative term. This state is now initialized\nbased on the requested initial output yd_start which is a new parameter\nwith a default of 0.\nAlso, removed the parameters y_start and initType because\nthe initial output of the controller can be set by using xi_start\nand yd_start.\nThis is a non-backward compatible change, made to simplify the controller through\nthe removal of options that can be realized differently and are hardly ever used.\nThis refactoring also removes the parameter strict that\nwas used in the output limiter. The new implementation enforces a strict check by default.
    \nThis is for\nBuildings, issue 1878.\n
  • \n
  • \nMarch 9, 2020, by Michael Wetter:
    \nCorrected unit declaration for gain k.
    \nSee Buildings, issue 1821.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nFebruary 25, 2020, by Michael Wetter:
    \nChanged icon to display the output value.\n
  • \n
  • \nOctober 19, 2019, by Michael Wetter:
    \nDisabled homotopy to ensure bounded outputs\nby copying the implementation from MSL 3.2.3 and by\nhardcoding the implementation for homotopyType=NoHomotopy.
    \nSee Buildings, issue 1221.\n
  • \n
  • \nNovember 13, 2017, by Michael Wetter:
    \nChanged default controller type from PID to PI.\n
  • \n
  • \nNovember 6, 2017, by Michael Wetter:
    \nExplicitly declared types and used integrator with reset from CDL.\n
  • \n
  • \nOctober 22, 2017, by Michael Wetter:
    \nAdded to CDL to have a PI controller with integrator reset.\n
  • \n
  • \nSeptember 29, 2016, by Michael Wetter:
    \nRefactored model.\n
  • \n
  • \nAugust 25, 2016, by Michael Wetter:
    \nRemoved parameter limitsAtInit because it was only propagated to\nthe instance limiter, but this block no longer makes use of this parameter.\nThis is a non-backward compatible change.
    \nRevised implemenentation, added comments, made some parameter in the instances final.\n
  • \n
  • July 18, 2016, by Philipp Mehrfeld:
    \nAdded integrator reset.\nThis is for Buildings, issue 494.\n
  • \n
  • \nMarch 15, 2016, by Michael Wetter:
    \nChanged the default value to strict=true in order to avoid events\nwhen the controller saturates.\nThis is for Buildings, issue 433.\n
  • \n
  • \nFebruary 24, 2010, by Michael Wetter:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin" } ], "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),Rectangle(extent={{-6,-20},{66,-66}},lineColor={255,255,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Text(textString=\"P\",textColor={0,0,0},extent={{-32,-22},{68,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.P),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PI\",textColor={0,0,0},extent={{-26,-22},{74,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PI),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"P D\",textColor={0,0,0},extent={{-16,-22},{88,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PD),fillColor={175,175,175},fillPattern=FillPattern.Solid),Text(textString=\"PID\",textColor={0,0,0},extent={{-14,-22},{86,-62}},visible=(controllerType == Buildings.Controls.OBC.CDL.Types.SimpleController.PID),fillColor={175,175,175},fillPattern=FillPattern.Solid),Polygon(points={{-80,82},{-88,60},{-72,60},{-80,82}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-80,68},{-80,-100}}),Line(color={192,192,192},points={{-90,-80},{70,-80}}),Polygon(points={{74,-80},{52,-72},{52,-88},{74,-80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Line(color={0,0,0},points={{-80,-80},{-80,-22}}),Line(color={0,0,0},points={{-80,-22},{6,56}}),Line(color={0,0,0},points={{6,56},{68,56}}),Rectangle(extent={{100,-100},{84,-100},{100,-100}},lineColor={0,0,0},fillColor={175,175,175},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "PIDWithReset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "Control error (set point - measurement)", "S231:graphics": "Placement(transformation(extent={{-200,-16},{-180,4}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" } ], "S231:label": "controlError" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", "S231:accessSpecifier": "public", "S231:description": "Type of controller", "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Derivative", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Derivative", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "Derivative term", "S231:graphics": "Placement(transformation(extent={{-50,60},{-30,80}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y" } ], "S231:isConditionalComponent": true, "S231:label": "D" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y_start", "S231:isFinal": true, "S231:value": "yd_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_D", "S231:description": "D error", "S231:graphics": "Placement(transformation(extent={{-140,60},{-120,80}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" } ], "S231:isConditionalComponent": true, "S231:label": "errD" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (before anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-140,-4},{-120,16}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "I error (after anti-windup compensation)", "S231:graphics": "Placement(transformation(extent={{-100,-10},{-80,10}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" } ], "S231:isConditionalComponent": true, "S231:label": "errI2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Subtract", "S231:accessSpecifier": "public", "S231:description": "P error", "S231:graphics": "Placement(transformation(extent={{-140,130},{-120,150}})))", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" } ], "S231:label": "errP" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.IntegratorWithReset", "S231:accessSpecifier": "public", "S231:conditionalExpression": "with_I", "S231:description": "Integral term", "S231:graphics": "Placement(transformation(extent={{-50,-10},{-30,10}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" } ], "S231:isConditionalComponent": true, "S231:label": "I" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.k", "S231:isFinal": true, "S231:value": "k/Ti" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_start", "S231:isFinal": true, "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Gain of controller", @@ -7642,45 +7643,45 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Limiter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.Limiter", "S231:accessSpecifier": "public", "S231:description": "Limiter", "S231:graphics": "Placement(transformation(extent={{120,80},{140,100}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" } ], "S231:label": "lim" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMax", "S231:isFinal": true, "S231:value": "yMax" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.uMin", "S231:isFinal": true, "S231:value": "yMin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Nd", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "The higher Nd, the more ideal the derivative block", @@ -7692,7 +7693,7 @@ "S231:value": 10 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ni", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Ni*Ti is time constant of anti-windup compensation", @@ -7707,31 +7708,31 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P", - "@type": "http://example.org#Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P", + "@type": "ex:Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter", "S231:accessSpecifier": "public", "S231:description": "Proportional action", "S231:graphics": "Placement(transformation(extent={{-50,130},{-30,150}})))", "S231:hasInstance": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" } ], "S231:label": "P" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.k", "S231:isFinal": true, "S231:value": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.r", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Typical range of control error, used for scaling the control error", @@ -7743,7 +7744,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.reverseActing", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true for reverse acting, or false for direct acting control action", @@ -7754,7 +7755,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of derivative block", @@ -7775,13 +7776,13 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Ti", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time constant of integrator block", @@ -7802,67 +7803,67 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.trigger", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Resets the controller output when trigger becomes true", "S231:graphics": "Placement(transformation(origin={-160,-220},extent={{-20,-20},{20,20}},rotation=90)),iconTransformation(origin={-60,-120},extent={{-20,-20},{20,20}},rotation=90)))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.trigger" }, "S231:label": "trigger" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_m", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Connector of measurement input signal", "S231:graphics": "Placement(transformation(origin={0,-220},extent={{20,-20},{-20,20}},rotation=270)),iconTransformation(origin={0,-120},extent={{20,-20},{-20,20}},rotation=270)))", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" } ], "S231:label": "u_m" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Connector of setpoint input signal", "S231:graphics": "Placement(transformation(extent={{-260,-20},{-220,20}})),iconTransformation(extent={{-140,-20},{-100,20}})))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" }, "S231:label": "u_s" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.xi_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of integrator state", @@ -7873,7 +7874,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Connector of actuator output signal", @@ -7881,7 +7882,7 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y_reset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Value to which the controller output is reset if the boolean trigger has a rising edge", @@ -7892,7 +7893,7 @@ "S231:value": "xi_start" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yd_start", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Initial value of derivative output", @@ -7903,7 +7904,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMax", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Upper limit of output", @@ -7914,7 +7915,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yMin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Lower limit of output", @@ -7925,215 +7926,215 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Dzero.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u1" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.u" } ] }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.yResSig.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addRes.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.y_reset_in" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinErr.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.antWinGai.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.cheYMinMax.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.assMesYMinMax.u" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controlError.u1", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.u_s" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPD.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errD.u2", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.u1" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u1", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uS_revAct.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.I.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI2.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.Izero.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.addPID.u2" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.kDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.k" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.lim.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.P.u", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.y" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.TDer.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.D.T" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.uMea_revAct.y", "S231:isConnectedTo": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errI1.u2" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.errP.u2" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "info=\n

\nBlock that limits the rate of change of the input u by a ramp\nif the boolean input active is true,\notherwise the block outputs y = u.\n

\n

\nThis block computes a threshold for the rate of change between\ninput u and output y as\nthr = (u-y)/Td, where Td > 0 is a parameter.\nThe output y is computed as follows:\n

    \n
  • \nIf thr < fallingSlewRate, then dy/dt = fallingSlewRate,\n
  • \n
  • \nif thr > raisingSlewRate, then dy/dt = raisingSlewRate,\n
  • \n
  • \notherwise, dy/dt = thr.\n
  • \n
\n

\nA smaller time constant Td > 0 means a higher accuracy for the derivative approximation.\n

\n

\nNote that when the input activate switches to false,\nthe output y can have a discontinuity.\n

\n

Implementation

\n

\nFor the block to work with arbitrary inputs and in order to produce a differentiable output,\nthe input is numerically differentiated with derivative time constant Td.\n

\n,revisions=\n
    \n
  • \nFebruary 15, 2024, by Michael Wetter:
    \nUpdated documentation.\n
  • \n
  • \nNovember 16, 2022, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.active" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.active" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.Td" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.Td" } ], "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,100},{100,140}}),Line(color={192,192,192},points={{-90,-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={192,192,192},points={{-80,58},{-80,-90}}),Polygon(points={{-80,80},{-88,58},{-72,58},{-80,80}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-80,-44},{-60,20},{-44,26},{40,8},{40,-4}}),Line(color={254,0,254},points={{-80,-80},{-60,-80},{-60,-50},{40,-50},{40,-80},{58,-80}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}}),Line(color={0,0,127},points={{40,-4},{58,-28},{76,28}})}", "S231:label": "Ramp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.active", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.active", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Set to true to enable rate limiter", @@ -8141,7 +8142,7 @@ "S231:label": "active" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.fallingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Maximum speed with which to decrease the output", @@ -8156,7 +8157,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.raisingSlewRate", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Maximum speed with which to increase the output", @@ -8170,7 +8171,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.Td", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.Td", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Derivative time constant", @@ -8188,7 +8189,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input that is being rate limited", @@ -8196,7 +8197,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Ramp.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Ramp.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Rate limited output if active is true, else output is equal to input", @@ -8204,23 +8205,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs the input after rounding it to n digits.\n

\n

\nFor example,\n

\n
    \n
  • \nset n = 0 to round to the nearest integer,\n
  • \n
  • \nset n = 1 to round to the next decimal point, and\n
  • \n
  • \nset n = -1 to round to the next multiple of ten.\n
  • \n
\n

\nHence, the block outputs\n

\n
\n    y = floor(u*(10^n) + 0.5)/(10^n)  for  u > 0,\n    y = ceil(u*(10^n) - 0.5)/(10^n)   for  u < 0.\n
\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nSeptember 14, 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.Round.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.n" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.n" }, "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=\"round( )\",textColor={0,0,127},extent={{-56,4},{72,106}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,150},{150,110}}),Text(textString=\"%n\",textColor={0,0,127},extent={{-60,-88},{54,-34}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Round" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.n", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.n", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of digits to be round to", @@ -8230,7 +8231,7 @@ "S231:label": "n" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be rounded", @@ -8238,7 +8239,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Round.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Round.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with rounded input", @@ -8246,20 +8247,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = sin(u),\nwhere\nu is an input.\n

\n\n

\n\\sin.png\\\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.Sin.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.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={{-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}}),Line(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),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Text(textString=\"sin\",textColor={192,192,192},extent={{12,84},{84,36}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Sin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the sine function", @@ -8273,7 +8274,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sine of input", @@ -8281,33 +8282,33 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that sorts the elements of the input signal u.\nIf the parameter ascending = true, then the output signal y satisfies\nyi <= yi+1 for all i ∈ {1, ..., n-1}.\nOtherwise, it satisfies\nyi >= yi+1 for all i ∈ {1, ..., n-1}.\nThe output signal yIdx contains the indices of the sorted elements,\nwith respect to the input vector u.\n

\n

Usage

\n

\nNote that this block shall only be used for input signals u that are\ntime sampled.
\nOtherwise, in simulation, 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, measurement noise may cause the output to change frequently.\n

\n

\nThis block may for example be used in a variable air volume flow\ncontroller to access the position of the dampers that are most open.\n

\n,revisions=\n
    \n
  • \nApril 18, 2024, by Jianjun Hu:
    \nAdded an output variable with the indices of the sorted elements.\nThis is for Buildings, issue 3809.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nSeptember 22, 2017, by Michael Wetter:
    \nReimplemented function to make it work with OpenModelica.\n
  • \n
  • \nSeptember 14, 2017, by Jianjun Hu:
    \nChanged model name.\n
  • \n
  • \nJanuary 10, 2017, by Milica Grahovac:
    \nInitial CDL implementation.\n
  • \n
  • \nNovember 21, 2011, by Michael Wetter:
    \nRemoved assert statement.\n
  • \n
  • \nNovember 25, 2008, by Michael Wetter:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.u" }, "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.yIdx" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.yIdx" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.ascending" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.ascending" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.nin" } ], "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,150},{150,110}}),Text(textString=\"sort\",textColor={0,0,89},extent={{-58,70},{54,-60}})}", "S231:label": "Sort" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.ascending", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.ascending", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Set to true if ascending order, otherwise order is descending", @@ -8318,7 +8319,7 @@ "S231:value": true }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of input signals", @@ -8330,7 +8331,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to be sorted", @@ -8341,7 +8342,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with sorted input", @@ -8352,7 +8353,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sort.yIdx", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sort.yIdx", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Indices of the sorted vector with respect to the original vector", @@ -8363,62 +8364,62 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs minute, hour, day of the month, month, year and weekday.\n

\n

Assumption and limitations

\n

\nThe implementation only supports date computations from year 2010 up to and including 2020.\nDaylight saving and time zones are not supported.\n

\n

Typical use and important parameters

\n

\nThe user must define which time and date correspond to time = 0\nusing the model parameters zerTim, and, if\nzerTim == CDL.Types.ZeroTime.Custom,\nthe parameter yearRef.\nThe user can choose from new year, midnight for a number of years:\n2010 to 2020 and also 1970.\nThe latter corresponds to a unix stamp of 0.\nNote that when choosing the reference time equal to 0 at 1970,\nthe actual simulation time must be within the 2010-2020 range.\nFor example, startTime = 1262304000 corresponds\nto the simulation starting on the 1st of January 2010 local time\nwhen setting zerTim = CDL.Types.ZeroTime.UnixTimeStamp.\nThis is within the 2010-2020 range and is therefore allowed.\n

\n,revisions=\n
    \n
  • \nMarch 30, 2022, by Michael Wetter:
    \nIncreased value of lastYear as the underlying implementation allows\nfor 21 years.\n
  • \n
  • \nNovember 12, 2020, by Michael Wetter:
    \nReformulated to remove dependency to Modelica.Units.SI.
    \nThis is for\nBuildings, issue 2243.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nAugust 20, 2019, by Filip Jorissen:
    \nRevised implementation such that the meaning of time is better explained\nand unix time stamps are correctly defined with respect to GMT.\n(see Buildings, issue 1192).\n
  • \n
  • \nMarch 14, 2017, by Michael Wetter:
    \nRefactored implementation.\n
  • \n
  • \nFebruary 23, 2017, by Milica Grahovac:
    \nFirst CDL implementation.\n
  • \n
  • \nAugust 3, 2016, by Filip Jorissen:
    \nFirst implementation.\n
  • \n
\n", "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim" } ], "S231:icon": "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={{-94,94},{16,-16}},lineColor={160,160,164},fillColor={215,215,215},fillPattern=FillPattern.Solid),Text(textString=\"Minute\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-34,92},{96,82}}),Text(textString=\"Hour\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-28,64},{96,54}}),Text(textString=\"Day\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-38,36},{96,24}}),Text(textString=\"Month\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-50,4},{96,-6}}),Text(textString=\"Year\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-70,-24},{96,-34}}),Text(textString=\"Weekday\",textColor={28,108,200},horizontalAlignment=TextAlignment.Right,extent={{-68,-54},{96,-66}}),Line(thickness=0.5,points={{-40,38},{-64,62}}),Line(thickness=0.5,points={{-40,38},{-14,38}})}", "S231:label": "CalendarTime" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Day of the month", @@ -8427,7 +8428,7 @@ "S231:label": "day" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Hour of the day", @@ -8436,7 +8437,7 @@ "S231:label": "hour" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Minute of the hour", @@ -8444,14 +8445,14 @@ "S231:label": "minute" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month", "S231:accessSpecifier": "public", "S231:description": "Month of the year", "S231:graphics": "Placement(transformation(extent={{100,-10},{120,10}})),iconTransformation(extent={{100,-10},{120,10}})))", "S231:label": "month" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset that is added to 'time', may be used for computing time in different time zone", @@ -8468,7 +8469,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer output representing week day (monday = 1, sunday = 7)", @@ -8477,14 +8478,14 @@ "S231:label": "weekDay" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year", "S231:accessSpecifier": "public", "S231:description": "Year", "S231:graphics": "Placement(transformation(extent={{100,-40},{120,-20}})),iconTransformation(extent={{100,-40},{120,-20}})))", "S231:label": "year" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.yearRef", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Year when time = 0, used if zerTim=Custom", @@ -8497,59 +8498,59 @@ "S231:value": 2016 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", "S231:accessSpecifier": "public", "S231:description": "Enumeration for choosing how reference time (time = 0) should be defined", "S231:label": "zerTim" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.day", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.day" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.hour", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.hour" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.minute", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.minute" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.month", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.month" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.weekDay", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.weekDay" } }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.calTim.year", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.year" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

Block that outputs the civil time.\n

\n

Implementation

\n

\nThis block outputs the time of the model.\nIn the case of a building automation system, the\nbuilding automation system synchronizes time, and hence\nneed to assign a value for the output of this block.\nDaylight saving time shall not be taken into account,\ne.g, the block always outputs civil time rather than\ndaylight savings time.\n

\n

\nIf a simulation starts\nat t=-1, then this block outputs first t=-1,\nand its output is advanced at the same rate as the simulation time.\n

\n\n

\nNote that the block has not been included in the ASHRAE Standard 231p.\nHowever, in the future versions of the ASHRAE 231 Standard, the block should be added.\n

\n,revisions=\n
    \n
  • \nDecember 12, 2023, by Jianjun Hu:
    \nRenamed the block from ModelTime to CivilTime.\nThis is for\nBuildings, issue 3596.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 14, 2017, by Michael Wetter:
    \nRevised implemenation.\n
  • \n
  • \nFebruary 23, 2017, by Milica Grahovac:
    \nFirst CDL implementation.\n
  • \n
  • \nJanuary 16, 2015, by Michael Wetter:
    \nMoved block from\nBuildings.Utilities.SimulationTime\nto\nBuildings.Utilities.Time.ModelTime.\n
  • \n
  • \nMay 18, 2010, by Wangda Zuo:
    \nFirst implementation.\n
  • \n
\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.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),Ellipse(extent={{-80,80},{80,-80}},lineColor={160,160,164},fillColor={215,215,215},fillPattern=FillPattern.Solid),Line(color={160,160,164},points={{0,80},{0,60}}),Line(color={160,160,164},points={{80,0},{60,0}}),Line(color={160,160,164},points={{0,-80},{0,-60}}),Line(color={160,160,164},points={{-80,0},{-60,0}}),Line(color={160,160,164},points={{37,70},{26,50}}),Line(color={160,160,164},points={{70,38},{49,26}}),Line(color={160,160,164},points={{71,-37},{52,-27}}),Line(color={160,160,164},points={{39,-70},{29,-51}}),Line(color={160,160,164},points={{-39,-70},{-29,-52}}),Line(color={160,160,164},points={{-71,-37},{-50,-26}}),Line(color={160,160,164},points={{-71,37},{-54,28}}),Line(color={160,160,164},points={{-38,70},{-28,51}}),Line(thickness=0.5,points={{0,0},{-50,50}}),Line(thickness=0.5,points={{0,0},{40,0}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "CivilTime" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Civil time", @@ -8560,20 +8561,20 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a constant signal y = k,\nwhere k is a real-valued parameter.\n

\n

\n\\Constant.png\\\n

\n,revisions=\n
    \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 16, 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.Reals.Sources.Constant.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k" }, "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={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}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Constant" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.k", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Constant output value", @@ -8583,7 +8584,7 @@ "S231:label": "k" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Constant.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Constant output signal", @@ -8591,34 +8592,34 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a pulse signal as shown below.\n

\n

\n\\Pulse.png\\\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
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 16, 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.Reals.Sources.Pulse.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width" } ], "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(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}}),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}}),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={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid)}", "S231:label": "Pulse" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.amplitude", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Amplitude of pulse", @@ -8629,24 +8630,24 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea", "S231:hasInstance": [ { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" } ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signals", @@ -8657,7 +8658,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.period", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time for one period", @@ -8674,7 +8675,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.shift", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Shift time for output", @@ -8691,7 +8692,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.width", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Width of pulse in fraction of period", @@ -8710,48 +8711,48 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Pulse output signal", "S231:graphics": "Placement(transformation(extent={{100,-20},{140,20}})))", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.y" }, "S231:label": "y" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booPul.y", "S231:isConnectedTo": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.Pulse.booToRea.u" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThe Real output y is a ramp signal:\n

\n\n

\n\\Ramp.png\\\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
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 16, 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.Reals.Sources.Ramp.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime" } ], "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),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,-70},{-40,-70},{31,38}}),Text(textString=\"duration=%duration\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Line(points={{31,38},{86,38}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Ramp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.duration", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Duration of ramp (= 0.0 gives a Step)", @@ -8768,7 +8769,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.height", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Height of ramps", @@ -8779,7 +8780,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signal", @@ -8790,7 +8791,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.startTime", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Output = offset for time < startTime", @@ -8807,7 +8808,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Ramp.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Ramp output signal", @@ -8815,34 +8816,34 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs a sine.\n

\n

\n\\Sin.png\\/\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
  • \nApril 13, 2023, by Michael Wetter:
    \nRenamed block from Sine to Sin\nto use consistent naming with\n\nBuildings.Controls.OBC.CDL.Reals.Sin.
    \nThis is for\nBuildings, issue 3339\n
  • \n
  • \nNovember 12, 2020, by Michael Wetter:
    \nReformulated to remove dependency to Modelica.Units.SI.
    \nThis is for\nBuildings, issue 2243.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nNovember 06, 2017, by Milica Grahovac:
    \nFirst CDL implementation.\n
  • \n
\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime" } ], "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Text(textString=\"%name\",textColor={0,0,255},extent={{-148,104},{152,144}}),Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},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,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,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),Text(textString=\"freqHz=%freqHz\",textColor={0,0,0},extent={{-147,-152},{153,-112}}),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Sin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.amplitude", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Amplitude of sine wave", @@ -8853,7 +8854,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.freqHz", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Frequency of sine wave", @@ -8870,7 +8871,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offset of output signal", @@ -8881,7 +8882,7 @@ "S231:value": 0 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.phase", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Phase of sine wave", @@ -8901,7 +8902,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.startTime", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Output = offset for time < startTime", @@ -8918,7 +8919,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.Sin.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Sine output signal", @@ -8926,41 +8927,41 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs values of a time table.\n

\n

\nThe block takes as a parameter a time table of a format:\n

\n
\ntable = [ 0*3600, 0;\n          6*3600, 0;\n          6*3600, 1;\n         18*3600, 1;\n         18*3600, 0;\n         24*3600, 0];\n
\n

\nwhere the first column is time in seconds, and the remaining\ncolumn(s) are the table values.\nAny number of columns can be specified.\nThe parameter smoothness determines how the table values\nare interpolated. The following settings are allowed:\n

\n\n\n\n\n \n \n\n\n \n \n\n
smoothnessDescription
CDL.Types.LinearSegmentsTable points are linearly interpolated.
CDL.Types.ConstantSegmentsTable points are not interpolated,\n but the previous tabulated value is returned.
\n\n

\nThe parameter extrapolation determines how the table\nvalues are extrapolated. The following settings are allowed:\n

\n\n\n\n\n \n \n\n\n \n \n\n\n \n \n\n
extrapolationDescription
CDL.Types.HoldLastPointHold the first or last table point outside of the table scope.
CDL.Types.LastTwoPointsExtrapolate by using the derivative at the first or last table points\n outside of the table scope.
CDL.Types.PeriodicRepeat the table scope periodically with periodicity\n (max(table[:, 1]-min(table[:, 1]))*timeScale).
\n\n

\nIf extrapolation === CDL.Types.Periodic, then the above example\nwould give a schedule with periodicity of one day. The simulation can start at any time,\nwhether it is a multiple of a day or not, and positive or negative.\n

\n\n

\nThe value of the parameter offset is added to the tabulated\nvalues.\nThe parameters timeScale is used to scale the first column\nof the table. For example, set timeScale = 3600 if the first\ncolumn is in hour (because in CDL, the time unit is seconds).\n

\n

\nIf the table has only one row, no interpolation is performed and\nthe table values of this row are just returned.\n

\n

\nAn interval boundary is defined by two identical time values\nfollowing each other. For example\n

\n
\n   table = [0, 0;\n            1, 0;\n            1, 1;\n            2, 3;\n            3, 5;\n            3, 2;\n            4, 4;\n            5, 5];\n
\n

\ndefines three intervalls: 0..1, 1..3, 3..5. Within an interval the defined\ninterpolation method is applied (so the table outputs within an interval are\ncontinuous if smoothness = CDL.Types.LinearSegments).\n

\n

\nExample:\n

\n
\n  table = [0, 0;\n           1, 0;\n           1, 1;\n           2, 4;\n           3, 9;\n           4, 16];\n  smoothness = CDL.Types.LinearSegments;\n\nIf, e.g., time = 1.0, the output y =  0.0 (before event), 1.0 (after event)\n    e.g., time = 1.5, the output y =  2.5,\n    e.g., time = 2.0, the output y =  4.0,\n    e.g., time = 5.0, the output y = 23.0 (i.e., extrapolation via last 2 points).\n
\n

Implementation

\n

\nFor simulation,\nno time events are generated within an interval\nin order that also intervals with many points do not reduce the simulation efficiency.\nIf the table points are largely changing, it is adviseable to force\ntime events by duplicating every time point (especially, if the model in which\nthe table is present allows the variable step integrator to make large\nintegrator steps). For example, if a sawtooth signal is defined with the table,\nit is more reliable to define the table as:\n

\n
\n   table = [0, 0;\n            1, 2;\n            1, 2;\n            2, 0;\n            2, 0;\n            3, 2;\n            3, 2];\n
\n

\ninstead of\n

\n
\n   table = [0, 0;\n            1, 2;\n            2, 0;\n            3, 2];\n
\n

\nbecause time events are then generated at every time point.\n

\n

\nBuilding automation systems typically have discrete time semantics\nwith fixed sampling times, and no notion of superdense time (in which\na tabulated value can change without advancing time).\nTherefore, to implement a table with two equal time stamps,\na CDL translator may parameterize\na table in the building automation in such a way that the step change happens\nat the time indicated in the first column, whereas previous sampling times\noutput the tabulated value at the last transition. For example,\n

\n
\ntable = [0, 0;\n         1, 0;\n         1, 1];\nsmoothness = CDL.Types.ConstantSegments;\n
\n

\nmay be converted such that a building automation system with a sampling time\nof 0.5 seconds outputs\n

\n
\n  t = 0, 0.5, 1, ...\n  y = 0, 0  , 1, ...\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.\n
  • \n
  • \nMarch 13, 2020, by Michael Wetter:
    \nCorrected implementation so that the table also works if the simulation\nstarts at a negative time.
    \nThis is for\nBuildings, issue 1834.\n
  • \n
  • \nMarch 2, 2020, by Michael Wetter:
    \nChanged icon to display dynamically the output value.\n
  • \n
  • \nMarch 14, 2017, by Michael Wetter:
    \nRefactored and simplified implementation.\n
  • \n
  • \nFebruary 23, 2017, by Milica Grahovac:
    \nInitial CDL implementation.\n
  • \n
\n", "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale" } ], "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,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}})}", "S231:label": "TimeTable" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", "S231:accessSpecifier": "public", "S231:description": "Extrapolation of data outside the definition range", "S231:label": "extrapolation", "S231:value": "CDL.Types.Extrapolation.Periodic" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.offset", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Offsets of output signals as a vector with length equal to number of table matrix columns less one", @@ -8973,20 +8974,20 @@ "S231:value": "fill(0,nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", "S231:accessSpecifier": "public", "S231:description": "Smoothness of table interpolation", "S231:label": "smoothness", "S231:value": "CDL.Types.Smoothness.LinearSegments" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab", "S231:hasInstance": { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y" + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.table", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Table matrix (time = first column is time in seconds, unless timeScale <> 1)", @@ -8998,7 +8999,7 @@ "S231:numberDimensions": 2 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.timeScale", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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", @@ -9012,7 +9013,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with tabulated values", @@ -9023,26 +9024,26 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://example.org#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y", + "@id": "ex:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.tab.y", "S231:isConnectedTo": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.y" } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs square root of the input y = sqrt(u),\nwhere u is an input. The input u must be non-negative.\n

\n,revisions=\n
    \n
  • \nFebruary 15, 2024, by Michael Wetter:
    \nUpdated documentation.\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.Sqrt.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.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(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),Line(points={{-80,-80},{-79.2,-68.7},{-78.4,-64},{-76.8,-57.3},{-73.6,-47.9},{-67.9,-36.1},{-59.1,-22.2},{-46.2,-6.49},{-28.5,10.7},{-4.42,30},{27.7,51.3},{69.5,74.7},{80,80}},smooth=Smooth.Bezier),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,-88},{-80,68}}),Text(textString=\"sqrt\",textColor={192,192,192},extent={{-8,-4},{64,-52}}),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": "Sqrt" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input to square root function", @@ -9050,7 +9051,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Sqrt.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sqrt.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with square root of the input", @@ -9058,25 +9059,25 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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.Reals.Subtract.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u2" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.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=\"-\",textColor={0,0,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.Reals.Subtract.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input with minuend", @@ -9084,7 +9085,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.u2", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input with subtrahend", @@ -9092,7 +9093,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Subtract.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Subtract.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with difference", @@ -9100,28 +9101,28 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs one of two real 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
  • \nFebruary 27, 2023, by Michael Wetter:
    \nAdded smoothOrder(0, ...) as Dymola 2023x assumes y to be\nsmooth, and simulations can then fail if it differentiated this output.\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.Reals.Switch.u1" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u2" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u3" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u3" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.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={0,0,127},points={{12,0},{100,0}}),Line(color={255,0,255},points={{-100,0},{-40,0}}),Line(color={0,0,127},points={{-100,-80},{-40,-80},{-40,-80}}),Line(color={255,0,255},points={{-40,12},{-40,-12}}),Line(color={0,0,127},points={{-100,80},{-40,80}}),Line(color={0,0,127},thickness=1,points={{10,0},{-40,80},{10,0},{-40,80},{-40,-80}}),Ellipse(extent={{2,-8},{18,8}},lineColor={0,0,255},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.Reals.Switch.u1", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u1", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input u1", @@ -9129,7 +9130,7 @@ "S231:label": "u1" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u2", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u2", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean switch input signal, if true, y=u1, else y=u3", @@ -9137,7 +9138,7 @@ "S231:label": "u2" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.u3", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.u3", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input u3", @@ -9145,7 +9146,7 @@ "S231:label": "u3" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Switch.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Switch.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with u1 if u2 is true, else u3", @@ -9153,20 +9154,20 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that outputs y = tan(u),\nwhere\nu is an input.\n

\n\n

\n\\tan.png\\\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.Tan.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.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=\"tan\",textColor={192,192,192},extent={{-90,72},{-18,24}}),Line(color={192,192,192},points={{0,-80},{0,68}}),Polygon(points={{0,90},{-8,68},{8,68},{0,90}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Polygon(points={{90,0},{68,8},{68,-8},{90,0}},lineColor={192,192,192},fillColor={192,192,192},fillPattern=FillPattern.Solid),Line(color={192,192,192},points={{-90,0},{68,0}}),Line(points={{-80,-80},{-78.4,-68.4},{-76.8,-59.7},{-74.4,-50},{-71.2,-40.9},{-67.1,-33},{-60.7,-24.8},{-51.1,-17.2},{-35.8,-9.98},{-4.42,-1.07},{33.4,9.12},{49.4,16.2},{59.1,23.2},{65.5,30.6},{70.4,39.1},{73.6,47.4},{76,56.1},{77.6,63.8},{80,80}},smooth=Smooth.Bezier),Text(textString=DynamicSelect(\"\",String(y,leftJustified=false,significantDigits=3)),textColor={0,0,0},extent={{226,60},{106,10}})}", "S231:label": "Tan" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input for the tangent function", @@ -9180,7 +9181,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Reals.Tan.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Tan.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Tangent of the input", @@ -9188,31 +9189,31 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued boolean input signal and transfer them\nto the vector-valued boolean output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and the elements\nof extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n
    \n
  • \nOctober 5, 2022, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={255,0,255},points={{-73,4},{-59,40},{-49,40}}),Line(color={255,0,255},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={255,0,255},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={255,0,255},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={255,0,255},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{48,0},{70,0}}),Line(color={255,0,255},points={{47,30},{60,30},{73,3}}),Line(color={255,0,255},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "BooleanExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9226,7 +9227,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9237,7 +9238,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9248,7 +9249,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input signals", @@ -9259,7 +9260,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractSignal.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Boolean signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9270,28 +9271,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Boolean input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n
    \n
  • \nthen y = u[nin] if index > nin, and\n
  • \n
  • \ny = u[1] if index < 1.\n
  • \n
\n,revisions=\n
    \n
  • \nSeptember 30, 2022, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin" }, "S231:icon": "coordinateSystem(extent={{-100,-100},{100,100}},preserveAspectRatio=true),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-80,50},{-40,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={255,0,255},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={255,0,255},points={{-63,4},{-49,40},{-39,40}}),Line(color={255,0,255},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={0,0,127},fillColor={255,0,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={255,0,255},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={0,0,127},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{100,0},{0,0}}),Line(color={255,128,0},points={{0,2},{0,-104}}),Line(color={255,0,255},points={{-35,40},{-20,40}}),Line(color={255,0,255},points={{-35,13},{-20,13}}),Line(color={255,0,255},points={{-35,-13},{-20,-13}}),Line(color={255,0,255},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={255,0,255}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,128,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "BooleanExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9299,7 +9300,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9310,7 +9311,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input signals", @@ -9321,7 +9322,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanExtractor.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Boolean signal extracted from input vector, u[index]", @@ -9329,23 +9330,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Boolean input signal to an array of nout\nidentical Boolean output signals.\n

\n,revisions=\n
    \n
  • \nJuly 27, 2021, by Baptiste Ravache:
    \nRenamed to BooleanScalarReplicator.\n
  • \n
  • \nJuly 24, 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.Routing.BooleanScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-100,0},{-6,0}}),Line(color={255,0,255},points={{100,0},{10,0}}),Line(color={255,0,255},points={{0,0},{100,10}}),Line(color={255,0,255},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "BooleanScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9356,7 +9357,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9364,7 +9365,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9375,32 +9376,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n,info=\n

\nThis block filters a Boolean vector of size nin to\na vector of size nout given a Boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout" } ], "S231:icon": "coordinateSystem(preserveAspectRatio=false),graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-102,0},{-60,0}}),Line(color={255,0,255},points={{70,0},{100,0}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid,lineThickness=0.5)}", "S231:label": "BooleanVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -9414,7 +9415,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9424,7 +9425,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -9434,7 +9435,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -9445,7 +9446,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorFilter.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -9456,28 +9457,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates a Boolean vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,0,255},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,0,255},points={{-100,0},{-6,0}}),Line(color={255,0,255},points={{100,0},{10,0}}),Line(color={255,0,255},points={{0,0},{100,10}}),Line(color={255,0,255},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,0,255},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={255,0,255},points={{-100,-10},{0,0}}),Line(color={255,0,255},points={{-100,10},{0,0}})}", "S231:label": "BooleanVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9488,7 +9489,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -9499,7 +9500,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9510,7 +9511,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.BooleanVectorReplicator.y", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9521,31 +9522,31 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued integer input signal and transfer them\nto the vector-valued integer output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and\nthe elements of extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n
    \n
  • \nOctober 5, 2022, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={255,127,0},points={{-73,4},{-59,40},{-49,40}}),Line(color={255,127,0},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={255,127,0},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={255,127,0},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={255,127,0},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{48,0},{70,0}}),Line(color={255,127,0},points={{47,30},{60,30},{73,3}}),Line(color={255,127,0},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "IntegerExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9559,7 +9560,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9570,7 +9571,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9581,7 +9582,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Integer input signals", @@ -9592,7 +9593,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractSignal.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9603,28 +9604,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Integer input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n
    \n
  • \nthen y = u[nin] if index > nin, and\n
  • \n
  • \ny = u[1] if index < 1.\n
  • \n
\n,revisions=\n
    \n
  • \nOctober 5, 2022, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin" }, "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),Rectangle(extent={{-80,50},{-40,-50}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={255,127,0},points={{-63,4},{-49,40},{-39,40}}),Line(color={255,127,0},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={255,127,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={255,127,0},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={255,127,0},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={255,127,0},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={255,127,0},points={{100,0},{0,0}}),Line(color={255,127,0},points={{0,2},{0,-104}}),Line(color={255,127,0},points={{-35,40},{-20,40}}),Line(color={255,127,0},points={{-35,13},{-20,13}}),Line(color={255,127,0},points={{-35,-13},{-20,-13}}),Line(color={255,127,0},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={255,127,0}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,127,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "IntegerExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9632,7 +9633,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9643,7 +9644,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Integer input signals", @@ -9654,7 +9655,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerExtractor.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Integer signal extracted from input vector, u[index]", @@ -9662,23 +9663,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Integer input signal to an array of nout\nidentical Integer output signals.\n

\n,revisions=\n
    \n
  • \nJuly 27, 2021, by Baptiste Ravache:
    \nRenamed to IntegerScalarReplicator.\n
  • \n
  • \nJuly 24, 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.Routing.IntegerScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout" }, "S231:icon": "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,0},{-6,0}}),Line(color={255,127,0},points={{100,0},{10,0}}),Line(color={255,127,0},points={{0,0},{100,10}}),Line(color={255,127,0},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "IntegerScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9689,7 +9690,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9697,7 +9698,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9708,32 +9709,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n,info=\n

\nThis block filters a Integer vector of size nin to\na vector of size nout given a Boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout" } ], "S231:icon": "coordinateSystem(preserveAspectRatio=false),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}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid,lineThickness=0.5),Line(color={255,127,0},points={{-100,0},{-60,0}}),Line(color={255,127,0},points={{70,0},{100,0}})}", "S231:label": "IntegerVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -9747,7 +9748,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9757,7 +9758,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -9767,7 +9768,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -9778,7 +9779,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorFilter.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -9789,28 +9790,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates an Integer vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout" } ], "S231:icon": "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,0},{-6,0}}),Line(color={255,127,0},points={{100,0},{10,0}}),Line(color={255,127,0},points={{0,0},{100,10}}),Line(color={255,127,0},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={255,127,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={255,127,0},points={{-100,-10},{0,0}}),Line(color={255,127,0},points={{-100,10},{0,0}})}", "S231:label": "IntegerVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -9821,7 +9822,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -9832,7 +9833,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.u", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -9843,7 +9844,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.IntegerVectorReplicator.y", "@type": "S231:IntegerOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -9854,31 +9855,31 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nExtract signals from the vector-valued real input signal and transfer them\nto the vector-valued real output signal.\n

\n

\nThe extraction scheme is specified by the integer vector extract.\nThis vector specifies which input signals are taken and in which\norder they are transferred to the output vector. Note that the\ndimension of extract has to match the number of outputs and the elements\nof extract has to be in the range of [1, nin].\nAdditionally, the dimensions of the input connector signals and\nthe output connector signals have to be explicitly defined via the\nparameters nin and nout.\n

\n

Example

\n

\nThe specification\n

\n
     nin = 7 \\Number of inputs\\;\n     nout = 4 \\Number of outputs\\;\n     extract[nout] = {6,3,3,2} \\Extracting vector\\;\n
\n

extracts four output signals (nout=4)\nfrom the seven elements of the\ninput vector (nin=7):

\n
   y[1, 2, 3, 4] = u[6, 3, 3, 2];\n
\n,revisions=\n
    \n
  • \nOctober 14, 2022, by Jianjun Hu:
    \nAdded assertion to check if there is any element in extracting vector is out of range.\n
  • \n
  • \nJuly 19, 2018, by Jianjun Hu:
    \nChanged block name.\n
  • \n
  • \nJuly 24, 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.Routing.RealExtractSignal.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-90,51},{-50,-49}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{50,50},{90,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-94.4104,1.90792},{-94.4104,-2.09208},{-90.4104,-0.0920762},{-94.4104,1.90792}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-72,2},{-60.1395,12.907},{-49.1395,12.907}}),Line(color={0,0,127},points={{-73,4},{-59,40},{-49,40}}),Line(color={0,0,127},points={{-113,0},{-76.0373,-0.0180176}}),Ellipse(extent={{-81.0437,4.59255},{-71.0437,-4.90745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-73,-5},{-60,-40},{-49,-40}}),Line(color={0,0,127},points={{-72,-2},{-60.0698,-12.907},{-49.0698,-12.907}}),Polygon(points={{-48.8808,-11},{-48.8808,-15},{-44.8808,-13},{-48.8808,-11}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-46,13},{-35,13},{35,-30},{45,-30}}),Line(color={0,0,127},points={{-45,40},{-35,40},{35,0},{44,0}}),Line(color={0,0,127},points={{-45,-40},{-34,-40},{35,30},{44,30}}),Polygon(points={{-49,42},{-49,38},{-45,40},{-49,42}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.8728,-38.0295},{-48.8728,-42.0295},{-44.8728,-40.0295},{-48.8728,-38.0295}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-48.9983,14.8801},{-48.9983,10.8801},{-44.9983,12.8801},{-48.9983,14.8801}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Ellipse(extent={{69.3052,4.12743},{79.3052,-5.37257}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{80,0},{100,0}}),Polygon(points={{43.1618,32.3085},{43.1618,28.3085},{47.1618,30.3085},{43.1618,32.3085}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Polygon(points={{43.2575,1.80443},{43.2575,-2.19557},{47.2575,-0.195573},{43.2575,1.80443}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Polygon(points={{43.8805,-28.1745},{43.8805,-32.1745},{47.8805,-30.1745},{43.8805,-28.1745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{48,0},{70,0}}),Line(color={0,0,127},points={{47,30},{60,30},{73,3}}),Line(color={0,0,127},points={{49,-30},{60,-30},{74,-4}}),Text(textString=\"extract=%extract\",textColor={0,0,0},extent={{-150,-150},{150,-110}}),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "RealExtractSignal" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.extract", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extracting vector", @@ -9892,7 +9893,7 @@ "S231:value": "1:nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9903,7 +9904,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -9914,7 +9915,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Real input signals", @@ -9925,7 +9926,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractSignal.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Real signals extracted from the input vector with the extraction scheme specified by the integer vector", @@ -9936,28 +9937,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that returns\n

\n
    y = u[index];\n
\n

\nwhere u is a vector-valued Real input signal and\nindex is an Integer input signal. When the index\nis out of range,\n

\n
    \n
  • \nthen y = u[nin] if index > nin, and\n
  • \n
  • \ny = u[1] if index < 1.\n
  • \n
\n,revisions=\n
    \n
  • \nApril 19, 2023, by Michael Wetter:
    \nConverted equation section to algorithm section.\nThis works around the issue reported\nin OpenModelica, #10580.\n
  • \n
  • \nOctober 14, 2022, by Jianjun Hu:
    \nChanged output from a specified value to the element with the nearest valid index when the index input is out of range.\n
  • \n
  • \nJuly 19, 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.Routing.RealExtractor.index" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.u" } ], "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin" }, "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),Rectangle(extent={{-80,50},{-40,-50}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-84.4104,1.9079},{-84.4104,-2.09208},{-80.4104,-0.09208},{-84.4104,1.9079}},lineColor={0,0,127},fillColor={0,0,0},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-62,2},{-50.1395,12.907},{-39.1395,12.907}}),Line(color={0,0,127},points={{-63,4},{-49,40},{-39,40}}),Line(color={0,0,127},points={{-102,0},{-65.0373,-0.01802}}),Ellipse(extent={{-70.0437,4.5925},{-60.0437,-4.90745}},lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-63,-5},{-50,-40},{-39,-40}}),Line(color={0,0,127},points={{-62,-2},{-50.0698,-12.907},{-39.0698,-12.907}}),Polygon(points={{-38.8808,-11},{-38.8808,-15},{-34.8808,-13},{-38.8808,-11}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-39,42},{-39,38},{-35,40},{-39,42}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.8728,-38.0295},{-38.8728,-42.0295},{-34.8728,-40.0295},{-38.8728,-38.0295}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{-38.9983,14.8801},{-38.9983,10.8801},{-34.9983,12.8801},{-38.9983,14.8801}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Rectangle(extent={{-30,50},{30,-50}},lineColor={0,0,127},fillColor={235,235,235},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{100,0},{0,0}}),Line(color={255,128,0},points={{0,2},{0,-104}}),Line(color={0,0,127},points={{-35,40},{-20,40}}),Line(color={0,0,127},points={{-35,13},{-20,13}}),Line(color={0,0,127},points={{-35,-13},{-20,-13}}),Line(color={0,0,127},points={{-35,-40},{-20,-40}}),Polygon(points={{0,0},{-20,13},{-20,13},{0,0},{0,0}},lineColor={0,0,127}),Ellipse(extent={{-6,6},{6,-6}},lineColor={255,128,0},fillColor={255,128,0},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,100},{100,140}})}", "S231:label": "RealExtractor" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.index", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.index", "@type": "S231:IntegerInput", "S231:accessSpecifier": "public", "S231:description": "Index of input vector element to be extracted out", @@ -9965,7 +9966,7 @@ "S231:label": "index" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of inputs", @@ -9976,7 +9977,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Real input signals", @@ -9987,7 +9988,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealExtractor.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealExtractor.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Real signal extracted from input vector, u[index]", @@ -9995,23 +9996,23 @@ "S231:label": "y" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates the Real input signal to an array of nout\nidentical Real output signals.\n

\n,revisions=\n
    \n
  • \nJuly 27, 2021, by Baptiste Ravache:
    \nRenamed to RealScalarReplicator.\n
  • \n
  • \nJuly 24, 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.Routing.RealScalarReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-6,0}}),Line(color={0,0,127},points={{100,0},{10,0}}),Line(color={0,0,127},points={{0,0},{100,10}}),Line(color={0,0,127},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}})}", "S231:label": "RealScalarReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of outputs", @@ -10022,7 +10023,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -10030,7 +10031,7 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -10041,32 +10042,32 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter", "@type": "S231:ElementaryBlock", "S231:diagram": "coordinateSystem(preserveAspectRatio=false)", "S231:documentation": "revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n,info=\n

\nThis block filters a Real vector of size nin to\na vector of size nout given a boolean mask\nmsk.\n

\n

\nIf an entry in msk is true, then the value\nof this input will be sent to the output y, otherwise it\nwill be discarded.\n

\n

\nThe parameter msk must have exactly nout entries\nset to true, otherwise an error message is issued.\n

\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout" } ], "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,110},{150,150}}),Polygon(points={{-60,80},{-60,-80},{20,-10},{60,-10},{80,10},{20,10},{-60,80}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid,lineThickness=0.5),Line(color={0,0,127},points={{-100,0},{-60,0}}),Line(color={0,0,127},points={{70,0},{100,0}})}", "S231:label": "RealVectorFilter" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.msk", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Array mask", @@ -10080,7 +10081,7 @@ "S231:value": "fill(true,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -10090,7 +10091,7 @@ "S231:label": "nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of output vector", @@ -10100,7 +10101,7 @@ "S231:label": "nout" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signals from which values are extracted", @@ -10111,7 +10112,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorFilter.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with extracted input signals", @@ -10122,28 +10123,28 @@ "S231:sizeOfDimensions": "(nout)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block replicates an Real vector input signal of size nin,\nto a matrix with nout rows and nin columns,\nwhere each row is duplicating the input vector.\n

\n,revisions=\n
    \n
  • \nJune 22, 2021, by Baptiste Ravache:
    \nFirst implementation\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u" }, "S231:hasOutput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y" }, "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout" + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout" } ], "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Line(color={0,0,127},points={{-100,0},{-6,0}}),Line(color={0,0,127},points={{100,0},{10,0}}),Line(color={0,0,127},points={{0,0},{100,10}}),Line(color={0,0,127},points={{0,0},{100,-10}}),Ellipse(extent={{-14,16},{16,-14}},lineColor={0,0,0},fillColor={0,0,127},fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-150,110},{150,150}}),Line(color={0,0,127},points={{-100,-10},{0,0}}),Line(color={0,0,127},points={{-100,10},{0,0}})}", "S231:label": "RealVectorReplicator" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nin", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Size of input vector", @@ -10154,7 +10155,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.nout", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Number of row in output", @@ -10165,7 +10166,7 @@ "S231:value": 1 }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.u", "@type": "S231:RealInput", "S231:accessSpecifier": "public", "S231:description": "Input signal to be replicated", @@ -10176,7 +10177,7 @@ "S231:sizeOfDimensions": "(nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y", + "@id": "S231:Buildings.Controls.OBC.CDL.Routing.RealVectorReplicator.y", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Output with replicated input signal", @@ -10187,419 +10188,419 @@ "S231:sizeOfDimensions": "(nout,nin)" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining the extrapolation of time table interpolation", "S231:label": "Extrapolation", "S231:value": "Extrapolation" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.HoldLastPoint", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.HoldLastPoint", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Hold the first/last table point outside of the table scope", "S231:label": "HoldLastPoint", "S231:value": "HoldLastPoint" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.LastTwoPoints", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.LastTwoPoints", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Extrapolate by using the derivative at the first/last table points outside of the table scope", "S231:label": "LastTwoPoints", "S231:value": "LastTwoPoints" }, { - "@id": "http://data.ashrae.org/S231#Extrapolation.Periodic", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", + "@id": "S231:Extrapolation.Periodic", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "S231:description": "Repeat the table scope periodically", "S231:label": "Periodic", "S231:value": "Periodic" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", "S231:label": "SimpleController", "S231:value": "SimpleController" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.P", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.P", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "P controller", "S231:label": "P", "S231:value": "P" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PD", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PD", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PD controller", "S231:label": "PD", "S231:value": "PD" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PI", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PI", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PI controller", "S231:label": "PI", "S231:value": "PI" }, { - "@id": "http://data.ashrae.org/S231#SimpleController.PID", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", + "@id": "S231:SimpleController.PID", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "S231:description": "PID controller", "S231:label": "PID", "S231:value": "PID" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "@type": "S231:EnumerationType", "S231:description": "Enumeration defining the smoothness of table interpolation", "S231:label": "Smoothness", "S231:value": "Smoothness" }, { - "@id": "http://data.ashrae.org/S231#Smoothness.ConstantSegments", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Smoothness.ConstantSegments", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "S231:description": "Table points are not interpolated, but the previous tabulated value is returned", "S231:label": "ConstantSegments", "S231:value": "ConstantSegments" }, { - "@id": "http://data.ashrae.org/S231#Smoothness.LinearSegments", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", + "@id": "S231:Smoothness.LinearSegments", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "S231:description": "Table points are linearly interpolated", "S231:label": "LinearSegments", "S231:value": "LinearSegments" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "@type": "S231:EnumerationType", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.Custom", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.Custom", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "User specified local time", "S231:label": "Custom", "S231:value": "Custom" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2010", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2010", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2010, 00:00:00 local time", "S231:label": "NY2010", "S231:value": "NY2010" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2011", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2011", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2011, 00:00:00 local time", "S231:label": "NY2011", "S231:value": "NY2011" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2012", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2012", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2012, 00:00:00 local time", "S231:label": "NY2012", "S231:value": "NY2012" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2013", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2013", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2013, 00:00:00 local time", "S231:label": "NY2013", "S231:value": "NY2013" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2014", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2014", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2014, 00:00:00 local time", "S231:label": "NY2014", "S231:value": "NY2014" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2015", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2015", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2015, 00:00:00 local time", "S231:label": "NY2015", "S231:value": "NY2015" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2016", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2016", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2016, 00:00:00 local time", "S231:label": "NY2016", "S231:value": "NY2016" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2017", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2017", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2017, 00:00:00 local time", "S231:label": "NY2017", "S231:value": "NY2017" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2018", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2018", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2018, 00:00:00 local time", "S231:label": "NY2018", "S231:value": "NY2018" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2019", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2019", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2019, 00:00:00 local time", "S231:label": "NY2019", "S231:value": "NY2019" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2020", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2020", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2020, 00:00:00 local time", "S231:label": "NY2020", "S231:value": "NY2020" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2021", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2021", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2021, 00:00:00 local time", "S231:label": "NY2021", "S231:value": "NY2021" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2022", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2022", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2022, 00:00:00 local time", "S231:label": "NY2022", "S231:value": "NY2022" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2023", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2023", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2023, 00:00:00 local time", "S231:label": "NY2023", "S231:value": "NY2023" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2024", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2024", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2024, 00:00:00 local time", "S231:label": "NY2024", "S231:value": "NY2024" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2025", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2025", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2025, 00:00:00 local time", "S231:label": "NY2025", "S231:value": "NY2025" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2026", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2026", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2026, 00:00:00 local time", "S231:label": "NY2026", "S231:value": "NY2026" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2027", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2027", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2027, 00:00:00 local time", "S231:label": "NY2027", "S231:value": "NY2027" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2028", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2028", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2028, 00:00:00 local time", "S231:label": "NY2028", "S231:value": "NY2028" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2029", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2029", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2029, 00:00:00 local time", "S231:label": "NY2029", "S231:value": "NY2029" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2030", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2030", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2030, 00:00:00 local time", "S231:label": "NY2030", "S231:value": "NY2030" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2031", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2031", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2031, 00:00:00 local time", "S231:label": "NY2031", "S231:value": "NY2031" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2032", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2032", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2032, 00:00:00 local time", "S231:label": "NY2032", "S231:value": "NY2032" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2033", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2033", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2033, 00:00:00 local time", "S231:label": "NY2033", "S231:value": "NY2033" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2034", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2034", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2034, 00:00:00 local time", "S231:label": "NY2034", "S231:value": "NY2034" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2035", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2035", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2035, 00:00:00 local time", "S231:label": "NY2035", "S231:value": "NY2035" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2036", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2036", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2036, 00:00:00 local time", "S231:label": "NY2036", "S231:value": "NY2036" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2037", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2037", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2037, 00:00:00 local time", "S231:label": "NY2037", "S231:value": "NY2037" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2038", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2038", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2038, 00:00:00 local time", "S231:label": "NY2038", "S231:value": "NY2038" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2039", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2039", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2039, 00:00:00 local time", "S231:label": "NY2039", "S231:value": "NY2039" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2040", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2040", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2040, 00:00:00 local time", "S231:label": "NY2040", "S231:value": "NY2040" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2041", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2041", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2041, 00:00:00 local time", "S231:label": "NY2041", "S231:value": "NY2041" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2042", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2042", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2042, 00:00:00 local time", "S231:label": "NY2042", "S231:value": "NY2042" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2043", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2043", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2043, 00:00:00 local time", "S231:label": "NY2043", "S231:value": "NY2043" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2044", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2044", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2044, 00:00:00 local time", "S231:label": "NY2044", "S231:value": "NY2044" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2045", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2045", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2045, 00:00:00 local time", "S231:label": "NY2045", "S231:value": "NY2045" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2046", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2046", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2046, 00:00:00 local time", "S231:label": "NY2046", "S231:value": "NY2046" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2047", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2047", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2047, 00:00:00 local time", "S231:label": "NY2047", "S231:value": "NY2047" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2048", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2048", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2048, 00:00:00 local time", "S231:label": "NY2048", "S231:value": "NY2048" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2049", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2049", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2049, 00:00:00 local time", "S231:label": "NY2049", "S231:value": "NY2049" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.NY2050", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.NY2050", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "New year 2050, 00:00:00 local time", "S231:label": "NY2050", "S231:value": "NY2050" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.UnixTimeStamp", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.UnixTimeStamp", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "Thu, 01 Jan 1970 00:00:00 local time", "S231:label": "UnixTimeStamp", "S231:value": "UnixTimeStamp" }, { - "@id": "http://data.ashrae.org/S231#ZeroTime.UnixTimeStampGMT", - "@type": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", + "@id": "S231:ZeroTime.UnixTimeStampGMT", + "@type": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "S231:description": "Thu, 01 Jan 1970 00:00:00 GMT", "S231:label": "UnixTimeStampGMT", "S231:value": "UnixTimeStampGMT" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nBlock that writes a warning if the input becomes false.\n

\n

\nTools or control systems are expected to write message together\nwith a time stamp to an output device and/or a log file.\n

\n,revisions=\n
    \n
  • \nNovember 6, 2017, by Michael Wetter:
    \nSimplified implementation.\n
  • \n
  • \nNovember 3, 2017, by Jianjun Hu:
    \nFirst implementation.\n
  • \n
\n", "S231:hasInput": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.u" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.u" }, "S231:hasParameter": { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.message" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.message" }, "S231:icon": "graphics={Rectangle(extent={{-100,-100},{100,100}},lineColor={0,0,127},fillColor={255,255,255},fillPattern=FillPattern.Solid),Polygon(points={{0,80},{-80,-60},{80,-60},{0,80}},lineColor={0,0,0},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Text(textString=\"%name\",textColor={0,0,255},extent={{-100,160},{100,106}}),Polygon(points={{0,72},{-72,-56},{72,-56},{0,72}},lineColor={0,0,0},fillColor={255,255,170},fillPattern=FillPattern.Solid),Rectangle(extent={{-4,38},{2,-24}},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid),Ellipse(extent={{-6,-32},{4,-42}},fillColor={0,0,0},pattern=LinePattern.None,fillPattern=FillPattern.Solid)}", "S231:label": "Assert" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.message", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.message", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Message written when u becomes false", @@ -10609,7 +10610,7 @@ "S231:label": "message" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.Assert.u", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.Assert.u", "@type": "S231:BooleanInput", "S231:accessSpecifier": "public", "S231:description": "Boolean input that triggers assert when it becomes false", @@ -10617,29 +10618,29 @@ "S231:label": "u" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet", "@type": "S231:ElementaryBlock", "S231:documentation": "info=\n

\nThis block outputs the next sunrise and sunset time.\nThe sunrise time keeps constant until the model time reaches the next sunrise,\nat which time the output gets updated.\nSimilarly, the output for the next sunset is updated at each sunset.\n

\n

\nThe time zone parameter is based on UTC time; for instance, Eastern Standard Time is -5h.\nNote that daylight savings time is not considered in this component.\n

\n

Validation

\n

\nA validation can be found at\n\nBuildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.\n

\n,revisions=\n
    \n
  • \nJanuary 4, 2022, by Michael Wetter:
    \nChanged implementation to avoid NaN in OpenModelica.
    \nThis is for\nBuildings, issue 2835.\n
  • \n
  • \nNovember 12, 2020, by Michael Wetter:
    \nReformulated to remove dependency to Modelica.Units.SI.
    \nThis is for\nBuildings, issue 2243.\n
  • \n
  • \nNovember 27, 2018, by Kun Zhang:
    \nFirst implementation.\nThis is for\nissue 829.\n
  • \n
\n", "S231:hasOutput": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp" } ], "S231:hasParameter": [ { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon" + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon" } ], "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={{-100,160},{100,106}}),Ellipse(startAngle=0,endAngle=180,extent={{70,-100},{-70,20}},lineColor={238,46,47}),Line(color={28,108,200},thickness=0.5,points={{-94,-40},{92,-40},{92,-40}}),Line(color={238,46,47},points={{0,60},{0,32}}),Line(color={238,46,47},points={{60,40},{40,20}}),Line(color={238,46,47},points={{94,-6},{70,-6}}),Line(color={238,46,47},points={{10,10},{-10,-10}}),Line(color={238,46,47},points={{-70,-6},{-94,-6}})}", @@ -10651,7 +10652,7 @@ ] }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lat", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Latitude", @@ -10670,7 +10671,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.lon", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Longitude", @@ -10689,7 +10690,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunRise", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Time of next sunrise", @@ -10706,7 +10707,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.nextSunSet", "@type": "S231:RealOutput", "S231:accessSpecifier": "public", "S231:description": "Time of next sunset", @@ -10723,7 +10724,7 @@ } }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.sunUp", "@type": "S231:BooleanOutput", "S231:accessSpecifier": "public", "S231:description": "Output with true if the sun is up", @@ -10731,7 +10732,7 @@ "S231:label": "sunUp" }, { - "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon", + "@id": "S231:Buildings.Controls.OBC.CDL.Utilities.SunRiseSet.timZon", "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Time zone", From e9d892c413fc0c93aa14cadd0e2654caad07a4e8 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Fri, 31 Jul 2026 21:44:00 +0200 Subject: [PATCH 2/8] fix: emit S231:isOfDataType for enumeration-typed parameters CXF recorded a data type only for parameters and constants declared as one of the four Modelica built-ins. An enumeration-typed parameter therefore carried neither S231:isOfDataType nor rdf:type S231:Parameter, so its type survived only when a fully-qualified default literal happened to sit in S231:value, and not at all when the declaration had no default: parameter Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard venStd "Ventilation standard, ASHRAE 62.1 or Title 24"; emitted a node with only accessSpecifier, description and label. A consumer cannot recover the enumeration, which is needed to check members and to resolve conditional expressions over them. Resolve the declared type instead of matching it against a fixed list. resolveEnumerationType locates the class through searchPath, confirms it declares `type = enumeration(`, and takes the qualified name from that file's own within clause. This is required because a declaration carries the type exactly as written, which may be fully qualified, partially qualified (CDL.Types.SimpleController) or relative to an enclosing package (Types.VentilationStandard); resolveTypeSpecifier returns early on any dotted name and so never resolves the latter two. The emitted node uses the S231 namespace for CDL types and the example namespace otherwise, matching the prefix rule the enumeration_class branch already applies when it emits the enumeration itself. A type that is neither a built-in nor an enumeration still yields no isOfDataType triple. Adds ParameterWithEnumeration, covering an enumeration parameter with and without a default, for a CDL and a non-CDL enumeration. The updated references add only these triples: two per enumeration parameter in TestEvaluation_4 and G36 SetPoints/CoolingCoil, and ten in CXF-Core for Reals.PID, Reals.PIDWithReset, Sources.CalendarTime and Sources.TimeTable. --- CXF-Core.jsonld | 20 ++++ lib/cxfExtractor.js | 47 +++++++-- lib/util.js | 68 +++++++++++++ test/FromModelica/ParameterWithEnumeration.mo | 10 ++ .../VAV/SetPoints/CoolingCoil.jsonld | 4 + test/reference/cxf/CXF-Core.jsonld | 20 ++++ .../ParameterWithEnumeration.jsonld | 56 +++++++++++ .../test/FromModelica/TestEvaluation_4.jsonld | 4 + .../ParameterWithEnumeration.json | 1 + .../ParameterWithEnumeration.json | 95 +++++++++++++++++++ .../ParameterWithEnumeration.json | 1 + test/test_util.js | 36 +++++++ 12 files changed, 356 insertions(+), 6 deletions(-) create mode 100644 test/FromModelica/ParameterWithEnumeration.mo create mode 100644 test/reference/cxf/test/FromModelica/ParameterWithEnumeration.jsonld create mode 100644 test/reference/json/test/FromModelica/ParameterWithEnumeration.json create mode 100644 test/reference/objects/test/FromModelica/ParameterWithEnumeration.json create mode 100644 test/reference/raw-json/test/FromModelica/ParameterWithEnumeration.json diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld index 05a32fd4..221e4526 100644 --- a/CXF-Core.jsonld +++ b/CXF-Core.jsonld @@ -6664,8 +6664,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, @@ -7459,8 +7463,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, @@ -8499,8 +8507,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Enumeration for choosing how reference time (time = 0) should be defined", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime" + }, "S231:label": "zerTim" }, { @@ -8955,8 +8967,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extrapolation of data outside the definition range", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation" + }, "S231:label": "extrapolation", "S231:value": "CDL.Types.Extrapolation.Periodic" }, @@ -8975,8 +8991,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Smoothness of table interpolation", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness" + }, "S231:label": "smoothness", "S231:value": "CDL.Types.Smoothness.LinearSegments" }, diff --git a/lib/cxfExtractor.js b/lib/cxfExtractor.js index c9a54796..74688b97 100644 --- a/lib/cxfExtractor.js +++ b/lib/cxfExtractor.js @@ -121,6 +121,38 @@ function parsePropagateAnnotations (propagateObjects, instanceNode, graph, s231N } } +/** + * Node to use as the object of `S231:isOfDataType` for a declared type. + * + * The four Modelica built-ins map to the S231 data types of the same name. An + * enumeration maps to the node of its enumeration class, which lives in the + * S231 namespace for CDL types and in the example namespace otherwise — the + * same prefix rule the `enumeration_class` branch applies when it emits that + * class. Any other type (e.g. a `Modelica.Units.SI` alias) has no S231 data + * type and yields null, leaving the triple unwritten. + * + * @param typeSpecifier type name as written in the declaration + * @param instanceDict the component's entry in the objects JSON + * @param s231Ns S231 namespace function + * @param cxfPrefix example namespace function + * @returns {Object|null} the node to point `S231:isOfDataType` at, or null + */ +function getDataTypeNode (typeSpecifier, instanceDict, s231Ns, cxfPrefix) { + if (typeSpecifier === undefined || typeSpecifier === null) { + return null + } + if (['Real', 'Integer', 'Boolean', 'String'].includes(typeSpecifier)) { + return s231Ns(typeSpecifier) + } + const enumerationType = ut.resolveEnumerationType(typeSpecifier, instanceDict.within, instanceDict.fullMoFilePath) + if (enumerationType === null) { + return null + } + return ut.checkIfCdlElementaryBlockOrPackage(enumerationType.within, false) + ? s231Ns(enumerationType.name) + : cxfPrefix(enumerationType.name) +} + function getCxfGraph (instances, requiredReferences, blockName, generateElementary, generateCxfCore) { let instancesList = [] @@ -350,18 +382,21 @@ function getCxfGraph (instances, requiredReferences, blockName, generateElementa graph.add(instanceNode, s231Ns('label'), instance) } + // An enumeration-typed parameter records its type here like any other; + // without it the type survives only when a fully-qualified default + // literal happens to be present in S231:value, and not at all when the + // declaration has no default. + const dataTypeNode = getDataTypeNode(typeSpecifier, instanceDict, s231Ns, cxfPrefix) if (instanceDict.type_prefix === 'parameter') { graph.add(blockNode, s231Ns('hasParameter'), instanceNode) - // TODO: check if enumeration should be here - if (typeSpecifier !== undefined && ['Real', 'Integer', 'Boolean', 'String'].includes(typeSpecifier)) { - graph.add(instanceNode, s231Ns('isOfDataType'), s231Ns(typeSpecifier)) + if (dataTypeNode !== null) { + graph.add(instanceNode, s231Ns('isOfDataType'), dataTypeNode) graph.add(instanceNode, rdfNs('type'), s231Ns('Parameter')) } } else if (instanceDict.type_prefix === 'constant') { graph.add(blockNode, s231Ns('hasConstant'), instanceNode) - // TODO: check if enumeration should be here - if (typeSpecifier !== undefined && ['Real', 'Integer', 'Boolean', 'String'].includes(typeSpecifier)) { - graph.add(instanceNode, s231Ns('isOfDataType'), s231Ns(typeSpecifier)) + if (dataTypeNode !== null) { + graph.add(instanceNode, s231Ns('isOfDataType'), dataTypeNode) } graph.add(instanceNode, rdfNs('type'), s231Ns('Constant')) } else if (instanceDict.type_prefix === '' || instanceDict.type_prefix === undefined) { diff --git a/lib/util.js b/lib/util.js index 85ea9131..3c6a1ba9 100644 --- a/lib/util.js +++ b/lib/util.js @@ -322,6 +322,73 @@ function resolveTypeSpecifier (typeSpecifier, within, sourceMoFile) { return resolved } +// Cache enumeration type resolutions to avoid repeated file lookups. +const enumerationTypeCache = {} + +/** + * Check whether a Modelica file declares `className` as an enumeration type. + * + * @param moFile path to the .mo file + * @param className name of the class the file is expected to declare + * @returns {boolean} true if the file declares `type = enumeration(` + */ +function isEnumerationDeclaration (moFile, className) { + if (!/^[A-Za-z_]\w*$/.test(className)) { + return false + } + try { + const content = fs.readFileSync(moFile, 'utf-8') + return new RegExp(`(^|\\n)\\s*type\\s+${className}\\s*=\\s*enumeration\\s*\\(`).test(content) + } catch (e) { + return false + } +} + +/** + * Resolve the type specifier of a component declaration to the enumeration + * class it names, if it names one. + * + * A declaration carries its type exactly as the source writes it, which may be + * fully qualified (`Buildings.Controls.OBC.CDL.Types.SimpleController`), + * partially qualified (`CDL.Types.SimpleController`) or relative to an + * enclosing package (`Types.VentilationStandard`). A CXF node is keyed by the + * fully-qualified name, so the declaration alone does not identify the type. + * The class file located through `searchPath` answers both questions: whether + * the type is an enumeration, and — via its own `within` clause — its qualified + * name. + * + * `resolveTypeSpecifier` cannot be used here because it returns early for any + * name containing a '.', so it never resolves the partially-qualified forms. + * + * @param typeSpecifier type name as written in the declaration + * @param within within scope of the declaring file + * @param sourceMoFile absolute path of the declaring .mo file + * @returns {{name: string, within: string}|null} the enumeration's qualified + * name and within scope, or null if the type is not an enumeration or + * cannot be located + */ +function resolveEnumerationType (typeSpecifier, within, sourceMoFile) { + if (typeSpecifier === undefined || typeSpecifier === null || typeSpecifier.length === 0) { + return null + } + const cacheKey = `${within}|${typeSpecifier}` + if (cacheKey in enumerationTypeCache) { + return enumerationTypeCache[cacheKey] + } + let resolved = null + const moFiles = searchPath([typeSpecifier], within, sourceMoFile) + if (moFiles !== undefined && moFiles !== null && moFiles.length > 0) { + const moFile = moFiles[0] + const className = path.basename(moFile, '.mo') + const classWithin = readWithin(moFile) + if (classWithin !== null && classWithin.length > 0 && isEnumerationDeclaration(moFile, className)) { + resolved = { name: `${classWithin}.${className}`, within: classWithin } + } + } + enumerationTypeCache[cacheKey] = resolved + return resolved +} + // Get array of potential paths function joinedPathes (eleArr) { const pathes = [] @@ -743,6 +810,7 @@ module.exports.removeDir = removeDir module.exports.searchPath = searchPath module.exports.readWithin = readWithin module.exports.resolveTypeSpecifier = resolveTypeSpecifier +module.exports.resolveEnumerationType = resolveEnumerationType module.exports.writeFile = writeFile module.exports.isEmptyObject = isEmptyObject module.exports.copyFolderSync = copyFolderSync diff --git a/test/FromModelica/ParameterWithEnumeration.mo b/test/FromModelica/ParameterWithEnumeration.mo new file mode 100644 index 00000000..173945d6 --- /dev/null +++ b/test/FromModelica/ParameterWithEnumeration.mo @@ -0,0 +1,10 @@ +within FromModelica; +block ParameterWithEnumeration "Block with enumeration-typed parameters" + parameter Enumeration1 eNoDefault + "Enumeration parameter without a default"; + parameter Enumeration1 eWithDefault=FromModelica.Enumeration1.e2 + "Enumeration parameter with a default"; + parameter Buildings.Controls.OBC.CDL.Types.SimpleController conTyp= + Buildings.Controls.OBC.CDL.Types.SimpleController.PI + "Enumeration parameter of a CDL type"; +end ParameterWithEnumeration; diff --git a/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld b/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld index 1efb98e4..0325327c 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/ASHRAE/G36/AHUs/SingleZone/VAV/SetPoints/CoolingCoil.jsonld @@ -238,8 +238,12 @@ }, { "@id": "ex:Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.CoolingCoil.controllerTypeCooCoi", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerTypeCooCoi", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, diff --git a/test/reference/cxf/CXF-Core.jsonld b/test/reference/cxf/CXF-Core.jsonld index 05a32fd4..221e4526 100644 --- a/test/reference/cxf/CXF-Core.jsonld +++ b/test/reference/cxf/CXF-Core.jsonld @@ -6664,8 +6664,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PID.controllerType", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, @@ -7459,8 +7463,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.PIDWithReset.controllerType", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerType", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, @@ -8499,8 +8507,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.CalendarTime.zerTim", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Enumeration for choosing how reference time (time = 0) should be defined", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime" + }, "S231:label": "zerTim" }, { @@ -8955,8 +8967,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.extrapolation", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Extrapolation of data outside the definition range", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation" + }, "S231:label": "extrapolation", "S231:value": "CDL.Types.Extrapolation.Periodic" }, @@ -8975,8 +8991,12 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable.smoothness", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Smoothness of table interpolation", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness" + }, "S231:label": "smoothness", "S231:value": "CDL.Types.Smoothness.LinearSegments" }, diff --git a/test/reference/cxf/test/FromModelica/ParameterWithEnumeration.jsonld b/test/reference/cxf/test/FromModelica/ParameterWithEnumeration.jsonld new file mode 100644 index 00000000..99e0cf14 --- /dev/null +++ b/test/reference/cxf/test/FromModelica/ParameterWithEnumeration.jsonld @@ -0,0 +1,56 @@ +{ + "@context": { + "S231": "http://data.ashrae.org/S231#", + "ex": "http://example.org#" + }, + "@graph": [ + { + "@id": "ex:FromModelica.ParameterWithEnumeration", + "@type": "S231:Block", + "S231:hasParameter": [ + { + "@id": "ex:FromModelica.ParameterWithEnumeration.conTyp" + }, + { + "@id": "ex:FromModelica.ParameterWithEnumeration.eNoDefault" + }, + { + "@id": "ex:FromModelica.ParameterWithEnumeration.eWithDefault" + } + ], + "S231:label": "ParameterWithEnumeration" + }, + { + "@id": "ex:FromModelica.ParameterWithEnumeration.conTyp", + "@type": "S231:Parameter", + "S231:accessSpecifier": "public", + "S231:description": "Enumeration parameter of a CDL type", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, + "S231:label": "conTyp", + "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" + }, + { + "@id": "ex:FromModelica.ParameterWithEnumeration.eNoDefault", + "@type": "S231:Parameter", + "S231:accessSpecifier": "public", + "S231:description": "Enumeration parameter without a default", + "S231:isOfDataType": { + "@id": "ex:FromModelica.Enumeration1" + }, + "S231:label": "eNoDefault" + }, + { + "@id": "ex:FromModelica.ParameterWithEnumeration.eWithDefault", + "@type": "S231:Parameter", + "S231:accessSpecifier": "public", + "S231:description": "Enumeration parameter with a default", + "S231:isOfDataType": { + "@id": "ex:FromModelica.Enumeration1" + }, + "S231:label": "eWithDefault", + "S231:value": "FromModelica.Enumeration1.e2" + } + ] +} \ No newline at end of file diff --git a/test/reference/cxf/test/FromModelica/TestEvaluation_4.jsonld b/test/reference/cxf/test/FromModelica/TestEvaluation_4.jsonld index 6d96b32c..6ff78601 100644 --- a/test/reference/cxf/test/FromModelica/TestEvaluation_4.jsonld +++ b/test/reference/cxf/test/FromModelica/TestEvaluation_4.jsonld @@ -44,8 +44,12 @@ }, { "@id": "ex:FromModelica.TestEvaluation_4.controllerTypeCooCoi", + "@type": "S231:Parameter", "S231:accessSpecifier": "public", "S231:description": "Type of controller", + "S231:isOfDataType": { + "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController" + }, "S231:label": "controllerTypeCooCoi", "S231:value": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" }, diff --git a/test/reference/json/test/FromModelica/ParameterWithEnumeration.json b/test/reference/json/test/FromModelica/ParameterWithEnumeration.json new file mode 100644 index 00000000..d60f8045 --- /dev/null +++ b/test/reference/json/test/FromModelica/ParameterWithEnumeration.json @@ -0,0 +1 @@ +{"within":"FromModelica","stored_class_definitions":[{"class_prefixes":"block","class_specifier":{"long_class_specifier":{"identifier":"ParameterWithEnumeration","description_string":"Block with enumeration-typed parameters","composition":{"element_list":[{"component_clause":{"type_prefix":"parameter","type_specifier":"Enumeration1","component_list":[{"declaration":{"identifier":"eNoDefault"},"description":{"description_string":"Enumeration parameter without a default"}}]}},{"component_clause":{"type_prefix":"parameter","type_specifier":"Enumeration1","component_list":[{"declaration":{"identifier":"eWithDefault","modification":{"equal":true,"expression":{"simple_expression":"FromModelica.Enumeration1.e2"}}},"description":{"description_string":"Enumeration parameter with a default"}}]}},{"component_clause":{"type_prefix":"parameter","type_specifier":"Buildings.Controls.OBC.CDL.Types.SimpleController","component_list":[{"declaration":{"identifier":"conTyp","modification":{"equal":true,"expression":{"simple_expression":"Buildings.Controls.OBC.CDL.Types.SimpleController.PI"}}},"description":{"description_string":"Enumeration parameter of a CDL type"}}]}}]}}}}],"modelicaFile":"test/FromModelica/ParameterWithEnumeration.mo","fullMoFilePath":"/Users/pontus/workspace/dev/ktc/modelica-json-fork/test/FromModelica/ParameterWithEnumeration.mo","checksum":"ced22779ff66f13edaff4c2e42f4c66f"} \ No newline at end of file diff --git a/test/reference/objects/test/FromModelica/ParameterWithEnumeration.json b/test/reference/objects/test/FromModelica/ParameterWithEnumeration.json new file mode 100644 index 00000000..c1860751 --- /dev/null +++ b/test/reference/objects/test/FromModelica/ParameterWithEnumeration.json @@ -0,0 +1,95 @@ +{ + "instances": { + "ParameterWithEnumeration": { + "within": "FromModelica", + "fullMoFilePath": "/Users/pontus/workspace/dev/ktc/modelica-json-fork/test/FromModelica/ParameterWithEnumeration.mo", + "type": "long_class_specifier", + "class_prefixes": "block" + }, + "eNoDefault": { + "type_prefix": "parameter", + "type_specifier": "FromModelica.Enumeration1", + "type": "element", + "compositionSpecifier": "public", + "long_class_specifier_identifier": "ParameterWithEnumeration", + "single_component_list": { + "declaration": { + "identifier": "eNoDefault" + }, + "description": { + "description_string": "Enumeration parameter without a default" + } + }, + "annotation": null, + "semantics": {}, + "cdl_annotations": {}, + "isVector": false, + "arraySubscripts": "", + "replaceable": null, + "constraining_clause": null, + "within": "FromModelica", + "fullMoFilePath": "/Users/pontus/workspace/dev/ktc/modelica-json-fork/test/FromModelica/ParameterWithEnumeration.mo" + }, + "eWithDefault": { + "type_prefix": "parameter", + "type_specifier": "FromModelica.Enumeration1", + "type": "element", + "compositionSpecifier": "public", + "long_class_specifier_identifier": "ParameterWithEnumeration", + "single_component_list": { + "declaration": { + "identifier": "eWithDefault", + "modification": { + "equal": true, + "expression": { + "simple_expression": "FromModelica.Enumeration1.e2" + } + } + }, + "description": { + "description_string": "Enumeration parameter with a default" + } + }, + "annotation": null, + "semantics": {}, + "cdl_annotations": {}, + "isVector": false, + "arraySubscripts": "", + "replaceable": null, + "constraining_clause": null, + "within": "FromModelica", + "fullMoFilePath": "/Users/pontus/workspace/dev/ktc/modelica-json-fork/test/FromModelica/ParameterWithEnumeration.mo" + }, + "conTyp": { + "type_prefix": "parameter", + "type_specifier": "Buildings.Controls.OBC.CDL.Types.SimpleController", + "type": "element", + "compositionSpecifier": "public", + "long_class_specifier_identifier": "ParameterWithEnumeration", + "single_component_list": { + "declaration": { + "identifier": "conTyp", + "modification": { + "equal": true, + "expression": { + "simple_expression": "Buildings.Controls.OBC.CDL.Types.SimpleController.PI" + } + } + }, + "description": { + "description_string": "Enumeration parameter of a CDL type" + } + }, + "annotation": null, + "semantics": {}, + "cdl_annotations": {}, + "isVector": false, + "arraySubscripts": "", + "replaceable": null, + "constraining_clause": null, + "within": "FromModelica", + "fullMoFilePath": "/Users/pontus/workspace/dev/ktc/modelica-json-fork/test/FromModelica/ParameterWithEnumeration.mo" + } + }, + "requiredReferences": {} +} \ No newline at end of file diff --git a/test/reference/raw-json/test/FromModelica/ParameterWithEnumeration.json b/test/reference/raw-json/test/FromModelica/ParameterWithEnumeration.json new file mode 100644 index 00000000..4357dcab --- /dev/null +++ b/test/reference/raw-json/test/FromModelica/ParameterWithEnumeration.json @@ -0,0 +1 @@ +{"within":"FromModelica","final_class_definitions":[{"is_final":false,"class_definition":{"encapsulated":false,"class_prefixes":"block","class_specifier":{"long_class_specifier":{"identifier":"ParameterWithEnumeration","string_comment":"\"Block with enumeration-typed parameters\"","composition":{"element_list":{"elements":[{"redeclare":false,"is_final":false,"inner":false,"outer":false,"replaceable":false,"component_clause":{"type_prefix":"parameter","type_specifier":{"name":{"name_parts":[{"dot_op":false,"identifier":"Enumeration1"}]}},"component_list":{"component_declaration_list":[{"declaration":{"identifier":"eNoDefault"},"comment":{"string_comment":"\"Enumeration parameter without a default\""}}]}}},{"redeclare":false,"is_final":false,"inner":false,"outer":false,"replaceable":false,"component_clause":{"type_prefix":"parameter","type_specifier":{"name":{"name_parts":[{"dot_op":false,"identifier":"Enumeration1"}]}},"component_list":{"component_declaration_list":[{"declaration":{"identifier":"eWithDefault","modification":{"equal":true,"colon_equal":false,"expression":{"simple_expression":{"logical_expression1":{"logical_term_list":[{"logical_factor_list":[{"not":false,"relation":{"arithmetic_expression1":{"arithmetic_term_list":[{"term":{"factors":[{"primary1":{"is_false":false,"is_true":false,"function_call_primary":{"der":false,"initial":false},"component_reference":{"component_reference_parts":[{"dot_op":false,"identifier":"FromModelica","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"Enumeration1","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"e2","array_subscripts":null}]},"end":false}}]}}]}}}]}]}}}}},"comment":{"string_comment":"\"Enumeration parameter with a default\""}}]}}},{"redeclare":false,"is_final":false,"inner":false,"outer":false,"replaceable":false,"component_clause":{"type_prefix":"parameter","type_specifier":{"name":{"name_parts":[{"dot_op":false,"identifier":"Buildings"},{"dot_op":true,"identifier":"Controls"},{"dot_op":true,"identifier":"OBC"},{"dot_op":true,"identifier":"CDL"},{"dot_op":true,"identifier":"Types"},{"dot_op":true,"identifier":"SimpleController"}]}},"component_list":{"component_declaration_list":[{"declaration":{"identifier":"conTyp","modification":{"equal":true,"colon_equal":false,"expression":{"simple_expression":{"logical_expression1":{"logical_term_list":[{"logical_factor_list":[{"not":false,"relation":{"arithmetic_expression1":{"arithmetic_term_list":[{"term":{"factors":[{"primary1":{"is_false":false,"is_true":false,"function_call_primary":{"der":false,"initial":false},"component_reference":{"component_reference_parts":[{"dot_op":false,"identifier":"Buildings","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"Controls","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"OBC","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"CDL","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"Types","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"SimpleController","array_subscripts":null},{"dot_op":true,"identifier":null,"array_subscripts":null},{"dot_op":false,"identifier":"PI","array_subscripts":null}]},"end":false}}]}}]}}}]}]}}}}},"comment":{"string_comment":"\"Enumeration parameter of a CDL type\""}}]}}}]},"element_sections":[]},"is_extends":false}}}}],"modelicaFile":"test/FromModelica/ParameterWithEnumeration.mo","checksum":"ced22779ff66f13edaff4c2e42f4c66f"} \ No newline at end of file diff --git a/test/test_util.js b/test/test_util.js index 897b50d7..35fe82ff 100644 --- a/test/test_util.js +++ b/test/test_util.js @@ -72,6 +72,7 @@ mo.describe('util', function () { 'Parameter3.mo', 'ParameterWithAttributes.mo', 'ParameterWithDefaultName.mo', + 'ParameterWithEnumeration.mo', 'ParameterWithInfo.mo', 'ParameterWithVendorAnnotationInInfo.mo', 'PointList.mo', @@ -135,6 +136,41 @@ mo.describe('util', function () { as.deepEqual(actualOutput, expectedOutput) }) }) + mo.describe('testing resolveEnumerationType()', function () { + // A declaration writes its type as the source does, so the same enumeration + // reaches this function fully qualified, partially qualified or relative to + // an enclosing package. All three must resolve to the same qualified name. + const sourceFile = ut.getMoFiles('Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Controller.mo')[0] + const within = 'Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF' + + mo.it('resolves a fully qualified enumeration', function () { + const actualOutput = ut.resolveEnumerationType('Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard', within, sourceFile) + as.deepEqual(actualOutput, { + name: 'Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard', + within: 'Buildings.Controls.OBC.ASHRAE.G36.Types' + }) + }) + mo.it('resolves a partially qualified enumeration', function () { + const actualOutput = ut.resolveEnumerationType('CDL.Types.SimpleController', within, sourceFile) + as.deepEqual(actualOutput, { + name: 'Buildings.Controls.OBC.CDL.Types.SimpleController', + within: 'Buildings.Controls.OBC.CDL.Types' + }) + }) + mo.it('resolves an enumeration named relative to the enclosing package', function () { + const actualOutput = ut.resolveEnumerationType('Types.VentilationStandard', within, sourceFile) + as.deepEqual(actualOutput, { + name: 'Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard', + within: 'Buildings.Controls.OBC.ASHRAE.G36.Types' + }) + }) + mo.it('returns null for a built-in type', function () { + as.equal(ut.resolveEnumerationType('Boolean', within, sourceFile), null) + }) + mo.it('returns null for a type that is not an enumeration', function () { + as.equal(ut.resolveEnumerationType('Buildings.Controls.OBC.CDL.Reals.PID', within, sourceFile), null) + }) + }) mo.describe('testing joinWithinPath()', function () { mo.it('testing with current directory modelicapath', function () { const moPath = __dirname From 21ed8f04fa0409559fd369118b57d3412f336597 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Fri, 31 Jul 2026 23:07:34 +0200 Subject: [PATCH 3/8] fix: resolve enumerations declared alongside others in one file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolveEnumerationType assumed the file located by searchPath declares a class of the same name, so it only recognised one-enumeration-per-file layouts. A package that groups its enumerations in a single file — Buildings/Templates/ Components/Types.mo, Modelica/Fluid/Types.mo — was located correctly and then rejected, losing the data type for parameters that reference it. Look the enumeration up by the last segment of the type specifier instead, and build the qualified name from the class the file itself declares. Guard the reconstruction with the invariant that the result must end with the type specifier as written. It does not hold for a monolithic package.mo holding nested packages: Modelica.Media.Interfaces.Choices.ReferenceEnthalpy resolves to Modelica/Media/package.mo, where the enumeration sits two packages below the class the file declares, and would otherwise have been rebuilt as the wrong name Modelica.Media.ReferenceEnthalpy. Checked over every fully-qualified type reference in the Buildings library and the MSL: 112 resolve as enumerations, 0 with a name that disagrees with the reference as written. Blank string literals and comments before matching. Classes carry their documentation in info strings and reference material quotes declaration syntax verbatim, so ModelicaReference/package.mo contains `type E = enumeration(...)` inside a string; it is the one such case in 8187 files, and widening the lookup to grouped declarations reads deeper into exactly the files that carry large documentation blocks. --- lib/util.js | 69 +++++++++++++++++++++++++++++++++++++---------- test/test_util.js | 22 +++++++++++++++ 2 files changed, 77 insertions(+), 14 deletions(-) diff --git a/lib/util.js b/lib/util.js index 3c6a1ba9..ea017bca 100644 --- a/lib/util.js +++ b/lib/util.js @@ -326,22 +326,34 @@ function resolveTypeSpecifier (typeSpecifier, within, sourceMoFile) { const enumerationTypeCache = {} /** - * Check whether a Modelica file declares `className` as an enumeration type. + * Blank out string literals and comments, preserving offsets and line breaks. * - * @param moFile path to the .mo file - * @param className name of the class the file is expected to declare - * @returns {boolean} true if the file declares `type = enumeration(` + * A Modelica class carries its documentation in `info="…"` + * strings, and reference material quotes declaration syntax verbatim — e.g. + * `ModelicaReference/package.mo` contains `type E = enumeration(...)` inside an + * info string. Matching a declaration against raw source would treat that as + * real. + * + * @param content Modelica source + * @returns {string} the source with literals and comments replaced by spaces + */ +function blankLiteralsAndComments (content) { + return content.replace(/"(?:[^"\\]|\\[\s\S])*"|\/\/[^\n]*|\/\*[\s\S]*?\*\//g, + match => match.replace(/[^\n]/g, ' ')) +} + +/** + * Check whether Modelica source declares `className` as an enumeration type. + * + * @param content Modelica source, with literals and comments already blanked + * @param className name of the class to look for + * @returns {boolean} true if it declares `type = enumeration(` */ -function isEnumerationDeclaration (moFile, className) { +function isEnumerationDeclaration (content, className) { if (!/^[A-Za-z_]\w*$/.test(className)) { return false } - try { - const content = fs.readFileSync(moFile, 'utf-8') - return new RegExp(`(^|\\n)\\s*type\\s+${className}\\s*=\\s*enumeration\\s*\\(`).test(content) - } catch (e) { - return false - } + return new RegExp(`(^|\\n)\\s*type\\s+${className}\\s*=\\s*enumeration\\s*\\(`).test(content) } /** @@ -360,6 +372,11 @@ function isEnumerationDeclaration (moFile, className) { * `resolveTypeSpecifier` cannot be used here because it returns early for any * name containing a '.', so it never resolves the partially-qualified forms. * + * The located file may declare the enumeration as its own class, or as one of + * several classes inside a package (`Types.mo`, `package.mo`), so the + * enumeration is looked up by the last segment of the type specifier rather + * than by the file name. + * * @param typeSpecifier type name as written in the declaration * @param within within scope of the declaring file * @param sourceMoFile absolute path of the declaring .mo file @@ -379,10 +396,34 @@ function resolveEnumerationType (typeSpecifier, within, sourceMoFile) { const moFiles = searchPath([typeSpecifier], within, sourceMoFile) if (moFiles !== undefined && moFiles !== null && moFiles.length > 0) { const moFile = moFiles[0] - const className = path.basename(moFile, '.mo') + const enumerationName = typeSpecifier.split('.').slice(-1)[0] const classWithin = readWithin(moFile) - if (classWithin !== null && classWithin.length > 0 && isEnumerationDeclaration(moFile, className)) { - resolved = { name: `${classWithin}.${className}`, within: classWithin } + let content = null + try { + content = blankLiteralsAndComments(fs.readFileSync(moFile, 'utf-8')) + } catch (e) { + content = null + } + if (classWithin !== null && classWithin.length > 0 && content !== null && + isEnumerationDeclaration(content, enumerationName)) { + // The class the file itself declares: its name for a single-class file, + // the enclosing directory for a package.mo. + const fileClass = path.basename(moFile) === 'package.mo' + ? path.basename(path.dirname(moFile)) + : path.basename(moFile, '.mo') + const name = fileClass === enumerationName + ? `${classWithin}.${enumerationName}` + : `${classWithin}.${fileClass}.${enumerationName}` + // The reconstruction assumes the enumeration sits directly in the class + // the file declares. That does not hold for a monolithic package.mo + // holding nested packages, where searchPath resolves to the outermost + // file: Modelica.Media.Interfaces.Choices.ReferenceEnthalpy lands in + // Modelica/Media/package.mo and would be rebuilt as + // Modelica.Media.ReferenceEnthalpy. Requiring the result to end with the + // specifier as written rejects those rather than emitting a wrong IRI. + if (name === typeSpecifier || name.endsWith(`.${typeSpecifier}`)) { + resolved = { name, within: name.slice(0, name.lastIndexOf('.')) } + } } } enumerationTypeCache[cacheKey] = resolved diff --git a/test/test_util.js b/test/test_util.js index 35fe82ff..3413d62c 100644 --- a/test/test_util.js +++ b/test/test_util.js @@ -164,9 +164,31 @@ mo.describe('util', function () { within: 'Buildings.Controls.OBC.ASHRAE.G36.Types' }) }) + mo.it('resolves an enumeration declared alongside others in one file', function () { + // Buildings/Templates/Components/Types.mo declares `package Types` + // containing several enumerations, so the file name is not the name of + // the enumeration. + const actualOutput = ut.resolveEnumerationType('Buildings.Templates.Components.Types.Damper', within, sourceFile) + as.deepEqual(actualOutput, { + name: 'Buildings.Templates.Components.Types.Damper', + within: 'Buildings.Templates.Components.Types' + }) + }) mo.it('returns null for a built-in type', function () { as.equal(ut.resolveEnumerationType('Boolean', within, sourceFile), null) }) + mo.it('returns null for an enumeration named only in documentation', function () { + // ModelicaReference/package.mo documents enumeration syntax inside an + // info string; a match there must not be mistaken for a declaration. + as.equal(ut.resolveEnumerationType('ModelicaReference.E', within, sourceFile), null) + }) + mo.it('returns null rather than a wrong name for a deeply nested declaration', function () { + // searchPath resolves this to the monolithic Modelica/Media/package.mo, + // where the enumeration sits two packages below the class the file + // declares, so the qualified name cannot be reconstructed from the file + // alone. + as.equal(ut.resolveEnumerationType('Modelica.Media.Interfaces.Choices.ReferenceEnthalpy', within, sourceFile), null) + }) mo.it('returns null for a type that is not an enumeration', function () { as.equal(ut.resolveEnumerationType('Buildings.Controls.OBC.CDL.Reals.PID', within, sourceFile), null) }) From cc316785b661e6662f6bebfae978db5caffc11a9 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Sat, 1 Aug 2026 11:51:55 +0200 Subject: [PATCH 4/8] fix: resolve enumeration types when MODELICAPATH names the library directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit searchPath walks down from each MODELICAPATH entry, so it locates a class only when MODELICAPATH holds the directory containing the library. Pointed at the library directory itself — `…/modelica-buildings/Buildings`, an equally common convention — it looks for `…/Buildings/Buildings/Controls/…` and returns nothing, so every enumeration silently lost its data type again and the emitter fell back to writing no triple at all. Confirmed against a consumer that parses staged models this way: 221 CXF files, 1395 isOfDataType triples for built-ins, zero for enumerations. Fall back to getMoFiles, which matches by path suffix and so resolves the class under either convention. It is only reached when searchPath finds nothing, and the result is still checked for an enumeration declaration and validated against the type specifier as written, so the fallback cannot widen what qualifies. getMoFiles returns its input unchanged when it finds nothing, hence the filter on a real `.mo` path. Key the cache on MODELICAPATH too. A caller may parse successive models against different library sets in one process — modelica-json is used in-process and the variable swapped per invocation — and a lookup that failed under one set must not be reused under another. --- lib/util.js | 21 +++++++++++++++++++-- test/test_util.js | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index ea017bca..c5133c18 100644 --- a/lib/util.js +++ b/lib/util.js @@ -388,12 +388,29 @@ function resolveEnumerationType (typeSpecifier, within, sourceMoFile) { if (typeSpecifier === undefined || typeSpecifier === null || typeSpecifier.length === 0) { return null } - const cacheKey = `${within}|${typeSpecifier}` + // MODELICAPATH is part of the key: a caller may parse successive models + // against different library sets in one process, and a lookup that failed + // under one set must not be reused under another. + const cacheKey = `${process.env.MODELICAPATH}|${within}|${typeSpecifier}` if (cacheKey in enumerationTypeCache) { return enumerationTypeCache[cacheKey] } let resolved = null - const moFiles = searchPath([typeSpecifier], within, sourceMoFile) + let moFiles = searchPath([typeSpecifier], within, sourceMoFile) + if (moFiles === undefined || moFiles === null || moFiles.length === 0) { + // searchPath walks down from each MODELICAPATH entry, so it only finds the + // class when MODELICAPATH holds the directory *containing* the library. It + // finds nothing when MODELICAPATH points at the library directory itself + // (`…/modelica-buildings/Buildings`), which is an equally common + // convention. getMoFiles matches by path suffix instead, so it still + // resolves the class there. + try { + moFiles = getMoFiles(typeSpecifier).filter( + (f) => f.endsWith('.mo') && fs.existsSync(f)) + } catch (e) { + moFiles = [] + } + } if (moFiles !== undefined && moFiles !== null && moFiles.length > 0) { const moFile = moFiles[0] const enumerationName = typeSpecifier.split('.').slice(-1)[0] diff --git a/test/test_util.js b/test/test_util.js index 3413d62c..1add1cd4 100644 --- a/test/test_util.js +++ b/test/test_util.js @@ -174,6 +174,27 @@ mo.describe('util', function () { within: 'Buildings.Templates.Components.Types' }) }) + mo.it('resolves when MODELICAPATH points at the library directory itself', function () { + // Both conventions are in use: MODELICAPATH may hold the directory + // containing the library, or the library directory itself. searchPath + // only finds the class under the first, so resolution must not depend + // on it alone. + const marker = path.sep + 'Buildings' + path.sep + const buildingsDir = sourceFile.slice(0, sourceFile.indexOf(marker)) + path.sep + 'Buildings' + const previous = process.env.MODELICAPATH + process.env.MODELICAPATH = buildingsDir + try { + const actualOutput = ut.resolveEnumerationType( + 'Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard', within, sourceFile) + as.deepEqual(actualOutput, { + name: 'Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard', + within: 'Buildings.Controls.OBC.ASHRAE.G36.Types' + }) + } finally { + if (previous === undefined) delete process.env.MODELICAPATH + else process.env.MODELICAPATH = previous + } + }) mo.it('returns null for a built-in type', function () { as.equal(ut.resolveEnumerationType('Boolean', within, sourceFile), null) }) From c29507a3744b3ef035bd53d4ea9cf341fc386329 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Sat, 1 Aug 2026 12:18:33 +0200 Subject: [PATCH 5/8] fix: fall back to a suffix lookup when the located class is not the enumeration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit searchPath resolves relative to the enclosing package, which under a MODELICAPATH that names the library directory itself can land on a plausible but unrelated file: `Types.VentilationStandard` declared inside `…G36.AHUs.MultiZone.VAV` resolves to `Buildings/Types/package.mo`, the top-level Buildings.Types package that happens to sit one level below the MODELICAPATH entry. Because that returned a file, the getMoFiles fallback added in the previous commit never ran and the data type was lost again. Try the fallback whenever no candidate checks out rather than only when searchPath returns nothing. Candidate acceptance already required an enumeration declaration of the right name whose rebuilt qualified name ends with the specifier as written, so a wrong file is rejected rather than trusted, and extending the search cannot widen what qualifies. Extracted as firstEnumerationType, which walks candidates in order and returns the first that satisfies both checks. --- lib/util.js | 111 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 44 deletions(-) diff --git a/lib/util.js b/lib/util.js index c5133c18..70da0eff 100644 --- a/lib/util.js +++ b/lib/util.js @@ -356,6 +356,58 @@ function isEnumerationDeclaration (content, className) { return new RegExp(`(^|\\n)\\s*type\\s+${className}\\s*=\\s*enumeration\\s*\\(`).test(content) } +/** + * First file in `moFiles` that declares the enumeration `typeSpecifier` names, + * as its qualified name and within scope. + * + * A candidate is accepted only if it declares an enumeration of the right name + * *and* the qualified name rebuilt from it ends with the specifier as written. + * The rebuild assumes the enumeration sits directly in the class the file + * declares, which does not hold for a monolithic package.mo holding nested + * packages: `Modelica.Media.Interfaces.Choices.ReferenceEnthalpy` resolves to + * `Modelica/Media/package.mo` and would come back as the wrong name + * `Modelica.Media.ReferenceEnthalpy`. Rejecting those keeps a wrong IRI out of + * the output, and lets the caller try a different lookup instead. + * + * @param moFiles candidate .mo paths, best first + * @param typeSpecifier type name as written in the declaration + * @returns {{name: string, within: string}|null} + */ +function firstEnumerationType (moFiles, typeSpecifier) { + if (moFiles === undefined || moFiles === null) { + return null + } + const enumerationName = typeSpecifier.split('.').slice(-1)[0] + for (let i = 0; i < moFiles.length; i++) { + const moFile = moFiles[i] + const classWithin = readWithin(moFile) + if (classWithin === null || classWithin.length === 0) { + continue + } + let content = null + try { + content = blankLiteralsAndComments(fs.readFileSync(moFile, 'utf-8')) + } catch (e) { + continue + } + if (!isEnumerationDeclaration(content, enumerationName)) { + continue + } + // The class the file itself declares: its name for a single-class file, + // the enclosing directory for a package.mo. + const fileClass = path.basename(moFile) === 'package.mo' + ? path.basename(path.dirname(moFile)) + : path.basename(moFile, '.mo') + const name = fileClass === enumerationName + ? `${classWithin}.${enumerationName}` + : `${classWithin}.${fileClass}.${enumerationName}` + if (name === typeSpecifier || name.endsWith(`.${typeSpecifier}`)) { + return { name, within: name.slice(0, name.lastIndexOf('.')) } + } + } + return null +} + /** * Resolve the type specifier of a component declaration to the enumeration * class it names, if it names one. @@ -395,52 +447,23 @@ function resolveEnumerationType (typeSpecifier, within, sourceMoFile) { if (cacheKey in enumerationTypeCache) { return enumerationTypeCache[cacheKey] } - let resolved = null - let moFiles = searchPath([typeSpecifier], within, sourceMoFile) - if (moFiles === undefined || moFiles === null || moFiles.length === 0) { - // searchPath walks down from each MODELICAPATH entry, so it only finds the - // class when MODELICAPATH holds the directory *containing* the library. It - // finds nothing when MODELICAPATH points at the library directory itself - // (`…/modelica-buildings/Buildings`), which is an equally common - // convention. getMoFiles matches by path suffix instead, so it still - // resolves the class there. + // searchPath walks down from each MODELICAPATH entry, so it identifies the + // class only when MODELICAPATH holds the directory *containing* the library. + // Pointed at the library directory itself (`…/modelica-buildings/Buildings`) + // it finds nothing for a qualified name, and for a name written relative to + // the enclosing package it can find the wrong file — `Types.VentilationStandard` + // lands on `Buildings/Types/package.mo`, an unrelated package that happens to + // sit one level below. getMoFiles matches by path suffix instead and resolves + // both. Try it whenever searchPath yields no file that checks out, not only + // when it yields nothing at all. + let resolved = firstEnumerationType(searchPath([typeSpecifier], within, sourceMoFile), typeSpecifier) + if (resolved === null) { try { - moFiles = getMoFiles(typeSpecifier).filter( - (f) => f.endsWith('.mo') && fs.existsSync(f)) + resolved = firstEnumerationType( + getMoFiles(typeSpecifier).filter((f) => f.endsWith('.mo') && fs.existsSync(f)), + typeSpecifier) } catch (e) { - moFiles = [] - } - } - if (moFiles !== undefined && moFiles !== null && moFiles.length > 0) { - const moFile = moFiles[0] - const enumerationName = typeSpecifier.split('.').slice(-1)[0] - const classWithin = readWithin(moFile) - let content = null - try { - content = blankLiteralsAndComments(fs.readFileSync(moFile, 'utf-8')) - } catch (e) { - content = null - } - if (classWithin !== null && classWithin.length > 0 && content !== null && - isEnumerationDeclaration(content, enumerationName)) { - // The class the file itself declares: its name for a single-class file, - // the enclosing directory for a package.mo. - const fileClass = path.basename(moFile) === 'package.mo' - ? path.basename(path.dirname(moFile)) - : path.basename(moFile, '.mo') - const name = fileClass === enumerationName - ? `${classWithin}.${enumerationName}` - : `${classWithin}.${fileClass}.${enumerationName}` - // The reconstruction assumes the enumeration sits directly in the class - // the file declares. That does not hold for a monolithic package.mo - // holding nested packages, where searchPath resolves to the outermost - // file: Modelica.Media.Interfaces.Choices.ReferenceEnthalpy lands in - // Modelica/Media/package.mo and would be rebuilt as - // Modelica.Media.ReferenceEnthalpy. Requiring the result to end with the - // specifier as written rejects those rather than emitting a wrong IRI. - if (name === typeSpecifier || name.endsWith(`.${typeSpecifier}`)) { - resolved = { name, within: name.slice(0, name.lastIndexOf('.')) } - } + resolved = null } } enumerationTypeCache[cacheKey] = resolved From 9e8b16e3fddb92f444cf28310f9f123962ec5b21 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Thu, 3 Sep 2026 10:14:20 +0200 Subject: [PATCH 6/8] fix: type enumeration classes as S231:EnumerationDatatype The ontology models every data type as a class plus one singleton individual of it: S231:RealDatatype is the class and S231:Real the individual, and likewise S231:EnumerationDatatype and S231:EnumerationType. The enumeration_class branch typed every concrete enumeration with the individual, which declares SimpleController a sibling of S231:Real rather than an instance of the enumeration class. Nothing then connects it to S231:DataType, so the Parameter shape's `sh:class S231:DataType` on isOfDataType cannot reach it, which is the failure a separate hasEnumerationType predicate was proposed to route around. Use the class. The enumeration node is then an instance of S231:EnumerationDatatype and, as before, the class of its own members, so a parameter reaches S231:DataType in two hops: isOfDataType, rdf:type, rdfs:subClassOf. S231:EnumerationType stays in the ontology as the generic marker, parallel to S231:Real, and is no longer emitted. Updates the enumeration references and CXF-Core.jsonld: one @type per enumeration class, nothing else. --- CXF-Core.jsonld | 8 ++++---- lib/cxfExtractor.js | 2 +- .../Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld | 2 +- .../Controls/OBC/CDL/Types/SimpleController.jsonld | 2 +- .../Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld | 2 +- .../cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld | 2 +- .../cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld | 2 +- test/reference/cxf/CXF-Core.jsonld | 8 ++++---- test/reference/cxf/test/FromModelica/Enumeration1.jsonld | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld index 221e4526..5e4daf05 100644 --- a/CXF-Core.jsonld +++ b/CXF-Core.jsonld @@ -10209,7 +10209,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", "S231:label": "Extrapolation", "S231:value": "Extrapolation" @@ -10237,7 +10237,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", "S231:label": "SimpleController", "S231:value": "SimpleController" @@ -10272,7 +10272,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", "S231:label": "Smoothness", "S231:value": "Smoothness" @@ -10293,7 +10293,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" diff --git a/lib/cxfExtractor.js b/lib/cxfExtractor.js index 74688b97..10821448 100644 --- a/lib/cxfExtractor.js +++ b/lib/cxfExtractor.js @@ -295,7 +295,7 @@ function getCxfGraph (instances, requiredReferences, blockName, generateElementa } if ((isElementaryBlock && (generateElementary || generateCxfCore)) || (!isElementaryBlock)) { - graph.add(instanceNode, rdfNs('type'), s231Ns('EnumerationType')) + graph.add(instanceNode, rdfNs('type'), s231Ns('EnumerationDatatype')) graph.add(instanceNode, s231Ns('label'), instance) graph.add(instanceNode, s231Ns('value'), instance) if ('description' in instanceDict) { diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld index d805ce01..0a099e6e 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld @@ -5,7 +5,7 @@ "@graph": [ { "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", "S231:label": "Extrapolation", "S231:value": "Extrapolation" diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld index 633d37ab..bc217517 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld @@ -5,7 +5,7 @@ "@graph": [ { "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", "S231:label": "SimpleController", "S231:value": "SimpleController" diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld index 64cc231a..84b78cb0 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld @@ -5,7 +5,7 @@ "@graph": [ { "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", "S231:label": "Smoothness", "S231:value": "Smoothness" diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld index ff02c7a3..a7dda208 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld @@ -5,7 +5,7 @@ "@graph": [ { "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" diff --git a/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld b/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld index b1862c23..f3c763d2 100644 --- a/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld +++ b/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld @@ -5,7 +5,7 @@ "@graph": [ { "@id": "http://example.org#Buildings.Utilities.Time.Types.ZeroTime", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" diff --git a/test/reference/cxf/CXF-Core.jsonld b/test/reference/cxf/CXF-Core.jsonld index 221e4526..5e4daf05 100644 --- a/test/reference/cxf/CXF-Core.jsonld +++ b/test/reference/cxf/CXF-Core.jsonld @@ -10209,7 +10209,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", "S231:label": "Extrapolation", "S231:value": "Extrapolation" @@ -10237,7 +10237,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", "S231:label": "SimpleController", "S231:value": "SimpleController" @@ -10272,7 +10272,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", "S231:label": "Smoothness", "S231:value": "Smoothness" @@ -10293,7 +10293,7 @@ }, { "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", "S231:label": "ZeroTime", "S231:value": "ZeroTime" diff --git a/test/reference/cxf/test/FromModelica/Enumeration1.jsonld b/test/reference/cxf/test/FromModelica/Enumeration1.jsonld index 990cbf69..b517ca28 100644 --- a/test/reference/cxf/test/FromModelica/Enumeration1.jsonld +++ b/test/reference/cxf/test/FromModelica/Enumeration1.jsonld @@ -27,7 +27,7 @@ }, { "@id": "ex:FromModelica.Enumeration1", - "@type": "S231:EnumerationType", + "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining e1, e2 or e3", "S231:label": "Enumeration1", "S231:value": "Enumeration1" From 683f3e7e4ea5dcff4c04003e2310ea99297e3e29 Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Thu, 3 Sep 2026 10:16:26 +0200 Subject: [PATCH 7/8] fix: declare S231:Datatype as S231:DataType in the ontology S231:Datatype is referenced six times in s231ClassesProperties.ttl and never declared: the rdf:type of S231:Real, S231:String and S231:EnumerationType, and the rdfs:subClassOf of their companion classes S231:RealDatatype, S231:StringDatatype and S231:EnumerationDatatype. Everything else spells it S231:DataType, which is the declared class and the one the Parameter shape names in `sh:class S231:DataType`. Three consecutive blocks written with the wrong spelling, companion class name included, so they were self-consistent enough to go unnoticed. Because of it every Real- and String-typed parameter trips that shape today, at sh:Info, and enumeration classes instantiating S231:EnumerationDatatype would too. The generator emits neither spelling, so the change is confined to the ttl and the CXF-Core.jsonld it is merged into. --- CXF-Core.jsonld | 12 ++++++------ lib/s231ClassesProperties.ttl | 12 ++++++------ test/reference/cxf/CXF-Core.jsonld | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld index 5e4daf05..33eed68c 100644 --- a/CXF-Core.jsonld +++ b/CXF-Core.jsonld @@ -11151,13 +11151,13 @@ "@id": "S231:EnumerationDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { "@id": "S231:EnumerationType", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:EnumerationDatatype" ] }, @@ -11974,7 +11974,7 @@ { "@id": "S231:Real", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:RealDatatype" ] }, @@ -11982,7 +11982,7 @@ "@id": "S231:RealDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { @@ -12052,7 +12052,7 @@ { "@id": "S231:String", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:StringDatatype" ], "rdfs:comment": "A data type to represent text" @@ -12061,7 +12061,7 @@ "@id": "S231:StringDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { diff --git a/lib/s231ClassesProperties.ttl b/lib/s231ClassesProperties.ttl index 30e5905d..d4d9409a 100644 --- a/lib/s231ClassesProperties.ttl +++ b/lib/s231ClassesProperties.ttl @@ -480,7 +480,7 @@ S231:DataType S231:Boolean a S231:BooleanDataType, S231:DataType . -S231:Real a S231:Datatype, +S231:Real a S231:DataType, S231:RealDatatype . S231:Integer a S231:DataType, @@ -489,7 +489,7 @@ S231:Integer a S231:DataType, S231:Analog a S231:AnalogDataType, S231:DataType . -S231:String a S231:Datatype, +S231:String a S231:DataType, S231:StringDatatype ; rdfs:comment "A data type to represent text"; . @@ -497,7 +497,7 @@ S231:BooleanDataType a rdfs:Class ; rdfs:subClassOf S231:DataType . S231:RealDatatype a rdfs:Class ; - rdfs:subClassOf S231:Datatype + rdfs:subClassOf S231:DataType . S231:IntegerDataType a rdfs:Class ; rdfs:subClassOf S231:DataType @@ -506,13 +506,13 @@ S231:AnalogDataType a rdfs:Class ; rdfs:subClassOf S231:DataType . S231:StringDatatype a rdfs:Class ; - rdfs:subClassOf S231:Datatype + rdfs:subClassOf S231:DataType . -S231:EnumerationType a S231:Datatype, +S231:EnumerationType a S231:DataType, S231:EnumerationDatatype . S231:EnumerationDatatype a rdfs:Class ; - rdfs:subClassOf S231:Datatype + rdfs:subClassOf S231:DataType . S231:AnalogInput a rdfs:Class ; rdfs:comment "An input connector for real data type"; diff --git a/test/reference/cxf/CXF-Core.jsonld b/test/reference/cxf/CXF-Core.jsonld index 5e4daf05..33eed68c 100644 --- a/test/reference/cxf/CXF-Core.jsonld +++ b/test/reference/cxf/CXF-Core.jsonld @@ -11151,13 +11151,13 @@ "@id": "S231:EnumerationDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { "@id": "S231:EnumerationType", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:EnumerationDatatype" ] }, @@ -11974,7 +11974,7 @@ { "@id": "S231:Real", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:RealDatatype" ] }, @@ -11982,7 +11982,7 @@ "@id": "S231:RealDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { @@ -12052,7 +12052,7 @@ { "@id": "S231:String", "@type": [ - "S231:Datatype", + "S231:DataType", "S231:StringDatatype" ], "rdfs:comment": "A data type to represent text" @@ -12061,7 +12061,7 @@ "@id": "S231:StringDatatype", "@type": "rdfs:Class", "rdfs:subClassOf": { - "@id": "S231:Datatype" + "@id": "S231:DataType" } }, { From 71b0342d6d950114507f9de673caa500c26332ab Mon Sep 17 00:00:00 2001 From: Pontus Pohl Date: Thu, 3 Sep 2026 10:21:37 +0200 Subject: [PATCH 8/8] fix: do not emit S231:value on the enumeration class node The enumeration_class branch reused the label/value/description emission written for members, so every enumeration class carried S231:value set to its own short name: "SimpleController" on S231:Buildings.Controls.OBC.CDL.Types.SimpleController. A class has no value; the triple described nothing and shipped in CXF-Core.jsonld for all four CDL enumerations. Members keep their S231:value, which is the member name a parameter's S231:value selects. --- CXF-Core.jsonld | 12 ++++-------- lib/cxfExtractor.js | 1 - .../Controls/OBC/CDL/Types/Extrapolation.jsonld | 3 +-- .../Controls/OBC/CDL/Types/SimpleController.jsonld | 3 +-- .../Controls/OBC/CDL/Types/Smoothness.jsonld | 3 +-- .../Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld | 3 +-- .../Buildings/Utilities/Time/Types/ZeroTime.jsonld | 3 +-- test/reference/cxf/CXF-Core.jsonld | 12 ++++-------- .../cxf/test/FromModelica/Enumeration1.jsonld | 3 +-- 9 files changed, 14 insertions(+), 29 deletions(-) diff --git a/CXF-Core.jsonld b/CXF-Core.jsonld index 33eed68c..65e643bd 100644 --- a/CXF-Core.jsonld +++ b/CXF-Core.jsonld @@ -10211,8 +10211,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", - "S231:label": "Extrapolation", - "S231:value": "Extrapolation" + "S231:label": "Extrapolation" }, { "@id": "S231:Extrapolation.HoldLastPoint", @@ -10239,8 +10238,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", - "S231:label": "SimpleController", - "S231:value": "SimpleController" + "S231:label": "SimpleController" }, { "@id": "S231:SimpleController.P", @@ -10274,8 +10272,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", - "S231:label": "Smoothness", - "S231:value": "Smoothness" + "S231:label": "Smoothness" }, { "@id": "S231:Smoothness.ConstantSegments", @@ -10295,8 +10292,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", - "S231:label": "ZeroTime", - "S231:value": "ZeroTime" + "S231:label": "ZeroTime" }, { "@id": "S231:ZeroTime.Custom", diff --git a/lib/cxfExtractor.js b/lib/cxfExtractor.js index 10821448..55b140d9 100644 --- a/lib/cxfExtractor.js +++ b/lib/cxfExtractor.js @@ -297,7 +297,6 @@ function getCxfGraph (instances, requiredReferences, blockName, generateElementa if ((isElementaryBlock && (generateElementary || generateCxfCore)) || (!isElementaryBlock)) { graph.add(instanceNode, rdfNs('type'), s231Ns('EnumerationDatatype')) graph.add(instanceNode, s231Ns('label'), instance) - graph.add(instanceNode, s231Ns('value'), instance) if ('description' in instanceDict) { if ('description_string' in instanceDict.description) { const descriptionString = instanceDict.description.description_string diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld index 0a099e6e..3f6f24b0 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Extrapolation.jsonld @@ -7,8 +7,7 @@ "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Extrapolation", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", - "S231:label": "Extrapolation", - "S231:value": "Extrapolation" + "S231:label": "Extrapolation" }, { "@id": "http://data.ashrae.org/S231#Extrapolation.HoldLastPoint", diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld index bc217517..9cde75b3 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/SimpleController.jsonld @@ -7,8 +7,7 @@ "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.SimpleController", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", - "S231:label": "SimpleController", - "S231:value": "SimpleController" + "S231:label": "SimpleController" }, { "@id": "http://data.ashrae.org/S231#SimpleController.P", diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld index 84b78cb0..5b1c12ed 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/Smoothness.jsonld @@ -7,8 +7,7 @@ "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.Smoothness", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", - "S231:label": "Smoothness", - "S231:value": "Smoothness" + "S231:label": "Smoothness" }, { "@id": "http://data.ashrae.org/S231#Smoothness.ConstantSegments", diff --git a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld index a7dda208..c473fb9a 100644 --- a/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld +++ b/test/reference/cxf/Buildings/Controls/OBC/CDL/Types/ZeroTime.jsonld @@ -7,8 +7,7 @@ "@id": "http://data.ashrae.org/S231#Buildings.Controls.OBC.CDL.Types.ZeroTime", "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", - "S231:label": "ZeroTime", - "S231:value": "ZeroTime" + "S231:label": "ZeroTime" }, { "@id": "http://data.ashrae.org/S231#ZeroTime.Custom", diff --git a/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld b/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld index f3c763d2..03a4f817 100644 --- a/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld +++ b/test/reference/cxf/Buildings/Utilities/Time/Types/ZeroTime.jsonld @@ -7,8 +7,7 @@ "@id": "http://example.org#Buildings.Utilities.Time.Types.ZeroTime", "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", - "S231:label": "ZeroTime", - "S231:value": "ZeroTime" + "S231:label": "ZeroTime" }, { "@id": "http://example.org#ZeroTime.Custom", diff --git a/test/reference/cxf/CXF-Core.jsonld b/test/reference/cxf/CXF-Core.jsonld index 33eed68c..65e643bd 100644 --- a/test/reference/cxf/CXF-Core.jsonld +++ b/test/reference/cxf/CXF-Core.jsonld @@ -10211,8 +10211,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.Extrapolation", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the extrapolation of time table interpolation", - "S231:label": "Extrapolation", - "S231:value": "Extrapolation" + "S231:label": "Extrapolation" }, { "@id": "S231:Extrapolation.HoldLastPoint", @@ -10239,8 +10238,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.SimpleController", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining P, PI, PD, or PID simple controller type", - "S231:label": "SimpleController", - "S231:value": "SimpleController" + "S231:label": "SimpleController" }, { "@id": "S231:SimpleController.P", @@ -10274,8 +10272,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.Smoothness", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining the smoothness of table interpolation", - "S231:label": "Smoothness", - "S231:value": "Smoothness" + "S231:label": "Smoothness" }, { "@id": "S231:Smoothness.ConstantSegments", @@ -10295,8 +10292,7 @@ "@id": "S231:Buildings.Controls.OBC.CDL.Types.ZeroTime", "@type": "S231:EnumerationDatatype", "S231:description": "Use this to set the date corresponding to time = 0", - "S231:label": "ZeroTime", - "S231:value": "ZeroTime" + "S231:label": "ZeroTime" }, { "@id": "S231:ZeroTime.Custom", diff --git a/test/reference/cxf/test/FromModelica/Enumeration1.jsonld b/test/reference/cxf/test/FromModelica/Enumeration1.jsonld index b517ca28..41f52dec 100644 --- a/test/reference/cxf/test/FromModelica/Enumeration1.jsonld +++ b/test/reference/cxf/test/FromModelica/Enumeration1.jsonld @@ -29,8 +29,7 @@ "@id": "ex:FromModelica.Enumeration1", "@type": "S231:EnumerationDatatype", "S231:description": "Enumeration defining e1, e2 or e3", - "S231:label": "Enumeration1", - "S231:value": "Enumeration1" + "S231:label": "Enumeration1" } ] } \ No newline at end of file