Skip to content

Start input#3827

Open
HansOlsson wants to merge 5 commits intomodelica:masterfrom
HansOlsson:StartInput
Open

Start input#3827
HansOlsson wants to merge 5 commits intomodelica:masterfrom
HansOlsson:StartInput

Conversation

@HansOlsson
Copy link
Collaborator

Closes #3821
I'm not fully satisfied with the "simulation environment" part, but I didn't want to get too deep in the FMI (and other environments) here.

@HansOlsson HansOlsson requested a review from henrikt-ma February 6, 2026 09:09
\item
In \emph{simulation} \emph{models} and \emph{blocks} (i.e., on the top level of a model or block that shall be simulated), these prefixes define the interaction with the environment where the simulation model or block is used.
Especially, the \lstinline!input! prefix defines that values for such a variable have to be provided from the simulation environment and the \lstinline!output! prefix defines that the values of the corresponding variable can be directly utilized in the simulation environment, see the notion of \emph{globally balanced} in \cref{balanced-models}.
Especially, the \lstinline!input! prefix defines that values for such a variable can be provided from the simulation environment (otherwise using the start-value or fallback-value cref{def:fallback-value}) and the \lstinline!output! prefix defines that the values of the corresponding variable can be directly utilized in the simulation environment, see the notion of \emph{globally balanced} in \cref{balanced-models}.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "or" sounds a bit as if both options are fine. From my understanding, the start value shall be used and the fallback value only, if there is no start value? Maybe we can make that little bit more explicit?

Copy link
Collaborator Author

@HansOlsson HansOlsson Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, will do have done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarification about start values for inputs

2 participants