// This model generated automatically from SBML
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylacetaldehyde to xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde 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_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_Dihydroxymandelate to xxx_space_3_space_4_minus_Dihydroxymandelate 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_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde to xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_minus_Methoxy_minus_4_minus_hydroxymandelate to xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate 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_4_minus_Hydroxyphenylacetaldehyde to xxx_space_4_minus_Hydroxyphenylacetaldehyde 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
// WARNING: Renamed variable _space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde to xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde 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
// 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
// R04888: _space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde <=> Homovanillate
// R04891: _space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde <=> _space_3_minus_Methoxy_minus_4_minus_hydroxymandelate
// R00713: Succinate_space_semialdehyde <=> Succinate
// R03943: N_minus_Methyltyramine <=> Hordenine
// R04882: _space_3_space_4_minus_Dihydroxymandelaldehyde => _space_3_space_4_minus_Dihydroxymandelate
// R03300: _space_3_space_4_minus_Dihydroxyphenylacetaldehyde => _space_3_space_4_minus_Dihydroxyphenylacetate
// R02695: _space_4_minus_Hydroxyphenylacetaldehyde <=> _space_4_minus_Hydroxyphenylacetate
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_5 = 0 M;
real E1_space_2_space_1_space_16 = 0 M;
real E2_space_6_space_1_space_1 = 0 M;
real E2_space_6_space_1_space_9 = 0 M;
real E2_space_1_space_1_space__minus_ = 0 M;
real Homovanillate(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylacetate(time) M;
real xxx_space_3_space_4_minus_Dihydroxymandelaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxymandelate(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol(time) M;
real xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde(time) M;
real xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate(time) M;
real Succinate_space_semialdehyde(time) M;
real Succinate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetaldehyde(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 xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde(time) M;
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 R04888(time) katal;
extern real R04888.kf;
extern real R04888.kb;
real R04891(time) katal;
extern real R04891.kf;
extern real R04891.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;
real R04882(time) katal;
extern real R04882.kf;
extern real R04882.kb;
real R03300(time) katal;
extern real R03300.kf;
extern real R03300.kb;
real R02695(time) katal;
extern real R02695.kf;
extern real R02695.kb;
// equations
when (time=time.min) Homovanillate = 0;
(Homovanillate*uVol):time = R04888;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde*uVol):time = -1*R03300;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylacetate = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylacetate*uVol):time = R03300;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxymandelaldehyde = 0;
(xxx_space_3_space_4_minus_Dihydroxymandelaldehyde*uVol):time = R04880 + -1*R04882;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxymandelate = 0;
(xxx_space_3_space_4_minus_Dihydroxymandelate*uVol):time = R04882;
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) xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde = 0;
(xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde*uVol):time = -1*R04891;
when (time=time.min) xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate = 0;
(xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate*uVol):time = R04891;
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_Hydroxyphenylacetate = 0;
(xxx_space_4_minus_Hydroxyphenylacetate*uVol):time = R02695;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetaldehyde = 0;
(xxx_space_4_minus_Hydroxyphenylacetaldehyde*uVol):time = -1*R02695;
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) 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*R00734;
when (time=time.min) xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde = 0;
(xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde*uVol):time = -1*R04888;
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;
R04888 = R04888.kf*_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde - R04888.kb*Homovanillate;
R04891 = R04891.kf*_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde - R04891.kb*_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate;
R00713 = R00713.kf*Succinate_space_semialdehyde - R00713.kb*Succinate;
R03943 = R03943.kf*N_minus_Methyltyramine - R03943.kb*Hordenine;
R04882 = R04882.kf*_space_3_space_4_minus_Dihydroxymandelaldehyde - R04882.kb*_space_3_space_4_minus_Dihydroxymandelate;
R03300 = R03300.kf*_space_3_space_4_minus_Dihydroxyphenylacetaldehyde - R03300.kb*_space_3_space_4_minus_Dihydroxyphenylacetate;
R02695 = R02695.kf*_space_4_minus_Hydroxyphenylacetaldehyde - R02695.kb*_space_4_minus_Hydroxyphenylacetate;
// 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_5.sbmlRole="species";
E1_space_2_space_1_space_5.sbmlCompartment="uVol";
E1_space_2_space_1_space_16.sbmlRole="species";
E1_space_2_space_1_space_16.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";
E2_space_1_space_1_space__minus_.sbmlRole="species";
E2_space_1_space_1_space__minus_.sbmlCompartment="uVol";
Homovanillate.sbmlRole="species";
Homovanillate.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.sbmlName="_space_3_space_4_minus_Dihydroxyphenylacetaldehyde";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.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_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_Dihydroxymandelate.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxymandelate.sbmlName="_space_3_space_4_minus_Dihydroxymandelate";
xxx_space_3_space_4_minus_Dihydroxymandelate.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";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde.sbmlRole="species";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde.sbmlName="_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylglycolaldehyde.sbmlCompartment="uVol";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate.sbmlRole="species";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate.sbmlName="_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxymandelate.sbmlCompartment="uVol";
Succinate_space_semialdehyde.sbmlRole="species";
Succinate_space_semialdehyde.sbmlCompartment="uVol";
Succinate.sbmlRole="species";
Succinate.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_4_minus_Hydroxyphenylacetaldehyde.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetaldehyde.sbmlName="_space_4_minus_Hydroxyphenylacetaldehyde";
xxx_space_4_minus_Hydroxyphenylacetaldehyde.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";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde.sbmlRole="species";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde.sbmlName="_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde";
xxx_space_3_minus_Methoxy_minus_4_minus_hydroxyphenylacetaldehyde.sbmlCompartment="uVol";
R04880.sbmlRole="rate";
R04880.kf.sbmlRole="rate";
R04880.kb.sbmlRole="rate";
R00734.sbmlRole="rate";
R00734.kf.sbmlRole="rate";
R00734.kb.sbmlRole="rate";
R04888.sbmlRole="rate";
R04888.kf.sbmlRole="rate";
R04888.kb.sbmlRole="rate";
R04891.sbmlRole="rate";
R04891.kf.sbmlRole="rate";
R04891.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";
R04882.sbmlRole="rate";
R04882.kf.sbmlRole="rate";
R04882.kb.sbmlRole="rate";
R03300.sbmlRole="rate";
R03300.kf.sbmlRole="rate";
R03300.kb.sbmlRole="rate";
R02695.sbmlRole="rate";
R02695.kf.sbmlRole="rate";
R02695.kb.sbmlRole="rate";
}