Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Missing fixed=false in Modelica.Electrical.EnergyStorages.Batteries.Components.Calculators.Cycles #4

Open
modelica-trac-importer opened this issue Jan 30, 2017 · 4 comments
Assignees
Labels

Comments

@modelica-trac-importer
Copy link

Reported by pharman on 15 Oct 2012 16:27 UTC
In Modelica.Electrical.EnergyStorages.Batteries.Components.Calculators.Cycles the parameter integrator.y_start is set at initialisation, but doesn't have the attribute fixed=false set so as a parameter defaults to fixed=true.

Therefore the declaration:

  Modelica.Blocks.Continuous.Integrator integrator(y_start=cyclesini);

should be changed to:

  Modelica.Blocks.Continuous.Integrator integrator(y_start(fixed=false)=cyclesini);

Migrated-From: https://trac.modelica.org/Modelica/ticket/878

@modelica-trac-importer
Copy link
Author

Comment by dietmarw on 4 Dec 2012 16:34 UTC
Library is not going to be part of MSL 3.2.1 so rescheduling for possible inclusion in MSL 3.3

@modelica-trac-importer
Copy link
Author

Modified by beutlich on 18 Jun 2014 09:33 UTC

@christiankral
Copy link
Collaborator

The pendantic model check of Dymola rises an error message for

Modelica.Blocks.Continuous.Integrator integrator(y_start(fixed=false)=cyclesini);

However, I do not quite understand the intention of your proposal. Do you want to explicitly overwrite the integrator initial condition?

@christiankral
Copy link
Collaborator

The library structure is designed for quite sophisticated applications. Therefore, the library should definitely be re-designed and simplified before integrating it into the MSL.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants