Hi,
My model of a whole power station includes a number of generators. I'd like each generator to use the same model, but have different parameters, such as power rating. To do this I'm using referenced models within the main model; one per generator. I've masked the reference model and include the parameters I need to change.
All works fine, except for the parameters that are used in non-tunable expressions. As an example, the response time of one part of the generator uses a continuous time transfer function block. But when I use a parameter as one of the coefficients I get the following message:
Model arguments can not be used in non-tunable expressions. The expression '[param1 1]' in parameter field 'Denominator' of 'generator_model/Response' can not be tuned but it refers to variables (param1 (model argument))
How can I set the parameters as non-tunable so I can use the masked parameters within the referenced model?
Regards
Andrew
Best Answer