-
Notifications
You must be signed in to change notification settings - Fork 168
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
Hysteresis37 #4241
base: master
Are you sure you want to change the base?
Hysteresis37 #4241
Conversation
"Related to saturation value of magnetization"; | ||
parameter Real r(final unit="1")=0.55 | ||
parameter Real r(final unit="T-(1/2)")=0.55 |
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.
See: modelica/ModelicaSpecification#3439 for this new unit-string, added after Modelica Language 3.6.
I understand that the proposed change of units somehow leads to a consistent set of units:
|
True, that would imply mat.r.unit="1". The derivation of the unit for P1...P4 was independent of that; so then the conclusion is then that P1.unit="T(1/2)", mat.r.unit="1", and mat.M.unit="T(1/2)" (since Someone really need to look up the original models - to me the most likely way to solve that is that the eps-binding equation is wrong in some way; likely that it seemed logical to relate the eps to mat.M and it wasn't considered in detail. Also note that |
I would guess the quantity |
Seems that way; I tried some simple experiment, and it seemed the result was fairly unchanged even if eps was changed by an order of magnitude. |
…tly but it should not matter. Note that it is similar to mat.M^2, but easier to understand.
I have now updated to mat.r.unit="1" and changed eps to a unit-consistent value. |
In order to somehow understand the physics behind the equations
we need know the literature source. From what ist listed in I guess the first step where to identify the literature reference, on which the implemented equations are based. So far I could only identify the variable This does not indicate what unit |
I wonder if @ThomasBoedrich could give some input here. |
This solution is weird: Units like T^(-1/2) bare physical meaning.
|
This clears up the unit-issues in the Hysteresis models.
Facts about the PR:
It requires more than Modelica Language 3.6, due to the odd units.