We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the model Modelica.Electrical.Batteries.Utilities.PulseSeries there seems to be a bug. Specifically in the declaration:
Modelica.Electrical.Batteries.Utilities.PulseSeries
parameter SI.Time Tstart2[n1] = array(... for k in 1:n2);
In that case Tstart2 has a size of n1 but the iterator goes up to size n2. Same issue with the equation
Tstart2
n1
n2
on2 = oneTrue(array(time >= Tstart2[k] and time < Tstart2[k] + T2 for k in 1:n1));
In order for the model to work n1 and n2 must be equal.
In the examples where the model is used, n1 and n2 happen to be equal.
The text was updated successfully, but these errors were encountered:
fixes modelica#3901
c0ebd98
christiankral
AHaumer
Successfully merging a pull request may close this issue.
In the model
Modelica.Electrical.Batteries.Utilities.PulseSeries
there seems to be a bug. Specifically in the declaration:In that case
Tstart2
has a size ofn1
but the iterator goes up to sizen2
. Same issue with the equationIn order for the model to work
n1
andn2
must be equal.In the examples where the model is used,
n1
andn2
happen to be equal.The text was updated successfully, but these errors were encountered: