//Created by libAntimony v2.4 model antidiuretic_hormone_CellML1_0_model__environment(time_) // Variable initializations: time_ = ; end model antidiuretic_hormone_CellML1_0_model__parameter_values(CNR, ADHPUL, ADHPAM, ADHINF, ADHTC, ADHVUL, ADHVLL, ADHKLL, ADHKUL) // Variable initializations: CNR = 139; ADHPUL = 85; ADHPAM = 0.3; ADHINF = 0; ADHTC = 15; ADHVUL = 2.5; ADHVLL = 0.93617; ADHKLL = 0.2; ADHKUL = 5; end model antidiuretic_hormone_CellML1_0_model__osmotic_control_of_ADH_secretion(CNA, ADHNA, CNR) // Assignment Rules: ADHNA := piecewise( 0 , ADHNA1 < 0 , ADHNA1 ); ADHNA1 := (CNA - CNR) / (142 - CNR); // Variable initializations: CNA = ; CNR = ; end model antidiuretic_hormone_CellML1_0_model__pressure_control_of_ADH_secretion(PA1, ADHPR, ADHPUL, ADHPAM) // Assignment Rules: ADHPR := power(ADHPUL - ADHPA, 2) * ADHPAM; ADHPA := piecewise( ADHPUL , PA1 > ADHPUL , PA1 ); // Variable initializations: PA1 = ; ADHPUL = ; ADHPAM = ; end model antidiuretic_hormone_CellML1_0_model__total_ADH_secretion(ADHNA, ADHPR, ADH, ADHINF) // Assignment Rules: ADH := piecewise( 0 , ADH1 < 0 , ADH1 ); ADH1 := ADHNA + ADHPR + ADHINF; // Variable initializations: ADHNA = ; ADHPR = ; ADHINF = ; end model antidiuretic_hormone_CellML1_0_model__ADH_in_blood(ADH, time_, ADHC, ADHTC) // Rate Rules: ADHC' = (ADH - ADHC) / ADHTC; // Variable initializations: ADH = ; time_ = ; ADHC = 1.0; ADHTC = ; end model antidiuretic_hormone_CellML1_0_model__ADH_effect_on_nonrenal_vascular_resistance(ADHC, ADHMV, ADHVUL, ADHVLL) // Assignment Rules: ADHMV := piecewise( ADHVLL , ADHMV1 < ADHVLL , ADHMV1 ); ADHMV1 := ADHVUL - (ADHVUL - 1) / (((ADHVLL - 1) / (ADHVLL - ADHVUL)) * (ADHC - 1) + 1); // Variable initializations: ADHC = ; ADHVUL = ; ADHVLL = ; end model antidiuretic_hormone_CellML1_0_model__ADH_effect_on_kidney(ADHC, ADHMK, ADHKLL, ADHKUL) // Assignment Rules: ADHMK := piecewise( ADHKLL , ADHMK1 < ADHKLL , ADHMK1 ); ADHMK1 := ADHKUL - (ADHKUL - 1) / (((ADHKLL - 1) / (ADHKLL - ADHKUL)) * (ADHC - 1) + 1); // Variable initializations: ADHC = ; ADHKLL = ; ADHKUL = ; end model antidiuretic_hormone_CellML1_0_model__antidiuretic_hormone(time_, CNA, PA1) // Sub-modules, and any changes to those submodules: parameter_values: antidiuretic_hormone_CellML1_0_model__parameter_values(CNR, ADHPUL, ADHPAM, ADHINF, ADHTC, ADHVUL, ADHVLL, ADHKLL, ADHKUL); osmotic_control_of_ADH_secretion: antidiuretic_hormone_CellML1_0_model__osmotic_control_of_ADH_secretion(CNA, ADHNA, CNR); pressure_control_of_ADH_secretion: antidiuretic_hormone_CellML1_0_model__pressure_control_of_ADH_secretion(PA1, ADHPR, ADHPUL, ADHPAM); total_ADH_secretion: antidiuretic_hormone_CellML1_0_model__total_ADH_secretion(ADHNA, ADHPR, ADH, ADHINF); ADH_in_blood: antidiuretic_hormone_CellML1_0_model__ADH_in_blood(ADH, time_, ADHC, ADHTC); ADH_effect_on_nonrenal_vascular_resistance: antidiuretic_hormone_CellML1_0_model__ADH_effect_on_nonrenal_vascular_resistance(ADHC, ADHMV, ADHVUL, ADHVLL); ADH_effect_on_kidney: antidiuretic_hormone_CellML1_0_model__ADH_effect_on_kidney(ADHC, ADHMK, ADHKLL, ADHKUL); // Variable initializations: CNA = 142.035; PA1 = 103.525; end model *antidiuretic_hormone_CellML1_0_model____main() // Sub-modules, and any changes to those submodules: environment: antidiuretic_hormone_CellML1_0_model__environment(time_); antidiuretic_hormone: antidiuretic_hormone_CellML1_0_model__antidiuretic_hormone(time_, CNA, PA1); end