Skip to content
Discussion options

You must be logged in to vote

PathView does not appear to ship a built-in FMU/FMPy block today.

The extension path is to expose it as a PathSim block/toolbox. PathView extracts block metadata from Python classes via Block.info() and can install/discover runtime toolboxes from PyPI, a wheel URL, or a .py file. The generated code then imports the block from that toolbox's import path.

So the practical route would be:

  1. Write a small PathSim Block wrapper around the FMU/FMPy simulation step you need.
  2. Make sure the class exposes usable Block.info() metadata.
  3. Add it to PathView as a toolbox/custom block.

One caveat for the browser version: FMPy and many FMUs involve native binaries or compiled dependencies, which Pyodide g…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@and5and7
Comment options

@milanofthe
Comment options

Answer selected by and5and7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants