[Run-Problem]: How to implement temperature scaling? #13
Unanswered
jonahpeter
asked this question in
Run-Problem
Replies: 1 comment 2 replies
-
Edited my question based on new understanding^^^ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Contact Details
jonahpeter@g.harvard.edu
What was the issue?
Hi all, I am trying to run a simulation with temperature scaling and am encountering strange behavior. As shown in the attached console output, many of my reaction rates are being set to 1 and many of my background reaction rates are being set negative.
I can see exactly where this is happening in
TsIRTConfiguration.cc
, but I don't understand why it was coded this way. For line 1300, it seems that temperature scaling is only available for a set of 10 hard-coded reactions. Is this accurate? If so, what is happening to my other reactions?For instance, consider what happens when I set
ApplyCorrectionScalingForTemperature=True
. Based on lines 311 and 1471, this sets the variablefKick = True
which multiplies the new reaction ratenewKobs
by an additional scaling factor. It seems to me that when this parameter isTrue
, the reaction rates are scaled relative to the default rates, and when this parameter isFalse
, the new rates are calculated from first principles based on the Arhenius function.However this parameter also toggles whether the background reaction rates that are positive or negative! Therefore, it seems I will get completely unphysical results when this parameter is
True
(i.e., when the rates are negative) and completely unexpected results when this parameter isFalse
(i.e., the rates are positive but haven't been scaled for temperature).Could someone please clarify whether temperature scaling is meant to only be used for the 10 hard-coded reactions? If so, I guess this means it's not compatible with pH scaling or scavenging.
Thanks!
90_C.txt
PlanteReactions.txt
TOPAS-nBio category
Chemistry
Version
3.0
What Operative System (OS) are you running on?
MacOS
Relevant log output
Code of Conduct
Attestation
Beta Was this translation helpful? Give feedback.
All reactions