Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concentration parameter must be created with CanBeVaried = false #2691

Closed
Yuri05 opened this issue Jul 31, 2023 · 0 comments
Closed

Concentration parameter must be created with CanBeVaried = false #2691

Yuri05 opened this issue Jul 31, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@Yuri05
Copy link
Member

Yuri05 commented Jul 31, 2023

At the moment it's not the case and Concentration parameter appears e.g. in the SensitivityAnalysis in MoBi and we have other side effects (e.g. when creating model C++ code in SimModel)

grafik

public IParameter CreateConcentrationParameterIn(IFormulaCache formulaCache)
{
var parameter = CreateFor(CoreConstants.Parameters.CONCENTRATION, PKSimBuildingBlockType.Simulation);
parameter.BuildMode = ParameterBuildMode.Local;
parameter.Info.Visible = false;
parameter.Formula = _formulaFactory.ConcentrationFormulaFor(formulaCache);
parameter.Dimension = _dimensionRepository.MolarConcentration;
parameter.DisplayUnit = _displayUnitRetriever.PreferredUnitFor(parameter);
return parameter;
}

@Yuri05 Yuri05 added this to the Version 12 milestone Jul 31, 2023
@Yuri05 Yuri05 added this to v12 Jul 31, 2023
@Yuri05 Yuri05 changed the title Concentration parameter must be created with CamBeVaried = false Concentration parameter must be created with CanBeVaried = false Jul 31, 2023
@msevestre msevestre self-assigned this Sep 5, 2023
@Yuri05 Yuri05 closed this as completed in 68391d1 Sep 7, 2023
@github-project-automation github-project-automation bot moved this to Fixed in v12 Sep 7, 2023
@rwmcintosh rwmcintosh added the hotfix To be implemented in hotfix label Feb 28, 2024
rwmcintosh added a commit that referenced this issue Feb 28, 2024
@Yuri05 Yuri05 moved this from Fixed to Verified in v12 Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Verified
Development

No branches or pull requests

3 participants