I have an ongoing project in which a physical modelling in Modelica is as FMU extracted. These functional mock-up units are used with PyFMI to realize simulations. To this purpose, I wrote some Python modules as well. What I want to do is showing some examples of the simulation results without exposing my model(.fmu file) and my modules. The user will be able to change parameters in the model and simulate accordingly. To sum up, I want it to be a black box only with input parameters and output plots.
I have been trying doing so with Jupyter notebook(I am open to any other solution). I extracted my Python modules as .pyd files to hide the code and I am now importing them into notebook. So far it seems reasonable to me. But I don't know how to hide the .fmu file. I would import the model in Python workspace and then save the whole workspace, if possible.
To summarize,
1) Is my code safe as .pyd file?
2) Is it possible to save the workspace in Python? Or do you have another solution for my .fmu file?
3) Could there by some other tool more suitable to this purpose than Jupyter? After all I want it to reachable for anyone through web and to be tried as they wanted. But the model itself isn't allowed to be distributed.