// Created by libAntimony v2.13.0
model *Mayya2005_STATmodule()

  // Compartments and Species:
  compartment nuc, sol, nm;
  species stat_sol in sol, Pstat_sol in sol, $statKinase_sol in sol, PstatDimer_sol in sol;
  species PstatDimer_nuc in nuc, stat_nuc in nuc, Pstat_nuc in nuc, statPhosphatase_nuc in nuc;
  species species_test in sol;

  // Assignment Rules:
  statKinase_sol := piecewise(0.01*sin(0.001571*(-500 + time)), (time > 500) && (time < 2502.54614894971), 0);

  // Reactions:
  PstatDimerisation: 2 Pstat_sol -> PstatDimer_sol; (PstatDimerisation_Kf_PstatDimerisation*Pstat_sol^2 + -(PstatDimerisation_Kr_PstatDimerisation*PstatDimer_sol))*sol;
  statDephosphorylation: Pstat_nuc -> stat_nuc; statDephosphorylation_Kcat_dephos*statPhosphatase_nuc*Pstat_nuc*(1/(statDephosphorylation_Km_dephos + Pstat_nuc))*nuc;
  statPhosphorylation: stat_sol -> Pstat_sol + species_test; statPhosphorylation_Kcat_phos*statKinase_sol*stat_sol*(1/(statPhosphorylation_Km_phos + stat_sol))*sol;
  PstatDimerisationNuc: 2 Pstat_nuc -> PstatDimer_nuc; (PstatDimerisationNuc_Kf_PstatDimerisation*Pstat_nuc^2 + -(PstatDimerisationNuc_Kr_PstatDimerisation*PstatDimer_nuc))*nuc;
  PstatDimer__import: PstatDimer_sol -> PstatDimer_nuc; PstatDimer__import_PstatDimer_impMax*PstatDimer_sol*(1/(PstatDimer__import_Kpsd_imp + PstatDimer_sol))*nm;
  stat_export: stat_sol -> stat_nuc; nuc*stat_export_stat_expMax*stat_nuc*(1/(stat_export_Ks_exp + stat_nuc))*nm;
  stat_import: stat_sol -> stat_nuc; nuc*stat_import_stat_impMax*stat_sol*(1/(stat_import_Ks_imp + stat_sol))*nm;

  // Species initializations:
  stat_sol = 1;
  Pstat_sol = 0;
  PstatDimer_sol = 0;
  PstatDimer_nuc = 0;
  stat_nuc = 0;
  Pstat_nuc = 0;
  statPhosphatase_nuc = 0.05;
  species_test = 0;

  // Compartment initializations:
  nuc = 1;
  nuc has litre;
  sol = 14.625;
  sol has litre;
  nm = 1;
  nm has um2;

  // Variable initializations:
  PstatDimerisation_Kf_PstatDimerisation = 0.6;
  PstatDimerisation_Kf_PstatDimerisation has uM_1_s_1;
  PstatDimerisation_Kr_PstatDimerisation = 0.03;
  PstatDimerisation_Kr_PstatDimerisation has s_1;
  statDephosphorylation_Kcat_dephos = 1;
  statDephosphorylation_Kcat_dephos has s_1;
  statDephosphorylation_Km_dephos = 2;
  statDephosphorylation_Km_dephos has uM;
  statPhosphorylation_Kcat_phos = 1;
  statPhosphorylation_Kcat_phos has s_1;
  statPhosphorylation_Km_phos = 4;
  statPhosphorylation_Km_phos has uM;
  PstatDimerisationNuc_Kf_PstatDimerisation = 0.6;
  PstatDimerisationNuc_Kf_PstatDimerisation has uM_1_s_1;
  PstatDimerisationNuc_Kr_PstatDimerisation = 0.03;
  PstatDimerisationNuc_Kr_PstatDimerisation has s_1;
  PstatDimer__import_PstatDimer_impMax = 0.045;
  PstatDimer__import_PstatDimer_impMax has uM_um_s_1;
  PstatDimer__import_Kpsd_imp = 0.3;
  PstatDimer__import_Kpsd_imp has uM;
  stat_export_stat_expMax = -0.06;
  stat_export_stat_expMax has uM_um_s_1;
  stat_export_Ks_exp = 0.6;
  stat_export_Ks_exp has uM;
  stat_import_stat_impMax = 0.003;
  stat_import_stat_impMax has uM_um_s_1;
  stat_import_Ks_imp = 3;
  stat_import_Ks_imp has uM;

  // Other declarations:
  const nuc, sol, nm;

  // Unit definitions:
  unit substance = 1e-6 mole;
  unit volume = litre;
  unit area = (1e-6 metre)^2;
  unit molecule = item;
  unit um2 = (1e-6 metre)^2;
  unit s_1 = 1 / second;
  unit uM_1_s_1 = litre / (1e-6 mole * second);
  unit uM_um_s_1 = 1e-6 mole / (litre * (1e-6 metre)^2 * second);
  unit uM = 1e-6 mole / litre;

  // Display Names:
  PstatDimer__import is "PstatDimer_ import";

  // CV terms:
  nuc identity "http://identifiers.org/go/GO:0005634"
  sol identity "http://identifiers.org/go/GO:0005576"
  nm identity "http://identifiers.org/go/GO:0031965"
  stat_sol hypernym "http://identifiers.org/uniprot/P42224"
  Pstat_sol hypernym "http://identifiers.org/uniprot/P42224"
  PstatDimer_sol hypernym "http://identifiers.org/uniprot/P42224"
  PstatDimer_nuc hypernym "http://identifiers.org/uniprot/P42224"
  stat_nuc hypernym "http://identifiers.org/uniprot/P42224"
  Pstat_nuc hypernym "http://identifiers.org/uniprot/P42224"
  PstatDimerisation hypernym "http://identifiers.org/go/GO:0046983"
  statDephosphorylation hypernym "http://identifiers.org/go/GO:0006470"
  statPhosphorylation hypernym "http://identifiers.org/go/GO:0042508"
  PstatDimerisationNuc hypernym "http://identifiers.org/go/GO:0046983"
  PstatDimer__import hypernym "http://identifiers.org/go/GO:0007262"
  stat_import hypernym "http://identifiers.org/go/GO:0007262"
end

Mayya2005_STATmodule is "Mayya2005_STATmodule"

Mayya2005_STATmodule model_entity_is "http://identifiers.org/biomodels.db/MODEL6095659304"
Mayya2005_STATmodule model_entity_is "http://identifiers.org/biomodels.db/BIOMD0000000167"
Mayya2005_STATmodule description "http://identifiers.org/pubmed/17091582"
Mayya2005_STATmodule origin "http://identifiers.org/biomodels.db/BIOMD0000000093",
                            "http://identifiers.org/biomodels.db/BIOMD0000000094",
                            "http://identifiers.org/pubmed/12552139",
                            "http://identifiers.org/pubmed/15240442"
Mayya2005_STATmodule taxon "http://identifiers.org/taxonomy/131567"
Mayya2005_STATmodule part "http://identifiers.org/kegg.pathway/hsa04630"
Mayya2005_STATmodule hypernym "http://identifiers.org/go/GO:0042509"
