CIF to CIF 'Convert to interface': besides input variables, also remove functions
We have two versions of the CIF to CIF 'Convert to interface' transformation: one that keeps input variables and one that removes them. But, the goal of the one that removes input variables, is to be able to import the generated interface (of say, a plant model) into for instance a simulation model, and then merge that simulation model with the original (plant) model for which the interface was generated. This is not possible if the plant model has functions, since we can't merge a function with a function.
Changes to make:
- Besides input variables, also remove functions. I tested the test model, and with that change it works, so nothing else needs to be removed as far as I know.
- Rebrand the names of the transformations to be more general, like 'complete' and 'reduced' or so, given that the difference is then not only in the input variables anymore.
Edited by Dennis Hendriks