UdK-VPT / BuildingSystems

Modelica BuildingSystems library
http://modelica-buildingsystems.de/
BSD 3-Clause "New" or "Revised" License
70 stars 34 forks source link

style: Declaration of Variables #1

Closed jmoeckel closed 9 years ago

jmoeckel commented 9 years ago

Following rule 3.8 we should use units for variables, that have a physical correspondence - and if possible use types from Modelica.SIUnits.

There exists lot of variables in the BuildingSystems, that are declared as Real (without a unit) but have a physical correspondece.


Following files contain the keyword Real and were NOT copied from Annex60. Files from package Types some subpackages of Utilities are not considered as they do not use physical quantities:


jmoeckel commented 9 years ago

Note: This is just a first shot. Future work is necessary to find all Real variable, that could be redeclared as a physical quantity.