You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Modelica Change Proposal MCP-0027<br/>Units of Literal Constants
2
+
Francesco Casella, Henrik Tidefelt
3
+
4
+
**(In Development)**
5
+
6
+
## Summary
7
+
The purpose of this MCP is to allow more unit errors to be detected by giving more expressions the unit `"1"` instead of having an undefined unit.
8
+
The problem with undefined unit is that it gets in the way of carrying out checking of units (which tools tend to deal with by not checking units at all where this happens).
9
+
10
+
## Revisions
11
+
| Date | Description |
12
+
| --- | --- |
13
+
| 2022-10-04 | Henrik Tidefelt. Filling this document with initial content. |
14
+
15
+
## Contributor License Agreement
16
+
All authors of this MCP or their organizations have signed the "Modelica Contributor License Agreement".
17
+
18
+
## Rationale
19
+
FIXME
20
+
21
+
## Backwards Compatibility
22
+
As current Modelica doesn't clearly reject some models with non-sensical combination of units, this MCP will break backwards compatibility by turning at least some of these invalid.
23
+
24
+
## Tool Implementation
25
+
None, so far.
26
+
27
+
### Experience with Prototype
28
+
N/A
29
+
30
+
## Required Patents
31
+
To the best of our knowledge, there are no patents that would conflict with the incorporation of this MCP.
0 commit comments