I'm struggling with the size of output files for large Modelica models. Off course, I can protect some objects in order to remove them completely from the result file. However, that gives rise to two problems:
- it's not possible to redeclare protected objects
- if i want to test my model in detail (eg for a short time period), i need to declare those objects publicly again in order to see their variables
I wonder if there's a trick to set the 'verbosity' of a Modelica model. Maybe what I would like is a third keyword next to public
, protected
, eg. transparent
. Then, when setting up a simulation, I want be able to set the verbosity level to 1, or 2 with the following effect:
1--> consider all transparent
elements as protected
2--> consider all transparent
elements as public
This effect would propagate to all models and submodels.
I don't think this already exists. But is there an easy workaround?
Thanks, Roel