Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong units in Rod_ForLoop #454

Open
quorx opened this issue May 26, 2022 · 2 comments
Open

Wrong units in Rod_ForLoop #454

quorx opened this issue May 26, 2022 · 2 comments

Comments

@quorx
Copy link

quorx commented May 26, 2022

The units for ConvectionCoefficient should be "W/(m2.K)"

model Rod_ForLoop "Modeling heat conduction in a rod using a for loop"
  type Temperature=Real(unit="K", min=0);
  type ConvectionCoefficient=Real(unit="W/K", min=0);
  type ConductionCoefficient=Real(unit="W.m-1.K-1", min=0);
  type Mass=Real(unit="kg", min=0);
  type SpecificHeat=Real(unit="J/(K.kg)", min=0);
  type Density=Real(unit="kg/m3", min=0);
  type Area=Real(unit="m2");
  type Volume=Real(unit="m3");
  type Length=Real(unit="m", min=0);
  type Radius=Real(unit="m", min=0);

  constant Real pi = 3.14159;
...
@mtiller
Copy link
Owner

mtiller commented May 27, 2022

You are correct. Thanks!

@quorx
Copy link
Author

quorx commented May 27, 2022

I have found your book to be the best resource out there for learning Modelica.

Great work and thanks!

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

No branches or pull requests

2 participants