// This model generated automatically from SBML
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxymandelaldehyde to xxx_space_3_space_4_minus_Dihydroxymandelaldehyde due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylethyleneglycol to xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol due to JSim namespace restrictions
// WARNING: Renamed variable _space_4_minus_Hydroxyphenylacetylglycine to xxx_space_4_minus_Hydroxyphenylacetylglycine due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_minus_Hydroxyphenylacetate to xxx_space_3_minus_Hydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylacetate to xxx_space_3_space_4_minus_Dihydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_4_minus_Hydroxyphenylacetyl_minus_CoA to xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA due to JSim namespace restrictions
// WARNING: Renamed variable _space_4_minus_Hydroxyphenylacetate to xxx_space_4_minus_Hydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate to xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate due to JSim namespace restrictions
// unit definitions
import nsrunit;
unit conversion off;
// SBML property definitions
property sbmlRole=string;
property sbmlName=string;
property sbmlCompartment=string;
// SBML reactions
// R02698: _space_4_minus_Hydroxyphenylacetate <=> _space_3_space_4_minus_Dihydroxyphenylacetate
// R03299: _space_3_minus_Hydroxyphenylacetate <=> _space_3_space_4_minus_Dihydroxyphenylacetate
// R04880: _space_3_space_4_minus_Dihydroxyphenylethyleneglycol => _space_3_space_4_minus_Dihydroxymandelaldehyde
// R00729: L_minus_Tyrosine <=> _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate
// R04777: _space_4_minus_Hydroxyphenylacetyl_minus_CoA <=> _space_4_minus_Hydroxyphenylacetylglycine
// R00734: L_minus_Tyrosine => _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate
// R00713: Succinate_space_semialdehyde <=> Succinate
// R03943: N_minus_Methyltyramine <=> Hordenine
math main {
realDomain time second;
time.min=0;
extern time.max;
extern time.delta;
// variable definitions
real default = 1 L;
real uVol = 1 L;
real E1_space_1_space_1_space_1 = 0 M;
real E1_space_2_space_1_space_16 = 0 M;
real E2_space_3_space_1_space__minus_ = 0 M;
real E1_space_14_space_13_space_3 = 0 M;
real E2_space_6_space_1_space_1 = 0 M;
real E2_space_6_space_1_space_9 = 0 M;
real E1_space_4_space_3_space_2 = 0 M;
real E2_space_1_space_1_space__minus_ = 0 M;
real xxx_space_3_space_4_minus_Dihydroxymandelaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol(time) M;
real Succinate_space_semialdehyde(time) M;
real Succinate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetylglycine(time) M;
real xxx_space_3_minus_Hydroxyphenylacetate(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylacetate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA(time) M;
real xxx_space_4_minus_Hydroxyphenylacetate(time) M;
real xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate(time) M;
real N_minus_Methyltyramine(time) M;
real Hordenine(time) M;
real L_minus_Tyrosine(time) M;
real R02698(time) katal;
extern real R02698.kf;
extern real R02698.kb;
real R03299(time) katal;
extern real R03299.kf;
extern real R03299.kb;
real R04880(time) katal;
extern real R04880.kf;
extern real R04880.kb;
real R00729(time) katal;
extern real R00729.kf;
extern real R00729.kb;
real R04777(time) katal;
extern real R04777.kf;
extern real R04777.kb;
real R00734(time) katal;
extern real R00734.kf;
extern real R00734.kb;
real R00713(time) katal;
extern real R00713.kf;
extern real R00713.kb;
real R03943(time) katal;
extern real R03943.kf;
extern real R03943.kb;
// equations
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxymandelaldehyde = 0;
(xxx_space_3_space_4_minus_Dihydroxymandelaldehyde*uVol):time = R04880;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol*uVol):time = -1*R04880;
when (time=time.min) Succinate_space_semialdehyde = 0;
(Succinate_space_semialdehyde*uVol):time = -1*R00713;
when (time=time.min) Succinate = 0;
(Succinate*uVol):time = R00713;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetylglycine = 0;
(xxx_space_4_minus_Hydroxyphenylacetylglycine*uVol):time = R04777;
when (time=time.min) xxx_space_3_minus_Hydroxyphenylacetate = 0;
(xxx_space_3_minus_Hydroxyphenylacetate*uVol):time = -1*R03299;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylacetate = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylacetate*uVol):time = R02698 + R03299;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA = 0;
(xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA*uVol):time = -1*R04777;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetate = 0;
(xxx_space_4_minus_Hydroxyphenylacetate*uVol):time = -1*R02698;
when (time=time.min) xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate = 0;
(xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate*uVol):time = R00729 + R00734;
when (time=time.min) N_minus_Methyltyramine = 0;
(N_minus_Methyltyramine*uVol):time = -1*R03943;
when (time=time.min) Hordenine = 0;
(Hordenine*uVol):time = R03943;
when (time=time.min) L_minus_Tyrosine = 0;
(L_minus_Tyrosine*uVol):time = -1*R00729 + -1*R00734;
R02698 = R02698.kf*_space_4_minus_Hydroxyphenylacetate - R02698.kb*_space_3_space_4_minus_Dihydroxyphenylacetate;
R03299 = R03299.kf*_space_3_minus_Hydroxyphenylacetate - R03299.kb*_space_3_space_4_minus_Dihydroxyphenylacetate;
R04880 = R04880.kf*_space_3_space_4_minus_Dihydroxyphenylethyleneglycol - R04880.kb*_space_3_space_4_minus_Dihydroxymandelaldehyde;
R00729 = R00729.kf*L_minus_Tyrosine - R00729.kb*_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate;
R04777 = R04777.kf*_space_4_minus_Hydroxyphenylacetyl_minus_CoA - R04777.kb*_space_4_minus_Hydroxyphenylacetylglycine;
R00734 = R00734.kf*L_minus_Tyrosine - R00734.kb*_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate;
R00713 = R00713.kf*Succinate_space_semialdehyde - R00713.kb*Succinate;
R03943 = R03943.kf*N_minus_Methyltyramine - R03943.kb*Hordenine;
// variable properties
default.sbmlRole="compartment";
uVol.sbmlRole="compartment";
E1_space_1_space_1_space_1.sbmlRole="species";
E1_space_1_space_1_space_1.sbmlCompartment="uVol";
E1_space_2_space_1_space_16.sbmlRole="species";
E1_space_2_space_1_space_16.sbmlCompartment="uVol";
E2_space_3_space_1_space__minus_.sbmlRole="species";
E2_space_3_space_1_space__minus_.sbmlCompartment="uVol";
E1_space_14_space_13_space_3.sbmlRole="species";
E1_space_14_space_13_space_3.sbmlCompartment="uVol";
E2_space_6_space_1_space_1.sbmlRole="species";
E2_space_6_space_1_space_1.sbmlCompartment="uVol";
E2_space_6_space_1_space_9.sbmlRole="species";
E2_space_6_space_1_space_9.sbmlCompartment="uVol";
E1_space_4_space_3_space_2.sbmlRole="species";
E1_space_4_space_3_space_2.sbmlCompartment="uVol";
E2_space_1_space_1_space__minus_.sbmlRole="species";
E2_space_1_space_1_space__minus_.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlName="_space_3_space_4_minus_Dihydroxymandelaldehyde";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlName="_space_3_space_4_minus_Dihydroxyphenylethyleneglycol";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlCompartment="uVol";
Succinate_space_semialdehyde.sbmlRole="species";
Succinate_space_semialdehyde.sbmlCompartment="uVol";
Succinate.sbmlRole="species";
Succinate.sbmlCompartment="uVol";
xxx_space_4_minus_Hydroxyphenylacetylglycine.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetylglycine.sbmlName="_space_4_minus_Hydroxyphenylacetylglycine";
xxx_space_4_minus_Hydroxyphenylacetylglycine.sbmlCompartment="uVol";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlRole="species";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlName="_space_3_minus_Hydroxyphenylacetate";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlName="_space_3_space_4_minus_Dihydroxyphenylacetate";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA.sbmlName="_space_4_minus_Hydroxyphenylacetyl_minus_CoA";
xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA.sbmlCompartment="uVol";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlName="_space_4_minus_Hydroxyphenylacetate";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlRole="species";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlName="_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlCompartment="uVol";
N_minus_Methyltyramine.sbmlRole="species";
N_minus_Methyltyramine.sbmlCompartment="uVol";
Hordenine.sbmlRole="species";
Hordenine.sbmlCompartment="uVol";
L_minus_Tyrosine.sbmlRole="species";
L_minus_Tyrosine.sbmlCompartment="uVol";
R02698.sbmlRole="rate";
R02698.kf.sbmlRole="rate";
R02698.kb.sbmlRole="rate";
R03299.sbmlRole="rate";
R03299.kf.sbmlRole="rate";
R03299.kb.sbmlRole="rate";
R04880.sbmlRole="rate";
R04880.kf.sbmlRole="rate";
R04880.kb.sbmlRole="rate";
R00729.sbmlRole="rate";
R00729.kf.sbmlRole="rate";
R00729.kb.sbmlRole="rate";
R04777.sbmlRole="rate";
R04777.kf.sbmlRole="rate";
R04777.kb.sbmlRole="rate";
R00734.sbmlRole="rate";
R00734.kf.sbmlRole="rate";
R00734.kb.sbmlRole="rate";
R00713.sbmlRole="rate";
R00713.kf.sbmlRole="rate";
R00713.kb.sbmlRole="rate";
R03943.sbmlRole="rate";
R03943.kf.sbmlRole="rate";
R03943.kb.sbmlRole="rate";
}