-
Notifications
You must be signed in to change notification settings - Fork 164
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
Modelica.Blocks.Math.LinearDependency has strange formulation #1724
Comments
Comment by Joe Riel on 1 Jun 2015 15:32 UTC |
Modified by dietmarw on 1 Jun 2015 20:14 UTC |
Modified by beutlich on 18 Aug 2015 12:08 UTC |
Comment by beutlich on 31 Aug 2015 09:29 UTC |
Comment by otter on 28 Sep 2015 11:45 UTC To avoid a non-backwards compatible change in 3.2.2, I would suggest to just improve the documentation of this block (and the use case for which it was designed). |
Modified by otter on 11 Dec 2015 14:20 UTC |
Comment by ahaumer on 18 Dec 2015 12:05 UTC |
Comment by beutlich on 20 Dec 2015 20:45 UTC
Please revise again for MSL 3.2.2. For that reason I changed the milestone back to MSL 3.2.2 which should be reset again once the comment is without errors. Sorry for the extra work. |
Comment by ahaumer on 23 Dec 2015 18:28 UTC Once again: IMHO the implementation is wrong and will be corrected in the next major version (conversion script needed; ticket remains open). This is stated in the documentation (92389bf). |
Point to @JoeRiel. |
My proposal #2886 was rejected by @MartinOtter . @AHaumer @MartinOtter Please provide an alternative fix! |
On Fri, 09 Aug 2019 06:36:14 -0700 Thomas Beutlich ***@***.***> wrote:
My proposal #2886 was rejected by @MartinOtter .
@AHaumer @MartinOtter Please provide an alternative fix!
Hmm. The original is definitely wrong and completely non intuitive.
I understand the reluctance to change a model, as doing so will definitely
change any models that use it, but suspect it was never/rarely used
given its weirdness. Maybe name the fixed model LinearDependent, or
TwoInputLinear, or something like that.
…--
Joe Riel
|
#3088 is my second attempt to fix this issue. |
Guarantee backward compatibility
Reported by Joe Riel on 1 Jun 2015 14:58 UTC
The relatively new block LinearDependency seems strange. It's defining equation is
y = y0*(1 + k1*u1 + k2*u2);
. y0 is a parameter; its description says it is an initial value, which makes no sense. It is a scale factor (with a useless default of 0). However, if its value is nonzero, then one cannot produce an output with a non-zero offset. I'm thinking the block would be slightly more useful if the defining equation werey = y0 + k1*u1 + k2*u2
.Migrated-From: https://trac.modelica.org/Modelica/ticket/1724
The text was updated successfully, but these errors were encountered: