private bool parameterCanBeUsedInParameterAnalysable(IParameter parameter)
        {
            var parameterIsAdvanced = _groupRepository.GroupByName(parameter.GroupName).IsAdvanced;
            var canUseParameter     = _parameterSelector.CanUseParameter(parameter);

            if (_parameterGroupingMode == ParameterGroupingModes.Simple)
            {
                canUseParameter = canUseParameter && !parameterIsAdvanced;
            }

            return(canUseParameter);
        }
        public void AddParameterTo(ParameterIdentification parameterIdentification, IParameter parameter)
        {
            if (!_parameterSelector.CanUseParameter(parameter))
            {
                return;
            }

            var simulation = simulationContaining(parameter);

            if (simulation == null)
            {
                return;
            }

            AddSimulationTo(parameterIdentification, simulation);

            var parameterSelection = new ParameterSelection(simulation, _entityPathResolver.PathFor(parameter));

            addParameterSelectionToParameterIdentification(parameterIdentification, parameterSelection);
        }
 public bool ParameterCanBeUsedForSensitivity(IParameter parameter)
 {
     return(_parameterSelector.CanUseParameter(parameter) && parameter.IsConstantParameter() && !ValueComparer.AreValuesEqual(parameter, 0));
 }