// 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_4_minus_Hydroxyphenylacetyl_minus_CoA to xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA 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
// R03943: N_minus_Methyltyramine <=> Hordenine
// R04880: _space_3_space_4_minus_Dihydroxyphenylethyleneglycol => _space_3_space_4_minus_Dihydroxymandelaldehyde
// R04777: _space_4_minus_Hydroxyphenylacetyl_minus_CoA <=> _space_4_minus_Hydroxyphenylacetylglycine
// R00734: L_minus_Tyrosine => _space_3_minus__space_4_minus_Hydroxyphenyl_space_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 E2_space_3_space_1_space__minus_ = 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 xxx_space_3_space_4_minus_Dihydroxymandelaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol(time) M;
real xxx_space_4_minus_Hydroxyphenylacetylglycine(time) M;
real xxx_space_4_minus_Hydroxyphenylacetyl_minus_CoA(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 R03943(time) katal;
extern real R03943.kf;
extern real R03943.kb;
real R04880(time) katal;
extern real R04880.kf;
extern real R04880.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;
// 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) xxx_space_4_minus_Hydroxyphenylacetylglycine = 0;
(xxx_space_4_minus_Hydroxyphenylacetylglycine*uVol):time = R04777;
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_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;
R03943 = R03943.kf*N_minus_Methyltyramine - R03943.kb*Hordenine;
R04880 = R04880.kf*_space_3_space_4_minus_Dihydroxyphenylethyleneglycol - R04880.kb*_space_3_space_4_minus_Dihydroxymandelaldehyde;
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;
// 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";
E2_space_3_space_1_space__minus_.sbmlRole="species";
E2_space_3_space_1_space__minus_.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";
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";
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_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_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";
R03943.sbmlRole="rate";
R03943.kf.sbmlRole="rate";
R03943.kb.sbmlRole="rate";
R04880.sbmlRole="rate";
R04880.kf.sbmlRole="rate";
R04880.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";
}