Open casella opened 4 days ago
For license texts it was added in https://github.com/modelica/ModelicaSpecification/pull/2900 and such files already exist now in MSL (and tools use them when appropriate).
The important part is that there may be multiple relevant licenses for a model (if it uses multiple libraries and/or functions), and all of them should be added (as in that MCP).
For copyright and author it is also complicated - and I would say that the FMI is derived work from the models it uses and the tool(s) generating it. That means that we cannot generate one copyright and one author based on that (and keeping that information up-to-date for all models will also be complicated). I thus don't think we can just add it.
One could even say that the one generating the FMU is its author and copyright holder (and that copyright holder will then have to deal with the copyright of the parts it was derived from), i.e., separate from anything in Modelica.
The FMI standard optionally allows this information to be stored in an FMU
When generating FMUs from a Modelica model, every tool will have its own way to get this information. Regarding
version
, it can take it from the annotation with the same name. Should we add annotation to provide also the other pieces of information?