// 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_Hydroxy_minus_2_minus_oxo_minus_heptanedioate to xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate 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_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
// R00734: L_minus_Tyrosine => _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate
// R01645: _space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate <=> Succinate_space_semialdehyde Pyruvate
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 E4_space_1_space_2_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 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 xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate(time) M;
real Pyruvate(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_Hydroxyphenylacetate(time) M;
real xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate(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 R00734(time) katal;
extern real R00734.kf;
extern real R00734.kb;
real R01645(time) katal;
extern real R01645.kf;
extern real R01645.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 = R01645;
when (time=time.min) xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate = 0;
(xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate*uVol):time = -1*R01645;
when (time=time.min) Pyruvate = 0;
(Pyruvate*uVol):time = R01645;
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_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 = R00734;
when (time=time.min) L_minus_Tyrosine = 0;
(L_minus_Tyrosine*uVol):time = -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;
R00734 = R00734.kf*L_minus_Tyrosine - R00734.kb*_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate;
R01645 = R01645.kf*_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate - R01645.kb*Succinate_space_semialdehyde*Pyruvate;
// 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";
E4_space_1_space_2_space__minus_.sbmlRole="species";
E4_space_1_space_2_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";
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";
xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate.sbmlRole="species";
xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate.sbmlName="_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate";
xxx_space_4_minus_Hydroxy_minus_2_minus_oxo_minus_heptanedioate.sbmlCompartment="uVol";
Pyruvate.sbmlRole="species";
Pyruvate.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_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";
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";
R00734.sbmlRole="rate";
R00734.kf.sbmlRole="rate";
R00734.kb.sbmlRole="rate";
R01645.sbmlRole="rate";
R01645.kf.sbmlRole="rate";
R01645.kb.sbmlRole="rate";
}