//Created by libAntimony v2.4 model overgaard_baseline_2007__environment(time_) // Variable initializations: time_ = ; end model overgaard_baseline_2007__model_parameters(T_a, T_b, delta_T, kinc) // Variable initializations: T_a = 21.0; T_b = 38.0; delta_T = 1.57; kinc = 0.0258; end model overgaard_baseline_2007__M_c(M_c, M_day, M_night, time_) // Assignment Rules: M_c := piecewise( M_night , ( geq(tprime / 3600, t_night)) && (tprime / 3600 < t_day ), M_day ); tprime := rem(time_ * 3600 * 1, day_length); // Variable initializations: t_day = 17.5; t_night = 6.73; day_length = 86400; M_day = ; M_night = ; time_ = ; rem = ; end model overgaard_baseline_2007__M(M, M_c, time_) // Rate Rules: M' = - km * (M - M_c); // Variable initializations: M = 3.5; km = 1.1375; M_c = ; time_ = ; end model overgaard_baseline_2007__T(T, k, M, T_a, time_) // Rate Rules: T' = power(c, -1) * (M - k * (T - T_a)); // Variable initializations: T = 38.785; c = 3.47; k = ; M = ; T_a = ; time_ = ; end model overgaard_baseline_2007__k(k, kinc, kb, T, T_b) // Assignment Rules: k := kb + kinc * (T - T_b); // Variable initializations: kinc = ; kb = ; T = ; T_b = ; end model overgaard_baseline_2007__T_day(T_day, T_b, delta_T) // Assignment Rules: T_day := T_b + delta_T / 2; // Variable initializations: T_b = ; delta_T = ; end model overgaard_baseline_2007__T_night(T_night, T_b, delta_T) // Assignment Rules: T_night := T_b - delta_T / 2; // Variable initializations: T_b = ; delta_T = ; end model overgaard_baseline_2007__kb(kb, T_b, T_a) // Assignment Rules: kb := M_b / (T_b - T_a); // Variable initializations: M_b = 3.0; T_b = ; T_a = ; end model overgaard_baseline_2007__M_day(M_day, kinc, kb, T_b, T_a, T_day) // Assignment Rules: M_day := (kb + kinc * (T_day - T_b)) * (T_day - T_a); // Variable initializations: kinc = ; kb = ; T_b = ; T_a = ; T_day = ; end model overgaard_baseline_2007__M_night(M_night, kinc, kb, T_b, T_a, T_night) // Assignment Rules: M_night := (kb + kinc * (T_night - T_b)) * (T_night - T_a); // Variable initializations: kinc = ; kb = ; T_b = ; T_a = ; T_night = ; end model *overgaard_baseline_2007____main() // Sub-modules, and any changes to those submodules: environment: overgaard_baseline_2007__environment(time_); model_parameters: overgaard_baseline_2007__model_parameters(T_a, T_b, delta_T, kinc); M_c: overgaard_baseline_2007__M_c(M_c0, M_day0, M_night0, time_); M: overgaard_baseline_2007__M(M0, M_c0, time_); T: overgaard_baseline_2007__T(T0, k0, M0, T_a, time_); k: overgaard_baseline_2007__k(k0, kinc, kb0, T0, T_b); T_day: overgaard_baseline_2007__T_day(T_day0, T_b, delta_T); T_night: overgaard_baseline_2007__T_night(T_night0, T_b, delta_T); kb: overgaard_baseline_2007__kb(kb0, T_b, T_a); M_day: overgaard_baseline_2007__M_day(M_day0, kinc, kb0, T_b, T_a, T_day0); M_night: overgaard_baseline_2007__M_night(M_night0, kinc, kb0, T_b, T_a, T_night0); end