Skip to content

What is the unit of R? #2377

@HansOlsson

Description

@HansOlsson

While correcting #2375 I found that Modelica.Media.Interfaces.PartialMedium contains SpecificHeatCapacity R (with unit J/(kg.K) ) and Modelica.Constants.R is 8.3144598 J/(mol.K).

On its own this is confusing - and likely an error. And at least an actual error is caused by this in:
Modelica.Media.Incompressible.TableBased.BaseProperties where R=Modelica.Constants.R

Metadata

Metadata

Labels

L: MediaIssue addresses Modelica.MediabugCritical/severe issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions