//Created by libAntimony v2.4 model calcium__calcium(t, Ca) // Assignment Rules: Ca := piecewise( ((459 - 576) * t) / 180 + 576 , ( geq(t, 0)) && (t <= 180 ), ((406 - 459) * (t - 180)) / 180 + 459 , ( t > 180) && (t <= 360 ), ((377 - 406) * (t - 360)) / 180 + 406 , ( t > 360) && (t <= 540 ), ((348 - 377) * (t - 540)) / 180 + 377 , ( t > 540) && (t <= 720 ), ((336 - 348) * (t - 720)) / 180 + 348 , ( t > 720) && (t <= 900 ), ((334 - 336) * (t - 900)) / 180 + 336 , ( t > 900) && (t <= 1080 ), 334 , ( t > 1080) && (t <= stimEnd ), 60 ); // Variable initializations: t = ; stimEnd = 1800; end model *calcium____main() // Sub-modules, and any changes to those submodules: calcium: calcium__calcium(t, Ca); end