Repository navigation
MCP server: fix array results and fmusim runs - #52
Merged
Merged
Conversation
Found by driving the MCP server like an agent through every template and the 1D pipe model, building each FMU and running it in fmusim: - Simulations recorded only the first 16 elements of an array, and the summary listed the first 30 series, so long array outputs pushed scalar outputs such as T_out out of the summary. MCP runs now record whole arrays, and the summary lists scalars first and each array as its final profile. - fmusim runs passed array start values as a Python list, which fmusim rejects; they are now space-separated. fmusim's array columns are expanded into name[1], name[2], ..., and its true/false Booleans are read. - A misspelt start value was silently ignored; MCP simulations now report it (the Studio keeps ignoring stale values).
StephenSmith25
force-pushed
the
fix/mcp-arrays
branch
from
November 18, 2026 21:39
a7ca8ab to
e1d2e7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by driving the MCP server like an agent through every template and the 1D pipe model, building each FMU and running it in fmusim: