Replies: 1 comment
-
First, I would definitely not introduce it into the core, since it will have a significant performance overhead and be a major breaking change, breaking basically everything. As an extension it could be feasible. There we would have the following issues:
If not providing a distinct extension but as part of a certain UI:
The latter approach sounds the easiest way for me. The first may get very hacky and error prone. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Since PyRolL currently supports all metric units but all of the "physical quantities handling" has to be done by the user, I suggest a filter layer for the import to introduce units.
This would benefit PyRolL since "simple" users don't want to think about to much stuff before doing their first simulation.
Also some model approaches (mostly the empirical ones) work in specific physical quantities.
Therefore the introduction of physical quantities would further protect PyRolL from misuse.
A possibility to introduce units is the python package pint .
This could act as a translation layer, anchored inside a own extension plugin.
First of I would like to discuss it generally.
Beta Was this translation helpful? Give feedback.
All reactions