﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4960	Evaluate all parameters except some	Francesco Casella	Per Östlund	"I am trying to optimize the code generation and the runtime performance of large power grid models compiled with OMC. These models have a very large number of parameters, most of which will never need to be changed at runtime. If I set {{{-d=evaluateAllParameters}}} I can have them evaluated to literal constants in the front-end, with great benefits in terms of improved back-end optimizations, reduced back-end running time, reduced code size and improved runtime performance.

However, we need in fact to be able to change just a handful of parameters at runtime, that typically describe the simulation scenario: which loads are changing, which breakers are opened, etc. Unfortunately, this is currently not possible if -d=evaluateAllParameters is set. 

Putting the Evaluate=true annotation on the parameters that are not going to change is impractical, and also it adds an unnecessary restriction to possible future uses of the model that require the parameters not to be evaluated, e.g. for sensitivity analysis.

So, I would propose to add the flag {{{--evaluateAllParametersExcept=regexp}}} to the NF, that evaluates all the parameters in the front-end, except those matching the regexp.

@perost, how long would it take to implement such a functionality?"	enhancement	new	high	2.0.0	New Instantiation				
