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

ThermalConductor units issue #171

Closed
kakila opened this issue May 12, 2023 · 3 comments · Fixed by #179
Closed

ThermalConductor units issue #171

kakila opened this issue May 12, 2023 · 3 comments · Fixed by #179

Comments

@kakila
Copy link

kakila commented May 12, 2023

The documentation specifies that G is given in units of Power per Temperature, however this line:

Multiplies G with a factor that is in Power units, giving a result in Power^2 per Temperature.
I guess this line needs to be a division: Q_flow / G; or G needs to be defined differently.

@kakila
Copy link
Author

kakila commented May 12, 2023

Why not define a single device that sets

0 ~ C * dT - Q_flow

and then make the *Conductor|*Resistor just syntax sugar built on top of this element?
This would be less code to maintain

@ven-k
Copy link
Member

ven-k commented May 29, 2023

Yes ConvectiveConductor equation should be Q_flow ~ G * dT. Thanks for catching.
(Issue title needs to be fixed ThermalConductor -> (linked) ConvectiveConductor)

Why not define a single device that sets

We can define partial blocks and extend them when systems, @parameters, @variables can be reused. As R and G parameters are defined using the given values of R and G, we can't do this.

@kakila
Copy link
Author

kakila commented May 31, 2023

Yes ConvectiveConductor equation should be Q_flow ~ G * dT. Thanks for catching. (Issue title needs to be fixed ThermalConductor -> (linked) ConvectiveConductor)

Why not define a single device that sets

We can define partial blocks and extend them when systems, @parameters, @variables can be reused. As R and G parameters are defined using the given values of R and G, we can't do this.

Aren't G and R reciprocals from each other?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants