-
Notifications
You must be signed in to change notification settings - Fork 167
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
Add commonly used Blocks and Interfaces #4518
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR. Can you please resolve the few issues reported by the static checks, see https://github.com/modelica/ModelicaStandardLibrary/pull/4518/files. |
Co-authored-by: Thomas Beutlich <[email protected]>
f6d617e
to
b3e9b89
Compare
Sure! All checks should pass now and I rebased the branch on current master. |
@@ -997,6 +997,67 @@ y = u1 * u2; | |||
Ellipse(lineColor={0,0,127}, extent={{-50,-50},{50,50}})})); | |||
end Product; | |||
|
|||
block VectorProduct "Output product of the two inputs with dimension n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be ScalarProduct? Or DotProduct?
annotation ( | ||
Documentation( | ||
info = "<html> | ||
<p>This blocks computes the output <strong>y</strong> as <em>product</em> of the two input vectors <strong>u1</strong> and <strong>u2</strong>: </p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p>This blocks computes the output <strong>y</strong> as <em>product</em> of the two input vectors <strong>u1</strong> and <strong>u2</strong>: </p> | |
<p>This blocks computes the output <strong>y</strong> as <em>scalar product</em> of the two input vectors <strong>u1</strong> and <strong>u2</strong>: </p> |
During development of our Modelica libraries, we centralize commonly used models and interfaces in the "DymolaModels" library, which is shipped with Dymola. Some of these models are so common that we want to give them back for the MSL.