- Index
- » Programming
- » Modelica Language
- » Wrong type definition /...
Wrong type definition / Modelica.Media.Air.MoistAir
Wrong type definition / Modelica.Media.Air.MoistAir
Hi there,
I don't know, where to adress this, so I want describe the problem, and maybe someone knows, where to adress this problem.
It is a problem in MSL not in OM.
The media definition of MSL contains moist air: Modelica.Media.Air.MoistAir
In there one can find the concentration of water (big X) as kg water / kg moist air and the charge (small x) as kg water/kg dry air.
They are both defined as Modelica.SIunits.Massfraction, with min=0, max=1.
This is ok for X but totally wrong for x. The charge x can be min=0 (max=inf), as ther can be a higher humdity than 1kg water / 1 kg dry air.
This leeds to error messages, when x>1, as Modelica checks the type definition.
As there is no SIunit for that, the correct type would be Real.
Does somebody know, where do adress this?
Regards,
Uwe
- uschoene
- 8 Posts
- Index
- » Programming
- » Modelica Language
- » Wrong type definition /...