-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to start the simulated lab model with a different ambient temperature #109
Comments
If this is true, I'm willing to help fix it. |
Extending the model would be very useful, I think. In addition to the things you mention (changing ambient temperature and setting the temperatures), I can also think of changing the heat transfer coefficients to simulate blowing on the fins as a disturbance. Not having an easy disturbance is a major shortcoming of the model as it stands. @jckantor How do you feel about extensions to the model? |
I agree there are a few improvements possible. Quick fix to my immediate problem:
Other easy enhancements: I would do these first. I also thought this might be useful sometimes: This 3rd one might take some more thinking about... Let me know, I could have a go at these tomorrow and submit a pull request if you like. |
Exposing the parameters makes sense to me. Could you elaborate on why you would want a |
True, you can always instantiate a new object. If I can set the ambient temperature every time I create a new one that would be fine. The scenario where a reset becomes more convenient is if you have adjusted a few parameters to certain non-default settings and want to repeat the experiment from the initial condition ( It's not a big deal though. |
I don't think there's an obvious way to set the ambient temperature for the
TCLabModel
(simulated version) so that the heater temperatures start at a temperature other than the default value (Ta = 21
).As far as I can tell,
T1
andT2
are initialized in the__init__
method but there is no way to setTa
before this happens and no good way to change T1 and T2 after that (other thanlab._T1 = ...
).Or am I missing something?
The text was updated successfully, but these errors were encountered: