Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Chemical Package Temperature Control

Chemical Package Temperature Control

Hi all -

Is there a way to have a chemical reaction dependent on temperature? When I tried to set the Gibb's Free Energy to calculate with the temperature of the system, I was given this error:

“Function argument DfG=-R*(solution1.T+273.15)*log(k_eq_CO) in call to Chemical.Examples.Substances.CarbonMonoxide_gas has variability continuous which is not a parameter expression.”

How can I change this so it's a variable and not a parameter? Thanks!

There are 0 guests and 0 other users also viewing this topic
You are here: