Skip to content

Basicfix#84

Open
shubham148-st wants to merge 4 commits into
FOSSEE:masterfrom
shubham148-st:basicfix
Open

Basicfix#84
shubham148-st wants to merge 4 commits into
FOSSEE:masterfrom
shubham148-st:basicfix

Conversation

@shubham148-st

Copy link
Copy Markdown
Contributor

This PR updates the semantic formatting of unit expressions across the package's .mo files to ensure strict compliance with the Modelica 4.x standard. These adjustments eliminate syntax errors and warnings triggered during rigorous unit checking in modern versions of the OpenModelica Compiler (OMC).

Key Changes

Modelica 4.x Semantic changes

  • Dimensionless Unit Update: Replaced the invalid dimensionless marker "-" with the standard "1" across all unit attributes (e.g., mole fractions, parameters, ...).
  • Unit Expression Bracket Fix: Converted unit expressions from using illegal square brackets like [kmol.K] to the standard parenthesis format (kmol.K) across all affected .mo files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant