From 65f5e9463af0a978ac1846eeb0fc0f6f5027156d Mon Sep 17 00:00:00 2001 From: HOS Date: Fri, 29 Nov 2024 09:51:35 +0100 Subject: [PATCH 1/4] Clarify further. Closes #3551 --- chapters/stream.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/chapters/stream.tex b/chapters/stream.tex index e36682ac6..c971c1a08 100644 --- a/chapters/stream.tex +++ b/chapters/stream.tex @@ -33,6 +33,7 @@ \section{Definition of Stream Connectors}\label{definition-of-stream-connectors} Connection equations with stream variables are generated in a model when using \lstinline!inStream! or \lstinline!actualStream!, see \cref{stream-operator-instream-and-connection-equations} and \cref{stream-operator-actualstream}. \end{itemize} +These variable(s) with \lstinline!stream! and \lstinline!flow! prefix must be directly in the connector (possibly inherited) and not in a sub-connector. \begin{example} \begin{lstlisting}[language=modelica] From d1a5a08bfebcfd7300afc26099b66d526b52b513 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Fri, 29 Nov 2024 09:53:25 +0100 Subject: [PATCH 2/4] Update chapters/stream.tex --- chapters/stream.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/stream.tex b/chapters/stream.tex index c971c1a08..6de9368cb 100644 --- a/chapters/stream.tex +++ b/chapters/stream.tex @@ -33,7 +33,7 @@ \section{Definition of Stream Connectors}\label{definition-of-stream-connectors} Connection equations with stream variables are generated in a model when using \lstinline!inStream! or \lstinline!actualStream!, see \cref{stream-operator-instream-and-connection-equations} and \cref{stream-operator-actualstream}. \end{itemize} -These variable(s) with \lstinline!stream! and \lstinline!flow! prefix must be directly in the connector (possibly inherited) and not in a sub-connector. +The variable(s) with \lstinline!stream! and \lstinline!flow! prefix must be directly in the connector (possibly inherited) and not in a sub-connector. \begin{example} \begin{lstlisting}[language=modelica] From 964ea7da165ca16a9c37d1d40f3b87d2000d6eab Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Fri, 29 Nov 2024 15:50:10 +0100 Subject: [PATCH 3/4] Update chapters/stream.tex Co-authored-by: Henrik Tidefelt --- chapters/stream.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/stream.tex b/chapters/stream.tex index 6de9368cb..7ab00214b 100644 --- a/chapters/stream.tex +++ b/chapters/stream.tex @@ -33,7 +33,7 @@ \section{Definition of Stream Connectors}\label{definition-of-stream-connectors} Connection equations with stream variables are generated in a model when using \lstinline!inStream! or \lstinline!actualStream!, see \cref{stream-operator-instream-and-connection-equations} and \cref{stream-operator-actualstream}. \end{itemize} -The variable(s) with \lstinline!stream! and \lstinline!flow! prefix must be directly in the connector (possibly inherited) and not in a sub-connector. +The variable with \lstinline!flow! prefix must exist at the same level of the connector as the variable with \lstinline!stream! prefix; i.e., they can each be directly declared in the connector or be inherited, while a stream variable in a sub-connector would result in a separate stream sub-connector. \begin{example} \begin{lstlisting}[language=modelica] From 6faa37fd2ff2230fb8e42786e33c886bc49fbdda Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Thu, 9 Jan 2025 14:36:21 +0100 Subject: [PATCH 4/4] Update chapters/stream.tex Co-authored-by: Henrik Tidefelt --- chapters/stream.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/stream.tex b/chapters/stream.tex index 7ab00214b..265685416 100644 --- a/chapters/stream.tex +++ b/chapters/stream.tex @@ -33,7 +33,7 @@ \section{Definition of Stream Connectors}\label{definition-of-stream-connectors} Connection equations with stream variables are generated in a model when using \lstinline!inStream! or \lstinline!actualStream!, see \cref{stream-operator-instream-and-connection-equations} and \cref{stream-operator-actualstream}. \end{itemize} -The variable with \lstinline!flow! prefix must exist at the same level of the connector as the variable with \lstinline!stream! prefix; i.e., they can each be directly declared in the connector or be inherited, while a stream variable in a sub-connector would result in a separate stream sub-connector. +The variable with \lstinline!flow! prefix must exist at the same level of the connector as the variable with \lstinline!stream! prefix; i.e., they can each be directly declared in the connector or be inherited, while a stream variable in a sub-connector would result in a separate stream sub-connector. \begin{example} \begin{lstlisting}[language=modelica]